Skip to content

Commit

Permalink
build: scope fromisoformat backport to python<3.11
Browse files Browse the repository at this point in the history
The backports-datetime-fromisoformat package has no effect on Python
versions >= 3.11.
  • Loading branch information
tjni authored and nedbat committed Jan 21, 2025
1 parent bb443bd commit 9e3ecfb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ requires-python = ">= 3.8"
dependencies = [
"aiofiles>=0.8",
"aiohttp>3",
"backports-datetime-fromisoformat",
"backports-datetime-fromisoformat; python_version<'3.11'",
"click>8",
"click-log>0.3",
"emoji",
Expand Down
4 changes: 4 additions & 0 deletions scriv.d/20250105_214759_3806110+tjni_scope_backports.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Changed
.......

- Install backports-datetime-fromisoformat only on Python < 3.11

0 comments on commit 9e3ecfb

Please sign in to comment.