Skip to content
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

Use pytest < 7 because of conflict with pytest-cases #1138

Merged
merged 3 commits into from
Feb 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ To compile the binary extension modules such that you can successfully run
If you want to do development on pyuvdata, in addition to the other dependencies
you will need the following packages:

* pytest >= 6.2
* pytest >= 6.2,<7.0
* pytest-cases >= 3
* pytest-xdist
* pytest-cov
Expand Down
4 changes: 2 additions & 2 deletions ci/azure-piplines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
cd hera_cal
pip install --no-deps .
mkdir test-reports
python -m pytest hera_cal --junitxml=test-reports/xunit.xml
python -m pytest hera_cal -n auto --junitxml=test-reports/xunit.xml
displayName: run hera_cal tests

- job: hera_qm
Expand All @@ -48,5 +48,5 @@ jobs:
cd hera_qm
pip install --no-deps .
mkdir test-reports
python -m pytest hera_qm --junitxml=test-reports/xunit.xml
python -m pytest hera_qm -n auto --junitxml=test-reports/xunit.xml
displayName: run hera_qm tests
1 change: 1 addition & 0 deletions ci/hera_cal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ dependencies:
- git+https://github.com/HERA-Team/hera_sim.git
- pyuvsim
- pyradiosky
- pytest-xdist
1 change: 1 addition & 0 deletions ci/hera_qm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ dependencies:
- git+https://github.com/HERA-Team/omnical.git
- git+https://github.com/HERA-Team/uvtools.git
- git+https://github.com/HERA-Team/hera_cal.git
- pytest-xdist
2 changes: 1 addition & 1 deletion ci/pyuvdata_min_deps_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
- h5py>=3.0
- pyerfa>=2.0
- coverage
- pytest>=6.2.0
- pytest>=6.2.0,<7.0
- pytest-cov
- cython
- setuptools_scm
Expand Down
2 changes: 1 addition & 1 deletion ci/pyuvdata_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
- scipy
- six # added for now because sometimes an old python-casacore build (before 3.3.1) is used that omits this dependency
- coverage
- pytest>=6.2.0
- pytest>=6.2.0,<7.0
- pytest-cov
- cython
- setuptools_scm
Expand Down
2 changes: 1 addition & 1 deletion ci/pyuvdata_tests_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
- pyyaml
- scipy
- coverage
- pytest>=6.2.0
- pytest>=6.2.0,<7.0
- pytest-cov
- cython
- setuptools_scm
Expand Down
2 changes: 1 addition & 1 deletion environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
- setuptools_scm
- sphinx
- coverage
- pytest>=6.2.0
- pytest>=6.2.0,<7.0
- pytest-cov
- cython>=0.23
- pip
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def is_platform_windows():
+ novas_reqs
+ cst_reqs
+ [
"pytest>=6.2",
"pytest>=6.2,<7.0",
"pytest-xdist",
"pytest-cases>=3",
"pytest-cov",
Expand Down