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

Bug: License package not scanning for project package version #97

Open
2 tasks done
meenapushpa opened this issue Nov 18, 2024 · 1 comment
Open
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@meenapushpa
Copy link

meenapushpa commented Nov 18, 2024

Before You Begin

Before proceeding, please make sure to follow these steps:

  • I have checked for similar issues in the project's issue tracker.
  • I have searched closed issues to see if a similar problem was reported
    before.

Issue Details

The licensecheck library is scanning the latest version from pypi instead of scanning the specific version from pyproject.toml file

Description

When we ran the licenscecheck against the pyproject.toml file and we have specified versions for the packages.
But it always scanning the latest version of package instead of specific version in pyproject.toml file

example: In pyproject.toml file, we have mongomock-motor==0.0.19

Scanned version:
image

Command used:
licensecheck -u poetry:dev --only-licenses "APACHE SOFTWARE LICENSE" "BSD LICENSE" "ISC LICENSE (ISCL)" "MIT LICENSE" "MOZILLA PUBLIC LICENSE 2.0 (MPL 2.0)" "PUBLIC DOMAIN" "Python Licence 2.0" --ignore-licenses "MOZILLA PUBLIC LICENSE 2.0 (MPL 2.0)" "THE UNLICENSE (UNLICENSE)" -f json

Expected Behavior

It should scan specific version of package mentioned in file.

Actual Behavior

It's not scanning the specific version of package, instead it's scans latest version of package

System Information

Please provide the following additional information about your system or
environment:

  • Operating System (OS): Windows
  • OS Version: windows 10 pro
  • Browser (if applicable): google chrome
  • Browser Version (if applicable):
  • Project Version (if applicable):
@meenapushpa meenapushpa added the bug Something isn't working label Nov 18, 2024
@meenapushpa
Copy link
Author

is there any update on this issue @FredHappyface ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants