Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
a5b2fdb
Fix bug in IP effects on EM1D simulations (#1729)
GrindingTheophile Jan 26, 2026
9703e1f
Hide `BreakingChangeWarning` from `get_indices_block` (#1746)
santisoler Jan 27, 2026
471344c
Fix bug in VRM effects on EM1D simulations (#1748)
santisoler Jan 30, 2026
6cc4cdc
Fix for issue #1712 (#1738)
TomSHudsonFST Feb 12, 2026
66a91d5
Improve docs of `Survey.drape_electrodes_on_topography` (#1749)
santisoler Feb 12, 2026
76b05e6
Minor improvements to the release checklist (#1753)
santisoler Feb 12, 2026
8065b77
Add changelog for SimPEG v0.25.1 (#1752)
santisoler Feb 12, 2026
b85ca75
Update link to PyPI in release checklist (#1755)
santisoler Feb 17, 2026
fcb9bdf
NSEM receivers for 2D simulation (#1684)
dccowan Feb 21, 2026
983f2b4
Add patches to support Numpy 2.4 (#1759)
santisoler Mar 10, 2026
d567807
Replace LaTeX `align` for `aligned` in math directives (#1758)
santisoler Mar 11, 2026
8e70c39
Improve type hints in `distance_weighting` (#1756)
santisoler Mar 16, 2026
ba60041
Cherry-pick changelog for v0.25.2 (#1762)
santisoler Mar 16, 2026
49cd654
Improved right-hand side for NSEM primary secondary (#1661)
dccowan Apr 9, 2026
3c268dd
Remove unused functions in NSEM source utils (#1763)
santisoler Apr 9, 2026
43b0120
TileMap --> use the discretize volume averaging (#1770)
lheagy Jun 10, 2026
92d8ca8
Add allow-unsafe-pr-checkout: true (#1773)
jcapriot Aug 18, 2026
5df6af1
Fix line feeds in natural_source/simulation.py to be LF instead (#1772)
jcapriot Aug 18, 2026
3500838
Fix math definition of RHS in FDEM simulations (#1774)
RylanDS7 Aug 18, 2026
53d0493
Nsem recursive add zyx (#1766)
dccowan Aug 21, 2026
41727cb
Stable padding for 1D MT solutions (#1769)
dccowan Aug 22, 2026
e203ecf
Make `simpeg.utils.download` respect the `verbose` argument (#1777)
manduinca Aug 31, 2026
33949ef
Remove non-existing function from API reference (#1784)
santisoler Sep 6, 2026
4852670
Move Contributing guide to its own section (#1781)
santisoler Sep 8, 2026
40cda0b
Minor fixes to Contributing guide (#1782)
santisoler Sep 8, 2026
bec48a0
Fix some `numpydocstyle` issues (#1785)
santisoler Sep 8, 2026
5c27536
Update URL to `pymatsolver` for `intersphinx` (#1783)
santisoler Sep 8, 2026
dc1bbb5
Make `sphinx-gallery` configuration pickable (#1786)
santisoler Sep 8, 2026
0a002be
Use dependabot to check for updates in GitHub Actions (#1789)
santisoler Sep 8, 2026
390d5f5
Remove Action that runs `reviewdog` in PRs (#1795)
santisoler Sep 14, 2026
8f581b3
Bump actions/checkout from 4 to 7 (#1791)
dependabot[bot] Sep 17, 2026
06f5a79
Bump actions/setup-python from 5 to 7 (#1790)
dependabot[bot] Sep 17, 2026
1e3c1b0
Drop support for Python 3.11 (#1802)
santisoler Sep 24, 2026
5fdcfe1
Add Actions workflow to test against latest dependencies (#1807)
santisoler Sep 24, 2026
d485866
Run Ruff to check some `pydocstyle` errors (#1788)
santisoler Sep 25, 2026
5b53e8c
Bump black from 24.3.0 to 26.3.1 (#1809)
dependabot[bot] Sep 25, 2026
0889ecf
Extend Black target-version up to py314 (#1810)
santisoler Sep 28, 2026
3bf555e
Remove the `warn` argument in `get_default_solver` (#1797)
santisoler Sep 28, 2026
e003cd6
Bump conda-incubator/setup-miniconda from 4.0.1 to 4.1.0 (#1811)
dependabot[bot] Sep 29, 2026
b547a38
Removed deprecated directives submodules (#1798)
santisoler Sep 30, 2026
bb9067d
Remove deprecated properties of optimizers (#1799)
santisoler Oct 1, 2026
309b7ea
Replace the deprecated `typing.Type` for `type` (#1801)
santisoler Oct 5, 2026
e998b79
Remove deprecated properties from directives (#1800)
santisoler Oct 5, 2026
705a33c
Fix Maxwell equation in FDEM module description (#1778)
santisoler Oct 5, 2026
58efca6
Bump Python version to 3.14 in `environment.yml` (#1813)
santisoler Oct 5, 2026
eda21e6
Add page on deprecating code to Contributing Guide (#1808)
santisoler Oct 6, 2026
fbd2949
Enhance robustness and error handling in multiprocessing simulations …
jcapriot Oct 7, 2026
7d721d0
Make multiprocessing potential field kernel build using shared memory…
jcapriot Oct 9, 2026
d872a94
Replace deprecated refine_tree_xyz across tests (#1466)
santisoler Oct 13, 2026
7aeab4e
Replace `refine_tree_xyz` in latest magnetic tests (#1819)
santisoler Oct 14, 2026
165325f
Add rotation invariant transfer functions (#1779)
dccowan Oct 14, 2026
7036b93
Replace `refine_tree_xyz` in examples (#1820)
santisoler Oct 14, 2026
ea42825
Fix bug in `getJ` method of FDEM simulations (#1822)
lheagy Oct 16, 2026
89ce061
Minor updates to the release checklist (#1828)
santisoler Oct 19, 2026
cf41688
EMsimulation face and edge conductivities (#1296)
dccowan Oct 20, 2026
b1c6e60
Fix line current inconsistency between EB and HJ formulations (#1812)
lheagy Oct 21, 2026
1addf2f
Replace deprecated `discretize.utils.closest_points_index` (#1827)
santisoler Oct 21, 2026
4463171
Optimize `deriv` method in parametric maps (#1754)
santisoler Oct 21, 2026
3f0c7f9
Better map shapes (#1787)
jcapriot Oct 21, 2026
498a000
Fix NSEM TreeMesh side columns, scalar `sigma_primary`, FDEM multi-so…
jcapriot Oct 22, 2026
802286d
Store TDEM factorizations (#1832)
jcapriot Oct 22, 2026
1b5245b
Bump Python to 3.15 in test against latest versions (#1833)
santisoler Oct 23, 2026
137a372
Add changelog for SimPEG v0.26.0 (#1826)
santisoler Oct 26, 2026
40e5f54
Merge branch 'main' into GEOPY-3115
domfournier Oct 27, 2026
ed32615
Re-apply einsum to tipper receivers deriv
domfournier Oct 27, 2026
6bb069a
Bring back older nester TileMap until fully tested
domfournier Oct 27, 2026
1f7d28d
Add TileMapNested to init. Fix imports
domfournier Oct 27, 2026
cef6858
Deal with sparse v vector
domfournier Oct 27, 2026
ff5dd61
Change array multiplications
domfournier Oct 27, 2026
03db53f
Fix tipper derivs
domfournier Oct 27, 2026
e94151f
Bring back wires from projections
domfournier Oct 27, 2026
5f396d7
Convert cross_product_amplitude_deriv to einsum operations
domfournier Oct 27, 2026
22654d3
Fix shape
domfournier Oct 27, 2026
26ee051
Remove old ignore
domfournier Oct 27, 2026
ae28eb6
Fix bad ratio
domfournier Oct 27, 2026
5f52c7b
Clean up merge conflict
domfournier Oct 28, 2026
94dc468
Merge branch 'develop' into GEOPY-3115
domfournier Oct 30, 2026
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
2 changes: 1 addition & 1 deletion .ci/azure/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
pool:
vmImage: ubuntu-latest
variables:
python.version: "3.11"
python.version: "3.12"
timeoutInMinutes: 240
steps:
# Checkout simpeg repo.
Expand Down
4 changes: 2 additions & 2 deletions .ci/azure/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

- task: UsePythonVersion@0
inputs:
versionSpec: "3.11"
versionSpec: "3.12"
displayName: "Setup Python"

- bash: |
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

- task: UsePythonVersion@0
inputs:
versionSpec: "3.11"
versionSpec: "3.12"
displayName: "Setup Python"

- bash: |
Expand Down
19 changes: 16 additions & 3 deletions .ci/azure/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "3.11"
versionSpec: "3.12"
- bash: .ci/install_style.sh
displayName: "Install dependencies to run the checks"
- script: make black
Expand All @@ -19,7 +19,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "3.11"
versionSpec: "3.12"
- bash: .ci/install_style.sh
displayName: "Install dependencies to run the checks"
- script: make flake
Expand All @@ -32,10 +32,23 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "3.11"
versionSpec: "3.12"
- bash: .ci/install_style.sh
displayName: "Install dependencies to run the checks"
- script: make flake-all
displayName: "Run flake8"
env:
FLAKE8_OPTS: "--exit-zero"

- job:
displayName: Run style checks with Ruff
pool:
vmImage: ubuntu-latest
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "3.12"
- bash: .ci/install_style.sh
displayName: "Install dependencies to run the checks"
- script: make ruff
displayName: "Run ruff"
2 changes: 1 addition & 1 deletion .ci/azure/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
os : ['ubuntu-latest']
py_vers: ['3.11']
py_vers: ['3.12']
test: ['tests/em',
'tests/base tests/flow tests/seis tests/utils',
'tests/meta',
Expand Down
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
* text=auto

.git_archival.txt export-subst
29 changes: 25 additions & 4 deletions .github/ISSUE_TEMPLATE/release-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ assignees: ""
- [ ] Copy the content of `notes.rst` to a new file `docs/content/release/<version>-notes.rst`.
- [ ] Edit the release notes file, following the template below and the previous release notes.
- [ ] Add the new release notes to the list in `docs/content/release/index.rst`.
- [ ] **Open a PR** with the new release notes.
- [ ] Manually view the built documentation by downloading the Azure `html_doc` artifact and check for formatting and errors.
- [ ] Create a new branch called `changelog-v<VERSION_NUMBER>` and commit the
changes in `docs/content/release`


<details>
Expand Down Expand Up @@ -97,6 +97,7 @@ Pull Requests
=============

..

paste list of PRs that were copied to `notes.rst`
```

Expand All @@ -116,8 +117,28 @@ Edit the `docs/_static/versions.json` file and:
- [ ] Double-check the changes.
- [ ] Commit the changes to the same branch.

### Merge the PR
### Optionally: Python version compatibility

If this releases drops support of an old Python version:

- [ ] Open the `docs/content/user-guide/getting-started/version-compatibility.rst` file and go to the `Supported Python versions` section.
- [ ] Make sure that the current latest version is listed there along with the corresponding Python version that this release will drop support for.

> [!TIP]
> For example, if the latest release to the date is `v0.25.2`, we are about to release `v0.26.0`, and we are dropping support for Python 3.11, then we need to identify `v0.25.0` as the last version to support Python 3.11:
>
> ```rst
> * - **Python version**
> - **Last compatible release**
> ...
> * - 3.11
> - 0.25.2
> ```

### Create a PR and merge it

- [ ] Open a PR merging the new branch into `main`.
- [ ] Manually view the built documentation by downloading the Azure `html_doc` artifact and check for formatting and errors.
- [ ] **Merge that PR.**

## Make the new release
Expand All @@ -134,7 +155,7 @@ After publishing the release, Azure will automatically push the new version to P

After they finish:

- [ ] Check the new version is available in PyPI: https://pypi.org/project/SimPEG/ .
- [ ] Check the new version is available in PyPI: https://pypi.org/project/simpeg
- [ ] Check the new documentation is online: https://docs.simpeg.xyz

For the new version to be available in conda-forge, we need to update the [conda-forge/simpeg-feedstock](https://github.com/conda-forge/simpeg-feedstock) repository. Within the same day of the release a new PR will be automatically open in that repository. So:
Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ updates:
groups:
pre-commit-hooks:
patterns:
- "*"
- "*"
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ Feel free to remove lines from this template that do not apply to you pull reque

<!--
Once all tests pass and the code has been reviewed and approved, it will be merged into main
-->
-->
96 changes: 96 additions & 0 deletions .github/workflows/test-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Test SimPEG against latest Python and dependencies versions
# ===========================================================

name: Test SimPEG against latest Python

on:
workflow_dispatch:
# Manually triggered event. Allow to select Python version in the web interface.
inputs:
python:
description: "Python version"
required: true
default: "3.15"
type: string

schedule:
# Run at midnight of every Monday on default branch
- cron: "0 0 * * 1"
timezone: "UTC"

permissions: {}

# Use bash by default in all jobs
defaults:
run:
# The -l {0} is necessary for conda environments to be activated
# But this breaks on MacOS if using actions/setup-python:
# https://github.com/actions/setup-python/issues/132
# -e makes sure builds fail if any command fails
shell: bash -e -o pipefail -l {0}

jobs:

test:
name: Test (latest)
runs-on: ubuntu-latest
strategy:
# Allow single workshops in the matrix to fail and continue running the rest.
fail-fast: false
matrix:
test_target:
- tests/base tests/flow tests/meta tests/utils
- tests/em
- tests/examples
- tests/pf
# Test dask on its own to avoid modifying the implementation of any other tests
- tests/dask
env:
# Define the Python version conditionally:
# if it was manually triggered, use the inputs.python variable, else use a default value.
PYTHON: ${{ inputs.python || '3.15' }}
ENVIRONMENT: .ci/environment_test.yml

steps:
# Checks-out your repository under $GITHUB_WORKSPACE
- name: Checkout
uses: actions/checkout@v7
with:
# Need to fetch more than the last commit so that setuptools-scm can
# create the correct version string. If the number of commits since
# the last release is greater than this, the version still be wrong.
# Increase if necessary.
fetch-depth: 100
# The GitHub token is preserved by default but this job doesn't need
# to be able to push to GitHub.
persist-credentials: false

# Need the tags so that setuptools-scm can form a valid version number
- name: Fetch git tags
run: git fetch origin 'refs/tags/*:refs/tags/*'

- name: Setup caching for conda packages
uses: actions/cache@v6
with:
path: ~/conda_pkgs_dir
key: conda-${{ env.PYTHON }}-${{ hashFiles(env.ENVIRONMENT) }}

- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb
with:
python-version: ${{ env.PYTHON }}
miniforge-version: latest
channels: conda-forge
conda-remove-defaults: "true"
activate-environment: simpeg-test
environment-file: ${{ env.ENVIRONMENT }}

- name: List installed packages
run: conda list

- name: Install the package
run: python -m pip install --no-deps .
Comment thread
domfournier marked this conversation as resolved.
Resolved

- name: Run tests
run: |
pytest -v --cov --cov-config="pyproject.toml" -W "ignore::DeprecationWarning" ${{ matrix.test_target }}
31 changes: 7 additions & 24 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,22 @@
default_language_version:
python: python3
default_stages: [pre-commit,pre-push]
fail_fast: false

repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.1.0
rev: 26.3.1
hooks:
- id: black
language_version: python3.12

language_version: python3
- repo: https://github.com/pycqa/flake8
rev: 7.1.2
rev: 7.0.0
hooks:
- id: flake8
language_version: python3.12
language_version: python3
additional_dependencies:
- flake8-bugbear==23.12.2
- flake8-builtins==2.2.0
- flake8-mutable==1.2.0
- flake8-rst-docstrings==0.3.0
- flake8-docstrings==1.7.0
- flake8-pyproject==1.2.3
- repo: https://github.com/MiraGeoscience/pre-commit-hooks
rev: v1.1.0
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.6
hooks:
- id: prepare-commit-msg
- id: check-commit-msg
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-json
exclude_types: [jupyter]
- id: check-toml
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict
- id: detect-private-key
- id: ruff-check
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
STYLE_CHECK_FILES = simpeg examples tutorials tests
GITHUB_ACTIONS=.github/workflows

.PHONY: help docs clean check black flake flake-all check-actions
.PHONY: help docs clean check black flake flake-all ruff check-actions

help:
@echo "Commands:"
Expand All @@ -10,6 +10,7 @@ help:
@echo " black checks code style with black"
@echo " flake checks code style with flake8"
@echo " flake-all checks code style with flake8 (full set of rules)"
@echo " ruff checks code style with ruff"
@echo " check-actions lint GitHub Actions workflows (with zizmor)"
@echo ""

Expand All @@ -20,7 +21,7 @@ clean:
cd docs;make clean
find . -name "*.pyc" | xargs -I {} rm -v "{}"

check: black flake
check: black flake ruff check-actions

black:
black --version
Expand All @@ -34,5 +35,8 @@ flake-all:
flake8 --version
flake8 ${FLAKE8_OPTS} --ignore "" ${STYLE_CHECK_FILES}

ruff:
ruff check ${STYLE_CHECK_FILES}

check-actions:
zizmor ${GITHUB_ACTIONS}
21 changes: 18 additions & 3 deletions docs/_static/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,26 @@
"url": "https://docs.simpeg.xyz/dev/"
},
{
"name": "v0.25.0 (latest)",
"version": "0.25.0",
"url": "https://docs.simpeg.xyz/v0.25.0/",
"name": "v0.26.0 (latest)",
"version": "0.26.0",
"url": "https://docs.simpeg.xyz/v0.26.0/",
"preferred": true
},
{
"name": "v0.25.2",
"version": "0.25.2",
"url": "https://docs.simpeg.xyz/v0.25.2/"
},
{
"name": "v0.25.1",
"version": "0.25.1",
"url": "https://docs.simpeg.xyz/v0.25.1/"
},
{
"name": "v0.25.0",
"version": "0.25.0",
"url": "https://docs.simpeg.xyz/v0.25.0/"
},
{
"name": "v0.24.0",
"version": "0.24.0",
Expand Down
Loading
Loading