-
Notifications
You must be signed in to change notification settings - Fork 140
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
flit_core uses pip-unsupported backend-path #298
Comments
It sounds like you've found a workaround for now (from your comment in pypa/pip#7354), and my PR on pip adds the missing bit that it needs to work with this. So I'm inclined to leave it as is, and push forwards with support for (When I made the release, I thought that pip would already support this - with the original API of pep517, pip would have picked up support automatically when it bundled the new version, and I had forgotten that the API changed) |
In our case it was pretty straightforward to figure out, but I don't think it would be the same for most end users. Some of those queries would end up on the pip issue tracker and on projects using I don't know how acceptable my workaround (adding With our default schedule, the PR (when merged) would end up in pip 20.0 (Jan 2020). @xavfernandez can comment on whether he is willing to make a 19.3.2 release to support this feature. |
I'm lukewarm at the idea of a patch release adding a new functionality... |
@takluyver this significantly breaks our build pipeline, we can no longer build any of our projects (without blocking out flit 2.0 from our local cache) because building |
Sorry to hear that. How about this: if my PR on pip to support the official mechanism lands, so I know I can go back to that soon, I'll do an interim release of flit which uses the workaround method until pip is released with that support. This is a feature defined in a standard, so it shouldn't be a controversial change to make it work. |
@takluyver an interim release with a workaround would be lovely. |
My pip PR was merged, so as promised, flit 2.1 is out using Flit 2.1 also compresses the files in wheels, which apparently I had had turned off for some time. Kudos to @dholth for spotting that. |
@takluyver thanks again for your help. pip 20.0, released 2020/01/21, includes the fix for |
Pip uses vendored dependencies. One step of the vendoring process involves invoking
pip download --no-binary :all: --no-deps ...
to get sdists in order to access the licenses. Running the script today has failed to downloadpep517
because its build system usesflit_core
(here), which in version 2.0.2 uses thebackend-path
key in itspyproject.toml
here which is not currently supported in the latest release pip (19.3.1).Can we revert to takluyver/intreehooks in
flit_core
until a pip is released that implementsbackend-path
?Expectation:
Installing
flit_core
with--no-binary :all:
succeedsOutcome:
Installing
flit_core
with--no-binary :all:
fails with aModuleNotFoundError
t.sh
Output
Additional info:
pip download --no-deps ...
pip#1884, which is requesting pip not invoke build backends when running with--no-deps
The text was updated successfully, but these errors were encountered: