https://bugzilla.redhat.com/show_bug.cgi?id=2029651 --- Comment #11 from Ben Beasley <code@xxxxxxxxxxxxxxxxxx> --- You can see why I settled on installing the wheel into a temporary directory in these cases—I know that pyproject-rpm-macros will continue to build a wheel somehow, and it seems like almost everything else keeps changing. (The Python packaging ecosystem in a nutshell.) I hadn’t found %{python3_platform}. That helps, and > PYTHONPATH="${PWD}/build/lib.%{python3_platform}-%{python3_version}" indeed works on F36. I’m happy enough to migrate to this in F36+. Maybe this path would be a good candidate for wrapping up in Yet Another RPM Macro. ---- Meanwhile, the version with “find” works on F34-F35 by obtaining something like: > PYTHONPATH=/builddir/build/BUILD/cyipopt-1.1.0/.pyproject-builddir/pip-req-build-g_2omwec/build/lib.linux-armv7l-3.9 as long as I do “find "${PWD}" …” instead of “find "${PWD}/build …”. I can’t form that path without using something like “find” due to the temporary directory name in the middle. So on F34-F35, and I guess in EPEL9 when pyproject-rpm-macros start working there instead of failing with “No matching package to install: 'python3dist(tox-current-env) >= 0.0.6'”, I can choose one of: - PYTHONPATH="$(find "${PWD}" …)" - Keep doing a temporary wheel install I guess if there were a way to opt in to in-source builds to get a predictable PYTHONPATH I would use that. I’m not sure it’s worth it for F34–F35 alone, since both will be EOL within a year and it doesn’t simplify the spec file much compared to the version with “find”, but maybe it’s worth it if it can be made to work in EPEL9. -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2029651 _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure