Open lilyhahnotg opened 10 months ago
I finally got around to looking at this, sorry for the delay. Unfortunately I can't reproduce it. The context is that __pip_args.txt
is a file containing args that Pants passes to pip. But that error is from a subprocess that pip spawned. I can't think of a circumstance in which a pip subprocess (presumably invoked to build a wheel from an sdist) would know about that file.
So we'll need you to create a small public github repo that demonstrates the problem. This seems to be related to specific circumstances you're encountering and I don't know how to reproduce.
Describe the bug
I seem to be getting some issues with the python.resolves_to_no_binary option when generating lockfiles for my python-default resolve. Setting the value for a specific package works:
But setting all packages to resolves_to_no_binary (attempting to replicate the no_binary option on previous versions) causes an error:
The error from the subprocess seems to be
ERROR: Could not open requirements file: [Errno 2] No such file or directory: '__pip_args.txt'
Pants version Which version of Pants are you using? 2.18.0
OS Are you encountering the bug on MacOS, Linux, or both? MacOS
Additional info Add any other information about the problem here, such as attachments or links to gists, if relevant.