diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 5644fcb..d0f8fa7 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -10,70 +10,27 @@ jobs: fail-fast: false matrix: include: - # Windows 32-bit - - os: windows-2019 - python: 38 - platform_id: win32 - - os: windows-2019 - python: 39 - platform_id: win32 - - os: windows-2019 - python: 310 - platform_id: win32 - - os: windows-2019 - python: 311 - platform_id: win32 - - os: windows-2019 - python: 312 - platform_id: win32 - - os: windows-2019 - python: 313 - platform_id: win32 - # Windows 64-bit - - os: windows-2019 - python: 38 - platform_id: win_amd64 - - os: windows-2019 + - os: windows-2022 python: 39 platform_id: win_amd64 - - os: windows-2019 + - os: windows-2022 python: 310 platform_id: win_amd64 - - os: windows-2019 + - os: windows-2022 python: 311 platform_id: win_amd64 - - os: windows-2019 + - os: windows-2022 python: 312 platform_id: win_amd64 - - os: windows-2019 + - os: windows-2022 python: 313 platform_id: win_amd64 - - # Linux 32-bit - - os: ubuntu-latest - python: 38 - platform_id: manylinux_i686 - - os: ubuntu-latest - python: 39 - platform_id: manylinux_i686 - - os: ubuntu-latest - python: 310 - platform_id: manylinux_i686 - - os: ubuntu-latest - python: 311 - platform_id: manylinux_i686 - - os: ubuntu-latest - python: 312 - platform_id: manylinux_i686 - - os: ubuntu-latest - python: 313 - platform_id: manylinux_i686 + - os: windows-2022 + python: 314 + platform_id: win_amd64 # Linux 64-bit - - os: ubuntu-latest - python: 38 - platform_id: manylinux_x86_64 - os: ubuntu-latest python: 39 platform_id: manylinux_x86_64 @@ -89,11 +46,11 @@ jobs: - os: ubuntu-latest python: 313 platform_id: manylinux_x86_64 + - os: ubuntu-latest + python: 314 + platform_id: manylinux_x86_64 # Linux aarch64 - - os: ubuntu-latest - python: 38 - platform_id: manylinux_aarch64 - os: ubuntu-latest python: 39 platform_id: manylinux_aarch64 @@ -109,13 +66,11 @@ jobs: - os: ubuntu-latest python: 313 platform_id: manylinux_aarch64 + - os: ubuntu-latest + python: 314 + platform_id: manylinux_aarch64 # macOS on Intel 64-bit - - os: macos-latest - python: 38 - arch: x86_64 - platform_id: macosx_x86_64 - macosx_deployment_target: "10.9" - os: macos-latest python: 39 arch: x86_64 @@ -136,19 +91,18 @@ jobs: arch: x86_64 platform_id: macosx_x86_64 macosx_deployment_target: "10.9" - - os: macos-latest python: 313 arch: x86_64 platform_id: macosx_x86_64 macosx_deployment_target: "10.9" + - os: macos-latest + python: 314 + arch: x86_64 + platform_id: macosx_x86_64 + macosx_deployment_target: "10.9" # macOS on Apple M1 64-bit - - os: macos-latest - python: 38 - arch: arm64 - platform_id: macosx_arm64 - macosx_deployment_target: "11.0" - os: macos-latest python: 39 arch: arm64 @@ -174,6 +128,11 @@ jobs: arch: arm64 platform_id: macosx_arm64 macosx_deployment_target: "11.0" + - os: macos-latest + python: 314 + arch: arm64 + platform_id: macosx_arm64 + macosx_deployment_target: "11.0" steps: - uses: actions/checkout@v4 @@ -189,7 +148,7 @@ jobs: - uses: actions/setup-python@v5 name: Install Python host for cibuildwheel with: - python-version: '3.9' + python-version: '3.11' # Visual Studio - name: Set up MSVC x86 @@ -270,7 +229,7 @@ jobs: popd - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.20.0 + run: python -m pip install cibuildwheel==3.0.1 - name: Build wheels # to supply options, put them in 'env', like: @@ -283,15 +242,16 @@ jobs: # Include latest Python beta CIBW_PRERELEASE_PYTHONS: True + CIBW_ENABLE: cpython-prerelease CIBW_BUILD_FRONTEND: build CIBW_BEFORE_ALL_LINUX: | yum install -y gcc-c++ pcre-devel openssl-devel - /opt/python/cp38-cp38/bin/python -m pip install ninja - ln -s /opt/python/cp38-cp38/bin/ninja /usr/bin/ninja + /opt/python/cp311-cp311/bin/python -m pip install ninja + ln -s /opt/python/cp311-cp311/bin/ninja /usr/bin/ninja if [[ ! -e $(command -v swig) ]]; then - curl -L https://sourceforge.net/projects/swig/files/swig/swig-4.2.1/swig-4.2.1.tar.gz/download --output /tmp/swig.tar.gz + curl -L https://sourceforge.net/projects/swig/files/swig/swig-4.3.1/swig-4.3.1.tar.gz/download --output /tmp/swig.tar.gz mkdir /tmp/swig tar -xvzf /tmp/swig.tar.gz -C /tmp/swig --strip-components 1 &> /dev/null pushd /tmp/swig @@ -337,7 +297,7 @@ jobs: - uses: actions/setup-python@v5 name: Install Python host for sdist with: - python-version: '3.9' + python-version: '3.11' - name: Create sdist run: | diff --git a/gdcm_src b/gdcm_src index 41c9bd7..06cd7db 160000 --- a/gdcm_src +++ b/gdcm_src @@ -1 +1 @@ -Subproject commit 41c9bd758000da78b02a71569fb7dfd2d8a86007 +Subproject commit 06cd7db23f28446d5d9ff338dfdd6025965f9f9a diff --git a/pyproject.toml b/pyproject.toml index abb7301..68ee36d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ requires = [ [project] name = "python-gdcm" -version = "3.0.25" +version = "3.0.26" authors = [ { name = "Thiago Franco de Moraes", email = "totonixsame@gmail.com" }, ]