Description
The requirements described in pyproject.toml do not match the requirements used by the pyoaev codebase. A couple ones are unused while one seems to be a transient requirement (used but undeclared, potentially obtained through a different requirement).
Environment
pyoaev version: release/current
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Run
deptry . for a quick overview (though inaccurate)
git grep prometheus or git grep opentelemetry
Expected Output
pyproject.toml describes the required packages, all of them and only them
Actual Output
Unused requirements (probably copy-pasted from pycti) and missing requirements.
Additional information
Thanks to @throuxel for suggesting the tool deptry for a quick overview of the situation. Below a screenshot of a first run (vanilla configuration) with a few comments.
- in vanilla configuration,
deptry looks for the dev and doc dependencies found in the pyproject.toml inside the Python codebase (while a quick git grep points out their use, e.g. in the pre-commit)
- unsure about the lack of
test dependencies in the pyproject.toml (hence the mention of pytest)
Description
The requirements described in
pyproject.tomldo not match the requirements used by thepyoaevcodebase. A couple ones are unused while one seems to be a transient requirement (used but undeclared, potentially obtained through a different requirement).Environment
pyoaevversion:release/currentReproducible Steps
Steps to create the smallest reproducible scenario:
deptry .for a quick overview (though inaccurate)git grep prometheusorgit grep opentelemetryExpected Output
pyproject.tomldescribes the required packages, all of them and only themActual Output
Unused requirements (probably copy-pasted from
pycti) and missing requirements.Additional information
Thanks to @throuxel for suggesting the tool
deptryfor a quick overview of the situation. Below a screenshot of a first run (vanilla configuration) with a few comments.deptrylooks for thedevanddocdependencies found in thepyproject.tomlinside the Python codebase (while a quickgit greppoints out their use, e.g. in thepre-commit)testdependencies in thepyproject.toml(hence the mention ofpytest)