From ba224a378dedd05b3db026157410825d19721955 Mon Sep 17 00:00:00 2001 From: maxim-lixakov Date: Thu, 19 Dec 2024 18:33:00 +0300 Subject: [PATCH 1/2] [IMPROVEMENT] - Add python 3.13 compatibility --- .github/workflows/changelog.yml | 4 ++-- .github/workflows/dev-release.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 4 ++-- docs/changelog/next_release/56.improvement.rst | 1 + setup.py | 1 + 6 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 docs/changelog/next_release/56.improvement.rst diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index deedcc6..d9ec8da 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -7,7 +7,7 @@ on: - master env: - DEFAULT_PYTHON: '3.12' + DEFAULT_PYTHON: '3.13' permissions: contents: read @@ -44,7 +44,7 @@ jobs: - name: Install dependencies run: | - pip install -I requirements-docs.txt + pip install -I -r requirements-docs.txt - name: Check changelog entry exists run: | diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.yml index dc17552..21bd367 100644 --- a/.github/workflows/dev-release.yml +++ b/.github/workflows/dev-release.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: env: - DEFAULT_PYTHON: '3.12' + DEFAULT_PYTHON: '3.13' concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e63e67e..1ca7160 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: - '[0-9]+.[0-9]+.[0-9]+' env: - DEFAULT_PYTHON: '3.12' + DEFAULT_PYTHON: '3.13' jobs: release: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7a9f518..6aa1a9b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ concurrency: cancel-in-progress: true env: - DEFAULT_PYTHON: '3.12' + DEFAULT_PYTHON: '3.13' jobs: tests: @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', '3.11', '3.12'] + python-version: ['3.7', '3.13'] os: [ubuntu-latest] steps: diff --git a/docs/changelog/next_release/56.improvement.rst b/docs/changelog/next_release/56.improvement.rst new file mode 100644 index 0000000..c03a1bf --- /dev/null +++ b/docs/changelog/next_release/56.improvement.rst @@ -0,0 +1 @@ +Add compatibility with ``Python 3.13`` \ No newline at end of file diff --git a/setup.py b/setup.py index 7e12e41..a49d222 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ def get_version(): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Typing :: Typed", ], project_urls={ From b8a36caca7b3c6259f30c518712c8dd275fd786f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 07:35:51 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/changelog/next_release/56.improvement.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelog/next_release/56.improvement.rst b/docs/changelog/next_release/56.improvement.rst index c03a1bf..c57f86e 100644 --- a/docs/changelog/next_release/56.improvement.rst +++ b/docs/changelog/next_release/56.improvement.rst @@ -1 +1 @@ -Add compatibility with ``Python 3.13`` \ No newline at end of file +Add compatibility with ``Python 3.13``