Skip to content

Commit

Permalink
Set minimum Python version to 3.8, add 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Nov 19, 2024
1 parent dcab8ce commit f0d2e19
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.black]
target-version = ['py37']
target-version = ['py38']
line-length = 120

[tool.ruff]
target-version = "py38"
line-length = 120
# Never enforce `E501`, enforced by black
lint.ignore = ["E501"]
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ classifiers =
Natural Language :: English
Operating System :: POSIX
Programming Language :: Python :: 3
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
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand All @@ -40,7 +40,7 @@ install_requires =
requests
twine
packages = find:
python_requires = >=3.7
python_requires = >=3.8

[options.packages.find]
exclude =
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
source_dir = galaxy_release_util
test_dir = tests
isolated_build = True
envlist = py37, py38, py39, py310, py311
envlist = py38, py39, py310, py311, py312

[gh]
python =
Expand Down

0 comments on commit f0d2e19

Please sign in to comment.