From 186c845adc73521856daa389751b8d4e352c92d4 Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Mon, 2 Mar 2026 18:29:02 +0000 Subject: [PATCH 1/2] Bump minimum Python to 3.10 --- .github/workflows/main.yml | 21 +++++++++------------ pyproject.toml | 5 +++++ tox.ini | 2 +- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b2e3c8b..bd93012 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,20 +14,17 @@ jobs: uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 with: envs: | - - linux: py39-test-psutil56 - - linux: py310-test-psutil57 - - linux: py311-test-psutil58-alldeps - - linux: py312-test-psutil59 + - linux: py310-test-psutil56 + - linux: py311-test-psutil57 + - linux: py312-test-psutil58-alldeps - - macos: py39-test-psutil56 - - macos: py310-test-psutil57 - - macos: py311-test-psutil58-alldeps - - macos: py312-test-psutil59 + - macos-14: py310-test-psutil56 + - macos-14: py311-test-psutil57 + - macos-14: py312-test-psutil58-alldeps - - windows: py39-test-psutil56 - - windows: py310-test-psutil57 - - windows: py311-test-psutil58-alldeps - - windows: py312-test-psutil59 + - windows: py310-test-psutil56 + - windows: py311-test-psutil57 + - windows: py312-test-psutil58-alldeps publish: needs: tests diff --git a/pyproject.toml b/pyproject.toml index f96019a..dbdb2f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,8 +16,13 @@ authors = [ classifiers = [ "Development Status :: 3 - Alpha", "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: BSD License", ] +requires-python = ">=3.10" description = "Python package to record activity from processes" readme = "README.rst" dependencies = [ diff --git a/tox.ini b/tox.ini index 7ee7f1b..c5d8db7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{39,310,311,312}-test{,-psutil56,-psutil57,-psutil58,-psutil59}{,-alldeps} + py{310,311,312}-test{,-psutil56,-psutil57,-psutil58,-psutil59}{,-alldeps} requires = setuptools >= 30.3.0 pip >= 19.3.1 From e9d9966e3ffd79d4016ffc08ac1832e1487b45ec Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Mon, 2 Mar 2026 18:30:37 +0000 Subject: [PATCH 2/2] Add testing for Python up to 3.14 --- .github/workflows/main.yml | 12 +++++++++--- pyproject.toml | 2 ++ tox.ini | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bd93012..785901f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,14 +17,20 @@ jobs: - linux: py310-test-psutil56 - linux: py311-test-psutil57 - linux: py312-test-psutil58-alldeps + - linux: py313-test-psutil59 + - linux: py314-test-psutil59 - - macos-14: py310-test-psutil56 - - macos-14: py311-test-psutil57 - - macos-14: py312-test-psutil58-alldeps + - macos: py310-test-psutil56 + - macos: py311-test-psutil57 + - macos: py312-test-psutil58-alldeps + - macos: py313-test-psutil59 + - macos: py314-test-psutil59 - windows: py310-test-psutil56 - windows: py311-test-psutil57 - windows: py312-test-psutil58-alldeps + - windows: py313-test-psutil59 + - windows: py314-test-psutil59 publish: needs: tests diff --git a/pyproject.toml b/pyproject.toml index dbdb2f8..e3b33c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,8 @@ classifiers = [ "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", "License :: OSI Approved :: BSD License", ] requires-python = ">=3.10" diff --git a/tox.ini b/tox.ini index c5d8db7..2108bea 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{310,311,312}-test{,-psutil56,-psutil57,-psutil58,-psutil59}{,-alldeps} + py{310,311,312,313,314}-test{,-psutil56,-psutil57,-psutil58,-psutil59}{,-alldeps} requires = setuptools >= 30.3.0 pip >= 19.3.1