Skip to content
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

Errors due to new update in spdx-tools==0.7.0rc0 #577

Closed
swastkk opened this issue Jan 2, 2023 · 6 comments
Closed

Errors due to new update in spdx-tools==0.7.0rc0 #577

swastkk opened this issue Jan 2, 2023 · 6 comments

Comments

@swastkk
Copy link
Contributor

swastkk commented Jan 2, 2023

  1. Getting errors in cant import Algorithm from spdx.checksum and resolved by changing renaming Algorithm to ChecksumAlgorithm
  2. Secondly, the from spdx.document import License ImportError: and I found that actually spdx has changed the location of License to license.py itself and then resolved by doing from spdx.license import License .
@swastkk
Copy link
Contributor Author

swastkk commented Jan 2, 2023

getting this error while make a PR on this issue and this issue #576
Screenshot_2023-01-02_11-26-11

@pombredanne
Copy link
Member

We have a pending PR for this aboutcode-org/scancode-toolkit#3173

@pombredanne
Copy link
Member

Please update https://github.com/nexB/python-inspector instead
Also you will need to update requirements.txt and setup.cfg there to ensure we have both minimum and pinned version of both packaging and packvers

@swastkk
Copy link
Contributor Author

swastkk commented Jan 13, 2023

#586 will solve this too :")

@AyanSinhaMahapatra
Copy link
Member

@swastkk could you check this is solved on develop and close this? same for #576

@swastkk
Copy link
Contributor Author

swastkk commented Jan 18, 2023

@swastkk could you check this is solved on develop and close this? same for #576

Yes 🙌 working smooth now :P, we should close this now.

@swastkk swastkk closed this as completed Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants