From 3df9adab1fe07c6ed55558320a1e2d9d9419b850 Mon Sep 17 00:00:00 2001 From: John Belmonte Date: Fri, 31 Oct 2025 22:15:46 -0700 Subject: [PATCH 1/5] fix build status shield --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bba5dbb..634019b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build status](https://img.shields.io/github/workflow/status/belm0/perf-timer/CI)](https://github.com/belm0/perf-timer/actions/workflows/ci.yml?query=branch%3Amaster+) +[![Build status](https://img.shields.io/github/actions/workflow/status/belm0/perf-timer/.github/workflows/ci.yml?branch=master)](https://github.com/belm0/perf-timer/actions/workflows/ci.yml?query=branch%3Amaster+) [![Package version](https://img.shields.io/pypi/v/perf-timer.svg)](https://pypi.org/project/perf-timer) [![Supported Python versions](https://img.shields.io/pypi/pyversions/perf-timer.svg)](https://pypi.org/project/perf-timer) From 22995784497a0fad15564d6aab461706b3ab9364 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 30 Oct 2025 08:24:54 +0100 Subject: [PATCH 2/5] GitHub Actions: Test on modern Python https://www.python.org/downloads/release/python-3140/ https://hugovk.dev/blog/2025/free-threaded-python-on-github-actions --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4feedc0..2bcbe8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,15 +7,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t', 'pypy3.11'] requirements: [test-requirements.txt] - include: - - python-version: '3.7' - requirements: test-requirements_trio-0.11.txt steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} cache: pip From 517f69c8551e504e1371ce39209411d57cf2181a Mon Sep 17 00:00:00 2001 From: John Belmonte Date: Fri, 31 Oct 2025 22:31:16 -0700 Subject: [PATCH 3/5] update python versions --- setup.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index c3230e9..ad47eba 100644 --- a/setup.py +++ b/setup.py @@ -34,16 +34,17 @@ packages=[pkg_name], package_dir={'': 'src'}, install_requires=[], - python_requires='>=3.7', + python_requires='>=3.10', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.7', - '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 :: 3.14', 'Framework :: Trio', ], ) From 776b94ed309f4e1b8d5f87b549a5dc5a345648da Mon Sep 17 00:00:00 2001 From: John Belmonte Date: Fri, 31 Oct 2025 23:41:02 -0700 Subject: [PATCH 4/5] update test requirements --- pylintrc | 3 +- test-requirements.txt | 77 +++++++++++++++----------------- test-requirements_trio-0.11.txt | 78 --------------------------------- 3 files changed, 37 insertions(+), 121 deletions(-) delete mode 100644 test-requirements_trio-0.11.txt diff --git a/pylintrc b/pylintrc index c22e5cf..040d7d3 100644 --- a/pylintrc +++ b/pylintrc @@ -1,6 +1,5 @@ [MASTER] -disable=bad-whitespace, - blacklisted-name, +disable=blacklisted-name, duplicate-code, invalid-name, fixme, diff --git a/test-requirements.txt b/test-requirements.txt index a6ae2c8..9c2874f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,79 +1,74 @@ # -# This file is autogenerated by pip-compile with python 3.8 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: # -# pip-compile --output-file=test-requirements.txt setup.py test-requirements.in +# pip-compile --output-file=test-requirements.txt test-requirements.in # -astroid==2.8.3 +astroid==4.0.1 # via pylint -async-generator==1.10 +attrs==25.4.0 # via - # pytest-trio + # outcome # trio -attrs==21.2.0 +coverage[toml]==7.11.0 + # via pytest-cov +dill==0.4.0 + # via pylint +exceptiongroup==1.3.0 # via - # outcome # pytest # trio -coverage[toml]==6.0.2 - # via pytest-cov -idna==3.3 +idna==3.11 # via trio -iniconfig==1.1.1 +iniconfig==2.3.0 # via pytest -isort==5.9.3 +isort==7.0.0 # via pylint -lazy-object-proxy==1.6.0 - # via astroid -mccabe==0.6.1 +mccabe==0.7.0 # via pylint -numpy==1.21.2 +numpy==2.2.6 # via -r test-requirements.in -outcome==1.1.0 +outcome==1.3.0.post0 # via # pytest-trio # trio -packaging==21.0 +packaging==25.0 # via pytest -platformdirs==2.4.0 +platformdirs==4.5.0 # via pylint -pluggy==1.0.0 - # via pytest -py==1.10.0 +pluggy==1.6.0 + # via + # pytest + # pytest-cov +pygments==2.19.2 # via pytest -pylint==2.11.1 +pylint==4.0.2 # via -r test-requirements.in -pyparsing==2.4.7 - # via packaging -pytest==6.2.5 +pytest==8.4.2 # via # -r test-requirements.in # pytest-cov # pytest-trio -pytest-cov==3.0.0 +pytest-cov==7.0.0 # via -r test-requirements.in -pytest-trio==0.7.0 +pytest-trio==0.8.0 # via -r test-requirements.in -sniffio==1.2.0 +sniffio==1.3.1 # via trio sortedcontainers==2.4.0 # via trio -toml==0.10.2 +tomli==2.3.0 # via + # coverage # pylint # pytest -tomli==1.2.1 - # via coverage -trio==0.19.0 +tomlkit==0.13.3 + # via pylint +trio==0.32.0 # via # -r test-requirements.in # pytest-trio -typing-extensions==3.10.0.2 +typing-extensions==4.15.0 # via # astroid - # pylint -wrapt==1.13.2 - # via astroid - -# The following packages are considered to be unsafe in a requirements file: -# setuptools + # exceptiongroup diff --git a/test-requirements_trio-0.11.txt b/test-requirements_trio-0.11.txt deleted file mode 100644 index dd613a0..0000000 --- a/test-requirements_trio-0.11.txt +++ /dev/null @@ -1,78 +0,0 @@ -# -# This file is autogenerated by pip-compile with python 3.8 -# To update, run: -# -# pip-compile --output-file=test-requirements.txt setup.py test-requirements.in -# - -astroid==2.8.3 - # via pylint -async-generator==1.10 - # via - # pytest-trio - # trio -attrs==21.2.0 - # via - # outcome - # pytest - # trio -coverage[toml]==6.0.2 - # via pytest-cov -idna==3.3 - # via trio -iniconfig==1.1.1 - # via pytest -isort==5.9.3 - # via pylint -lazy-object-proxy==1.6.0 - # via astroid -mccabe==0.6.1 - # via pylint -numpy==1.21.2 - # via -r test-requirements.in -outcome==1.1.0 - # via trio -packaging==21.0 - # via pytest -platformdirs==2.4.0 - # via pylint -pluggy==1.0.0 - # via pytest -py==1.10.0 - # via pytest -pylint==2.11.1 - # via -r test-requirements.in -pyparsing==2.4.7 - # via packaging -pytest==6.2.5 - # via - # -r test-requirements.in - # pytest-cov - # pytest-trio -pytest-cov==3.0.0 - # via -r test-requirements.in -pytest-trio==0.5.2 - # via -r test-requirements.in -sniffio==1.2.0 - # via trio -sortedcontainers==2.4.0 - # via trio -toml==0.10.2 - # via - # pylint - # pytest -tomli==1.2.1 - # via coverage -trio==0.11.0 - # via - # -r test-requirements.in - # pytest-trio -typing-extensions==3.10.0.2 - # via - # astroid - # pylint -wrapt==1.13.2 - # via astroid - -# The following packages are considered to be unsafe in a requirements file: -# setuptools From 21879a33891e95046e267da542e7a4c1cf8004c4 Mon Sep 17 00:00:00 2001 From: John Belmonte Date: Sat, 1 Nov 2025 17:25:31 -0700 Subject: [PATCH 5/5] remove pypy --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2bcbe8c..6da9a40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t', 'pypy3.11'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t'] requirements: [test-requirements.txt] steps: - uses: actions/checkout@v5