-
Notifications
You must be signed in to change notification settings - Fork 32
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
Makefile: sequential install does not work #351
Comments
This does not work. Installation from wheels behaves exactly the same as installation from directories. Simpler (and successful in the current situation):
|
@kba do you want me to make a PR based on the latter solution? (We need this |
See here |
I don't really understand how this is a problem since the If you have a PR that fixes the problems for you, I'm open. |
Yes, I guess this only becomes a problem when using The PR would look exactly like the workaround linked above (redoing |
Seems a useful pattern. Add it as another target |
Not so sure. Probably too confusing. I say we should close. |
OK, thanks. |
When I do
make install
, this will currently run onepip install
for each package in core sequentially. But since each of those depend on each other, and the independently called pip does not know about the others, it will try to satisfy those from the package index instead of the local installation. This can create inconsistencies when the features / API change, but the version does not.For example this happened recently:
This is
ocrd.decorators
from master (2.0.0) trying to useocrd_utils
from PyPI (2.0.0).IMO we need to bring all packages together into one pip call. I know this is problematic, since pip semantics is all-or-nothing instead of one-by-one. But maybe we can at least come up with something that usually does work correctly, and breaks visibly when it does not?
Ideas/options:
--require-hashes
--no-index
The text was updated successfully, but these errors were encountered: