Skip to content

Commit e4e1f7d

Browse files
committed
fix test-lock on windows, update changelog, reduce matrix for windows/macos tests
1 parent 5e86cc0 commit e4e1f7d

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,6 @@ jobs:
509509
python-version: [ '3.9', '3.13']
510510
django-version:
511511
- '3.2' # LTS April 2024
512-
- '4.2' # LTS April 2026
513512
- '5.1' # December 2025
514513
exclude:
515514
- python-version: '3.9'
@@ -568,7 +567,6 @@ jobs:
568567
python-version: [ '3.9', '3.13']
569568
django-version:
570569
- '3.2' # LTS April 2024
571-
- '4.2' # LTS April 2026
572570
- '5.1' # December 2025
573571
exclude:
574572
- python-version: '3.9'

doc/source/changelog.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
Change Log
55
==========
66

7+
v2.1.0 (2025-02-20)
8+
===================
9+
10+
* Implemented `Add macos runner to CI <https://github.com/bckohan/django-enum/issues/86>`_
11+
* Implemented `Add windows runner to CI <https://github.com/bckohan/django-enum/issues/85>`_
12+
* Implemented `Drop support for python 3.8 <https://github.com/bckohan/django-enum/issues/84>`_
13+
* Implemented `Move to justfile dev interface. <https://github.com/bckohan/django-enum/issues/83>`_
14+
* Implemented `Modernize pyproject.toml <https://github.com/bckohan/django-enum/issues/82>`_
15+
716
v2.0.2 (2024-09-25)
817
===================
918

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ install-oracle:
4444

4545
# lock to specific python and versions of given dependencies
4646
test-lock +PACKAGES:
47-
python -c 'import sys; import re; s=open("pyproject.toml").read(); open("pyproject.toml", "w").write(re.sub(r"^requires-python = .*$", f"requires-python = \"=={sys.version.split()[0]}\"", s, flags=re.M))'
47+
python -c "import tomlkit,sys;f='pyproject.toml';d=tomlkit.parse(open(f).read());d['project']['requires-python']='{}'.format(sys.version.split()[0]);open(f,'w').write(tomlkit.dumps(d))"
4848
poetry add {{ PACKAGES }}
4949

5050
# run static type checking

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ django-stubs = {extras = ["compatible-mypy"], version = ">=4.2.7"}
8686
ruff = "^0.9"
8787
typing-extensions = "^4.12.2"
8888
pre-commit = "^4.0.1"
89+
tomlkit = "^0.13.2"
8990

9091
[tool.poetry.group.docs]
9192
optional = true

0 commit comments

Comments
 (0)