Skip to content

Commit 5a6de92

Browse files
authored
Merge pull request #48 from MiraGeoscience/GEOPY-2661
GEOPY-2661: Update minimum requirement to python >=3.12, <3.15 and numpy 2.*
2 parents b453eb3 + ae60a11 commit 5a6de92

30 files changed

Lines changed: 3355 additions & 3024 deletions

.github/workflows/python_analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
package-manager: 'conda'
3535
app-name: 'grid_apps'
36-
python-version: '3.10'
36+
python-version: '3.12'
3737
call-workflow-pytest:
3838
name: Pytest
3939
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-pytest.yml@v2
@@ -42,10 +42,10 @@ jobs:
4242
pull-requests: read
4343
with:
4444
package-manager: 'conda'
45-
python-versions: '["3.10", "3.11", "3.12"]'
45+
python-versions: '["3.12", "3.13", "3.14"]'
4646
os: '["ubuntu-latest", "windows-latest"]'
4747
cache-number: 1
48-
codecov-reference-python-version: '3.10'
48+
codecov-reference-python-version: '3.12'
4949
codecov-reference-os: '["windows-latest"]'
5050
secrets:
5151
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/python_deploy_dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
contents: write
2121
with:
2222
package-name: 'grid-apps'
23-
python-version: '3.10'
23+
python-version: '3.12'
2424
source-repo-names: '["public-noremote-conda-dev"]'
2525
conda-channels: '["conda-forge"]'
2626
publish-repo-names: '["public-noremote-conda-dev"]'
@@ -37,7 +37,7 @@ jobs:
3737
package-manager: 'poetry'
3838
package-name: 'grid-apps'
3939
version-tag: ${{ github.ref_name }}
40-
python-version: '3.10'
40+
python-version: '3.12'
4141
virtual-repo-names: '["public-pypi-dev", "test-pypi"]'
4242
secrets:
4343
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ repos:
3535
hooks:
3636
- id: mypy
3737
additional_dependencies: [
38-
numpy==1.26.*,
38+
numpy==2.4.*,
3939
types-toml,
4040
types-PyYAML,
41-
pydantic==2.5.*,
41+
pydantic==2.12.*,
4242
tomli, # to read config from pyproject.toml
4343
]
4444
exclude: |

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Documentation
4949

5050
Installation
5151
^^^^^^^^^^^^
52-
**grid-apps** is currently written for Python 3.10 or higher.
52+
**grid-apps** is currently written for Python 3.12 or higher.
5353

5454
Install Conda
5555
-------------

deps-lock-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
include_dev: True
22
py_versions:
3-
- "3.10"
4-
- "3.11"
53
- "3.12"
4+
- "3.13"
5+
- "3.14"

docs/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
- defaults
66
dependencies:
7-
- python=3.10
7+
- python=3.12
88
- matplotlib
99
- scipy
1010
- h5py

docs/source/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Installation
1616
Install Conda
1717
~~~~~~~~~~~~~
1818

19-
Install Conda for Python 3.10 or higher. Follow this link to download its Windows installer (~140 MB of disk space):
19+
Install Conda for Python 3.12 or higher. Follow this link to download its Windows installer (~140 MB of disk space):
2020

2121
`Miniforge <https://github.com/conda-forge/miniforge#download>`_ `(Windows x86_64) <https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe>`_
2222

Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
dependencies:
2-
- python=3.10.*
2+
- python=3.13.*
33
- pip
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
dependencies:
2-
- python=3.11.*
2+
- python=3.14.*
33
- pip

environments/py-3.10-linux-64.conda.lock.yml

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)