diff --git a/.github/workflows/mmtwfs-tests.yml b/.github/workflows/mmtwfs-tests.yml index 267730a..2fdc844 100644 --- a/.github/workflows/mmtwfs-tests.yml +++ b/.github/workflows/mmtwfs-tests.yml @@ -21,17 +21,18 @@ jobs: envs: | - linux: codestyle pytest: false - - linux: py39-alldeps-cov - name: py39 - - macos: py39 - name: py39-macos - - linux: py38-astropylts - name: py38-astropyLTS + - linux: py312-alldeps-cov + name: py312 + - macos: py312 + name: py312-macos + - linux: py312-astropydev + name: py312-astropy-latest + continue-on-error: true + - linux: py312-numpydev + name: py312-numpy-latest + continue-on-error: true - linux: build_docs - linux: linkcheck -# - linux: py310-astropydev-numpydev -# name: py310-dev -# continue-on-error: true coverage: 'codecov' secrets: CODECOV_TOKEN: ${{ secrets.CODECOV }} diff --git a/mmtwfs/tests/test_wfs.py b/mmtwfs/tests/test_wfs.py index cb6c770..de9f24c 100644 --- a/mmtwfs/tests/test_wfs.py +++ b/mmtwfs/tests/test_wfs.py @@ -86,7 +86,7 @@ def test_mmirs_analysis(): results = mmirs.measure_slopes(test_file) zresults = mmirs.fit_wavefront(results) testval = int(zresults['zernike']['Z10'].value) - assert (testval > 335) & (testval < 345) + assert (testval > 416) & (testval < 436) plt.close('all') diff --git a/setup.cfg b/setup.cfg index 9012304..15f4976 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,7 +12,7 @@ github_project = MMTObservatory/mmtwfs [options] zip_safe = False packages = find: -python_requires = >=3.8 +python_requires = >=3.10 setup_requires = setuptools_scm install_requires = astropy diff --git a/tox.ini b/tox.ini index b3c4b77..1c6b046 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,7 @@ [tox] envlist = - py{39,310,311}{,-alldeps}{,-cov} - py{39,310,311}-astropylts - py{39,310,311}-{numpy,astropy}dev + py{310,311,312}{,-alldeps}{,-cov} + py{310,311,312}-{numpy,astropy}dev build_docs linkcheck codestyle @@ -34,12 +33,10 @@ description = run tests cov: with coverage enabled alldeps: with all optional dependencies - astropylts: with astropy LTS {numpy,astropy}dev: with latest master from github repo cov_report: generate HTML coverage report deps = - astropylts: astropy==5.0.* numpydev: git+https://github.com/numpy/numpy.git#egg=numpy astropydev: git+https://github.com/astropy/astropy.git#egg=astropy