Skip to content

Commit 44ef998

Browse files
authored
feat: make python 3.12 the default (#108)
1 parent e5bc8ad commit 44ef998

8 files changed

Lines changed: 14 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- cron: '47 5 * * 0'
1313

1414
env:
15-
python_version: "3.11"
15+
python_version: "3.12"
1616

1717
defaults:
1818
run:

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
workflow_dispatch:
66

77
env:
8-
python_version: "3.11"
8+
python_version: "3.12"
99

1010
defaults:
1111
run:

.github/workflows/update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88

99
env:
10-
python_version: "3.11"
10+
python_version: "3.12"
1111

1212
defaults:
1313
run:

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ pyyaml = "*"
1717
refurb = "*"
1818

1919
[requires]
20-
python_version = "3.11"
20+
python_version = "3.12"

Pipfile.lock

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

Taskfile.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set:
1111
vars:
1212
PROJECT_SLUG: cookiecutter_python
1313
INPUT_EXCLUDE: .*\{\{.*\}\}.*
14-
PYTHON_VERSION: 3.11
14+
PYTHON_VERSION: 3.12
1515
VERSION:
1616
sh: pipenv run python -c 'from {{.PROJECT_SLUG}} import __version__; print(__version__)'
1717

@@ -34,6 +34,8 @@ tasks:
3434
sources:
3535
- Pipfile.lock
3636
cmds:
37+
# Clean up any existing pipenv; useful when doing upgrades over time
38+
- pipenv --rm || true
3739
- pipenv install --deploy --ignore-pipfile --dev
3840

3941
init-submodules:

cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}",
44
"project_short_description": "TODO",
55
"project_owner_github_username": "jonzeolla",
6-
"python_version": ["3.11", "3.12", "3.10", "3.9"],
6+
"python_version": ["3.12", "3.11", "3.10", "3.9"],
77
"docker_base": ["ubuntu:20.04", "ubuntu:22.04", "ubuntu:23.04"],
88
"dockerhub": ["no", "yes"],
99
"versioning": ["CalVer", "SemVer-ish"],

{{cookiecutter.project_name|replace(" ", "")}}/Taskfile.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ tasks:
5353
preconditions:
5454
- which pipenv
5555
cmds:
56+
# Clean up any existing pipenv; useful when doing upgrades over time
57+
- pipenv --rm || true
5658
- pipenv install --deploy --ignore-pipfile --dev
5759

5860
init-submodules:

0 commit comments

Comments
 (0)