Skip to content

Commit dd78c84

Browse files
committed
Update supported python versions: -3.7, +3.12
1 parent f406d26 commit dd78c84

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
19-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
19+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
2020
steps:
2121
- uses: actions/checkout@v3
2222
- name: Set up Python ${{ matrix.python-version }}

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ classifiers =
1212
License :: OSI Approved :: Apache Software License
1313
Natural Language :: English
1414
Programming Language :: Python :: 3
15-
Programming Language :: Python :: 3.7
1615
Programming Language :: Python :: 3.8
1716
Programming Language :: Python :: 3.9
1817
Programming Language :: Python :: 3.10
1918
Programming Language :: Python :: 3.11
19+
Programming Language :: Python :: 3.12
2020
description = Cookiecutter template to initialize Python projects in accordance with Netherlands eScience Center best practices
2121
long_description = file: README.md
2222
long_description_content_type = text/markdown
@@ -30,7 +30,7 @@ version = 0.4.0
3030
[options]
3131
zip_safe = False
3232
include_package_data = True
33-
python_requires = >=3.7
33+
python_requires = >=3.8
3434
packages =
3535
install_requires =
3636
cookiecutter==1.7.2

{{cookiecutter.directory_name}}/.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
20-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
20+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
2121
steps:
2222
- uses: actions/checkout@v3
2323
- name: Set up Python ${{ '{{ ' -}} matrix.python-version }}

{{cookiecutter.directory_name}}/project_setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ checklist](https://guide.esciencecenter.nl/#/best_practices/checklist).
1111

1212
This repository is set up with Python versions:
1313

14-
- 3.7
1514
- 3.8
1615
- 3.9
1716
- 3.10
1817
- 3.11
18+
- 3.12
1919

2020
Add or remove Python versions based on project requirements. See [the
2121
guide](https://guide.esciencecenter.nl/#/best_practices/language_guides/python) for more information about Python

{{cookiecutter.directory_name}}/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ classifiers = [
2323
}[cookiecutter.license] }}",
2424
"Natural Language :: English",
2525
"Programming Language :: Python :: 3",
26-
"Programming Language :: Python :: 3.7",
2726
"Programming Language :: Python :: 3.8",
2827
"Programming Language :: Python :: 3.9",
2928
"Programming Language :: Python :: 3.10",
3029
"Programming Language :: Python :: 3.11",
30+
"Programming Language :: Python :: 3.12",
3131
]
3232
dependencies = []
3333
description = "{{ cookiecutter.package_short_description }}"
@@ -38,7 +38,7 @@ keywords = [
3838
license = {file = "LICENSE"}
3939
name = "{{ cookiecutter.package_name }}"
4040
readme = {file = "README.md", content-type = "text/markdown"}
41-
requires-python = ">=3.7"
41+
requires-python = ">=3.8"
4242
version = "{{ cookiecutter.version }}"
4343

4444
[project.optional-dependencies]
@@ -89,7 +89,7 @@ exclude = ["tests*"]
8989
[tool.tox]
9090
legacy_tox_ini = """
9191
[tox]
92-
envlist = py37,py38,py39,py310,py311
92+
envlist = py38,py39,py310,py311,py312
9393
skip_missing_interpreters = true
9494
[testenv]
9595
commands = pytest

0 commit comments

Comments
 (0)