You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I have a folder with multiple requirement files:
default.txt
dev.txt
lint.txt
test.txt
licensecheck --using 'requirements:dev.txt' fails with RuntimeError: Could not find specification of requirements (requirements.txt). It looks like licensecheck always searches for requirements.txt.
On a side note, the documentation in README seems inconsistent around the formatting of multiple requirement files: is it requirements:requirements.txt;requirements_optional.txt or requirements:requirements.txt;requirements:requirements_optional.txt (with requirements: repeated after the semicolon)? Both are used in the explanation.
System Information
Please provide the following additional information about your system or
environment:
Operating System (OS): macOS
OS Version: 14.6.1
The text was updated successfully, but these errors were encountered:
Hi thanks for opening the issue. Going to take a look at this asap. There is absolutely a logic error there that I did not pick up during a recent refactor!
In upcoming versions, I plan to remove the --using argument to improve clarity (and replace it with --requirements-paths and --groups as appropriate). However, some additional testing is required before I release a new version to ensure a smooth transition and provide a clear migration path.
Before You Begin
Before proceeding, please make sure to follow these steps:
before.
Issue Details
I have a folder with multiple requirement files:
licensecheck --using 'requirements:dev.txt'
fails withRuntimeError: Could not find specification of requirements (requirements.txt).
It looks like licensecheck always searches forrequirements.txt
.On a side note, the documentation in README seems inconsistent around the formatting of multiple requirement files: is itrequirements:requirements.txt;requirements_optional.txt
orrequirements:requirements.txt;requirements:requirements_optional.txt
(withrequirements:
repeated after the semicolon)? Both are used in the explanation.System Information
Please provide the following additional information about your system or
environment:
The text was updated successfully, but these errors were encountered: