build: bump the development-dependencies group across 1 directory with 2 updates
Type: Pull Request
State: Open
Association: None
Comments: 0
(about 1 year ago)
(about 1 year ago)
dependencies no_ci_cd_run
aps831
Bumps the development-dependencies group with 2 updates in the / directory: pytest and deptry.
Updates pytest from 8.3.5 to 8.4.0
Release notes
Sourced from pytest's releases.
8.4.0
pytest 8.4.0 (2025-06-02)
Removals and backward incompatible breaking changes
#11372: Async tests will now fail, instead of warning+skipping, if you don't have any suitable plugin installed.
#12346: Tests will now fail, instead of raising a warning, if they return any value other than None.
#12874: We dropped support for Python 3.8 following its end of life (2024-10-07).
#12960: Test functions containing a yield now cause an explicit error. They have not been run since pytest 4.0, and were previously marked as an expected failure and deprecation warning.
See
the docs <yield tests deprecated>{.interpreted-text role="ref"} for more information.Deprecations (removal in next major release)
- #10839: Requesting an asynchronous fixture without a [pytest_fixture_setup]{.title-ref} hook that resolves it will now give a DeprecationWarning. This most commonly happens if a sync test requests an async fixture. This should have no effect on a majority of users with async tests or fixtures using async pytest plugins, but may affect non-standard hook setups or
autouse=True. For guidance on how to work around this warning seesync-test-async-fixture{.interpreted-text role="ref"}.New features
#11538: Added
pytest.RaisesGroup{.interpreted-text role="class"} as an equivalent topytest.raises{.interpreted-text role="func"} for expectingExceptionGroup{.interpreted-text role="exc"}. Also addspytest.RaisesExc{.interpreted-text role="class"} which is now the logic behindpytest.raises{.interpreted-text role="func"} and used as parameter topytest.RaisesGroup{.interpreted-text role="class"}.RaisesGroupincludes the ability to specify multiple different expected exceptions, the structure of nested exception groups, and flags for emulatingexcept* <except_star>{.interpreted-text role="ref"}. Seeassert-matching-exception-groups{.interpreted-text role="ref"} and docstrings for more information.#12081: Added
capteesys{.interpreted-text role="fixture"} to capture AND pass output to next handler set by--capture=.#12504:
pytest.mark.xfail{.interpreted-text role="func"} now acceptspytest.RaisesGroup{.interpreted-text role="class"} for theraisesparameter when you expect an exception group. You can also pass apytest.RaisesExc{.interpreted-text role="class"} if you e.g. want to make use of thecheckparameter.#12713: New [--force-short-summary]{.title-ref} option to force condensed summary output regardless of verbosity level.
This lets users still see condensed summary output of failures for quick reference in log files from job outputs, being especially useful if non-condensed output is very verbose.
#12749: pytest traditionally collects classes/functions in the test module namespace even if they are imported from another file.
For example:
# contents of src/domain.py class Testament: ...contents of tests/test_testament.py
from domain import Testament
def test_testament(): ...
In this scenario with the default options, pytest will collect the class [Testament]{.title-ref} from [tests/test_testament.py]{.title-ref} because it starts with [Test]{.title-ref}, even though in this case it is a production class being imported in the test module namespace.
This behavior can now be prevented by setting the new
collect_imported_tests{.interpreted-text role="confval"} configuration option tofalse, which will make pytest collect classes/functions from test files only if they are defined in that file.
... (truncated)
Commits
315b3aePrepare release version 8.4.01498ba3Merge pull request #13467 from pytest-dev/towncrier-createe4389acRemove resultlog from the docs (#13465)64b2301scripts/release: add missingbuildtotowncriercall4c205cftesting/plugins_integration: update Django (#13463)4dcbcc9Merge pull request #13458 from pytest-dev/dup-param-error5293016Merge pull request #13459 from pytest-dev/pyright-minor-fixes7a48181Add pyright configuration9fc6db9pytester: avoid confusingxself parameter9aa198bmark/expression: fix self -> cls- Additional commits viewable in compare view
Updates deptry from 0.16.2 to 0.23.0
Release notes
Sourced from deptry's releases.
0.23.0
What's Changed
Features
- Correctly detect transitive dependencies with different module names (#1033)
Full Changelog: https://github.com/fpgmaas/deptry/compare/0.22.0...0.23.0
0.22.0
What's Changed
Poetry 2.0 introduced support for defining project metadata using PEP 621. This is now supported by deptry. Documentation has been updated to detail deptry's behavior.
Features
- Support PEP 621 in Poetry 2.0+ (#1003)
Full Changelog: https://github.com/fpgmaas/deptry/compare/0.21.2...0.22.0
0.21.2
What's Changed
Miscellaneous
- Provide wheels for musllinux (#979)
Full Changelog: https://github.com/fpgmaas/deptry/compare/0.21.1...0.21.2
0.21.1
What's Changed
Bug Fixes
- Handle string requirements files for
setuptoolsdynamic dependencies (#945)Full Changelog: https://github.com/fpgmaas/deptry/compare/0.21.0...0.21.1
0.21.0
What's Changed
Breaking changes
Ignore files handling
Unless
--excludeis used, deptry excludes files found in common ignore files (.gitignore,.ignore,$HOME/.config/git/ignore. ...), by usingignoreRust crate. The default behaviour has been changed, so that now:
- git-related ignore rules (
.gitignore,$HOME/.config/git/ignore, ...) are only used if deptry is run inside a git repository.gitignorefiles that are in parent directories of the git repository from where deptry is run are not used (previously, deptry would traverse parent directories up to the root system)
... (truncated)
Changelog
Sourced from deptry's changelog.
0.23.0 - 2025-01-25
Features
- Correctly detect transitive dependencies with different module names (#1033)
Full Changelog
https://github.com/fpgmaas/deptry/compare/0.22.0...0.23.0
0.22.0 - 2025-01-10
Poetry 2.0 introduced support for defining project metadata in PEP 621. This is now supported by deptry. Documentation has been updated to detail deptry's behavior.
Features
- Support PEP 621 in Poetry 2.0+ (#1003)
Full Changelog
https://github.com/fpgmaas/deptry/compare/0.21.2...0.22.0
0.21.2 - 2024-12-19
Miscellaneous
- Provide wheels for musllinux (#979)
Full Changelog
https://github.com/fpgmaas/deptry/compare/0.21.1...0.21.2
0.21.1 - 2024-11-15
Bug Fixes
- Handle string requirements files for
setuptoolsdynamic dependencies (#945)Full Changelog
... (truncated)
Commits
1edeef3docs(changelog): add 0.23.0 release notes (#1042)55144c0chore(deps): bump Ruff parser to 0.9.3 (#1041)ddbb004Correctly detect transitive dependencies with different module names (#1033)a5d01d8chore(deps): update pre-commit hook woodruffw/zizmor-pre-commit to v1.2.2 (#1...0828296chore(deps): update dependency pre-commit to v4.1.0 (#1038)2750123chore(deps): lock file maintenance (#1040)a6aeb30fix(deps): update rust crate serde_json to v1.0.137 (#1037)e67a1b1chore(deps): update uv-version to v0.5.24 (#1036)77f533bchore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.3 (#1035)9e4ecd1fix(deps): update rust crate log to v0.4.25 (#1028)- 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 <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Pull Request Statistics
1
2
+51
-25
Technical Details
| ID: | 1243782 |
| UUID: | 2561815660 |
| Node ID: | PR_kwDOOqzJLs6YsjRs |
| Host: | GitHub |
| Repository: | aps831/workflows-testbed-python |
| Merge State: | Unknown |