diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5451b5e2..cdaa8ee9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,12 +31,12 @@ jobs: platform_id: macosx_arm64 architecture: arm64 env: - CIBW_BUILD: cp39-${{ matrix.platform_id }} cp310-${{ matrix.platform_id }} cp311-${{ matrix.platform_id }} cp312-${{ matrix.platform_id }} cp313-${{ matrix.platform_id }} - CIBW_SKIP: pp* cp36* cp37* cp38* + CIBW_BUILD: cp39-${{ matrix.platform_id }} cp310-${{ matrix.platform_id }} cp311-${{ matrix.platform_id }} cp312-${{ matrix.platform_id }} cp313-${{ matrix.platform_id }} cp314-${{ matrix.platform_id }} + CIBW_SKIP: pp* cp38* CIBW_BEFORE_BUILD_MACOS: "python packing/download_pango_macos.py ${{ matrix.architecture }}" CIBW_BEFORE_BUILD_WINDOWS: "python packing/download_dlls.py" CIBW_ENVIRONMENT_WINDOWS: "PKG_CONFIG_PATH='C:\\cibw\\vendor\\lib\\pkgconfig'" - CIBW_ENVIRONMENT_MACOS: "PKG_CONFIG_PATH='/Users/runner/pangobuild/lib/pkgconfig'" + CIBW_ENVIRONMENT_MACOS: "PKG_CONFIG_PATH='/Users/runner/pangobuild/lib/pkgconfig' MACOSX_DEPLOYMENT_TARGET='10.13'" CIBW_TEST_REQUIRES: pytest pytest-cov CIBW_TEST_COMMAND: "bash {project}/packing/test_wheels.sh {project}" steps: @@ -60,11 +60,11 @@ jobs: cp packing/LICENSE.bin . - name: Build wheels - uses: pypa/cibuildwheel@v2.20.0 + uses: pypa/cibuildwheel@v3.2.1 env: PKG_CONFIG_PATH: "C:\\cibw\\vendor\\lib\\pkgconfig" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl name: wheels-${{ runner.os }}-${{ matrix.platform_id }} @@ -77,7 +77,7 @@ jobs: fail-fast: false matrix: architecture: [x64, x86] - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] include: [ {platform_id: win_amd64, architecture: x64}, {platform_id: win32, architecture: x86}, @@ -92,7 +92,7 @@ jobs: architecture: ${{ matrix.architecture }} allow-prereleases: true - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: wheels-${{ runner.os }}-${{ matrix.platform_id }} path: ~/wheelhouse @@ -118,7 +118,7 @@ jobs: fail-fast: false matrix: architecture: [x64, arm64] - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] include: [ {platform_id: macosx_x86_64, architecture: x64, os: macos-13}, {platform_id: macosx_arm64, architecture: arm64, os: macos-14}, @@ -133,7 +133,7 @@ jobs: architecture: ${{ matrix.architecture == 'arm64' && null || matrix.architecture }} allow-prereleases: true - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: wheels-${{ runner.os }}-${{ matrix.platform_id }} path: ~/wheelhouse @@ -177,7 +177,7 @@ jobs: python -m pip install dist/*.tar.gz - name: Store artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz name: manimpango-src @@ -194,7 +194,7 @@ jobs: contents: write if: github.event_name== 'release' steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: downloads/ diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2f5b3604..d2b941a2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -58,7 +58,7 @@ jobs: - uses: codecov/codecov-action@v3 with: file: ./.coverage/coverage.xml - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: test-artifacts-${{matrix.os}}-${{matrix.python-version}} path: .pytest_temp/ @@ -70,7 +70,7 @@ jobs: fail-fast: false matrix: os: [windows-2022] - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] architecture: ["x64", "x86"] steps: - uses: actions/checkout@v3 @@ -99,7 +99,7 @@ jobs: - name: Run tests run: | pytest -s - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: test-artifacts-${{matrix.os}}-${{matrix.python-version}} ${{matrix.architecture}} path: .pytest_temp/ diff --git a/.readthedocs.yaml b/.readthedocs.yaml index e1bdf161..f03d4f1e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -14,4 +14,7 @@ python: - method: pip path: . +sphinx: + configuration: docs/conf.py + formats: all diff --git a/packing/build_pango_tests.sh b/packing/build_pango_tests.sh index 9740de66..93917a85 100644 --- a/packing/build_pango_tests.sh +++ b/packing/build_pango_tests.sh @@ -2,7 +2,7 @@ # build and install pango set -e -PANGO_VERSION=1.54.0 +PANGO_VERSION=1.56.4 FILE_PATH=$PWD PREFIX="$HOME/pangoprefix" diff --git a/packing/download_dlls.py b/packing/download_dlls.py index c31c0450..432c0f4a 100644 --- a/packing/download_dlls.py +++ b/packing/download_dlls.py @@ -10,7 +10,7 @@ from pathlib import Path from urllib.request import urlretrieve as download -PANGO_VERSION = "1.54.0-v3" +PANGO_VERSION = "1.56.4-v2" def get_platform(): diff --git a/packing/download_pango_macos.py b/packing/download_pango_macos.py index 773ad7e6..f332734b 100644 --- a/packing/download_pango_macos.py +++ b/packing/download_pango_macos.py @@ -10,7 +10,7 @@ from pathlib import Path from urllib.request import urlretrieve as download -PANGO_VERSION = "1.54.0-v3" +PANGO_VERSION = "1.56.4-v2" logging.basicConfig(format="%(levelname)s - %(message)s", level=logging.DEBUG) diff --git a/setup.py b/setup.py index 1cb433d3..28128ba6 100644 --- a/setup.py +++ b/setup.py @@ -280,7 +280,6 @@ def update_dict(dict1: dict, dict2: dict): "Programming Language :: Python :: 3.13", "Development Status :: 4 - Beta", "Programming Language :: Python :: 3 :: Only", - "License :: OSI Approved :: MIT License", "Programming Language :: Cython", ], project_urls={