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

Fails for package with a versioneer error #1

Closed
TheChymera opened this issue May 4, 2022 · 3 comments
Closed

Fails for package with a versioneer error #1

TheChymera opened this issue May 4, 2022 · 3 comments

Comments

@TheChymera
Copy link

This ebuild: https://ppb.chymera.eu/bfa55f.39.4.ebuild
Will fail with this log: https://ppb.chymera.eu/d04e27.txt

Removing the DISTUTILS_USE_PEP517=setuptools line makes it work again.
I talked to upstream and sadly can't get any feedback since I can't actually tell him which command we use for him to test locally, as our command is not vanilla Python, but:

gpep517 build-wheel --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-vcs/dandi-cli-0.39.4/work/dandi-cli-0.39.4-python3_9/wheel

using this package.

@mgorny any ideas what could be wrong or what I could do to get the actual Python call behind the gpep517 command?

@mgorny
Copy link
Member

mgorny commented May 4, 2022

It's upstream bug, filed dandi/dandi-cli#998 with a fix.

@mgorny mgorny closed this as completed May 4, 2022
@mgorny
Copy link
Member

mgorny commented May 4, 2022

For local context: upstream is appending the current directory to sys.path rather than prepending it, so if versioneer is installed in site-packages, it takes precedence over the same-named local file.

@TheChymera
Copy link
Author

Thank you!

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

No branches or pull requests

2 participants