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

Add usage mode to support not resolving dependencies #43

Closed
micahjsmith opened this issue May 28, 2020 · 1 comment · Fixed by #48
Closed

Add usage mode to support not resolving dependencies #43

micahjsmith opened this issue May 28, 2020 · 1 comment · Fixed by #48

Comments

@micahjsmith
Copy link

I am conceptually trying to use liccheck in a CI job as follows:

pipenv lock -r > requirements.txt
liccheck -r requirements.txt

However this fails due to #42 because liccheck tries to resolve all dependencies but they have not actually been installed in any virtualenv. It isn't necessary to resolve dependencies here because the requirements file was generated from the lockfile and has pinned dependencies that have already been resolved. Installing a bunch of dependencies is not desired for what should be a lightweight CI job.

Is it possible to add a usage mode to support this, or does liccheck require all the dependencies to be installed?

@atugushev
Copy link
Contributor

Hey @micahjsmith,

I've added --no-deps in #48. Any feedback/test/review is welcomed.

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

Successfully merging a pull request may close this issue.

2 participants