Skip to content

Commit d1102d6

Browse files
committed
Update to python 3.12
Signed-off-by: Fabrice Normandin <[email protected]>
1 parent e6d12a5 commit d1102d6

File tree

4 files changed

+35
-555
lines changed

4 files changed

+35
-555
lines changed

copier.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,9 @@ python_version:
6565
question: "What Python version do you want to use?"
6666
required: true
6767
choices:
68-
- "3.10"
69-
- "3.11"
7068
- "3.12"
71-
# - "3.13" # todo: There seem to be some dependency issues with python 3.13 that need fixing.
72-
default: "3.10"
69+
- "3.13" # todo: There seem to be some dependency issues with python 3.13 that need fixing.
70+
default: "3.12"
7371

7472
# IDEA: Simplify the repo creation part of the form for new users.
7573
# However, does that maybe make too many assumptions about how people will use this?

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies = [
3737
"hydra-orion-sweeper>=1.6.4",
3838
]
3939
readme = "README.md"
40-
requires-python = ">= 3.11,<3.14"
40+
requires-python = ">= 3.12,<3.14"
4141

4242
[dependency-groups]
4343
dev = [

tests/test_template.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
)
3636
]
3737

38-
_DEFAULT_PYTHON_VERSION = "3.11"
38+
_DEFAULT_PYTHON_VERSION = "3.12"
3939
"""The default choice of python version in the copier.yaml file."""
4040

4141
_project_fixture_scope = "module"
@@ -213,12 +213,12 @@ def project_from_template(
213213
# These can be very slow but are super important!
214214
# don't run these unless --slow argument is passed to pytest, to save some time.
215215
# "3.10",
216-
"3.11",
217-
pytest.param("3.12", marks=pytest.mark.slow),
216+
# "3.11",
217+
"3.12",
218218
pytest.param(
219219
"3.13",
220220
marks=[
221-
pytest.mark.slow,
221+
# pytest.mark.slow,
222222
pytest.mark.xfail(
223223
reason="TODO: Update dependencies (torch, jax, t-j-i, mujoco, ...) for python 3.13",
224224
strict=True,

0 commit comments

Comments
 (0)