Skip to content

Commit cfc8265

Browse files
authored
Merge pull request #8 from ScreenPyHQ/pgoy/7/remove-python38
#7: Remove support for Python 3.8, add support for Python 3.13.
2 parents 959c9a7 + c0ad0b6 commit cfc8265

19 files changed

Lines changed: 1076 additions & 903 deletions

.cruft.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/ScreenPyHQ/cookiecutter_screenpy",
3-
"commit": "2b69298215c08160678dd749884c426a55828dce",
3+
"commit": "6a7488b4183f615ff319dbfdac38a3a1354953c7",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -11,7 +11,8 @@
1111
"author": "Perry Goy",
1212
"author_email": "perry.goy@gmail.com",
1313
"github_username": "ScreenPyHQ",
14-
"_template": "https://github.com/ScreenPyHQ/cookiecutter_screenpy"
14+
"_template": "https://github.com/ScreenPyHQ/cookiecutter_screenpy",
15+
"_commit": "6a7488b4183f615ff319dbfdac38a3a1354953c7"
1516
}
1617
},
1718
"directory": null

.github/workflows/cruft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ["3.12"]
17+
python-version: ["3.13"]
1818
os: [ubuntu-latest]
1919

2020
steps:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
17+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1818
os: [ubuntu-latest]
1919

2020
steps:

.github/workflows/poetry.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
max-parallel: 9
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.12"]
19+
python-version: ["3.13"]
2020
os: [ubuntu-latest]
21-
poetry-version: ["1.6.1"]
21+
poetry-version: ["2.1.3"]
2222

2323
steps:
2424
- uses: actions/checkout@v4
@@ -32,8 +32,5 @@ jobs:
3232
with:
3333
poetry-version: ${{ matrix.poetry-version }}
3434

35-
- name: Check toml structure
36-
run: poetry check
37-
38-
- name: Check lock file
39-
run: poetry lock --check
35+
- name: Check lock file is consistent with pyproject
36+
run: poetry check --lock

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
max-parallel: 9
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
19+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2020
os: [ubuntu-latest]
2121

2222
steps:

.pre-commit-config.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022-2024 Perry Goy
3+
Copyright (c) 2022-2025 Perry Goy
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,27 @@ mypy:
3030

3131
.PHONY: black-check black-fix ruff-check ruff-fix mypy
3232

33+
lint: black-check ruff-check
34+
35+
lint-fix: black-fix ruff-fix
36+
3337
pre-check-in: black-check ruff-check mypy
3438

3539
pre-check-in-fix: black-fix ruff-fix mypy
3640

37-
.PHONY: pre-check-in pre-check-in-fix
41+
.PHONY: pre-check-in pre-check-in-fix lint lint-fix
3842

3943
# requires poetry-plugin-export
4044
requirements:
4145
poetry export --without-hashes --extras dev -f requirements.txt > requirements.txt
4246

4347
.PHONY: requirements
4448

49+
cruft-update:
50+
cruft update --allow-untracked-files
51+
52+
.PHONY: cruft-update
53+
4554
################################################################################
4655
# sub-package specific
4756

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ You want to contribute? Great! Here are the things you should do before submitti
7272
1. `pip install -e .[dev]`
7373
1. Optional (poetry users):
7474
1. `poetry install --extras dev`
75-
1. Run `pre-commit install` once.
7675
1. Run `tox` to perform tests frequently.
7776
1. Create pull-request from your branch.
7877

poetry.lock

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

0 commit comments

Comments
 (0)