Skip to content

Commit

Permalink
update infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
nden committed Dec 2, 2023
1 parent e761c1d commit bc76b08
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ jobs:
python-version: 3.9
toxenv: py39

- name: Python 3.8
- name: Python 3.12
runs-on: ubuntu-latest
python-version: 3.8
toxenv: py38
python-version: 3.12
toxenv: py312

- name: Code style checks
runs-on: ubuntu-latest
python-version: 3.8
python-version: 3.11
toxenv: style

- name: Python 3.8 with dev dependencies
- name: Python 3.11 with dev dependencies
runs-on: ubuntu-latest
python-version: 3.8
toxenv: py38-dev
python-version: 3.11
toxenv: py311-dev
steps:
- uses: actions/checkout@v2
with:
Expand Down
6 changes: 5 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
git+https://github.com/astropy/astropy.git
git+https://github.com/spacetelescope/stsci.tools.git
--extra-index-url https://pypi.anaconda.org/astropy/simple astropy --pre

# Use Bi-weekly numpy/scipy dev builds
--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
numpy>=0.0.dev0
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edit_on_github = False
github_project = spacetelescope/stwcs

[tool:pytest]
minversion = 3.6
minversion = 3.9
norecursedirs = build docs/_build relic
filterwarnings=
ignore:.*Card is too long*
Expand Down
5 changes: 0 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
from setuptools import setup, find_packages
from configparser import ConfigParser

if sys.version_info < (3, 6):
error = """
STWCS supports Python 3.6 and above.
"""
sys.exit(error)

conf = ConfigParser()
conf.read(['setup.cfg'])
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist= py38, py310, style
envlist= py311, py312, py310, style

[testenv]
deps=
Expand Down

0 comments on commit bc76b08

Please sign in to comment.