Release 0.7.0
fpgmaas opened this issue ยท 2 comments
The latest two MR's by @mkniewallner (#244 and #245) improved the way that deptry detects configuration files. However, this introduced a change that potentially breaks existing projects that use deptry.
I propose the following release notes:
Breaking changes
Previously, deptry always searched for a pyproject.toml
file in the root directory passed as a positional argument to the deptry
command. Since this is not in line with what most other tools in the ecosystem do, this is changed in release 0.7.0
.
In previous releases, when running:
deptry src
deptry would search for both a pyproject.toml
and for python files to scan in the src
directory.
Since this release, when running
deptry src
deptry will search for pyproject.toml
in the location it is run from, and for python files to scan in the src
directory.
The downside of the changes outlined above, is that this could break some projects that did explicitly want to find pyproject.toml
in a directory other than the positional argument specified as root
. For this purpose, release 0.7.0
adds a --config
argument that can be used to explicitly pass the location of pyproject.toml
.
What's Changed
- refactor: use generic types instead of
typing
by @mkniewallner in #217 - Use
ruff
for import sorting and add more rules by @mkniewallner in #232 - chore: move
renovate-config-validator
to GH Actions by @mkniewallner in #233 - changed badge url by @fpgmaas in #235
- ci: fix
tox
workflow by @mkniewallner in #241 - perf(core): only load local modules once by @mkniewallner in #242
- perf(finder): more efficient Python files retrieval by @mkniewallner in #243
- Separate
pyproject.toml
location fromroot
argument by @mkniewallner in #244 - Expose and handle
--config
argument by @mkniewallner in #245
Full Changelog: 0.6.6...0.7.0
Note, in this proposal I also removed the chore(deps)
lines, since I think they make the release notes way too cluttered while not adding a lot of important information. Original release notes look like this:
What's Changed
- refactor: use generic types instead of
typing
by @mkniewallner in #217 - chore(deps): update pre-commit hook pycqa/flake8 to v6 by @renovate in #221
- chore(deps): update pre-commit hook renovatebot/pre-commit-hooks to v34.39.0 by @renovate in #220
- chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v4.4.0 by @renovate in #219
- chore(deps): lock file maintenance by @renovate in #222
- chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.139 by @renovate in #218
- chore(deps): update pre-commit hook renovatebot/pre-commit-hooks to v34.48.0 by @renovate in #225
- chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.152 by @renovate in #223
- chore(deps): update pre-commit hook asottile/pyupgrade to v3.3.0 by @renovate in #224
- chore(deps): lock file maintenance by @renovate in #226
- chore(deps): update pre-commit hook psf/black to v22.12.0 by @renovate in #230
- chore(deps): update pre-commit hook renovatebot/pre-commit-hooks to v34.54.0 by @renovate in #231
- chore(deps): update dependency flake8-bugbear to v22.12.6 by @renovate in #229
- chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.172 by @renovate in #228
- chore(deps): update pre-commit hook asottile/pyupgrade to v3.3.1 by @renovate in #227
- Use
ruff
for import sorting and add more rules by @mkniewallner in #232 - chore(deps): lock file maintenance by @renovate in #234
- chore: move
renovate-config-validator
to GH Actions by @mkniewallner in #233 - changed badge url by @fpgmaas in #235
- chore(deps): lock file maintenance by @renovate in #237
- chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.184 by @renovate in #236
- ci: fix
tox
workflow by @mkniewallner in #241 - chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.192 by @renovate in #239
- chore(deps): lock file maintenance by @renovate in #240
- perf(core): only load local modules once by @mkniewallner in #242
- perf(finder): more efficient Python files retrieval by @mkniewallner in #243
- Separate
pyproject.toml
location fromroot
argument by @mkniewallner in #244 - Expose and handle
--config
argument by @mkniewallner in #245
Full Changelog: 0.6.6...0.7.0
Changelog looks good to me ๐
Definitely agree about removing the unneeded dependencies upgrades, it is not useful for users.
New release tagged and published to PyPI ๐