Skip to content

Commit

Permalink
add Python 3.11 to testing (#50)
Browse files Browse the repository at this point in the history
* add Python 3.11 to testing

* use version string (conda does not yet provide Python `3.11`)

* remove minor version specifier

* update micromamba action

* unhide TOC tree on start page (#67)

* unhide TOC tree on start page

* limit tree depth

* use latest version of `stregion`
  • Loading branch information
zacharyburnett authored Nov 28, 2022
1 parent dc885ae commit d452e0f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
python: [ '3.8', '3.9', '3.10' ]
python: [ '3.8', '3.9', '3.10', '3.11' ]
steps:
- run: echo "CONSTRAINT=$(if [ -z ${{ github.event.inputs.constraint }} ]; then echo latest; else echo ${{ github.event.inputs.constraint }}; fi)" >> $GITHUB_ENV
- uses: actions/checkout@v3
Expand All @@ -54,7 +54,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: mamba-org/provision-with-micromamba@v13
- uses: mamba-org/provision-with-micromamba@v14
with:
environment-name: stenv-${{ runner.os }}-py${{ matrix.python }}-${{ env.CONSTRAINT }}
environment-file: stenv-${{ env.CONSTRAINT }}.yml
Expand All @@ -71,7 +71,7 @@ jobs:
matrix:
package: [ acstools, asdf, ccdproc, costools, jwst, reftools, synphot, wfpc2tools ]
os: [ ubuntu-latest, macos-latest ]
python: [ '3.8', '3.9', '3.10' ]
python: [ '3.8', '3.9', '3.10', '3.11' ]
include:
- package: acstools
extras: [ test ]
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
- run: |
echo "CRDS_PATH=${{ env.HOME }}/crds_cache" >> $GITHUB_ENV
echo "PYSYN_CDBS=${{ env.HOME }}/trds" >> $GITHUB_ENV
- uses: mamba-org/provision-with-micromamba@v13
- uses: mamba-org/provision-with-micromamba@v14
with:
environment-name: stenv-${{ runner.os }}-py${{ matrix.python }}-${{ env.CONSTRAINT }}
environment-file: stenv-${{ env.CONSTRAINT }}.yml
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
matrix:
package: [ calcos, hstcal, stsynphot ]
os: [ ubuntu-latest, macos-latest ]
python: [ '3.8', '3.9', '3.10' ]
python: [ '3.8', '3.9', '3.10', '3.11' ]
include:
- package: calcos
repository: spacetelescope/calcos
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
- run: |
echo "CRDS_PATH=${{ env.HOME }}/crds_cache" >> $GITHUB_ENV
echo "PYSYN_CDBS=${{ env.HOME }}/trds" >> $GITHUB_ENV
- uses: mamba-org/provision-with-micromamba@v13
- uses: mamba-org/provision-with-micromamba@v14
with:
environment-name: stenv-${{ runner.os }}-py${{ matrix.python }}-${{ env.CONSTRAINT }}
environment-file: stenv/stenv-${{ env.CONSTRAINT }}.yml
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
matrix:
package: [ calcos, drizzlepac ]
os: [ ubuntu-latest, macos-latest ]
python: [ '3.8', '3.9', '3.10' ]
python: [ '3.8', '3.9', '3.10', '3.11' ]
include:
- package: calcos
run: calcos la8n01qkq_rawtag_a.fits
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
- run: |
echo "CRDS_PATH=${{ env.HOME }}/crds_cache" >> $GITHUB_ENV
echo "PYSYN_CDBS=${{ env.HOME }}/trds" >> $GITHUB_ENV
- uses: mamba-org/provision-with-micromamba@v13
- uses: mamba-org/provision-with-micromamba@v14
with:
environment-name: stenv-${{ runner.os }}-py${{ matrix.python }}-${{ env.CONSTRAINT }}
environment-file: stenv-${{ env.CONSTRAINT }}.yml
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
python: [ '3.8', '3.9', '3.10' ]
python: [ '3.8', '3.9', '3.10', '3.11' ]
steps:
- run: echo "CONSTRAINT=$(if [ -z ${{ github.event.inputs.constraint }} ]; then echo latest; else echo ${{ github.event.inputs.constraint }}; fi)" >> $GITHUB_ENV
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions stenv-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies:
- sphinx
- git+https://github.com/spacetelescope/stistools.git
- git+https://github.com/spacetelescope/stsynphot_refactor.git
- stregion>=1.1.7
- git+https://github.com/spacetelescope/synphot_refactor.git
- git+https://github.com/spacetelescope/wfc3tools.git
- git+https://github.com/spacetelescope/wfpc2tools.git
1 change: 1 addition & 0 deletions stenv-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies:
- sphinx
- stistools
- stsynphot
- stregion>=1.1.7
- synphot
- wfc3tools
- wfpc2tools
1 change: 1 addition & 0 deletions stenv-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies:
- sphinx
- stistools>=1.4,<1.5
- stsynphot>=1.1,<1.2
- stregion>=1.1.7
- synphot>=1.1,<1.2
- wfc3tools>=1.4,<1.5
- wfpc2tools>=1.0,<1.1

0 comments on commit d452e0f

Please sign in to comment.