Skip to content

Commit cf40204

Browse files
authored
chore: add compatibility with Python 3.13 (#130)
* chore: add compatibility with Python 3.13 * fix: lock deps
1 parent 37762aa commit cf40204

File tree

6 files changed

+20
-13
lines changed

6 files changed

+20
-13
lines changed

Diff for: .github/workflows/pytest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
test:
1515
strategy:
1616
matrix:
17-
python-version: ["3.9", "3.10", "3.11", "3.12"]
17+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1818

19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-24.04
2020
steps:
2121
- uses: actions/checkout@v4
2222

Diff for: .github/workflows/python-publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ permissions:
1010

1111
jobs:
1212
deploy:
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- uses: actions/checkout@v4
1616

17-
- name: Set up python 3.12
17+
- name: Set up python 3.13
1818
id: setup-python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: "3.12"
21+
python-version: "3.13"
2222

2323
- name: Set up Poetry
2424
uses: ./.github/actions/setup-poetry
2525
with:
2626
groups: main
27-
python-version: "3.12"
27+
python-version: "3.13"
2828

2929
- name: Publish package
3030
run: poetry publish --build

Diff for: .pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ci:
66
# See https://pre-commit.com for more information
77
# See https://pre-commit.com/hooks.html for more hooks
88
default_language_version:
9-
python: python3.12
9+
python: python3.13
1010
repos:
1111
- repo: https://github.com/pre-commit/pre-commit-hooks
1212
rev: v5.0.0

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
<!-- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -->
77

8+
## [0.2.3] - 2025-04-14
9+
10+
### Changed
11+
12+
- Add compatibility with Python 3.13
13+
814
## [0.2.2] - 2024-11-27
915

1016
### Fixed

Diff for: poetry.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: pyproject.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "scaleway-functions-python"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
description = "Utilities for testing your Python handlers for Scaleway Serverless Functions."
55
authors = ["Scaleway Serverless Team <[email protected]>"]
66

@@ -26,12 +26,13 @@ classifiers = [
2626
"Programming Language :: Python :: 3.10",
2727
"Programming Language :: Python :: 3.11",
2828
"Programming Language :: Python :: 3.12",
29+
"Programming Language :: Python :: 3.13",
2930
]
3031

3132
include = ["CHANGELOG.md"]
3233

3334
[tool.poetry.dependencies]
34-
python = ">=3.9, <3.13"
35+
python = ">=3.9, <3.14"
3536
flask = ">=2.2.2,<4.0.0"
3637
typing-extensions = { version = "^4.4.0", python = "<3.11" }
3738

0 commit comments

Comments
 (0)