Is there a way to control the order packages are installed? I've got a PEX that uses GDAL, which needs to be installed after numpy to avoid a known issue (see here for details). I tried reordering my
and regenerating the lockfile, but it seems to put things in alphabetical order. I've got them ordered "correctly" in my
too. How can I make sure that Numpy is installing first?
11/02/2022, 10:06 PM
I don’t think there is a way to do so at the moment. I don’t think even pip supports this, except by running pip multiple times. But if you had a single requirements.txt that you passed to pip, you’d have the same issue, I believe.