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
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand All @@ -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},
Expand All @@ -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
Expand All @@ -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},
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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/

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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/
Expand All @@ -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
Expand Down Expand Up @@ -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/
Expand Down
3 changes: 3 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ python:
- method: pip
path: .

sphinx:
configuration: docs/conf.py

formats: all
2 changes: 1 addition & 1 deletion packing/build_pango_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packing/download_dlls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion packing/download_pango_macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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={
Expand Down
Loading