Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,21 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "pypy-3.7"
- "pypy-3.8"
- "pypy-3.9"
- "3.14"
- "pypy-3.10"
- "pypy-3.11"
architecture: ["x86", "x64"]
exclude:
- os: macos-latest # No Numpy binary wheel
python-version: "pypy-3.7"
- os: macos-latest
python-version: "3.9"
- os: macos-latest
python-version: "3.10"
- os: macos-latest
architecture: "x86"
- os: ubuntu-latest
architecture: "x86"
- os: windows-latest
python-version: "pypy-3.9"
- os: windows-latest
python-version: "pypy-3.10"

Expand Down Expand Up @@ -63,7 +55,7 @@ jobs:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.10"
- name: Install requirements
run: pip install numpy pytest pyright
- name: "Workaround: Generate _soundfile.py explicitly"
Expand Down
2 changes: 1 addition & 1 deletion pyrightconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"pythonVersion": "3.9",
"pythonVersion": "3.10",
"exclude": [
"**/node_modules",
"**/__pycache__",
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,15 @@ def get_tag(self):
version=soundfile_version,
description='An audio library based on libsndfile, CFFI and NumPy',
author='Bastian Bechtold',
author_email='basti@bastibe.de',
author_email='bastibe.dev@mailbox.org',
url='https://github.com/bastibe/python-soundfile',
keywords=['audio', 'libsndfile'],
py_modules=['soundfile'],
packages=packages,
package_data=package_data,
zip_safe=zip_safe,
license='BSD 3-Clause License',
python_requires=">=3.10",
setup_requires=["cffi>=1.0"],
install_requires=['cffi>=1.0', 'numpy', 'typing-extensions'],
cffi_modules=["soundfile_build.py:ffibuilder"],
Expand All @@ -109,7 +110,6 @@ def get_tag(self):
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Multimedia :: Sound/Audio',
Expand Down
Loading