Skip to content

Commit 14e2469

Browse files
Sengoldajuftin
andauthored
πŸ› rich-pixels bugs
* πŸ› rich-pixels bugs A problem in rich-pixels caused this error `ImportError: cannot import name 'Resampling' from 'PIL.Image'` this commit fixes it by requiring Pillow `Pillow>=9.1.0` * πŸ› rich-pixels bugs --------- Co-authored-by: Justin Flannery <juftin@juftin.com>
1 parent b82095f commit 14e2469

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

β€Žpyproject.tomlβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ dependencies = [
2222
"rich-click~=1.5.2",
2323
"rich-pixels~=2.1.1",
2424
"textual~=0.22.3",
25-
"universal-pathlib~=0.0.21"
25+
"universal-pathlib~=0.0.21",
26+
"Pillow>=9.1.0"
2627
]
2728
description = "TUI File Browser App"
2829
dynamic = ["version"]

β€Žrequirements/requirements-dev.txtβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,9 @@ pillow==9.5.0 \
10691069
--hash=sha256:fbd359831c1657d69bb81f0db962905ee05e5e9451913b18b831febfe0519082 \
10701070
--hash=sha256:fe7e1c262d3392afcf5071df9afa574544f28eac825284596ac6db56e6d11062 \
10711071
--hash=sha256:fed1e1cf6a42577953abbe8e6cf2fe2f566daebde7c34724ec8803c4c0cda579
1072-
# via rich-pixels
1072+
# via
1073+
# -r requirements.in
1074+
# rich-pixels
10731075
pip-tools==6.13.0 \
10741076
--hash=sha256:50943f151d87e752abddec8158622c34ad7f292e193836e90e30d87da60b19d9 \
10751077
--hash=sha256:61d46bd2eb8016ed4a924e196e6e5b0a268cd3babd79e593048720db23522bb1

β€Žrequirements/requirements-prod.txtβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,9 @@ pillow==9.5.0 \
797797
--hash=sha256:fbd359831c1657d69bb81f0db962905ee05e5e9451913b18b831febfe0519082 \
798798
--hash=sha256:fe7e1c262d3392afcf5071df9afa574544f28eac825284596ac6db56e6d11062 \
799799
--hash=sha256:fed1e1cf6a42577953abbe8e6cf2fe2f566daebde7c34724ec8803c4c0cda579
800-
# via rich-pixels
800+
# via
801+
# -r requirements.in
802+
# rich-pixels
801803
portalocker==2.7.0 \
802804
--hash=sha256:032e81d534a88ec1736d03f780ba073f047a06c478b06e2937486f334e955c51 \
803805
--hash=sha256:a07c5b4f3985c3cf4798369631fb7011adb498e2a46d8440efc75a8f29a0f983

0 commit comments

Comments
Β (0)