Build(deps): Bump the minor group with 3 updates
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(12 months ago)
(12 months ago)
(12 months ago)
by llucax
part:tooling type:tech-debt
Bumps the minor group with 3 updates: mypy, hypothesis 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 hypothesis from 6.131.9 to 6.132.0
Release notes
Sourced from hypothesis's releases.
Hypothesis for Python - version 6.132.0
Add "on_observation()" to the internal alternative backends interface.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.131.33
This patch restores compatibility when using the legacy Python 3.9 LL(1) parser, which was accidentally broken since version 6.130.13.
Thanks to Marco Ricci for this fix!
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.131.32
fuzz_one_input now writes observability reports if observability is enabled, bringing it in line with the behavior of other standard ways to invoke a Hypothesis test.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.131.31
Improve documentation of "
@example".The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.131.30
This patch resolves a Pandas FutureWarning (issue #4400) caused by indexing with an integer key.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.131.29
The observations passed to "TESTCASE_CALLBACKS" are now dataclasses, rather than dictionaries. The content written to ".hypothesis/observed" under "HYPOTHESIS_EXPERIMENTAL_OBSERVABILITY" remains the same.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.131.28
Add documentation to some internal APIs.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.131.27
Add "PrimitiveProvider.replay_choices" to the alternative backends interface, to support warm-starting e.g. hypothesis-crosshair from hypofuzz.
The canonical version of these notes (with links) is on readthedocs.
... (truncated)
Commits
8c1180fBump hypothesis-python version to 6.132.0 and update changelogab90309Merge pull request #4416 from tybug/provider-on-observabilityfa0d09eaddress review4d86adfBump hypothesis-python version to 6.131.33 and update changelog788e429Merge pull request #4423 from the-13th-letter/restore-py39-compatibility-LL1-...422425fRestore compatibility with Python 3.9's legacy LL(1) parsere118dderename to add_observability_callback0b98d07check PrimitiveProvider.add_observation_callback insteada92991fMerge branch 'master' into provider-on-observabilityfc32d66Bump hypothesis-python version to 6.131.32 and update changelog- Additional commits viewable in compare view
Updates setuptools from 80.3.1 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
+3
-3
Package Dependencies
Technical Details
| ID: | 1213913 |
| UUID: | 2558662789 |
| Node ID: | PR_kwDOMI1fJ86YghiF |
| Host: | GitHub |
| Repository: | frequenz-floss/frequenz-quantities-python |
| Merge State: | Unknown |