diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 89e818cb..87627e6a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12', '3.13', '3.14.0'] + python-version: ['3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8247dc8d..0f5b304f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -113,7 +113,7 @@ jobs: CIBW_BEFORE_BUILD: "pip install --prefer-binary h5py" CIBW_BEFORE_TEST: "pip install --prefer-binary h5py" CIBW_BUILD_VERBOSITY: 1 - CIBW_BUILD: cp310-* cp311-* cp312-* cp313-* cp314-* + CIBW_BUILD: cp311-* cp312-* cp313-* cp314-* # Do not build for pypy and muslinux CIBW_SKIP: pp* *-musllinux_* CIBW_ARCHS: ${{ matrix.cibw_archs }} diff --git a/.readthedocs.yaml b/.readthedocs.yaml index e4249010..68e074a4 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,7 +9,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.10" + python: "3.12" # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/ci/appveyor.yml b/ci/appveyor.yml index c3ccac99..1686a78f 100644 --- a/ci/appveyor.yml +++ b/ci/appveyor.yml @@ -25,21 +25,9 @@ environment: VENV_TEST_DIR: "venv_test" matrix: - # Python 3.7 - # - PYTHON_DIR: "C:\\Python37-x64" - # PYTHON_ARCH: "64" - - # Python 3.8 - #- PYTHON_DIR: "C:\\Python38-x64" - # PYTHON_ARCH: "64" - - # Python 3.9 - #- PYTHON_DIR: "C:\\Python39-x64" - # PYTHON_ARCH: "64" - - # Python 3.10 - - PYTHON_DIR: "C:\\Python310-x64" - PYTHON_ARCH: "64" + # # Python 3.10 + # - PYTHON_DIR: "C:\\Python310-x64" + # PYTHON_ARCH: "64" # Python 3.11 #- PYTHON_DIR: "C:\\Python311-x64" @@ -53,10 +41,6 @@ environment: - PYTHON_DIR: "C:\\Python313-x64" PYTHON_ARCH: "64" - # Python 3.14 - #- PYTHON_DIR: "C:\\Python314-x64" - # PYTHON_ARCH: "64" - install: # Add Python to PATH - "SET PATH=%PYTHON_DIR%;%PYTHON_DIR%\\Scripts;%PATH%" diff --git a/meson.build b/meson.build index 785aff72..bb24bff8 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project('FabIO', 'c', 'cython', license: 'MIT', - meson_version: '>= 0.60', + meson_version: '>= 1.3', version: run_command(['version.py', '--wheel'], check:true).stdout().strip(), ) diff --git a/src/fabio/ext/meson.build b/src/fabio/ext/meson.build index 27ec793c..fcb2859f 100644 --- a/src/fabio/ext/meson.build +++ b/src/fabio/ext/meson.build @@ -9,6 +9,7 @@ py.extension_module('cf_io', include_directories : ['include'], install: true, subdir: 'fabio/ext', + limited_api: '3.11' ) py.extension_module('byte_offset', @@ -16,6 +17,7 @@ py.extension_module('byte_offset', dependencies : py_dep, install: true, subdir: 'fabio/ext', + limited_api: '3.11' ) py.extension_module('mar345_IO', @@ -25,6 +27,7 @@ py.extension_module('mar345_IO', install: true, subdir: 'fabio/ext', include_directories : ['include'], + limited_api: '3.11' ) py.extension_module('_cif', @@ -32,6 +35,7 @@ py.extension_module('_cif', dependencies : py_dep, install: true, subdir: 'fabio/ext', + limited_api: '3.11' ) py.extension_module( '_agi_bitfield', @@ -39,6 +43,7 @@ py.extension_module( '_agi_bitfield', dependencies : py_dep, install: true, subdir: 'fabio/ext', + limited_api: '3.11' ) py.extension_module( 'dense', @@ -46,6 +51,5 @@ py.extension_module( 'dense', dependencies : py_dep, install: true, subdir: 'fabio/ext', + limited_api: '3.11' ) - -