Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions .github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ on:
env:
CANCEL_OTHERS: false
PATHS_IGNORE: '["**/README.md", "**/docs/**"]'
PYTHON_VERSION: "3.13"
PYTHON_VERSION: "3.14"
BUILD_PYTHON_VERSION: "3.13"

jobs:
pre-commit-hooks:
Expand Down Expand Up @@ -61,41 +62,42 @@ jobs:
shell: bash -l {0}
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
fail-fast: false
steps:
- uses: actions/checkout@v5

- name: Create Build Environment
uses: mamba-org/setup-micromamba@v2
with:
environment-name: mpas_tools_dev
environment-name: mpas_tools_build
init-shell: bash
condarc: |
channel_priority: strict
channels:
- conda-forge
create-args: >-
python=${{ matrix.python-version }}
python=${{ env.BUILD_PYTHON_VERSION }}

- name: Finalize Build Environment
- name: Build mpas_tools package
run: |
conda install conda conda-build
conda build -m "conda_package/ci/linux_64_python${{ matrix.python-version }}.____cpython.yaml" "conda_package/recipe"
# Add local build channel first for subsequent micromamba usage
micromamba config append channels "$CONDA_PREFIX/conda-bld"
micromamba config append channels conda-forge

- name: Install mpas_tools
- name: Create Test Environment
run: |
conda install -y -c ${CONDA_PREFIX}/conda-bld/ \
mpas_tools python=${{ matrix.python-version }} \
sphinx mock sphinx_rtd_theme
micromamba create -y -n mpas_tools_test \
python=${{ env.BUILD_PYTHON_VERSION }} \
mpas_tools \
sphinx \
mock \
sphinx_rtd_theme

- name: Build Sphinx Docs
run: |
micromamba activate mpas_tools_test
cd conda_package/docs
DOCS_VERSION=test make versioned-html
condarc: |
channel_priority: strict
channels:
- conda-forge
create-args: >-
python=${{ matrix.python-version }}
2 changes: 1 addition & 1 deletion .github/workflows/docs_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
types: [published]

env:
PYTHON_VERSION: "3.13"
PYTHON_VERSION: "3.14"

jobs:
publish-docs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre_commit_update_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

env:
UP_TO_DATE: false
PYTHON_VERSION: "3.13"
PYTHON_VERSION: "3.14"
REVIEWERS: "xylar,andrewdnolan"

jobs:
Expand Down
4 changes: 1 addition & 3 deletions conda_package/ci/linux_64_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
- conda-forge
channel_targets:
Expand All @@ -21,7 +19,7 @@ fortran_compiler_version:
hdf5:
- 1.14.6
libnetcdf:
- 4.9.2
- 4.9.3
netcdf_fortran:
- '4.6'
pin_run_as_build:
Expand Down
4 changes: 1 addition & 3 deletions conda_package/ci/linux_64_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
- conda-forge
channel_targets:
Expand All @@ -21,7 +19,7 @@ fortran_compiler_version:
hdf5:
- 1.14.6
libnetcdf:
- 4.9.2
- 4.9.3
netcdf_fortran:
- '4.6'
pin_run_as_build:
Expand Down
4 changes: 1 addition & 3 deletions conda_package/ci/linux_64_python3.12.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
- conda-forge
channel_targets:
Expand All @@ -21,7 +19,7 @@ fortran_compiler_version:
hdf5:
- 1.14.6
libnetcdf:
- 4.9.2
- 4.9.3
netcdf_fortran:
- '4.6'
pin_run_as_build:
Expand Down
4 changes: 1 addition & 3 deletions conda_package/ci/linux_64_python3.13.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
- conda-forge
channel_targets:
Expand All @@ -21,7 +19,7 @@ fortran_compiler_version:
hdf5:
- 1.14.6
libnetcdf:
- 4.9.2
- 4.9.3
netcdf_fortran:
- '4.6'
pin_run_as_build:
Expand Down
35 changes: 35 additions & 0 deletions conda_package/ci/linux_64_python3.14.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
fortran_compiler:
- gfortran
fortran_compiler_version:
- '14'
hdf5:
- 1.14.6
libnetcdf:
- 4.9.3
netcdf_fortran:
- '4.6'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.14.* *_cp314
target_platform:
- linux-64
zip_keys:
- - cxx_compiler_version
- fortran_compiler_version
2 changes: 1 addition & 1 deletion conda_package/ci/osx_64_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fortran_compiler_version:
hdf5:
- 1.14.6
libnetcdf:
- 4.9.2
- 4.9.3
llvm_openmp:
- '19'
macos_machine:
Expand Down
2 changes: 1 addition & 1 deletion conda_package/ci/osx_64_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fortran_compiler_version:
hdf5:
- 1.14.6
libnetcdf:
- 4.9.2
- 4.9.3
llvm_openmp:
- '19'
macos_machine:
Expand Down
2 changes: 1 addition & 1 deletion conda_package/ci/osx_64_python3.12.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fortran_compiler_version:
hdf5:
- 1.14.6
libnetcdf:
- 4.9.2
- 4.9.3
llvm_openmp:
- '19'
macos_machine:
Expand Down
2 changes: 1 addition & 1 deletion conda_package/ci/osx_64_python3.13.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fortran_compiler_version:
hdf5:
- 1.14.6
libnetcdf:
- 4.9.2
- 4.9.3
llvm_openmp:
- '19'
macos_machine:
Expand Down
41 changes: 41 additions & 0 deletions conda_package/ci/osx_64_python3.14.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.13'
MACOSX_SDK_VERSION:
- '10.13'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
- '10.13'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '19'
fortran_compiler:
- gfortran
fortran_compiler_version:
- '14'
hdf5:
- 1.14.6
libnetcdf:
- 4.9.3
llvm_openmp:
- '19'
macos_machine:
- x86_64-apple-darwin13.4.0
netcdf_fortran:
- '4.6'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.14.* *_cp314
target_platform:
- osx-64
zip_keys:
- - cxx_compiler_version
- fortran_compiler_version
1 change: 1 addition & 0 deletions conda_package/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
Expand Down
Loading