-
-
Notifications
You must be signed in to change notification settings - Fork 582
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
Cannot install / configure ScanCode 30.1.0 anymore to due dependency version conflict #2869
Comments
Interestingly, the conflicting dependencies seem to change every time I try to build:
|
Our CI at azure is also failing on some cases because of this btw, like https://dev.azure.com/nexB/scancode-toolkit/_build/results?buildId=5637&view=results. Re-running solves this (only on CI) sometimes. |
This is to work around [1]. [1]: aboutcode-org/scancode-toolkit#2869 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
This is to work around [1]. [1]: aboutcode-org/scancode-toolkit#2869 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
@sschuberth there has been some PyPI server issue following some CI misconfiguration. This should be resolved now. |
@sschuberth Part of it may also be due to this pypa/pip#10824 and this pypa/pip#10391 issues for pip. This is being researched! |
This is to work around [1]. [1]: aboutcode-org/scancode-toolkit#2869 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
@sschuberth this works fine for me:
There is no need to reindex licenses anymore when you use a proper release archive BUT I see you are NOT using a release archive here but a GitHub generated git tarball. I would NOT recommend this way of installing as this is never something that is tested. Use instead a proper release archive for your Python version and OS such as https://github.com/nexB/scancode-toolkit/releases/download/v30.1.0/scancode-toolkit-30.1.0_py38-linux.tar.xz @tafli ping since you referenced this issues too. |
Yes, that's something we did in the past as not all releases we were interested in had binaries attached.
Out of curiosity, how's installing from a GitHub generated source archive different from installing from sources as documented (and thus probably tested) here? |
Good point: it should not be vastly different but there are no test for it. And since we are moving to a git-tag-derived automated versioning, this may have unwanted side effects as it may not work exactly as expected, though we do have a .VERSIOn generated for git tarballs to possibly mitigate this as seen here https://github.com/nexB/scancode-toolkit/blob/7bc0782fdfda9da5dba0500446ff3e8d58623e99/.gitattributes#L13 and here https://github.com/nexB/scancode-toolkit/blob/7bc0782fdfda9da5dba0500446ff3e8d58623e99/.VERSION . Furthermore, we will eventually soon have a fairly different layout between a checkout and built distribution, in particular for installation speedups so a developer checkout will be best used for development only. |
Thanks for the explanations.
Ok, let's close this then. |
Description
Building our Docker image which includes ScanCode 30.1.0 (built from source) started to fail today with
How To Reproduce
System configuration
The text was updated successfully, but these errors were encountered: