Skip to content

Commit

Permalink
Fix build error introduced by new setuptools version
Browse files Browse the repository at this point in the history
Fixes "TypeError: canonicalize_version() got an unexpected keyword
argument 'strip_trailing_zero'"

See e.g.:
    pypa/setuptools#4483
    pypa/setuptools#4501
  • Loading branch information
coldfix committed Dec 27, 2024
1 parent acce90b commit e39c3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ optional-dependencies.dev = [
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools >= 61.0",
"setuptools[core] >= 61.0",
"cython>=3.1.0a1 ; python_version >= '3.13'", # Cython3.1 needed for free-threaded python
"cython<3 ; python_version < '3.8'", # Cython3.1 dropped support for python<3.8
"cython ; python_version >= '3.8' and python_version < '3.13'", # no particular requirements
Expand Down

0 comments on commit e39c3eb

Please sign in to comment.