diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e7577153..f55b8c71 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,6 +21,7 @@ jobs: - "3.11" - "3.12" - "3.13" + - "3.14" steps: - name: Checkout source diff --git a/cookiecutter.json b/cookiecutter.json index a461cfab..b24c88c9 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -9,8 +9,8 @@ "initialise_git_repository": true, "deploy_docs_to_github_pages": true, "github_owner": "{{cookiecutter.author_given_names.lower().replace(' ', '-')}}-{{cookiecutter.author_family_names.lower().replace(' ', '-')}}", - "min_python_version": ["3.11", "3.12", "3.13"], - "max_python_version": ["3.13", "3.12", "3.11"], + "min_python_version": ["3.11", "3.12", "3.13", "3.14"], + "max_python_version": ["3.14", "3.13", "3.12", "3.11"], "license": ["MIT", "BSD-3-Clause", "GPL-3.0"], "funder": "", "__repo_name": "{{cookiecutter.github_owner}}/{{cookiecutter.project_slug}}", diff --git a/pyproject.toml b/pyproject.toml index a1a868ce..2ab54710 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ env_list = [ "py311", "py312", "py313", + "py314", ] env_run_base = {commands = [ [ @@ -62,4 +63,6 @@ gh.python = {"3.11" = [ "py312", ], "3.13" = [ "py313", +], "3.14" = [ + "py314", ]} diff --git a/tests/data/test_package_generation/.github/workflows/tests.yml b/tests/data/test_package_generation/.github/workflows/tests.yml index 41f6dbd6..ad72e94e 100644 --- a/tests/data/test_package_generation/.github/workflows/tests.yml +++ b/tests/data/test_package_generation/.github/workflows/tests.yml @@ -17,6 +17,7 @@ jobs: - "3.11" - "3.12" - "3.13" + - "3.14" steps: - name: Checkout source diff --git a/tests/data/test_package_generation/README.md b/tests/data/test_package_generation/README.md index 61661359..a37415bb 100644 --- a/tests/data/test_package_generation/README.md +++ b/tests/data/test_package_generation/README.md @@ -49,7 +49,7 @@ Centre for Advanced Research Computing, University College London -`cookiecutter-test` requires Python 3.11–3.13. +`cookiecutter-test` requires Python 3.11–3.14. ### Installation diff --git a/tests/data/test_package_generation/pyproject.toml b/tests/data/test_package_generation/pyproject.toml index bb190c47..5eb5afe2 100644 --- a/tests/data/test_package_generation/pyproject.toml +++ b/tests/data/test_package_generation/pyproject.toml @@ -37,6 +37,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Typing :: Typed", ] dependencies = [ @@ -123,6 +124,7 @@ env_list = [ "py311", "py312", "py313", + "py314", ] env_run_base = {commands = [ [ @@ -145,3 +147,4 @@ env.docs = {commands = [ gh.python."3.11" = ["py311"] gh.python."3.12" = ["py312"] gh.python."3.13" = ["py313"] +gh.python."3.14" = ["py314"]