

So, could you try pip download -no-deps -no-binary :all: -unstable-feature=resolver pandas, and see if that avoids the build step? It may be that the new resolver code doesn’t even have this issue, which would mean that “use the new resolver” would be a sufficient workaround in the short term. However, this is all in an area that the “new resolver” work is changing quite significantly.

We may have to document that we dropped that check, but I doubt (famous last words!) anyone would care.

We could try to stop pip doing this check on pip download as a short-term fix, as suggested. Obviously that’s not much help right now, though. The real solution here is to finally get round to standardising the sdist format. Certainly I don’t think the check is valuable enough to warrant a command line option. I don’t believe we’re deliberately doing that check for pip download - it’s a side-effect of implementation details. We double-check during the build (when we do get a reliable name and version) and give an error if there’s a problem. However, we don’t yet have a standard that says sdist filenames must include the name and version, so there’s a remote possibility that by assuming that, pip gets things wrong. So there should be no need to build when you have -no-deps. In theory, pip should only need the project name and version as long as you say -no-deps, and those are available from the sdist filename. There’s a lot of messy history here, which I doubt would be of interest, around what we have and haven’t standardised, and how pip treats sdists (which have no standard). Likely, I am not understanding one of the command-line arguments - if so, my many many thanks for pointing it out! What I would rather see happen is that either ONLY pandas package source gets downloaded, or pandas, numpy and cython sources get downloaded (and I have to figure out the dependencies). (p圓7) to get this I first had to install cython and numpy. Using cached pandas-1.0.5.tar.gz (5.0 MB) (p圓7) download -no-deps -no-build-isolation pandas However, it still goes into a long process (building wheel data I guess, it from what it finally says). Pip3 download -no-deps -no-build-isolation pandas

So, I have been trying something such as: Sometimes all I want is the source for modules - and I’ll work out the dependencies later - manually.
