-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
Accesses gemfileparser which is not installed #3160
Comments
@danielthieleog thank you for the report. As it happens this has just been fixed in a branch in https://github.com/nexB/scancode-toolkit/tree/new-ruby-lexer There is also extensive work towards a new, better parser for gemspec/Gemfile/podspec/Podfile manifests. |
If this is a blocker for you in the very short I could backport just this fix and trigger a release. |
@pombredanne , thank you for taking care. Currently it is OK for me to install gemfileparser additionally. Will the fix be part of the next regular release? |
@danielthieleog you wrote:
Thank you for using the tool!
Yes. |
This is breaking downstream users like ScanCode otherwise Reference: aboutcode-org/scancode-toolkit#3160 Reported-by: Daniel Thiele @danielthieleog Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@danielthieleog @tdruez @multiplemonomials this is now fixed by pushing a fix for backward compat to https://github.com/nexB/gemfileparser2/releases/tag/v0.9.3 |
Note that the only cure I can think of is this:
|
@danielthieleog I am keeping this open for now until we have tests for this to ensure there will be no future regression. |
Description
Installation of scancode-toolkit using pip (version 32.2.1) also installs gemfileparser2, but code still depends on gemfileparser, which is not installed automatically.
File
spec.py
imports fromgemfileparser
, not fromgemfileparser2
.How To Reproduce
In a python environment with all the necessary OS libraries, e. g. a docker container for image python:3.9-slim:
Results in
After
calling scancode again succeeds.
System configuration
The text was updated successfully, but these errors were encountered: