Skip to content

Commit 049bec1

Browse files
Fix #390: Lock pillow-hief version to not break AVIF support (#391)
--------- Co-authored-by: Iuri de Silvio <iurisilvio@gmail.com>
1 parent 4e30788 commit 049bec1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ ignore = [
3232
"N",
3333
"PERF",
3434
"PIE",
35+
"PLC0415", # `import` should be at the top-level of a file
3536
"PLR",
3637
"PLW",
3738
"PT",

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ matplotlib
66
numpy>=1.18.5
77
opencv-python-headless==4.10.0.84
88
Pillow>=7.1.2
9-
pillow-heif>=0.18.0
9+
# https://github.com/roboflow/roboflow-python/issues/390
10+
pillow-heif<1
1011
python-dateutil
1112
python-dotenv
1213
requests

roboflow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from roboflow.models import CLIPModel, GazeModel # noqa: F401
1616
from roboflow.util.general import write_line
1717

18-
__version__ = "1.1.66"
18+
__version__ = "1.1.67"
1919

2020

2121
def check_key(api_key, model, notebook, num_retries=0):

0 commit comments

Comments
 (0)