Skip to content

Commit

Permalink
allow python 3.13 (#156)
Browse files Browse the repository at this point in the history
allow python 3.13
  • Loading branch information
braingram authored Aug 20, 2024
1 parent f8ea30d commit a90c364
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 29 deletions.
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

0 comments on commit a90c364

Please sign in to comment.