Skip to content

Commit 5415f32

Browse files
committed
Merge branch 'develop' into GEOPY-2715
# Conflicts: # environments/py-3.12-linux-64-dev.conda.lock.yml # environments/py-3.12-linux-64.conda.lock.yml # environments/py-3.12-win-64-dev.conda.lock.yml # environments/py-3.12-win-64.conda.lock.yml # environments/py-3.13-linux-64-dev.conda.lock.yml # environments/py-3.13-linux-64.conda.lock.yml # environments/py-3.13-win-64-dev.conda.lock.yml # environments/py-3.13-win-64.conda.lock.yml # environments/py-3.14-linux-64-dev.conda.lock.yml # environments/py-3.14-linux-64.conda.lock.yml # environments/py-3.14-win-64-dev.conda.lock.yml # environments/py-3.14-win-64.conda.lock.yml # py-3.12.conda-lock.yml # py-3.13.conda-lock.yml # py-3.14.conda-lock.yml
2 parents e154d76 + 0e53142 commit 5415f32

5 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/security_scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ concurrency:
2424
cancel-in-progress: true
2525

2626
jobs:
27-
call-workflow-zizmor-annotate:
27+
call-workflow-zizmor-advanced-security:
2828
name: Zizmor analysis (advanced security)
2929
if: ${{ github.event_name != 'pull_request' }}
3030
permissions:
@@ -33,7 +33,7 @@ jobs:
3333
actions: read
3434
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-zizmor-advanced-security.yml@v2
3535

36-
call-workflow-zizmor-advanced-security:
36+
call-workflow-zizmor-annotate:
3737
name: Zizmor analysis (annotate)
3838
if: ${{ github.event_name == 'pull_request' }}
3939
permissions:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- id: pycln
2323
args: [--config=pyproject.toml]
2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.14.4
25+
rev: v0.15.2
2626
hooks:
2727
- id: ruff-check
2828
args:

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ include = [
7474
version = "0.0.0.dev0"
7575

7676
[tool.poetry.dependencies]
77-
# note: py-deps-clock defines custom mapping from dask to dask-core
77+
# note: py-deps-lock defines custom mapping from dask to dask-core
7878
dask = "~2025.3.0" # also in simpeg[dask]
7979
discretize = "~0.12.0" # also in simpeg, grid-apps
8080
distributed = "~2025.3.0" # for dask[distributed]
81-
matplotlib-base = ">=3.10.0, <3.11.dev" # from geoapps-utils
81+
matplotlib-base = "~3.10.0" # from geoapps-utils
8282
numpy = "~2.4.2"
8383
openpyxl = ">=3.1.2"
8484
pandas = ">=3.0.*"
@@ -93,16 +93,16 @@ trimesh = "~4.1.3"
9393

9494
## Pip dependencies from Git repositories
9595
#----------------------------------------
96-
#geoh5py = {version = ">=0.13.0a, 0.13.*", source = "pypi", allow-prereleases = true}
96+
#geoh5py = {version = ">=0.13.0a2, 0.13.*", source = "pypi", allow-prereleases = true}
9797
geoh5py = {git = "https://github.com/MiraGeoscience/geoh5py.git", rev = "develop"}
9898

99-
#grid-apps = {version = ">=0.2.0a, 0.2.*", source = "pypi", allow-prereleases = true}
99+
#grid-apps = {version = ">=0.2.0a2, 0.2.*", source = "pypi", allow-prereleases = true}
100100
grid-apps = {git = "https://github.com/MiraGeoscience/grid-apps.git", rev = "develop"}
101101

102-
#geoapps-utils = {version = ">=0.7.0a, 0.7.*", source = "pypi", allow-prereleases = true}
102+
#geoapps-utils = {version = ">=0.7.0a2, 0.7.*", source = "pypi", allow-prereleases = true}
103103
geoapps-utils = {git = "https://github.com/MiraGeoscience/geoapps-utils.git", rev = "develop"}
104104

105-
#mira-simpeg = {version = ">=0.23.0.3a, 0.23.0.*", source="pypi", allow-prereleases = true, extras = ["dask"]}
105+
#mira-simpeg = {version = ">=0.23.0.2, 0.23.0.* || >=0.25.0.1a, 0.25.0.*", source="pypi", allow-prereleases = true, extras = ["dask"]}
106106
mira-simpeg = {git = "https://github.com/MiraGeoscience/simpeg.git", rev = "develop", extras = ["dask"]}
107107

108108
## about pip dependencies
@@ -141,8 +141,8 @@ libblas = "*=*mkl" # because simpeg already brings in the MKL
141141
bokeh = "3.6.*" # optional, for dask reporting
142142
fsspec = ">=2022.0" # from simpeg[dask]
143143
geoana = "0.8.*" # from simpeg
144-
h5py = ">=3.15.1, <4.0.dev" # from geoh5py
145-
pillow = ">=12.1.0, <13.0.dev" # from geoh5py
144+
h5py = ">=3.15.1, 3.*" # from geoh5py
145+
pillow = ">=12.1.0, 12.*" # from geoh5py
146146
pymatsolver = "0.3.*" # from simpeg
147147
zarr = ">=2.14.2, 2.14.*" # from simpeg[dask]
148148

recipe.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ build:
2020

2121
requirements:
2222
host:
23-
- python 3.12.*
23+
- python ${{ python_min }}.*
2424
- poetry-core >=1.8.0
2525
- poetry-dynamic-versioning >=1.9, 1.*
2626
- setuptools
2727
- pip
2828
run:
2929
- python >=${{ python_min }}
3030
# Mira packages
31-
- geoapps-utils >=0.7.0a, 0.7.*
32-
- geoh5py >=0.13.0a, 0.13.*
33-
- grid-apps >=0.2.0a, 0.2.*
34-
- mira-simpeg >=0.23.0.3a, 0.23.0.*
31+
- geoapps-utils >=0.7.0a2, 0.7.*
32+
- geoh5py >=0.13.0a2, 0.13.*
33+
- grid-apps >=0.2.0a2, 0.2.*
34+
- mira-simpeg >=0.23.0.2, 0.23.0.* | >=0.25.0.1a, 0.25.0.*
3535

3636
# direct dependencies
3737
- dask-core 2025.3.*
3838
- discretize 0.12.*
3939
- distributed 2025.3.*
4040
- numpy >=2.4.2, 2.4.*
41-
- pydantic >=2.12.0, 2.12.*
41+
- pydantic 2.12.*
4242
- pydiso 0.2.*
4343
- python-mumps >=0.0.6, 0.0.6.*
4444
- rtree 1.4.*

simpeg_drivers/options.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
from __future__ import annotations
1313

14-
from enum import Enum
14+
from enum import StrEnum
1515
from logging import getLogger
1616
from pathlib import Path
1717
from typing import Annotated, Any, ClassVar, Literal
@@ -321,7 +321,7 @@ def gradient_orientations(self) -> tuple(float, float):
321321
return self._gradient_orientations
322322

323323

324-
class ModelTypeEnum(str, Enum):
324+
class ModelTypeEnum(StrEnum):
325325
conductivity = "Conductivity (S/m)"
326326
resistivity = "Resistivity (Ohm-m)"
327327

0 commit comments

Comments
 (0)