Skip to content

Commit e3fd44a

Browse files
authored
Merge pull request #4492 from mgorny/core-deps-spec
Add Python version specifiers to [core] dependencies
2 parents 022cedb + 8608d38 commit e3fd44a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

newsfragments/4492.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Now backports in ``core`` dependencies are installed only on Python versions requiring them.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ core = [
110110
"ordered-set>=3.1.1",
111111
"more_itertools>=8.8",
112112
"jaraco.text>=3.7",
113-
"importlib_resources>=5.10.2",
114-
"importlib_metadata>=6",
115-
"tomli>=2.0.1",
113+
"importlib_resources>=5.10.2; python_version < '3.9'",
114+
"importlib_metadata>=6; python_version < '3.10'",
115+
"tomli>=2.0.1; python_version < '3.11'",
116116
"wheel>=0.43.0",
117117

118118
# pkg_resources

0 commit comments

Comments
 (0)