From bd2c91b8113dcf7b3de877cb1a4a341312f83e66 Mon Sep 17 00:00:00 2001 From: "Karl D. Gordon" Date: Tue, 28 Nov 2023 08:10:28 -0500 Subject: [PATCH] updating tox --- .github/workflows/tox-tests.yml | 12 ++++++------ tox.ini | 16 +--------------- 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/.github/workflows/tox-tests.yml b/.github/workflows/tox-tests.yml index 71b402c..22bcea0 100644 --- a/.github/workflows/tox-tests.yml +++ b/.github/workflows/tox-tests.yml @@ -27,8 +27,8 @@ jobs: # For example -- os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest] - # Test python 3.6, 3.7, and 3.8 by default. - python-ver: [7, 8, 9, 10] + # Test python version 3.x + python-ver: [9, 10, 11] # Specify which tox environments to test in this list. # tox-env: [cov, alldeps, devdeps, astropylts] @@ -74,7 +74,7 @@ jobs: - name: Set up python for astropy lts test uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.9 - name: Install base dependencies run: | python -m pip install --upgrade pip @@ -92,7 +92,7 @@ jobs: - name: Set up python for coverage test uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.11 - name: Install base dependencies run: | python -m pip install --upgrade pip @@ -122,7 +122,7 @@ jobs: - name: Set up Python to build docs with sphinx uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.11 - name: Install base dependencies run: | python -m pip install --upgrade pip @@ -142,7 +142,7 @@ jobs: - name: Python codestyle check uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.11 - name: Install base dependencies run: | python -m pip install --upgrade pip diff --git a/tox.ini b/tox.ini index d303395..2d82a02 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,6 @@ [tox] envlist = - py{38,39,310}-test{,-alldeps,-devdeps}{,-cov} - py{38,39,310}-test-numpy{120,121,122,123} - py{38,39,310}-test-astropy{40,50} + py{39,310,311}-test{,-alldeps}{,-cov} build_docs linkcheck codestyle @@ -10,8 +8,6 @@ requires = setuptools >= 30.3.0 pip >= 19.3.1 isolated_build = true -indexserver = - NIGHTLY = https://pypi.anaconda.org/scipy-wheels-nightly/simple [testenv] # Suppress display of matplotlib plots generated during docs build @@ -38,20 +34,10 @@ description = devdeps: with the latest developer version of key dependencies oldestdeps: with the oldest supported version of key dependencies cov: and test coverage - numpy120: with numpy 1.20.* - numpy121: with numpy 1.21.* - numpy122: with numpy 1.22.* - numpy123: with numpy 1.23.* astropylts: with the latest astropy LTS (currently v5.0) # The following provides some specific pinnings for key packages deps = - - numpy120: numpy==1.20.* - numpy121: numpy==1.21.* - numpy122: numpy==1.22.* - numpy123: numpy==1.23.* - astropylts: astropy==5.0.* devdeps: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scipy-wheels-nightly/simple