Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Install problem, with a quick solution) TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero' #303

Open
rwxayheee opened this issue Jan 6, 2025 · 0 comments
Assignees

Comments

@rwxayheee
Copy link
Contributor

To reproduce the issue reported by @xavgit in #295 (comment)

Here's an example with conflicting versions of packaging and setuptools:

setuptools = 75.6.0
packaging = 21.3

If changing the versions in the environment is not a desirable option, here's a quick solution, that controls the versions in the isolated build environment. Vina was using the same trick (?), although this is not a fully tomlized setup.

First, place pyproject.toml in the downloaded repository directory Meeko and let the content be:

[build-system]
requires = ["setuptools>=66.0", "wheel", "packaging>=22.0"]
build-backend = "setuptools.build_meta"

Then, run pip install . or pip install -e . as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant