Skip to content

Commit 809cf71

Browse files
committed
Drop support for 3.8, add 3.13.
1 parent 4546a14 commit 809cf71

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

.github/workflows/ci.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
tags:
88
- "v*"
99
pull_request:
10-
release:
11-
types: [published]
1210
schedule:
1311
# Daily at 8:33
1412
- cron: "33 8 * * *"
@@ -60,11 +58,11 @@ jobs:
6058
uses: actions/setup-python@v5
6159
with:
6260
python-version: |
63-
3.8
6461
3.9
6562
3.10
6663
3.11
6764
3.12
65+
3.13
6866
pypy3.10
6967
allow-prereleases: true
7068
cache: pip
@@ -82,6 +80,7 @@ jobs:
8280
environment:
8381
name: PyPI
8482
url: https://pypi.org/p/schemastore
83+
8584
permissions:
8685
contents: write
8786
id-token: write

noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
(path.parent / f"{path.stem}.in", path) for path in REQUIREMENTS.values()
1616
]
1717

18-
SUPPORTED = ["3.8", "3.9", "3.10", "pypy3.10", "3.11", "3.12"]
18+
SUPPORTED = ["3.9", "3.10", "pypy3.10", "3.11", "3.12", "3.13"]
1919
LATEST = SUPPORTED[-1]
2020

2121
nox.options.default_venv_backend = "uv|virtualenv"

pyproject.toml

+10-7
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,21 @@ classifiers = [
2121
"License :: OSI Approved :: Apache Software License",
2222
"Operating System :: OS Independent",
2323
"Programming Language :: Python",
24-
"Programming Language :: Python :: 3.8",
2524
"Programming Language :: Python :: 3.9",
2625
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",
2827
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
2929
"Programming Language :: Python :: Implementation :: CPython",
3030
"Programming Language :: Python :: Implementation :: PyPy",
3131
"Topic :: File Formats :: JSON",
3232
"Topic :: File Formats :: JSON :: JSON Schema",
3333
]
3434
dynamic = ["version"]
35-
dependencies = ["referencing", "requests-cache>=1.0.0a0"]
35+
dependencies = [
36+
"referencing",
37+
"requests-cache>=1.0.0a0"
38+
]
3639

3740
[project.urls]
3841
Homepage = "https://github.com/python-jsonschema/schemastore"
@@ -58,16 +61,16 @@ skip_covered = true
5861

5962
[tool.doc8]
6063
ignore = [
61-
"D000", # see PyCQA/doc8#125
62-
"D001", # one sentence per line, so max length doesn't make sense
64+
"D000", # see PyCQA/doc8#125
65+
"D001", # one sentence per line, so max length doesn't make sense
6366
]
6467

6568
[tool.pyright]
6669
reportUnnecessaryTypeIgnoreComment = true
6770
strict = ["**/*"]
6871
exclude = [
69-
"**/tests/__init__.py",
70-
"**/tests/test_*.py",
72+
"**/tests/__init__.py",
73+
"**/tests/test_*.py",
7174
]
7275

7376
[tool.ruff]
@@ -117,7 +120,7 @@ ignore = [
117120
"SIM300", # Not sure what heuristic this uses, but it's easily incorrect
118121
"SLF001", # Private usage within this package itself is fine
119122
"TD", # These TODO style rules are also silly
120-
"UP007", # We support 3.8 + 3.9
123+
"UP007", # We support 3.9
121124
]
122125

123126
[tool.ruff.lint.flake8-pytest-style]

0 commit comments

Comments
 (0)