From dab0eac53baa459771682e0e99f5c7a5f1998c73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hensgen?= <24550538+sebhmg@users.noreply.github.com> Date: Thu, 19 Feb 2026 23:11:36 -0500 Subject: [PATCH 1/3] [GEOPY-2661] update recipe to use newer geoh5py - requires Python >=3.12 - will force numpy 2.4.* --- .github/workflows/python_deploy_dev.yml | 4 ++-- pyproject.toml | 4 ++-- recipe.yaml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python_deploy_dev.yml b/.github/workflows/python_deploy_dev.yml index d42d67f424..f143e8ffca 100644 --- a/.github/workflows/python_deploy_dev.yml +++ b/.github/workflows/python_deploy_dev.yml @@ -19,7 +19,7 @@ jobs: contents: write with: package-name: 'mira-simpeg' - python-version: '3.10' + python-version: '3.12' source-repo-names: '["public-noremote-conda-dev"]' conda-channels: '["conda-forge"]' publish-repo-names: '["public-noremote-conda-dev"]' @@ -36,7 +36,7 @@ jobs: package-manager: 'setuptools' package-name: 'mira-simpeg' version-tag: ${{ github.ref_name }} - python-version: '3.10' + python-version: '3.12' virtual-repo-names: '["public-pypi-dev", "test-pypi"]' secrets: JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }} diff --git a/pyproject.toml b/pyproject.toml index 972e85bcfe..d725352dda 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" name = "mira-simpeg" description = "Mira Geoscience fork of SimPEG: Simulation and Parameter Estimation in Geophysics" readme = "README.rst" -requires-python = ">=3.10,<4.0" +requires-python = ">=3.12,<4.0" authors = [ { name = "SimPEG developers", email = "rowanc1@gmail.com" }, @@ -18,7 +18,7 @@ keywords = ["geophysics", "inverse problem"] dependencies = [ "discretize>=0.11", "geoana>=0.7.0", - "geoh5py>=0.12.0rc, <0.14.dev", + "geoh5py~=0.13.0a2", "libdlf", "matplotlib", "numpy>=1.22", diff --git a/recipe.yaml b/recipe.yaml index fdf4133024..2d694fe929 100644 --- a/recipe.yaml +++ b/recipe.yaml @@ -4,7 +4,7 @@ context: name: "mira-simpeg" # Read version from _version.txt file generated by setuptools_scm version: ${{ load_from_file("_version.txt") | default("0.0.0.dev0") }} - python_min: "3.10" + python_min: "3.12" module_name: simpeg package: @@ -21,14 +21,14 @@ build: requirements: host: - - python 3.10.* + - python ${{ python_min }}.* - setuptools >=64 - setuptools_scm >=8 - pip run: - python >=${{ python_min }} # Mira packages - - geoh5py >=0.12.0rc, <0.14.dev + - geoh5py >=0.13.0a2, 0.13.* # direct dependencies - dask-core * - discretize >=0.11 From 286dfcd1c1f498a1ebe774982250a9cf6da0378c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hensgen?= <24550538+sebhmg@users.noreply.github.com> Date: Thu, 19 Feb 2026 23:29:26 -0500 Subject: [PATCH 2/3] [DEVOPS-977] zizmor: allow unpinned reusable workflow from Mira repos --- zizmor.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zizmor.yml b/zizmor.yml index 01c57e8228..b88f72327e 100644 --- a/zizmor.yml +++ b/zizmor.yml @@ -1 +1,5 @@ rules: + unpinned-uses: + config: + policies: + MiraGeoscience/*: any From b6716dcc9471412abb4132fb074a81de76a6dd81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hensgen?= <24550538+sebhmg@users.noreply.github.com> Date: Thu, 19 Feb 2026 23:35:10 -0500 Subject: [PATCH 3/3] [DEVOPS-977] have one merged zizmor config at the repo root --- .github/zizmor.yml | 17 ----------------- zizmor.yml | 16 +++++++++++++++- 2 files changed, 15 insertions(+), 18 deletions(-) delete mode 100644 .github/zizmor.yml diff --git a/.github/zizmor.yml b/.github/zizmor.yml deleted file mode 100644 index b506949a16..0000000000 --- a/.github/zizmor.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Zizmor configuration -# -------------------- -# -# This file configures zizmor. This is not a workflow that gets run in GitHub -# Actions. -# -# References: https://woodruffw.github.io/zizmor/configuration - -rules: - unpinned-uses: - config: - policies: - # Mimic default behaviour: official actions can get pinned by tag. - actions/*: ref-pin - # Allow to use tags to pin reviewdog actions. - reviewdog/action-black: ref-pin - reviewdog/action-flake8: ref-pin diff --git a/zizmor.yml b/zizmor.yml index b88f72327e..ada6a52fd5 100644 --- a/zizmor.yml +++ b/zizmor.yml @@ -1,5 +1,19 @@ +# Zizmor configuration +# -------------------- +# +# This file configures zizmor. This is not a workflow that gets run in GitHub +# Actions. +# +# References: https://woodruffw.github.io/zizmor/configuration + rules: unpinned-uses: config: policies: - MiraGeoscience/*: any + # Mimic default behaviour: official actions can get pinned by tag. + actions/*: ref-pin + # Allow to use tags to pin reviewdog actions. + reviewdog/action-black: ref-pin + reviewdog/action-flake8: ref-pin + # Allow to use tags to pin MiraGeoscience actions. + MiraGeoscience/*: ref-pin