Skip to content

Commit

Permalink
Drop python 3.9, add python 3.13, allow numpy v2
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange committed Dec 18, 2024
1 parent 4c710c1 commit 150e0ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions packages/vaex-core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[build-system]
# Minimum requirements for the build system to execute.
requires = [
"oldest-supported-numpy; python_version=='3.8'", # deprecated ref https://github.com/scipy/oldest-supported-numpy
"numpy~=1.25; python_version>'3.8'", # numpy~=2.0 fails, backward compatible build-system as of v1.25 ref https://numpy.org/doc/2.1/dev/depending_on_numpy.html#build-time-dependency
"numpy~=2.1", # 3.13 support ref https://github.com/scipy/oldest-supported-numpy/pull/86
"scikit-build",
"cmake",
"ninja"
Expand Down
12 changes: 6 additions & 6 deletions packages/vaex-core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@
license = "MIT"
version = version.__version__
url = "https://www.github.com/maartenbreddels/vaex"
# TODO: after python2 supports frops, future and futures can also be dropped
setup_requires = ["numpy~=1.17"]
setup_requires = ["numpy~=2.1"] # see vaex-core pyproject.toml
install_requires_core = [
"numpy~=1.17",
"numpy>=1.19.3,<3", # 1.19.3 is the first version with 3.9 wheels
"aplus",
"tabulate>=0.8.3",
"dask!=2022.4.0,<2024.9", # fingerprinting in no longer deterministic as of 2024.9.0
"future>=0.15.2",
"pyyaml",
"six",
"cloudpickle",
Expand Down Expand Up @@ -271,13 +269,15 @@ def __str__(self):
if not use_skbuild
else [],
zip_safe=False,
python_requires=">=3.8,<3.13", # 3.13 needs numpy 2.1 support ref https://github.com/vaexio/vaex/pull/2434
# 3.9 is the oldest python version that the new numpy build system supports
# ref https://github.com/scipy/oldest-supported-numpy/pull/86
python_requires=">=3.9,<3.14",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
extras_require=extras_require_core,
entry_points={
Expand Down

0 comments on commit 150e0ab

Please sign in to comment.