deptry
deptry copied to clipboard
Find unused, missing and transitive dependencies in a Python project.
**Environment** - **deptry version**: 0.16.1 - **Python version**: 3.11 - **Operating system** (e.g. Ubuntu 22.04, Windows 11): Mac OS 14.0 **Describe the issue** I have a project which has django-cms...
For functional tests, we rely on real-world packages that we retrieve from PyPI. Some of those packages are non-pure Python projects, and, while most of them provide wheels compatible with...
I'm experiencing a false positive with deptry, where scikit-learn is marked as an unused dependency despite being used in my project. This appears to be due to module aliasing, where...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pdm](https://redirect.github.com/pdm-project/pdm) ([changelog](https://pdm-project.org/latest/dev/changelog/)) | `==2.23.1` -> `==2.24.0` | [](https://docs.renovatebot.com/merge-confidence/) |...
**PR Checklist** - [x] A description of the changes is added to the description of this PR. - [x] If there is a related issue, make sure it is linked...
Kinda related to https://github.com/fpgmaas/deptry/issues/1043, even taking aside any implementation that would handle PEP 723, `deptry` should ignore files that use PEP 723 syntax to define inline dependencies, as in that...
**Is your feature request related to a problem? Please describe.** Currently, exclude patterns are resolved relative to the directory `deptry` is running in. If you run `deptry` from another directory...
**Environment** - **deptry version**: 0.23.0 - **Python version**: 3.10.16 - **Operating system** (e.g. Ubuntu 22.04, Windows 11): macos **Describe the issue** `uv run deptry .` for `uv-workspace` gives bad results...
**Is your feature request related to a problem? Please describe.** [Inline script metadata](https://packaging.python.org/en/latest/specifications/inline-script-metadata/) allow defining dependencies in Python files, that are scoped to a specific module and independents from a...
**Is your feature request related to a problem? Please describe.** It's impossible to make the tool only check the dependencies in the requirements.txt if a pyproject.toml exists. The tool enforces...