-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update minimum python and build against numpy 2.0
- Loading branch information
Showing
4 changed files
with
13 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,3 +106,5 @@ geoana/kernels/_extensions/potential_field_prism_api.h | |
|
||
# setuptools_scm | ||
geoana/version.py | ||
|
||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,21 +2,18 @@ | |
[build-system] | ||
build-backend = 'mesonpy' | ||
requires = [ | ||
"meson-python>=0.14.0", | ||
"Cython>=0.29.35", # when updating version, also update check in meson.build | ||
"meson-python>=0.15.0", | ||
"Cython>=3.0.8", | ||
"setuptools_scm[toml]>=6.2", | ||
|
||
# This package automatically provides all of the numpy pinning for different python | ||
# versions and runtime requirements. | ||
"oldest-supported-numpy", | ||
"numpy>=2.0.0rc1", | ||
] | ||
|
||
[project] | ||
name = 'geoana' | ||
dynamic = ["version"] | ||
description = 'Analytic expressions for geophysical responses' | ||
readme = 'README.rst' | ||
requires-python = '>=3.8' | ||
requires-python = '>=3.10' | ||
authors = [ | ||
{name = 'SimPEG developers', email = '[email protected]'}, | ||
] | ||
|
@@ -28,8 +25,6 @@ keywords = [ | |
# release branches, see: | ||
# https://scipy.github.io/devdocs/dev/core-dev/index.html#version-ranges-for-numpy-and-other-dependencies | ||
dependencies = [ | ||
# TODO: update to "pin-compatible" once possible, see | ||
# https://github.com/mesonbuild/meson-python/issues/29 | ||
"numpy>=1.22.4", | ||
"scipy>=1.8", | ||
"libdlf", | ||
|
@@ -95,7 +90,7 @@ Repository = 'https://github.com/simpeg/geoana.git' | |
# skip building wheels for python 3.6, 3.7, all pypy versions, and specialty linux | ||
# processors (still does arm builds though). | ||
# skip windows 32bit | ||
skip = "cp36-* cp37-* pp* *_ppc64le *_i686 *_s390x *-win32 cp38-musllinux_* *-musllinux_aarch64" | ||
skip = "cp36-* cp37-* cp38-* cp39-* pp* *_ppc64le *_i686 *_s390x *-win32 cp38-musllinux_* *-musllinux_aarch64" | ||
build-verbosity = "3" | ||
|
||
# test importing geoana to make sure externals are loadable. | ||
|