Bump the pip-deps group with 5 updates
Type: Pull Request
State: Open
![dependabot[bot]](https://github.com/dependabot.png)
Association: Contributor
Comments: 0
(4 months ago)
(4 months ago)
dependencies python
Bumps the pip-deps group with 5 updates:
Package | From | To |
---|---|---|
ruamel-yaml | 0.18.11 |
0.18.12 |
pytest | 8.3.5 |
8.4.0 |
botocore | 1.38.23 |
1.38.28 |
boto3 | 1.38.23 |
1.38.28 |
mypy | 1.15.0 |
1.16.0 |
Updates ruamel-yaml
from 0.18.11 to 0.18.12
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"}.RaisesGroup
includes 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 theraises
parameter 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 thecheck
parameter.#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
315b3ae
Prepare release version 8.4.01498ba3
Merge pull request #13467 from pytest-dev/towncrier-createe4389ac
Remove resultlog from the docs (#13465)64b2301
scripts/release: add missingbuild
totowncrier
call4c205cf
testing/plugins_integration: update Django (#13463)4dcbcc9
Merge pull request #13458 from pytest-dev/dup-param-error5293016
Merge pull request #13459 from pytest-dev/pyright-minor-fixes7a48181
Add pyright configuration9fc6db9
pytester: avoid confusingx
self parameter9aa198b
mark/expression: fix self -> cls- Additional commits viewable in compare view
Updates botocore
from 1.38.23 to 1.38.28
Commits
39c9c08
Merge branch 'release-1.38.28'bec8e8d
Bumping version to 1.38.282b03000
Update endpoints model44d1891
Update to latest models6b32855
Track retry mode and gzip feature ids (#3481)994a156
Merge branch 'release-1.38.27'7deb27e
Merge branch 'release-1.38.27' into developff2e580
Bumping version to 1.38.279ac3725
Update endpoints model261a369
Update to latest models- Additional commits viewable in compare view
Updates boto3
from 1.38.23 to 1.38.28
Commits
5c3ba07
Merge branch 'release-1.38.28'22f6c5a
Bumping version to 1.38.28b6a84ba
Add changelog entries from botocoreccacc66
Merge branch 'release-1.38.27'65ee8e3
Merge branch 'release-1.38.27' into develop531a41c
Bumping version to 1.38.2747419ec
Add changelog entries from botocore173e2b4
Merge branch 'release-1.38.26'62b7d27
Merge branch 'release-1.38.26' into develop99ba763
Bumping version to 1.38.26- Additional commits viewable in compare view
Updates mypy
from 1.15.0 to 1.16.0
Changelog
Sourced from mypy's changelog.
Mypy Release Notes
Next Release
Mypy 1.16
We’ve just uploaded mypy 1.16 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features and bug fixes. You can install it as follows:
python3 -m pip install -U mypy
You can read the full documentation for this release on Read the Docs.
Different Property Getter and Setter Types
Mypy now supports using different types for a property getter and setter:
class A: _value: int
@property def foo(self) -> int: return self._value
@foo.setter
def foo(self, x: str | int) -> None:
try:
self._value = int(x)
except ValueError:
raise Exception(f"'{x}' is not a valid value for 'foo'")
This was contributed by Ivan Levkivskyi (PR 18510).
Flexible Variable Redefinitions (Experimental)
Mypy now allows unannotated variables to be freely redefined with different types when using the experimental
--allow-redefinition-new
flag. You will also need to enable--local-partial-types
. Mypy will now infer a union type when different types are assigned to a variable:# mypy: allow-redefinition-new, local-partial-types
def f(n: int, b: bool) -> int | str: if b: x = n else: </tr></table>
... (truncated)
Commits
9e72e96
Update version to 1.16.08fe719f
Add changelog for 1.16 (#19138)2a036e7
Revert "Infer correct types with overloads ofType[Guard | Is]
(#19161)b6da4fc
Allow enum members to have type objects as values (#19160)334469f
[mypyc] Improve documentation of native and non-native classes (#19154)a499d9f
Document --allow-redefinition-new (#19153)96525a2
Merge commit '9e45dadcf6d8dbab36f83d9df94a706c0b4f9207' into release-1.169e45dad
Clear more data in TypeChecker.reset() instead of asserting (#19087)772cd0c
Add --strict-bytes to --strict (#19049)0b65f21
Admit that Final variables are never redefined (#19083)- 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 rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will 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 version
will 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
1
+5
-5
Package Dependencies
Technical Details
ID: | 1256516 |
UUID: | 2562196173 |
Node ID: | PR_kwDOOLckwc6YuALN |
Host: | GitHub |
Repository: | mongodb/mongodb-kubernetes |
Merge State: | Unknown |