-
Notifications
You must be signed in to change notification settings - Fork 26
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
Drop support for Python 3.9, add support for numpy 2.x #590
Conversation
Test failures need a fix upstream in scikit-allel. |
.github/workflows/tests.yml
Outdated
- name: Install package | ||
run: pip install "numpy${{ matrix.numpy-version }}" .[dev] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert to using pip to install the package, because poetry does not give us the flexibility to run tests against different versions of numpy as far as I can make out.
[tool.poetry.extras] | ||
dev = ["pytest", "pytest-xdist", "pytest-cases", "pytest-cov", "notebook", "jupyterlab", "pre-commit", "ruff", "snakeviz", "mypy", "memory-profiler", "sphinx", "pydata-sphinx-theme", "sphinx_design"] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing this to use the "extras" feature, so can be installed via pip install malariagen_data[dev]
.
@@ -7,7 +7,7 @@ on: | |||
branches: | |||
- master | |||
jobs: | |||
tests: | |||
legacy_tests: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarify naming to make actions easier to find when setting branch protections.
The GitHub action which runs the unit tests has been modified to run tests under both numpy 1.x and numpy 2.x.