Skip to content

Commit

Permalink
Move the pin to the definition of python-conda-command
Browse files Browse the repository at this point in the history
  • Loading branch information
AlenkaF committed Apr 3, 2024
1 parent b1e0377 commit 6bcce2d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -842,9 +842,14 @@ services:
PYTEST_ARGS: # inherit
volumes: *conda-volumes
command: &python-conda-command
# pytest-cython needs an upper pin of 0.3.0 due
# to an issue with typing annotiations
# https://github.com/lgpage/pytest-cython/issues/67
# With 0.3.* bug fix release, the pin can be removed
["
/arrow/ci/scripts/cpp_build.sh /arrow /build &&
/arrow/ci/scripts/python_build.sh /arrow /build &&
pip install pytest-cython~=0.2.2 &&
/arrow/ci/scripts/python_test.sh /arrow"]

ubuntu-cuda-python:
Expand Down Expand Up @@ -1214,16 +1219,11 @@ services:
# newer version breaks cython doctesting, see:
# https://github.com/lgpage/pytest-cython/issues/58
# Remove pip install pytest~=7 when upstream issue is resolved
# Also pytest-cython needs an upper pin of 0.3.0 due
# to an issue with typing annotiations
# https://github.com/lgpage/pytest-cython/issues/67
# With 0.3.* bug fix release, both pins can be removed
command:
["/arrow/ci/scripts/cpp_build.sh /arrow /build &&
/arrow/ci/scripts/python_build.sh /arrow /build &&
pip install -e /arrow/dev/archery[numpydoc] &&
pip install pytest~=7.4 &&
pip install pytest-cython~=0.2.2 &&
archery numpydoc --allow-rule GL10,PR01,PR03,PR04,PR05,PR10,RT03,YD01 &&
/arrow/ci/scripts/python_test.sh /arrow"]

Expand Down

0 comments on commit 6bcce2d

Please sign in to comment.