Skip to content

Commit 2840532

Browse files
committed
Release v2025.12.0
2 parents 76d57cf + 5a26363 commit 2840532

File tree

10 files changed

+327
-293
lines changed

10 files changed

+327
-293
lines changed

.bumper.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.bumper]
2-
current_version = "2025.11.0"
2+
current_version = "2025.12.0"
33
versioning_type = "calver"
44

55
[[tool.bumper.files]]

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ repos:
3636
- id: python-check-blanket-type-ignore
3737
- id: python-use-type-annotations
3838
- repo: https://github.com/astral-sh/ruff-pre-commit
39-
rev: v0.14.4
39+
rev: v0.14.8
4040
hooks:
4141
- id: ruff-check

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22
Versions follow [Calendar Versioning](https://calver.org/) (`<YYYY>`.`<MM>`.`<MICRO>`)
33

4+
## [v2025.12.0]
5+
### Fixed
6+
* #6 Fix EOL cache file not being included in source distribution
7+
48
## [v2025.11.0]
59
### Changed
610
* #5 Change canonical EOL data source

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Add this to your `.pre-commit-config.yaml`
1111

1212
```yaml
1313
- repo: https://github.com/sco1/pre-commit-python-eol
14-
rev: v2025.11.0
14+
rev: v2025.12.0
1515
hooks:
1616
- id: check-eol
1717
```

pre_commit_python_eol/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "2025.11.0"
1+
__version__ = "2025.12.0"
22
__url__ = "https://github.com/sco1/pre-commit-check-eol"

pre_commit_python_eol/bump_cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
)
1919

2020
CACHE_SOURCE = "https://peps.python.org/api/release-cycle.json"
21-
LOCAL_CACHE = Path("./cached_release_cycle.json")
21+
LOCAL_CACHE = Path("./pre_commit_python_eol/cached_release_cycle.json")
2222

2323

2424
def bump_cache() -> None:

cached_release_cycle.json renamed to pre_commit_python_eol/cached_release_cycle.json

File renamed without changes.

pre_commit_python_eol/check_eol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from packaging import specifiers, version
1616

17-
CACHED_RELEASE_CYCLE = Path("./cached_release_cycle.json")
17+
CACHED_RELEASE_CYCLE = Path(__file__).parent / "cached_release_cycle.json"
1818

1919

2020
class EOLPythonError(Exception): ... # noqa: D101

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pre-commit-python-eol"
3-
version = "2025.11.0"
3+
version = "2025.12.0"
44
description = "A pre-commit hook for enforcing supported Python EOL"
55
license = "MIT"
66
license-files = ["LICENSE"]
@@ -50,7 +50,7 @@ dev = [
5050
"pytest-randomly~=4.0",
5151
"ruff~=0.9",
5252
"sco1-bumper~=2.0",
53-
"time-machine~=2.16",
53+
"time-machine~=3.1",
5454
"tox~=4.23",
5555
"tox-uv~=1.17",
5656
]

uv.lock

Lines changed: 315 additions & 285 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)