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

Release 0.7.0 #246

Closed
fpgmaas opened this issue Dec 27, 2022 · 2 comments
Closed

Release 0.7.0 #246

fpgmaas opened this issue Dec 27, 2022 · 2 comments
Assignees
Labels

Comments

@fpgmaas
Copy link
Owner

fpgmaas commented Dec 27, 2022

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

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

Full Changelog: 0.6.6...0.7.0

@mkniewallner
Copy link
Collaborator

Changelog looks good to me 🙂

Definitely agree about removing the unneeded dependencies upgrades, it is not useful for users.

@mkniewallner mkniewallner self-assigned this Dec 27, 2022
@mkniewallner
Copy link
Collaborator

New release tagged and published to PyPI 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants