Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: Try using python 3.14 #301

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- '3.9'
- '3.12'
- '3.13'
- '3.14'
fail-fast: true

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -56,6 +57,8 @@ jobs:
pip install -r .github/workflows/python_requirements.txt
pip install -r .github/workflows/optional_requirements.txt
pip install pytest pytest-timeout pytest-github-actions-annotate-failures pytest-xdist pytest-cov
env:
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1

- name: Create installation directory
run: |
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,30 @@ jobs:
}}:g' .gunittest.cfg > .gunittest.extra.cfg
cat .gunittest.extra.cfg

- name: Set up Python
if: ${{ matrix.config == 'ubuntu-22.04' }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: 3.14
cache: pip
allow-prereleases: true

- name: Get dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y wget git gawk findutils
xargs -a <(awk '! /^ *(#|$)/' ".github/workflows/apt.txt") -r -- \
sudo apt-get install -y --no-install-recommends --no-install-suggests

- name: Install Python dependencies
if: ${{ matrix.config == 'ubuntu-22.04' }}
run: |
python -m pip install --upgrade pip
pip install -r .github/workflows/python_requirements.txt
pip install -r .github/workflows/optional_requirements.txt
env:
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1

- name: Create installation directory
run: |
mkdir $HOME/install
Expand Down
Loading