Bump the minor group across 1 directory with 4 updates
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(12 months ago)
(12 months ago)
(12 months ago)
by flora-hofmann-frequenz
part:tooling type:tech-debt
Bumps the minor group with 4 updates in the / directory: mypy, nox, pytest and setuptools.
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 mypyYou 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-newflag. 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-typesdef f(n: int, b: bool) -> int | str: if b: x = n else: </tr></table>
... (truncated)
Commits
9e72e96Update version to 1.16.08fe719fAdd changelog for 1.16 (#19138)2a036e7Revert "Infer correct types with overloads ofType[Guard | Is](#19161)b6da4fcAllow enum members to have type objects as values (#19160)334469f[mypyc] Improve documentation of native and non-native classes (#19154)a499d9fDocument --allow-redefinition-new (#19153)96525a2Merge commit '9e45dadcf6d8dbab36f83d9df94a706c0b4f9207' into release-1.169e45dadClear more data in TypeChecker.reset() instead of asserting (#19087)772cd0cAdd --strict-bytes to --strict (#19049)0b65f21Admit that Final variables are never redefined (#19083)- Additional commits viewable in compare view
Updates nox from 2025.2.9 to 2025.5.1
Release notes
Sourced from nox's releases.
2025.05.01 🌸
This is a bugfix release that primarily adds support for uv 0.7+. A few other small fixes were made.
We'd like to thank the following folks who contributed to this release:
@​chirizxc@​gschaffner@​henryiii@​living180@​Spectre5(first contribution)Bugfixes:
uv versionis nowuv self version, respectUVby@​henryiiiand@​Spectre5in wntrblm/nox#955- Add
UV_PYTHONto disallowed vars by@​henryiiiin wntrblm/nox#959- Never ignore URL dependencies in PEP 723 noxfiles by
@​gschaffnerin wntrblm/nox#935- Support forcing Python on parametrized session by
@​henryiiiin wntrblm/nox#958- Fix
conda_installissue with newer conda (only Unix) by@​henryiiiin wntrblm/nox#957- Show skip reason by default by
@​chirizxcin wntrblm/nox#941- Support
Pathfor envdir by@​henryiiiin wntrblm/nox#932- Use Python 3.12 for action, allow 3.13, drop 3.8 from auto versions by
@​henryiiiin wntrblm/nox#946Documentation:
- Fix a typo in the changelog by
@​gschaffnerin wntrblm/nox#936- Update uv recipe by
@​henryiiiin wntrblm/nox#933- Fix parametrized session tagging example by
@​living180in wntrblm/nox#942- uv now supports
pip install .reinstallation by@​henryiiiin wntrblm/nox#947Internal changes:
- Use PEP 639 license info by
@​henryiiiin wntrblm/nox#956- Make test skips a bit smarter by
@​henryiiiin wntrblm/nox#929- Add our own requirements to conda too by
@​henryiiiin wntrblm/nox#945
Changelog
Sourced from nox's changelog.
Changelog
2025.05.01
This is a bugfix release that primarily adds support for uv 0.7+. A few other small fixes were made.
We'd like to thank the following folks who contributed to this release:
@​chirizxc@​gschaffner@​henryiii@​living180@​Spectre5(first contribution)Bugfixes:
uv versionis nowuv self version, respectUVby@​henryiiiand@​Spectre5in wntrblm/nox#955- Add
UV_PYTHONto disallowed vars by@​henryiiiin wntrblm/nox#959- Never ignore URL dependencies in PEP 723 noxfiles by
@​gschaffnerin wntrblm/nox#935- Support forcing Python on parametrized session by
@​henryiiiin wntrblm/nox#958- Fix
conda_installissue with newer conda (only Unix) by@​henryiiiin wntrblm/nox#957- Show skip reason by default by
@​chirizxcin wntrblm/nox#941- Support
Pathfor envdir by@​henryiiiin wntrblm/nox#932- Use Python 3.12 for action, allow 3.13, drop 3.8 from auto versions by
@​henryiiiin wntrblm/nox#946Documentation:
- Fix a typo in the changelog by
@​gschaffnerin wntrblm/nox#936- Update uv recipe by
@​henryiiiin wntrblm/nox#933- Fix parametrized session tagging example by
@​living180in wntrblm/nox#942- uv now supports
pip install .reinstallation by@​henryiiiin wntrblm/nox#947Internal changes:
- Use PEP 639 license info by
@​henryiiiin wntrblm/nox#956- Make test skips a bit smarter by
@​henryiiiin wntrblm/nox#929- Add our own requirements to conda too by
@​henryiiiin wntrblm/nox#9452025.02.09
This release improves PEP 723 support, including adding dependencies to the noxfile itself ("plugins"). It adds the long-awaited "requires" option, allowing sessions to require other sessions. And it brings further improvements to the
pyproject.tomlsupport, including helpers for dependency-groups and Python version lists.We'd like to thank the following folks who contributed to this release:
@​btemplep(first contribution)@​chirizxc(first contribution)@​davidhewitt(first contribution)@​gschaffner(first contribution)
... (truncated)
Commits
2254a1echore: bump version to 2025.05.01 (#960)e0b5e33fix: conda_install issue with newer conda (#957)a58fe60fix: support forcing Python on parametrized session (#958)aa475d6fix: add UV_PYTHON to disallowed vars (#959)1acbb4echore: use PEP 639 license (#956)7219be7chore(deps): bump astral-sh/setup-uv from 5 to 6 in the actions group (#952)b943f95fix: uv version is now uv self version, support UV (#955)1d52c8fNever ignore URL dependencies in PEP 723 noxfiles (#935)4e7f644feat: show skip reason by default (#941)70df6abfix: use Python 3.12 for action, allow 3.13, drop 3.8 from auto versions (#946)- Additional commits viewable in compare view
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 setuptools from 80.1.0 to 80.9.0
Changelog
Sourced from setuptools's changelog.
v80.9.0
Features
- Set a deadline for the removal of pkg_resources later this year (December). (#3085)
- Removed reliance on pkg_resources in test_wheel. (#3085)
v80.8.0
Features
- Replaced more references to pkg_resources with importlib equivalents in wheel odule. (#3085)
- Restore explicit LICENSE file. (#5001)
- Removed no longer used build dependency on
coherent.licensed. (#5003)v80.7.1
Bugfixes
- Only attempt to fetch eggs for unsatisfied requirements. (#4998)
- In installer, when discovering egg dists, let metadata discovery search each egg. (#4998)
v80.7.0
Features
- Removed usage of pkg_resources from installer. Set an official deadline on the installer deprecation to 2025-10-31. (#4997)
Misc
v80.6.0
Features
... (truncated)
Commits
9c4d383Bump version: 80.8.0 → 80.9.005cb3c8Merge pull request #5014 from pypa/debt/pkg_resources-deadline3b0bf5bAdjust ignore9c28cdfSet a deadline for the removal of pkg_resources later this year (December).a3bfef9Merge pull request #5013 from DimitriPapadopoulos/ISC64bf9d0Enforce ruff/flake8-implicit-str-concat rules (ISC)3250c25Fix broken link in docs (#4947)5ccf50eMerge pull request #5006 from pypa/feature/remove-more-pkg_resources134e587Suppress nitpicky typecheck in pyright.0bf2663Add news fragment.- 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
1
+4
-4
Package Dependencies
Technical Details
| ID: | 886695 |
| UUID: | 2569075043 |
| Node ID: | PR_kwDOLgwdfM6ZIPlj |
| Host: | GitHub |
| Repository: | frequenz-floss/frequenz-client-reporting-python |
| Merge State: | Unknown |