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

allow python 3.13 #156

Merged
merged 4 commits into from
Aug 20, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 2 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,10 @@ jobs:

- linux: py310-xdist
- linux: py311-xdist
- linux: py313-xdist
- macos: py312-xdist
- windows: py312-xdist
- linux: py312-xdist-cov
coverage: codecov

#- linux: py312-xdist-devdeps

# When py312-xdist-devdeps works again, we can remove this.
# When, you ask? Well, maybe after numpy 2.0 is released, maybe.
dev_deps_tests:
name: py312-devdeps
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install and build
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy>=0.0.dev0 --pre --upgrade
python -m pip install --extra-index-url https://pypi.anaconda.org/liberfa/simple pyerfa>=0.0.dev0 --pre --upgrade
python -m pip install --extra-index-url https://pypi.anaconda.org/astropy/simple astropy>=0.0.dev0 --pre --upgrade
python -m pip install --no-build-isolation -v -e .[test]
- name: Test with dev deps
run: |
pip freeze
pytest -v
- linux: py312-xdist-devdeps
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "drizzle"
description = "A package for combining dithered images into a single image"
requires-python = ">=3.10,<3.13"
requires-python = ">=3.10"
authors = [
{ name = "STScI", email = "[email protected]" },
]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
env_list =
check-{style,security}
py{39,310,311,312}{,-xdist}{,-devdeps,-cov}
py{310,311,312,313}{,-xdist}{,-devdeps,-cov}

# tox environments are constructed with so-called 'factors' (or terms)
# separated by hyphens, e.g. test-devdeps-cov. Lines below starting with factor:
Expand Down