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/.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/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 diff --git a/zizmor.yml b/zizmor.yml index 01c57e8228..ada6a52fd5 100644 --- a/zizmor.yml +++ b/zizmor.yml @@ -1 +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: + # 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