Skip to content

Commit f2b10c3

Browse files
committed
Remove "python_version < 3.11" for "tomli"
See: pypa/pip#9644 (comment)
1 parent d22b9a5 commit f2b10c3

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ dependencies = [
2626
"EditorConfig", # https://github.com/editorconfig/editorconfig-core-py
2727
"mypy", # https://github.com/python/mypy
2828
"safety", # https://github.com/pyupio/safety
29-
"tomli;python_version<\"3.11\"", # https://github.com/hukkin/tomli
29+
"tomli", # https://github.com/hukkin/tomli
30+
#
31+
# tomli only needed for Python <3.11, but see bug:
32+
# https://github.com/pypa/pip/issues/9644#issuecomment-1456583402
33+
#"tomli;python_version<\"3.11\"", # https://github.com/hukkin/tomli
3034
]
3135
[project.optional-dependencies]
3236
dev = [

requirements.dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ toml==0.10.2 \
733733
# via
734734
# darker
735735
# dparse
736-
tomli==2.0.1 ; python_version < "3.11" \
736+
tomli==2.0.1 \
737737
--hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \
738738
--hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f
739739
# via

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ toml==0.10.2 \
444444
# via
445445
# darker
446446
# dparse
447-
tomli==2.0.1 ; python_version < "3.11" \
447+
tomli==2.0.1 \
448448
--hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \
449449
--hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f
450450
# via

0 commit comments

Comments
 (0)