From 260bc601ba26e4bcf571bec7af3579de769e9d9c Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 2 Aug 2024 12:45:30 +0300 Subject: [PATCH 1/4] Keep running other jobs even if one fails --- .github/workflows/python-package.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 58922aa..dd614f0 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -13,6 +13,7 @@ permissions: jobs: mypy: strategy: + fail-fast: false matrix: python-version: - '3.8' @@ -35,6 +36,7 @@ jobs: build: strategy: + fail-fast: false matrix: python-version: - '3.7' From 461f6104954c972094e590abd59d508b4f9d07f0 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 2 Aug 2024 12:46:47 +0300 Subject: [PATCH 2/4] Add support for Python 3.13 --- .github/workflows/python-package.yml | 2 ++ pyproject.toml | 1 + setup.cfg | 1 + 3 files changed, 4 insertions(+) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index dd614f0..8c839bf 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -21,6 +21,7 @@ jobs: - '3.10' - '3.11' - '3.12' + - '3.13' runs-on: ${{ matrix.os || 'ubuntu-latest' }} steps: - uses: actions/checkout@v3 @@ -45,6 +46,7 @@ jobs: - '3.10' - '3.11' - '3.12' + - '3.13' - 'pypy-3.9' include: - python-version: 3.5 diff --git a/pyproject.toml b/pyproject.toml index 53d89af..98943a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: Name Service (DNS)", diff --git a/setup.cfg b/setup.cfg index 5ba7540..cf026d2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,6 +22,7 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Internet :: Name Service (DNS) From c0fa076c297e0cc3b93084f6916b1117bc754ea6 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 2 Aug 2024 12:49:21 +0300 Subject: [PATCH 3/4] Drop support for untestable EOL Python 3.5 --- .github/workflows/python-package.yml | 2 -- README.rst | 2 +- pyproject.toml | 3 +-- setup.cfg | 3 +-- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 8c839bf..cfbcf13 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -49,8 +49,6 @@ jobs: - '3.13' - 'pypy-3.9' include: - - python-version: 3.5 - os: ubuntu-20.04 - python-version: 3.6 os: ubuntu-20.04 runs-on: ${{ matrix.os || 'ubuntu-latest' }} diff --git a/README.rst b/README.rst index a4f1f71..11cbd35 100644 --- a/README.rst +++ b/README.rst @@ -183,7 +183,7 @@ Additional Notes * **Packages**. The latest tagged release version is published in the `Python Package Index `_. -* **Version support**. This library supports Python 3.5 and higher. +* **Version support**. This library supports Python 3.6 and higher. As this library serves as a low-level toolkit for a variety of applications, many of which strive for broad compatibility with older Python versions, there is no rush to remove older interpreter support. diff --git a/pyproject.toml b/pyproject.toml index 98943a1..7642e82 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,6 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", @@ -34,7 +33,7 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities", ] -requires-python = ">=3.5" +requires-python = ">=3.6" dynamic = ["version"] [project.urls] diff --git a/setup.cfg b/setup.cfg index cf026d2..126bbbb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,7 +14,6 @@ classifiers = Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 @@ -30,7 +29,7 @@ classifiers = Topic :: Utilities [options] -python_requires = >=3.5 +python_requires = >=3.6 packages=find: [options.packages.find] From 1797e96efec259ae95c964150428db864d6ce611 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 2 Aug 2024 12:50:00 +0300 Subject: [PATCH 4/4] Bump GitHub Actions --- .github/workflows/python-package.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index cfbcf13..f36c7ea 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -24,9 +24,9 @@ jobs: - '3.13' runs-on: ${{ matrix.os || 'ubuntu-latest' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} allow-prereleases: true @@ -53,9 +53,9 @@ jobs: os: ubuntu-20.04 runs-on: ${{ matrix.os || 'ubuntu-latest' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} allow-prereleases: true