Skip to content

Commit e98e213

Browse files
leewujungctuguinay
authored andcommitted
Update workflows to use python 3.12 and ubuntu 22.04 [all tests ci] (OSOceanAcoustics#1466)
* update to use python 3.12 and ubuntu 22.04 * update v0.10.0 release notes
1 parent 48ccd56 commit e98e213

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.ci_helpers/user_environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: echopype
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.11
5+
- python=3.12
66
- ipykernel
77
- echopype
88
- dask

.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
jobs:
1313
docker-build:
1414
name: ${{ matrix.image_name }}-build
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-22.04
1616
strategy:
1717
matrix:
1818
image_name: ["minioci", "http"]

.github/workflows/packit.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
build-artifact:
1212
name: Build echopype package
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414
if: github.repository == 'OSOceanAcoustics/echopype'
1515
steps:
1616
- name: Checkout
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Python
2323
uses: actions/[email protected]
2424
with:
25-
python-version: 3.11
25+
python-version: 3.12
2626

2727
- name: Install dependencies
2828
run: python -m pip install setuptools wheel
@@ -50,12 +50,12 @@ jobs:
5050
test-built-dist:
5151
name: Test echopype package
5252
needs: build-artifact
53-
runs-on: ubuntu-20.04
53+
runs-on: ubuntu-22.04
5454
steps:
5555
- uses: actions/[email protected]
5656
name: Install Python
5757
with:
58-
python-version: 3.11
58+
python-version: 3.12
5959
- uses: actions/download-artifact@v4
6060
with:
6161
name: releases

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
# We only want to install this on one run, because otherwise we'll have
5151
# duplicate annotations.
5252
- name: Install error reporter
53-
if: ${{ matrix.python-version == '3.11' }}
53+
if: ${{ matrix.python-version == '3.12' }}
5454
run: python -m pip install pytest-github-actions-annotate-failures
5555
- name: Install echopype
5656
run: python -m pip install -e ".[plot]"

.github/workflows/pypi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
build-artifact:
1616
name: Build echopype package
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-22.04
1818
if: github.repository == 'OSOceanAcoustics/echopype' || github.event_name == 'workflow_dispatch'
1919
steps:
2020
- name: Checkout
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python
2727
uses: actions/[email protected]
2828
with:
29-
python-version: 3.11
29+
python-version: 3.12
3030

3131
- name: Install dependencies
3232
run: python -m pip install setuptools wheel
@@ -54,12 +54,12 @@ jobs:
5454
test-built-dist:
5555
name: Test echopype package
5656
needs: build-artifact
57-
runs-on: ubuntu-20.04
57+
runs-on: ubuntu-22.04
5858
steps:
5959
- uses: actions/[email protected]
6060
name: Install Python
6161
with:
62-
python-version: 3.11
62+
python-version: 3.12
6363
- uses: actions/download-artifact@v4
6464
with:
6565
name: releases

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version: 2
99
build:
1010
os: ubuntu-22.04
1111
tools:
12-
python: "3.11"
12+
python: "3.12"
1313
jobs:
1414
pre_build:
1515
# Generate the Sphinx configuration for this Jupyter Book so it builds.

docs/source/whats-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This release includes the critical migration to use the new `xr.DataTree` functi
3030
* Fill in NaN for missing EK80 coefficients by @leewujung in https://github.com/OSOceanAcoustics/echopype/pull/1458
3131

3232
## Infrastructure
33-
* Update workflows python version by @leewujung in https://github.com/OSOceanAcoustics/echopype/pull/1425
33+
* Update workflows to use python 3.12 and ubuntu 22.04 by @leewujung in https://github.com/OSOceanAcoustics/echopype/pull/1425 and https://github.com/OSOceanAcoustics/echopype/pull/1466
3434
* Bump codespell version, add exceptions by @leewujung in https://github.com/OSOceanAcoustics/echopype/pull/1438
3535
* Pin `zarr` and `netcdf4` temporarily by @leewujung in https://github.com/OSOceanAcoustics/echopype/pull/1429
3636
* Add `type-extensions` to requirements.txt by @leewujung in https://github.com/OSOceanAcoustics/echopype/pull/1440

0 commit comments

Comments
 (0)