diff --git a/.github/workflows/build_windows_macos.yml b/.github/workflows/build_windows_macos.yml index 4b9d38cdb..84ae64eb2 100644 --- a/.github/workflows/build_windows_macos.yml +++ b/.github/workflows/build_windows_macos.yml @@ -25,7 +25,7 @@ jobs: runs-on: 'windows-latest' strategy: matrix: - python-version: ['3.14'] + python-version: ['3.15'] outputs: hashes: ${{ steps.hash.outputs.hashes }} @@ -162,7 +162,7 @@ jobs: runs-on: 'macos-latest' strategy: matrix: - python-version: ['3.13'] + python-version: ['3.15'] permissions: contents: write @@ -255,7 +255,7 @@ jobs: runs-on: 'ubuntu-22.04' # Use a consistent Linux environment for building the AppImage strategy: matrix: - python-version: ['3.14'] + python-version: ['3.15'] permissions: contents: write diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index e5223f8f4..1e286073a 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.14"] + python-version: ["3.10", "3.15"] steps: - name: Harden the runner (Audit all outbound calls) diff --git a/.github/workflows/pyright.yml b/.github/workflows/pyright.yml index eb833d9af..67c8b33b7 100644 --- a/.github/workflows/pyright.yml +++ b/.github/workflows/pyright.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.14"] + python-version: ["3.10", "3.15"] steps: - name: Harden the runner (Audit all outbound calls) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 25c9d77bb..0c876395e 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -28,7 +28,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.14"] # to make sure the latest AMC supported python version does not break + python-version: ["3.15"] # to make sure the latest AMC supported python version does not break include: - os: ubuntu-latest python-version: "3.10" # to make sure the minimum AMC supported python version does not break @@ -40,6 +40,18 @@ jobs: with: egress-policy: audit + - name: Install lxml dependencies (Ubuntu) + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.15' + run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev + + - name: Install lxml dependencies (macOS) + if: matrix.os == 'macos-latest' && matrix.python-version == '3.15' + run: | + brew install libxml2 libxslt + echo "LDFLAGS=-L$(brew --prefix libxml2)/lib -L$(brew --prefix libxslt)/lib" >> $GITHUB_ENV + echo "CPPFLAGS=-I$(brew --prefix libxml2)/include -I$(brew --prefix libxslt)/include" >> $GITHUB_ENV + echo "PKG_CONFIG_PATH=$(brew --prefix libxml2)/lib/pkgconfig:$(brew --prefix libxslt)/lib/pkgconfig" >> $GITHUB_ENV + - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 diff --git a/pyproject.toml b/pyproject.toml index dfe291fec..1ec6455a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,6 +36,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Topic :: Software Development :: Embedded Systems", "Topic :: System :: Installation/Setup", "Topic :: Scientific/Engineering",