Skip to content

Commit

Permalink
Bump deps, update CI (#201)
Browse files Browse the repository at this point in the history
* Bump deps, update CI
  • Loading branch information
pllim authored Nov 19, 2024
1 parent a04a1e7 commit d68c86d
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 59 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,29 +70,29 @@ jobs:

- name: Test without optional deps
os: ubuntu-latest
python: 3.9
toxenv: py39-test
python: '3.12'
toxenv: py312-test

- name: Coverage test with remote data
os: ubuntu-latest
python: '3.10'
toxenv: py310-test-alldeps-cov
python: '3.11'
toxenv: py311-test-alldeps-cov
toxposargs: --remote-data

- name: Test with dev dependencies
os: ubuntu-latest
python: '3.12'
toxenv: py312-test-devdeps
python: '3.13'
toxenv: py313-test-devdeps

- name: Test with old dependencies
os: ubuntu-20.04
python: 3.9
toxenv: py39-test-oldestdeps
os: ubuntu-latest
python: '3.10'
toxenv: py310-test-oldestdeps

- name: Test in OSX
os: macos-latest
python: '3.10'
toxenv: py310-test
python: '3.12'
toxenv: py312-test

# NOTE: If TRDS cannot take the hit, disable --remote-data
- name: Test in Windows with remote data
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/open_actions.yml

This file was deleted.

5 changes: 4 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
1.3.1 (unreleased)
1.4.0 (2024-11-19)
==================

- Bumped minimum supported versions for Python to 3.10,
``numpy`` to 1.23, ``astropy`` to 6.0, and ``scipy`` to 1.9. [#201]

1.3.0 (2023-11-28)
==================

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ reported) or contact `STScI Help Desk <https://hsthelp.stsci.edu>`_.
Installation and Setup
======================

**stsynphot** works for Python 3.9 or later only. It requires the following
**stsynphot** works for Python 3.10 or later only. It requires the following
packages:

* numpy
Expand Down
11 changes: 4 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ filterwarnings =
ignore:.*Column disp option
ignore:BlackBody provides the same capabilities
ignore:The MexicanHat1D class is deprecated
# Ignore numpy 2.0 warning, see https://github.com/astropy/astropy/pull/15495
# and https://github.com/scipy/scipy/pull/19275
ignore:.*numpy\.core.*:DeprecationWarning
[metadata]
name = stsynphot
Expand Down Expand Up @@ -48,12 +45,12 @@ zip_safe = False
setup_requires =
setuptools_scm
install_requires =
numpy>=1.20
astropy>=5
scipy>=1.6
numpy>=1.23
astropy>=6
scipy>=1.9
synphot>=1.1
beautifulsoup4
python_requires = >=3.9
python_requires = >=3.10
[options.extras_require]
all =
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{39,310,311,312}-test{,-alldeps,-oldestdeps,-devdeps,-predeps}{,-cov}
py{310,311,312,313}-test{,-alldeps,-oldestdeps,-devdeps,-predeps}{,-cov}
codestyle
twine
bandit
Expand Down Expand Up @@ -36,9 +36,9 @@ deps =

# The oldestdeps factor is intended to be used to install the oldest versions of all
# dependencies that have a minimum version.
oldestdeps: numpy==1.20.*
oldestdeps: scipy==1.6.*
oldestdeps: astropy==5.0.*
oldestdeps: numpy==1.23.*
oldestdeps: scipy==1.9.*
oldestdeps: astropy==6.0.*
oldestdeps: attrs < 24.1.0 # ASDF_LT_3_4
oldestdeps: asdf==2.14.*
oldestdeps: synphot==1.1.*
Expand Down

0 comments on commit d68c86d

Please sign in to comment.