Skip to content

Update support for 3.13 #723

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

Open
wants to merge 18 commits into
base: devel
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: 2 additions & 1 deletion .github/workflows/build-manylinux-container-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
- 2014
- _2_24 # PEP 600
- _2_28
- _2_31 # Latest manylinux
include:
- IMAGE:
ARCH: x86_64
Expand All @@ -59,7 +60,7 @@ jobs:
YEAR: 2010

env:
LIBSSH_VERSION: 0.9.6
LIBSSH_VERSION: 0.10.5 # Updated libssh version
PYPA_MANYLINUX_TAG: >-
manylinux${{ matrix.YEAR }}_${{ matrix.IMAGE.ARCH }}
FULL_IMAGE_NAME: >-
Expand Down
118 changes: 62 additions & 56 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ jobs:
changelog-draft-name-rst: >-
${{ steps.changelog-draft-name.outputs.filename-base }}.rst
steps:
- name: Switch to using Python 3.11 by default
uses: actions/setup-python@v5.3.0
- name: Switch to using Python 3.12 by default
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12
- name: >-
Mark the build as untagged '${{
github.event.repository.default_branch
Expand Down Expand Up @@ -439,10 +439,10 @@ jobs:
TOXENV: make-changelog

steps:
- name: Switch to using Python 3.11
uses: actions/setup-python@v5.3.0
- name: Switch to using Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: Grab the source from Git
uses: actions/[email protected]
Expand Down Expand Up @@ -764,16 +764,20 @@ jobs:
strategy:
matrix:
python-version:
- >-
3.13
- >-
3.12
- >-
3.10
- 3.9
runner-vm-os:
- ubuntu-22.04
- ubuntu-24.04
store-sdist-to-artifact:
- false
include:
- python-version: 3.12
runner-vm-os: ubuntu-22.04
- python-version: 3.13
runner-vm-os: ubuntu-24.04
store-sdist-to-artifact: true

env:
Expand All @@ -782,7 +786,7 @@ jobs:

steps:
- name: Switch to using Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.3.0
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -1226,13 +1230,14 @@ jobs:
strategy:
matrix:
python-version:
#- "3.13"
- "3.12"
- "3.11"
- "3.10"
- 3.9
#- "3.11"
#- "3.10"
#- 3.9
runner-vm-os:
- ubuntu-24.04
- ubuntu-22.04
#- ubuntu-22.04
dist-type:
- binary
- source
Expand All @@ -1253,40 +1258,41 @@ jobs:
secrets:
codecov-token: ${{ secrets.CODECOV_TOKEN }}

test-macos:
name: 🧪 Test${{ '' }} # nest jobs under the same sidebar category
needs:
- build-bin-macos
- build-src
- pre-setup # transitive, for accessing settings
strategy:
matrix:
python-version:
- "3.12"
- "3.11"
- "3.10"
- 3.9
runner-vm-os:
- macos-13
dist-type:
- binary
- source

uses: ./.github/workflows/reusable-tests.yml
with:
python-version: ${{ matrix.python-version }}
runner-vm-os: ${{ matrix.runner-vm-os }}
dist-type: ${{ matrix.dist-type }}
release-requested: >-
${{ needs.pre-setup.outputs.release-requested }}
yolo: ${{ fromJSON(needs.pre-setup.outputs.is-yolo-mode) }}
cache-key-files: ${{ needs.pre-setup.outputs.cache-key-files }}
source-tarball-name: >-
${{ needs.pre-setup.outputs.sdist-artifact-name }}
dists-artifact-name: >-
${{ needs.pre-setup.outputs.dists-artifact-name }}
secrets:
codecov-token: ${{ secrets.CODECOV_TOKEN }}
#test-macos:
# name: 🧪 Test${{ '' }} # nest jobs under the same sidebar category
# needs:
# - build-bin-macos
# - build-src
# - pre-setup # transitive, for accessing settings
# strategy:
# matrix:
# python-version:
# - "3.13"
# - "3.12"
# - "3.11"
# - "3.10"
# - 3.9
# runner-vm-os:
# - macos-13
# dist-type:
# - binary
# - source

# uses: ./.github/workflows/reusable-tests.yml
# with:
# python-version: ${{ matrix.python-version }}
# runner-vm-os: ${{ matrix.runner-vm-os }}
# dist-type: ${{ matrix.dist-type }}
# release-requested: >-
# ${{ needs.pre-setup.outputs.release-requested }}
# yolo: ${{ fromJSON(needs.pre-setup.outputs.is-yolo-mode) }}
# cache-key-files: ${{ needs.pre-setup.outputs.cache-key-files }}
# source-tarball-name: >-
# ${{ needs.pre-setup.outputs.sdist-artifact-name }}
# dists-artifact-name: >-
# ${{ needs.pre-setup.outputs.dists-artifact-name }}
# secrets:
# codecov-token: ${{ secrets.CODECOV_TOKEN }}

dist-meta:
name: Verify 🐍📦 metadata
Expand All @@ -1304,10 +1310,10 @@ jobs:
TOXENV: metadata-validation

steps:
- name: Switch to using Python 3.11 by default
uses: actions/setup-python@v5.3.0
- name: Switch to using Python 3.12 by default
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: Retrieve the project source from an sdist inside the GHA artifact
uses: re-actors/checkout-python-sdist@release/v2
Expand Down Expand Up @@ -1380,7 +1386,7 @@ jobs:
- lint
- pre-setup # transitive, for accessing settings
- test-linux
- test-macos
#- test-macos

runs-on: Ubuntu-latest

Expand All @@ -1393,7 +1399,7 @@ jobs:
allowed-failures: >-
${{
fromJSON(needs.pre-setup.outputs.is-yolo-mode)
&& 'build-rpms, lint, test-linux, test-macos'
&& 'build-rpms, lint, test-linux'
|| ''
}}
jobs: ${{ toJSON(needs) }}
Expand Down Expand Up @@ -1816,10 +1822,10 @@ jobs:
path: dist/
merge-multiple: true

- name: Switch to Python 3.11
uses: actions/setup-python@v5.3.0
- name: Switch to Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12
- name: >-
Calculate Python interpreter version hash value
for use in the cache key
Expand Down
Loading
Loading