From 69832f5c0b1c094d7773f35008ac41b0b4a23e01 Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Fri, 11 Oct 2024 19:49:48 +0500 Subject: [PATCH 1/2] Update Python versions. --- .github/workflows/checks.yml | 7 ++++--- .github/workflows/publish.yml | 6 +++--- .github/workflows/tests.yml | 10 ++++------ setup.py | 4 ++-- 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index e076bea..b1273da 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -5,15 +5,16 @@ jobs: checks: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: include: - - python-version: 3.12 + - python-version: 3.13 env: TOXENV: pylint - - python-version: 3.12 + - python-version: 3.13 env: TOXENV: typing - - python-version: 3.12 + - python-version: 3.13 env: TOXENV: twinecheck diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2277e05..8e8a7d2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,10 +10,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 - name: Build run: | @@ -21,6 +21,6 @@ jobs: python -m build - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@v1.8.14 + uses: pypa/gh-action-pypi-publish@v1.10.3 with: password: ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7461921..7d81e42 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,12 +5,10 @@ jobs: tests: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: include: - - python-version: 3.8 - env: - TOXENV: py - - python-version: 3.9 + - python-version: "3.9" env: TOXENV: py - python-version: "3.10" @@ -22,9 +20,9 @@ jobs: - python-version: "3.12" env: TOXENV: py - - python-version: pypy3.9 + - python-version: "3.13" env: - TOXENV: pypy + TOXENV: py - python-version: pypy3.10 env: TOXENV: pypy diff --git a/setup.py b/setup.py index c7179f0..a3a7635 100644 --- a/setup.py +++ b/setup.py @@ -15,18 +15,18 @@ "queuelib": ["py.typed"], }, platforms=["Any"], - python_requires=">=3.8", + python_requires=">=3.9", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "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", ], From a63bd8450feb5a9a6a88ccbd6981e4ec7558aec5 Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Fri, 11 Oct 2024 19:51:41 +0500 Subject: [PATCH 2/2] Bump tool versions. --- .pre-commit-config.yaml | 6 +++--- tox.ini | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 82153a4..ab99544 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,15 +1,15 @@ repos: - repo: https://github.com/PyCQA/bandit - rev: 1.7.8 + rev: 1.7.10 hooks: - id: bandit args: [-r, -c, .bandit.yml] - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 - repo: https://github.com/psf/black.git - rev: 24.4.2 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/pycqa/isort diff --git a/tox.ini b/tox.ini index f25ed04..cc59a86 100644 --- a/tox.ini +++ b/tox.ini @@ -18,23 +18,23 @@ commands = basepython = python3 deps = {[testenv]deps} - pylint==3.1.0 + pylint==3.3.1 commands = pylint {posargs:queuelib setup.py} [testenv:typing] basepython = python3 deps = - mypy==1.10.0 - pytest==8.2.0 + mypy==1.11.2 + pytest==8.3.3 commands = mypy --strict {posargs:queuelib} [testenv:twinecheck] basepython = python3 deps = - twine==5.0.0 - build==1.2.1 + twine==5.1.1 + build==1.2.2 commands = python -m build --sdist twine check dist/*