Skip to content

Commit

Permalink
Merge pull request #96 from phargogh/feature/95-support-python-3.12
Browse files Browse the repository at this point in the history
Test on 3.12, drop support for 3.7
  • Loading branch information
dcdenu4 authored Oct 27, 2023
2 parents b8a8d66 + 560b432 commit aa7d41c
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ TaskGraph Release History

Unreleased Changes
------------------
* Adding ``pyproject.toml`` for our build definitions.
* Python 3.6 has reached end-of-life and is no longer maintained, so it has
been removed from the automated tests.
* Python 3.7 has reached end-of-life and is no longer maintained, so it has
been removed from automated tests.
* Python 3.11 has been released, so ``taskgraph`` is now tested against this
new version of the language.
* Python 3.12 has been released, so ``taskgraph`` is now tested against this
new version of the language.

0.11.0 (2021-10-12)
-------------------
Expand Down
39 changes: 39 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[project]
name = "taskgraph"
description = "Parallel task graph framework"
readme = "README.rst"
requires-python = ">=3.6"
license = {file = "LICENSE.txt"}
maintainers = [
{name = "Natural Capital Project Software Team"}
]
keywords = ["parallel", "multiprocessing", "distributed", "computing"]
classifiers = [
"Intended Audience :: Developers",
"Topic :: System :: Distributed Computing",
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft",
"Operating System :: POSIX",
"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",
"License :: OSI Approved :: BSD License"
]
# the version is provided dynamically by setuptools_scm
# `dependencies` and `optional-dependencies` are provided by setuptools
# using the corresponding setup args `install_requires` and `extras_require`
dynamic = ["version", "dependencies", "optional-dependencies"]

[build-system]
requires = [
'wheel', 'setuptools_scm>=8.0'
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "node-and-date"
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft',
'Operating System :: POSIX',
'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',

'License :: OSI Approved :: BSD License'
])
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
commands =
Expand Down

0 comments on commit aa7d41c

Please sign in to comment.