Skip to content

Commit d67bbc5

Browse files
committed
Require toml dependency on Python < 3.11
1 parent 024fe58 commit d67bbc5

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

poetry.lock

+14-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ dependencies = [
2323
"pygithub",
2424
"pyyaml",
2525
"semver",
26+
"toml ; python_version < '3.11'",
2627
]
2728

2829
[project.scripts]

tests/test_new_cookie.py

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ def test_new_cookie_create(new_cookie: Path, temp_dir: Path) -> None:
1414
), "Untracked files present in template-rendered project"
1515

1616
# Verify cruft is up to date
17-
subprocess.check_call(
18-
["poetry", "run", "pip", "install", "toml"], cwd=new_cookie
19-
)
2017
subprocess.check_call(
2118
["poetry", "run", "cruft", "diff", "--exit-code"], cwd=new_cookie
2219
)

0 commit comments

Comments
 (0)