Skip to content

Commit

Permalink
Update workflows python version [all tests ci] (#1425)
Browse files Browse the repository at this point in the history
* update rtd python version

* downgrade to python 3.11

* set python=3.11 in workflows

* change to 3.11 for Install error reporter

* set to 3.11 in user_environment.yml
  • Loading branch information
leewujung authored Dec 30, 2024
1 parent 3df9d83 commit 82416b0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .ci_helpers/user_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: echopype
channels:
- conda-forge
dependencies:
- python=3.9
- python=3.11
- ipykernel
- echopype
- dask
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Python
uses: actions/[email protected]
with:
python-version: 3.9
python-version: 3.11

- name: Install dependencies
run: python -m pip install setuptools wheel
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- uses: actions/[email protected]
name: Install Python
with:
python-version: 3.9
python-version: 3.11
- uses: actions/download-artifact@v4
with:
name: releases
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
# We only want to install this on one run, because otherwise we'll have
# duplicate annotations.
- name: Install error reporter
if: ${{ matrix.python-version == '3.9' }}
if: ${{ matrix.python-version == '3.11' }}
run: python -m pip install pytest-github-actions-annotate-failures
- name: Install echopype
run: python -m pip install -e ".[plot]"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Python
uses: actions/[email protected]
with:
python-version: 3.9
python-version: 3.11

- name: Install dependencies
run: python -m pip install setuptools wheel
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- uses: actions/[email protected]
name: Install Python
with:
python-version: 3.9
python-version: 3.11
- uses: actions/download-artifact@v4
with:
name: releases
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.9"
python: "3.11"
jobs:
pre_build:
# Generate the Sphinx configuration for this Jupyter Book so it builds.
Expand Down

0 comments on commit 82416b0

Please sign in to comment.