Skip to content

Commit a880843

Browse files
committed
chore: drop support for Python 3.9 (#180)
1 parent 497563a commit a880843

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
19+
python-version: ['3.10', '3.11', '3.12', '3.13']
2020

2121
name: Python ${{ matrix.python-version}}
2222
steps:

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ test *args: devenv
1414

1515
# Format files
1616
format: devenv
17-
uv run tox exec -e py39-lint -- ruff format
17+
uv run tox exec -e py310-lint -- ruff format
1818

1919
# Lint files
2020
lint: devenv
21-
uv run tox -e py39-lint
21+
uv run tox -e py310-lint
2222

2323
# Build docs
2424
docs: devenv

pyproject.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ readme = "README.rst"
66
keywords = ["metrics", "datadog", "statsd"]
77
authors = [{name = "Will Kahn-Greene"}]
88
license = {text = "MPLv2"}
9-
requires-python = ">=3.9"
9+
requires-python = ">=3.10"
1010
dependencies = []
1111
classifiers = [
1212
"Development Status :: 5 - Production/Stable",
1313
"Intended Audience :: Developers",
1414
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
1515
"Natural Language :: English",
1616
"Programming Language :: Python :: 3 :: Only",
17-
"Programming Language :: Python :: 3.9",
1817
"Programming Language :: Python :: 3.10",
1918
"Programming Language :: Python :: 3.11",
2019
"Programming Language :: Python :: 3.12",
@@ -54,7 +53,7 @@ build-backend = "setuptools.build_meta"
5453

5554
[tool.ruff]
5655
line-length = 88
57-
target-version = "py39"
56+
target-version = "py310"
5857
src = ["src"]
5958

6059
[tool.ruff.lint]
@@ -78,17 +77,15 @@ filterwarnings = [
7877
legacy_tox_ini = """
7978
[tox]
8079
envlist =
81-
py39
82-
py39-lint
8380
py310
81+
py310-lint
8482
py311
8583
py312
8684
py313
8785
uv_python_preferences = only-managed
8886
8987
[gh-actions]
9088
python =
91-
3.9: py39
9289
3.10: py310
9390
3.11: py311
9491
3.12: py312
@@ -100,9 +97,9 @@ commands =
10097
pytest {posargs} tests/
10198
pytest --doctest-modules --pyargs markus
10299
103-
[testenv:py39-lint]
100+
[testenv:py310-lint]
104101
allowlist_externals = ruff
105-
basepython = python3.9
102+
basepython = python3.10
106103
changedir = {toxinidir}
107104
commands =
108105
ruff format --check src tests

0 commit comments

Comments
 (0)