Skip to content

Commit cc7740e

Browse files
committed
Update python version
1 parent 570dcb8 commit cc7740e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
running_on_ci = os.getenv("CI")
99

10+
nox.options.default_venv_backend = "uv"
11+
1012

1113
def _create_requirements_pr_message(uv_output: str, session: nox.Session) -> None:
1214
"""
@@ -112,7 +114,7 @@ def validate_requirements(session: nox.Session) -> None:
112114
session.run("uv", "lock", "--check", "--offline", "--no-progress")
113115

114116

115-
@nox.session
117+
@nox.session(python="3.11")
116118
def smoke_test(session: nox.Session) -> None:
117119
session.install(".")
118120
session.run("plasmapy-calculator")

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ authors = [
1313
{ name = "Erik Everson" },
1414
{ name = "Nick Murphy", email = "[email protected]" },
1515
]
16-
requires-python = "==3.11.11"
17-
classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.11" ]
16+
requires-python = ">=3.11.11,<3.12"
17+
classifiers = [
18+
"Programming Language :: Python :: 3 :: Only",
19+
"Programming Language :: Python :: 3.11",
20+
]
1821
dependencies = [ ]
1922

2023
scripts.plasmapy-calculator = "plasmapy_calculator:main"

0 commit comments

Comments
 (0)