Skip to content

Commit 013955e

Browse files
OmkarSarkar204amilcarlucas
authored andcommitted
refactor: python added 3.15 support
Signed-off-by: Omkar Sarkar <omkarsarkar24@gmail.com>
1 parent 649b420 commit 013955e

5 files changed

Lines changed: 19 additions & 6 deletions

File tree

.github/workflows/build_windows_macos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: 'windows-latest'
2626
strategy:
2727
matrix:
28-
python-version: ['3.14']
28+
python-version: ['3.15']
2929

3030
outputs:
3131
hashes: ${{ steps.hash.outputs.hashes }}
@@ -162,7 +162,7 @@ jobs:
162162
runs-on: 'macos-latest'
163163
strategy:
164164
matrix:
165-
python-version: ['3.14']
165+
python-version: ['3.15']
166166

167167
permissions:
168168
contents: write
@@ -255,7 +255,7 @@ jobs:
255255
runs-on: 'ubuntu-22.04' # Use a consistent Linux environment for building the AppImage
256256
strategy:
257257
matrix:
258-
python-version: ['3.14']
258+
python-version: ['3.15']
259259

260260
permissions:
261261
contents: write

.github/workflows/pylint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
python-version: ["3.10", "3.14"]
26+
python-version: ["3.10", "3.15"]
2727

2828
steps:
2929
- name: Harden the runner (Audit all outbound calls)

.github/workflows/pyright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
python-version: ["3.10", "3.14"]
26+
python-version: ["3.10", "3.15"]
2727

2828
steps:
2929
- name: Harden the runner (Audit all outbound calls)

.github/workflows/pytest.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
os: [ubuntu-latest, windows-latest, macos-latest]
31-
python-version: ["3.14"] # to make sure the latest AMC supported python version does not break
31+
python-version: ["3.15"] # to make sure the latest AMC supported python version does not break
3232
include:
3333
- os: ubuntu-latest
3434
python-version: "3.10" # to make sure the minimum AMC supported python version does not break
@@ -40,6 +40,18 @@ jobs:
4040
with:
4141
egress-policy: audit
4242

43+
- name: Install lxml dependencies (Ubuntu)
44+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.15'
45+
run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev
46+
47+
- name: Install lxml dependencies (macOS)
48+
if: matrix.os == 'macos-latest' && matrix.python-version == '3.15'
49+
run: |
50+
brew install libxml2 libxslt
51+
echo "LDFLAGS=-L$(brew --prefix libxml2)/lib -L$(brew --prefix libxslt)/lib" >> $GITHUB_ENV
52+
echo "CPPFLAGS=-I$(brew --prefix libxml2)/include -I$(brew --prefix libxslt)/include" >> $GITHUB_ENV
53+
echo "PKG_CONFIG_PATH=$(brew --prefix libxml2)/lib/pkgconfig:$(brew --prefix libxslt)/lib/pkgconfig" >> $GITHUB_ENV
54+
4355
- name: Checkout
4456
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4557

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ classifiers = [
3636
"Programming Language :: Python :: 3.12",
3737
"Programming Language :: Python :: 3.13",
3838
"Programming Language :: Python :: 3.14",
39+
"Programming Language :: Python :: 3.15",
3940
"Topic :: Software Development :: Embedded Systems",
4041
"Topic :: System :: Installation/Setup",
4142
"Topic :: Scientific/Engineering",

0 commit comments

Comments
 (0)