Skip to content

Commit

Permalink
BLD: updates to pyproject.toml for numpy 2.0/1.26.0 and Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers committed Sep 17, 2023
1 parent 520822b commit 1785040
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,17 @@ requires = [
# default numpy requirements
"numpy==1.22.4; python_version<='3.10' and platform_python_implementation != 'PyPy'",
"numpy==1.23.3; python_version=='3.11' and platform_python_implementation != 'PyPy'",
"numpy==1.26.0; python_version=='3.12' and platform_python_implementation != 'PyPy'",
# For Python versions which aren't yet officially supported, we specify an
# unpinned NumPy which allows source distributions to be used and allows
# wheels to be used as soon as they become available.
"numpy>=1.26.0b1; python_version>='3.12'",
"numpy; python_version>='3.13'",
"numpy; python_version>='3.9' and platform_python_implementation=='PyPy'",
]

[project]
name = "PyWavelets"
version = "1.5.0.dev0"
# TODO: add `license-files` once PEP 639 is accepted (see meson-python#88)
# at that point, no longer include them in `py3.install_sources()`
license = {file = "LICENSE"}
Expand All @@ -40,7 +42,7 @@ requires-python = ">=3.9"
dependencies = [
# TODO: update to "pin-compatible" once possible, see
# https://github.com/FFY00/meson-python/issues/29
"numpy>=1.22.4",
"numpy>=1.22.4,<2.0",
]
readme = "README.rst"
classifiers = [
Expand All @@ -59,7 +61,6 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules"
]
dynamic = ['version']

[project.urls]
homepage = "https://github.com/PyWavelets/pywt"
Expand Down

0 comments on commit 1785040

Please sign in to comment.