| Summary: | utils/scanpypi: Failure when parsing diffoscope | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Conrad Ratschan <conrad.ratschan> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot, yann.morin.1998 |
| Priority: | P5 | ||
| Version: | 2020.02.3 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Conrad Ratschan
2021-02-03 19:07:03 UTC
Regarding the first issue, I guess we could change scanpypi to use python3 explicitly. Maybe it will break with some Python modules that have a python2-only setup.py, but it should really be rare these days. Regarding the second issue, I don't see what we can do. If I remember correctly how scanpypi works, it works by running the setup.py, so if the setup.py has some requirement on a recent Python version... there's not much we can do about it. You could for example do: $ make host-python3 $ export PATH=$(pwd)/output/host/bin:$PATH $ ./utils/scanpipy and that should use the python3 built by Buildroot, which is recent enough. Conrad, All,
The first half of the issue is now supposedly fixed with commit ee8b680816 by Thomas:
https://git.buildroot.org/buildroot/commit/?id=ee8b6808169e1e61b4318b44fbc706ec888c605d
And as Thomas said, we can't do much about the second half, so I'm closing this as fixed.
Thanks for the report!
Regards,
Yann E. MORIN.
|