Skip to content

Commit 28f3753

Browse files
committed
add support for numpy 2.0
1 parent fa3837f commit 28f3753

File tree

2 files changed

+30
-32
lines changed

2 files changed

+30
-32
lines changed

.github/workflows/test_unittests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
ffmpeg-version: ["3.2.4", "3.4", "4.0.2", "4.1", "4.2", "4.3"]
13+
ffmpeg-version: ["4.3", "5.0"]
1414

1515
# Timeout: https://stackoverflow.com/a/59076067/4521646
1616
timeout-minutes: 10
@@ -25,7 +25,7 @@ jobs:
2525
activate-environment: stempeg
2626
auto-update-conda: true
2727
auto-activate-base: false
28-
python-version: 3.7
28+
python-version: 3.11
2929
- name: Install dependencies FFMPEG ${{ matrix.ffmpeg-version }}
3030
env:
3131
FFMPEG_INSTALL: ${{ matrix.pytorch-version }}

setup.py

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -14,45 +14,43 @@
1414
# Fields marked as "Optional" may be commented out.
1515

1616
setup(
17-
name='stempeg',
18-
version='0.2.3',
19-
description='Read and write stem/multistream audio files',
17+
name="stempeg",
18+
version="0.2.4",
19+
description="Read and write stem/multistream audio files",
2020
long_description=long_description,
21-
long_description_content_type='text/markdown',
22-
url='http://github.com/faroit/stempeg',
23-
author='Fabian-Robert Stoeter',
24-
author_email='[email protected]',
21+
long_description_content_type="text/markdown",
22+
url="http://github.com/faroit/stempeg",
23+
author="Fabian-Robert Stoeter",
24+
author_email="[email protected]",
2525
classifiers=[
26-
'Development Status :: 4 - Beta',
27-
'Environment :: Console',
28-
'Intended Audience :: Telecommunications Industry',
29-
'Intended Audience :: Science/Research',
30-
'Programming Language :: Python :: 3.5',
31-
'Programming Language :: Python :: 3.6',
32-
'Programming Language :: Python :: 3.7',
33-
'Programming Language :: Python :: 3.8',
34-
'Topic :: Multimedia :: Sound/Audio :: Analysis',
35-
'Topic :: Multimedia :: Sound/Audio :: Sound Synthesis'
26+
"Development Status :: 4 - Beta",
27+
"Environment :: Console",
28+
"Intended Audience :: Telecommunications Industry",
29+
"Intended Audience :: Science/Research",
30+
"Programming Language :: Python :: 3.9",
31+
"Programming Language :: Python :: 3.10",
32+
"Programming Language :: Python :: 3.11",
33+
"Topic :: Multimedia :: Sound/Audio :: Analysis",
34+
"Topic :: Multimedia :: Sound/Audio :: Sound Synthesis",
3635
],
3736
zip_safe=True,
38-
keywords='stems audio reader',
39-
packages=find_packages(exclude=['tests']),
37+
keywords="stems audio reader",
38+
packages=find_packages(exclude=["tests"]),
4039
# Dependencies, this installs the entire Python scientific
4140
# computations stack
42-
install_requires=[
43-
'numpy>=1.6',
44-
'ffmpeg-python>=0.2.0'
45-
],
41+
install_requires=["numpy>=1.6", "ffmpeg-python>=0.2.0"],
4642
extras_require={
47-
'tests': [
48-
'pytest',
43+
"tests": [
44+
"pytest",
4945
],
5046
},
51-
entry_points={'console_scripts': [
52-
'stem2files=stempeg.cli:cli',
53-
]},
47+
entry_points={
48+
"console_scripts": [
49+
"stem2files=stempeg.cli:cli",
50+
]
51+
},
5452
project_urls={ # Optional
55-
'Bug Reports': 'https://github.com/faroit/stempeg/issues',
53+
"Bug Reports": "https://github.com/faroit/stempeg/issues",
5654
},
57-
include_package_data=True
55+
include_package_data=True,
5856
)

0 commit comments

Comments
 (0)