forked from pyqtgraph/pyqtgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Python 3.7 from CI - Add Conda Package Testing (pyqtgraph#2211)
Remove Python 3.7 CI Pipelines In order to conform to NEP-29, we now stop testing bindings on Py 3.7. Unfortunately, this means that we cannot test against PySide2 5.12 as the pip installable version doesn't work with Python 3.8. To test against PySide2 5.12, we will have to add conda-based CI pipelines as the conda-forge version of PySide2 has various fixes. This PR also updates * `.pre-commit-config.yaml` * `.gitignore` * `pytest.ini` to filter out warnings specific to conda-forge/pyside2/python 3.8
- Loading branch information
Showing
14 changed files
with
276 additions
and
125 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: test | ||
channels: | ||
- conda-forge | ||
- defaults | ||
dependencies: | ||
- python=3.8 | ||
- pyside2 | ||
- numpy | ||
- scipy | ||
- pyopengl | ||
- pytest | ||
- pytest-xdist | ||
- pip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# numpy based on python version and NEP-29 requirements | ||
numpy; python_version == '3.10' | ||
numpy==1.21.5; python_version == '3.9' | ||
numpy==1.19.5; python_version == '3.8' | ||
|
||
# image testing | ||
scipy==1.8.0 | ||
|
||
# optional high performance paths | ||
numba==0.55.1; python_version == '3.9' | ||
|
||
# optional 3D | ||
pyopengl==3.1.6 | ||
|
||
# supplimental tools | ||
matplotlib==3.5.1 | ||
h5py==3.6.0 | ||
|
||
# testing | ||
pytest==7.1.0 | ||
pytest-xdist==2.5.0 | ||
pytest-xvfb==2.0.0; sys_platform == 'linux' |
Oops, something went wrong.