Skip to content

Commit 6c7454e

Browse files
committed
Update Python dependences, enable 3.12 wheels
1 parent b8c49d0 commit 6c7454e

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

Diff for: pyproject.toml

+14-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ manylinux-x86_64-image = "mtgupf/essentia-builds:manylinux2014_x86_64"
55
manylinux-i686-image = "mtgupf/essentia-builds:manylinux2014_i686"
66

77
# TODO: skipping Python 3.12 for now until we create manylinux images supporting this version.
8-
skip = ["pp*", "*-musllinux*", "*i686", "*cp312*"]
8+
skip = ["pp*", "*-musllinux*", "*i686", "*cp36*", "*cp37*", "*cp38*"]
99

1010
environment = { PROJECT_NAME="essentia", ESSENTIA_PROJECT_NAME="${PROJECT_NAME}", ESSENTIA_WHEEL_SKIP_3RDPARTY=1, ESSENTIA_WHEEL_ONLY_PYTHON=1 }
1111

@@ -74,5 +74,17 @@ repair-wheel-command = [
7474
]
7575

7676
[build-system]
77+
requires = [
78+
"wheel >= 0.29.0",
79+
"setuptools >= 48",
80+
"numpy>=2.0.0rc1",
81+
"six",
82+
]
83+
build-backend = "setuptools.build_meta"
7784

78-
requires = ["wheel", "setuptools", "oldest-supported-numpy"]
85+
[project]
86+
dependencies = [
87+
"numpy>=1.25",
88+
"pyyaml",
89+
"six",
90+
]

Diff for: setup.py

-5
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ def get_version():
109109
Website: https://essentia.upf.edu
110110
'''
111111

112-
setup_requires = ['numpy>=1.8.2', 'six']
113-
install_requires = setup_requires + ['pyyaml']
114-
115112
# Require tensorflow for the package essentia-tensorflow
116113
# We are using version 2.5.0 as it is the newest version supported by the C API
117114
# https://www.tensorflow.org/guide/versions
@@ -136,8 +133,6 @@ def get_version():
136133
license='AGPLv3',
137134
platforms='any',
138135
classifiers=classifiers,
139-
setup_requires=setup_requires,
140-
install_requires=install_requires,
141136
ext_modules=[module],
142137
cmdclass={
143138
'build_ext': EssentiaBuildExtension,

0 commit comments

Comments
 (0)