Skip to content

Commit

Permalink
Merge ddf6627 into 6352ab6
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermef committed Oct 27, 2023
2 parents 6352ab6 + ddf6627 commit 4f6612a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: satackey/action-docker-layer-caching@v0.0.11
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
build = "cp3[89]* cp31[01]*"
build = "cp3[89]* cp31[012]*"

[tool.cibuildwheel.macos]
archs = "x86_64 arm64 universal2"
Expand Down
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"isort==4.*,>=4.3.21",
"pre-commit==2.*,>=2.17.0",
"preggy==1.*,>=1.4.4",
"pylint==2.*,>=2.4.4",
"pylint==3.*",
"pyssim==0.*,>=0.4.0",
"pytest>=6.2.5",
"pytest-asyncio==0.*,>=0.10.0",
Expand All @@ -52,7 +52,7 @@

OPENCV_REQUIREMENTS = [
"opencv-python-headless==4.*,>=4.2.0",
"numpy==1.*,<1.24.0",
"numpy==1.*,<1.27.0",
]

EXTRA_LIBS_REQUIREMENTS = [
Expand Down Expand Up @@ -92,7 +92,7 @@ def filter_extension_module(name, lib_objs, lib_headers):
"-Wno-unused-parameter",
],
py_limited_api=True,
define_macros=[("Py_LIMITED_API", "0x03070000")],
define_macros=[("Py_LIMITED_API", "0x03080000")],
)


Expand Down Expand Up @@ -138,6 +138,7 @@ def run_setup(extension_modules=None):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Multimedia :: Graphics :: Presentation",
Expand All @@ -151,7 +152,8 @@ def run_setup(extension_modules=None):
"derpconf==0.*,>=0.8.3",
"libthumbor==2.*,>=2.0.2",
"piexif==1.*,>=1.1.3",
"Pillow==10.*, >=10.0.1",
# TODO: Pillow version 10.1.0 is raising a PIL.Image.DecompressionBombError on tests
"Pillow==10.*, <10.1.0",
"pytz>=2019.3.0",
"statsd==3.*,>=3.3.0",
"tornado==6.*,>=6.0.3",
Expand Down
2 changes: 1 addition & 1 deletion thumbor/doctor.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def format_error(dependency, err, msg):
{err}
Error Description:
{ formatted_msg }
{formatted_msg}
"""
return result.strip()

Expand Down

0 comments on commit 4f6612a

Please sign in to comment.