Skip to content

CI: add minimal requirements file #50339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/python-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ jobs:
python -m pip install --upgrade pip setuptools wheel
python -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
python -m pip install git+https://github.com/nedbat/coveragepy.git
python -m pip install versioneer[toml]
python -m pip install python-dateutil pytz cython hypothesis==6.52.1 pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17
python -m pip install -r ci/deps/requirements-minimal.txt pytest-cov pytest-xdist
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On second thought, are you sure pytest-xdist is not required? I remember having to install it once for some test(it was using one of the pytest-xdist fixtures).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah the S3 tests use the worker_id pytest-xdist fixture. All of them should be marked with single_cpu so I guess in this job those should be skipped. Might make sense to include pytest-xdist just in case anything changes

python -m pip list

# GH 47305: Parallel build can cause flaky ImportError from pandas/_libs/tslibs
Expand Down
8 changes: 8 additions & 0 deletions ci/deps/requirements-minimal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cython
hypothesis==6.52.1
numpy
pytest>=6.2.5
pytest-asyncio>=0.17
python-dateutil
pytz
versioneer[toml]