Skip to content

Commit

Permalink
misc(deps): Only pin setuptools version on required platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
flozz committed Nov 22, 2024
1 parent 868e484 commit be1ab8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Changelog

* **[NEXT]** (changes on ``master`` but not released yet):

* Nothing yet ;)
* misc(deps): Only pin setuptools version on required platforms (@flozz)

* **v1.0.16:**

Expand Down
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[build-system]
requires = ["setuptools<72"]
requires = [
"setuptools",
# ↓ See: https://github.com/pypa/distutils/issues/283
"setuptools<72; implementation_name=='pypy'",
# ↓ See https://github.com/wanadev/mozjpeg-lossless-optimization/issues/26
"setuptools<74; platform_system=='Windows' and implementation_name=='pypy'",
]
build-backend = "setuptools.build_meta"

0 comments on commit be1ab8e

Please sign in to comment.