diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 16d64d5..dd6610c 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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" @@ -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" diff --git a/pyrightconfig.json b/pyrightconfig.json index a78bcb0..f58ba80 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -1,5 +1,5 @@ { - "pythonVersion": "3.9", + "pythonVersion": "3.10", "exclude": [ "**/node_modules", "**/__pycache__", diff --git a/setup.py b/setup.py index b46e75e..89cde3d 100644 --- a/setup.py +++ b/setup.py @@ -87,7 +87,7 @@ 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'], @@ -95,6 +95,7 @@ def get_tag(self): 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"], @@ -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',