Bump deptry from 0.14.0 to 0.16.1
Bumps deptry from 0.14.0 to 0.16.1.
Release notes
Sourced from deptry's releases.
0.16.1
What's Changed
Bug Fixes
- Skip type checking blocks whether future annotations are used or not (#662)
Full Changelog: https://github.com/fpgmaas/deptry/compare/0.16.0...0.16.1
0.16.0
What's Changed
Breaking changes
typing.TYPE_CHECKINGhandlingImports guarded by
typing.TYPE_CHECKINGwhen usingfrom __future__ import annotationsare now skipped. For instance:from __future__ import annotationsfrom typing import TYPE_CHECKING
if TYPE_CHECKING: # This import will not be extracted as it is guarded by
TYPE_CHECKINGandfrom __future__ import annotations# is used. This means the import should only be evaluated by type checkers, and should not be evaluated during runtime. import mypy_boto3_s3See https://deptry.com/usage/#imports-extraction for more information.
requirements.inhandlingOn projects using
piprequirements format for defining dependencies, ifrequirements_filesoption is not overridden, deptry will first search for arequirements.infile beforerequirements.txt, to better support projects usingpip-toolsand the like (which includesuvand Rye) out of the box. If you userequirements.inand want deptry to userequirements.txt, you can either pass--requirements-files requirements.txtwhen invoking deptry, or set the option inpyproject.toml:[tool.deptry] requirements_files = ["requirements.txt"]Features
- Skip type checking blocks when parsing imports (#652)
- Search for
requirements.inbeforerequirements.txton projects usingpiprequirements format for dependencies (#641)Bug Fixes
... (truncated)
Changelog
Sourced from deptry's changelog.
0.16.1 - 2024-04-06
Bug Fixes
- Skip type checking blocks whether future annotations are used (#662)
Full Changelog
https://github.com/fpgmaas/deptry/compare/0.16.0...0.16.1
0.16.0 - 2024-04-04
Breaking changes
typing.TYPE_CHECKINGhandlingImports guarded by
typing.TYPE_CHECKINGwhen usingfrom __future__ import annotationsare now skipped. For instance:from __future__ import annotationsfrom typing import TYPE_CHECKING
if TYPE_CHECKING:
This import will not be extracted as it is guarded by
TYPE_CHECKINGandfrom __future__ import annotationsis used. This means the import should only be evaluated by type checkers, and should not be evaluated during runtime.
import mypy_boto3_s3
See https://deptry.com/usage/#imports-extraction for more information.
requirements.inhandlingOn projects using
piprequirements format for defining dependencies, ifrequirements_filesoption is not overridden, deptry will first search for arequirements.infile beforerequirements.txt, to better support projects usingpip-toolsand the like (which includesuvand Rye) out of the box. If you userequirements.inand want deptry to userequirements.txt, you can either pass--requirements-files requirements.txtwhen invoking deptry, or set the option inpyproject.toml:[tool.deptry] requirements_files = ["requirements.txt"]Features
... (truncated)
Commits
caa4e43docs(changelog): add 0.16.1 release notes (#668)15c344achore(deps): lock file maintenancea2bfd61fix(deps): update rust crate serde_json to 1.0.115d533f05chore(deps): update dependency docs/mkdocs-material to v9.5.17e187ac9fix(deps): update rust crate rayon to 1.10.0ece7c1achore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.3.51fa8170fix(visitor): skip type checking blocks without future annotations (#662)36a06f0docs(changelog): add 0.16.0 release notes (#657)2ac789fAutomatically userequirements.inif the project uses arequirements.txt...714596cci: tweak workflows (#658)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)