Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the poetry-dependencies group with 7 updates #5

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 1, 2024

Bumps the poetry-dependencies group with 7 updates:

Package From To
mypy 1.12.1 1.13.0
ruff 0.7.0 0.7.1
typeguard 4.3.0 4.4.0
ipython 8.28.0 8.29.0
starlette 0.41.0 0.41.2
tokenize-rt 6.0.0 6.1.0
virtualenv 20.27.0 20.27.1

Updates mypy from 1.12.1 to 1.13.0

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Change to enum membership semantics

As per the updated typing specification for enums, enum members must be left unannotated.

class Pet(Enum):
    CAT = 1  # Member attribute
    DOG = 2  # Member attribute
    WOLF: int = 3  # New error: Enum members must be left unannotated
species: str  # Considered a non-member attribute

In particular, the specification change can result in issues in type stubs (.pyi files), since historically it was common to leave the value absent:

# In a type stub (.pyi file)
class Pet(Enum):
# Change in semantics: previously considered members, now non-member attributes
CAT: int
DOG: int
# Mypy will now issue a warning if it detects this situation in type stubs:
# > Detected enum "Pet" in a type stub with zero members.
# > There is a chance this is due to a recent change in the semantics of enum membership.
# > If so, use `member = value` to mark an enum member, instead of `member: type`

class Pet(Enum):
# As per the specification, you should now do one of the following:
DOG = 1  # Member attribute with value 1 and known type
WOLF = cast(int, ...)  # Member attribute with unknown value but known type
LION = ...  # Member attribute with unknown value and unknown type

Contributed by Terence Honles in PR 17207 and Shantanu Jain in PR 18068.

Mypy 1.13

We’ve just uploaded mypy 1.13 to the Python Package Index (PyPI). Mypy is a static type checker for Python. You can install it as follows:

python3 -m pip install -U mypy

... (truncated)

Commits

Updates ruff from 0.7.0 to 0.7.1

Release notes

Sourced from ruff's releases.

0.7.1

Release Notes

Preview features

  • Fix E221 and E222 to flag missing or extra whitespace around == operator (#13890)
  • Formatter: Alternate quotes for strings inside f-strings in preview (#13860)
  • Formatter: Join implicit concatenated strings when they fit on a line (#13663)
  • [pylint] Restrict iteration-over-set to only work on sets of literals (PLC0208) (#13731)

Rule changes

  • [flake8-type-checking] Support auto-quoting when annotations contain quotes (#11811)

Server

  • Avoid indexing the workspace for single-file mode (#13770)

Bug fixes

  • Make ARG002 compatible with EM101 when raising NotImplementedError (#13714)

Other changes

  • Introduce more Docker tags for Ruff (similar to uv) (#13274)

Contributors

Install ruff 0.7.1

Install prebuilt binaries via shell script

... (truncated)

Changelog

Sourced from ruff's changelog.

0.7.1

Preview features

  • Fix E221 and E222 to flag missing or extra whitespace around == operator (#13890)
  • Formatter: Alternate quotes for strings inside f-strings in preview (#13860)
  • Formatter: Join implicit concatenated strings when they fit on a line (#13663)
  • [pylint] Restrict iteration-over-set to only work on sets of literals (PLC0208) (#13731)

Rule changes

  • [flake8-type-checking] Support auto-quoting when annotations contain quotes (#11811)

Server

  • Avoid indexing the workspace for single-file mode (#13770)

Bug fixes

  • Make ARG002 compatible with EM101 when raising NotImplementedError (#13714)

Other changes

  • Introduce more Docker tags for Ruff (similar to uv) (#13274)
Commits
  • 337af83 Bump version to 0.7.1 (#13913)
  • 113ce84 Fix normalize arguments when fstring_formatting is disabled (#13910)
  • 7272f83 Fix preview style name in can_omit_parentheses to is_f_string_formatting_en...
  • 3eb4546 [red-knot] Format mdtest Python snippets more concisely (#13905)
  • 77ae0cc [red-knot] Infer subscript expression types for bytes literals (#13901)
  • 73ee72b Join implicit concatenated strings when they fit on a line (#13663)
  • e402e27 Use referencial equality in traversal helper methods (#13895)
  • de4181d Remove "default" remark from ruff check (#13900)
  • 2c57c2d [red-knot] Type narrowing for isinstance checks (#13894)
  • 72c18c8 Fix E221 and E222 to flag missing or extra whitespace around == operator (#...
  • Additional commits viewable in compare view

Updates typeguard from 4.3.0 to 4.4.0

Release notes

Sourced from typeguard's releases.

4.4.0

  • Added proper checking for method signatures in protocol checks (#465)
  • Fixed basic support for intersection protocols (#490; PR by @​antonagestam)
  • Fixed protocol checks running against the class of an instance and not the instance itself (this produced wrong results for non-method member checks)
Changelog

Sourced from typeguard's changelog.

Version history

This library adheres to Semantic Versioning 2.0 <https://semver.org/#semantic-versioning-200>_.

  • Changed the signature of typeguard_ignore() to be compatible with typing.no_type_check() (PR by @​jolaf)

4.4.0 (2024-10-27)

  • Added proper checking for method signatures in protocol checks ([#465](https://github.com/agronholm/typeguard/issues/465) <https://github.com/agronholm/typeguard/pull/465>_)
  • Fixed basic support for intersection protocols ([#490](https://github.com/agronholm/typeguard/issues/490) <https://github.com/agronholm/typeguard/pull/490>_; PR by @​antonagestam)
  • Fixed protocol checks running against the class of an instance and not the instance itself (this produced wrong results for non-method member checks)

4.3.0 (2024-05-27)

  • Added support for checking against static protocols
  • Fixed some compatibility problems when running on Python 3.13 ([#460](https://github.com/agronholm/typeguard/issues/460) <https://github.com/agronholm/typeguard/issues/460>_; PR by @​JelleZijlstra)
  • Fixed test suite incompatibility with pytest 8.2 ([#461](https://github.com/agronholm/typeguard/issues/461) <https://github.com/agronholm/typeguard/issues/461>_)
  • Fixed pytest plugin crashing on pytest version older than v7.0.0 (even if it's just present) ([#343](https://github.com/agronholm/typeguard/issues/343) <https://github.com/agronholm/typeguard/issues/343>_)

4.2.1 (2023-03-24)

  • Fixed missing typing_extensions dependency for Python 3.12 ([#444](https://github.com/agronholm/typeguard/issues/444) <https://github.com/agronholm/typeguard/issues/444>_)
  • Fixed deprecation warning in the test suite on Python 3.13 ([#444](https://github.com/agronholm/typeguard/issues/444) <https://github.com/agronholm/typeguard/issues/444>_)

4.2.0 (2023-03-23)

  • Added support for specifying options for the pytest plugin via pytest config files ([#440](https://github.com/agronholm/typeguard/issues/440) <https://github.com/agronholm/typeguard/issues/440>_)
  • Avoid creating reference cycles when type checking unions (PR by Shantanu)
  • Fixed Optional[...] being removed from the AST if it was located within a subscript ([#442](https://github.com/agronholm/typeguard/issues/442) <https://github.com/agronholm/typeguard/issues/442>_)
  • Fixed TypedDict from typing_extensions not being recognized as one ([#443](https://github.com/agronholm/typeguard/issues/443) <https://github.com/agronholm/typeguard/issues/443>_)
  • Fixed typing types (dict[str, int], List[str], etc.) not passing checks against type or Type ([#432](https://github.com/agronholm/typeguard/issues/432) <https://github.com/agronholm/typeguard/issues/432>_, PR by Yongxin Wang)
  • Fixed detection of optional fields (NotRequired[...]) in TypedDict when using forward references ([#424](https://github.com/agronholm/typeguard/issues/424) <https://github.com/agronholm/typeguard/issues/424>_)
  • Fixed mapping checks against Django's MultiValueDict

... (truncated)

Commits
  • efa1166 Added release date
  • b72794d Added proper Protocol method signature checking (#496)
  • afad2c7 Sorted the Ruff rules alphabetically
  • d812f2e Migrated to native tox TOML configuration
  • 0c50de6 Declared Python 3.13 support
  • cf25d56 Fixed annotation for typeguard_ignore() to match one for typing.no_type_check...
  • 604b08d Use get_protocol_members in protocol checking (#490)
  • c72b675 [pre-commit.ci] pre-commit autoupdate (#471)
  • ac7ac34 Fixed the documentation build
  • 2c035b3 Assume that typing_extensions is always installed (#487)
  • Additional commits viewable in compare view

Updates ipython from 8.28.0 to 8.29.0

Commits

Updates starlette from 0.41.0 to 0.41.2

Release notes

Sourced from starlette's releases.

Version 0.41.2

What's Changed


Full Changelog: encode/starlette@0.41.1...0.41.2

Version 0.41.1

What's Changed


Full Changelog: encode/starlette@0.41.0...0.41.1

Changelog

Sourced from starlette's changelog.

0.41.2 (October 27, 2024)

Fixed

  • Revert bump on python-multipart on starlette[full] extras #2737.

0.41.1 (October 24, 2024)

Fixed

  • Bump minimum python-multipart version to 0.0.13 #2734.
  • Change python-multipart import to python_multipart #2733.
Commits

Updates tokenize-rt from 6.0.0 to 6.1.0

Commits
  • a3a7bed v6.1.0
  • 3686bae Merge pull request #192 from asottile/named-escapes
  • 32e6236 handle unicode named escapes in fstring components
  • 75de5c5 Merge pull request #190 from asottile/all-repos_autofix_all-repos-manual
  • 1ae6bf2 py39+
  • ac3b85e Merge pull request #189 from asottile/pre-commit-ci-update-config
  • e75318f [pre-commit.ci] pre-commit autoupdate
  • 7ee846b Merge pull request #188 from asottile/pre-commit-ci-update-config
  • 4083446 [pre-commit.ci] pre-commit autoupdate
  • See full diff in compare view

Updates virtualenv from 20.27.0 to 20.27.1

Release notes

Sourced from virtualenv's releases.

20.27.1

What's Changed

Full Changelog: pypa/virtualenv@20.27.0...20.27.1

Changelog

Sourced from virtualenv's changelog.

v20.27.1 (2024-10-28)

Bugfixes - 20.27.1

- Upgrade embedded wheels:
  • pip to 24.3.1 from 24.2 (:issue:2789)
Commits

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

Bumps the poetry-dependencies group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [mypy](https://github.com/python/mypy) | `1.12.1` | `1.13.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.7.0` | `0.7.1` |
| [typeguard](https://github.com/agronholm/typeguard) | `4.3.0` | `4.4.0` |
| [ipython](https://github.com/ipython/ipython) | `8.28.0` | `8.29.0` |
| [starlette](https://github.com/encode/starlette) | `0.41.0` | `0.41.2` |
| [tokenize-rt](https://github.com/asottile/tokenize-rt) | `6.0.0` | `6.1.0` |
| [virtualenv](https://github.com/pypa/virtualenv) | `20.27.0` | `20.27.1` |


Updates `mypy` from 1.12.1 to 1.13.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.12.1...v1.13.0)

Updates `ruff` from 0.7.0 to 0.7.1
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.7.0...0.7.1)

Updates `typeguard` from 4.3.0 to 4.4.0
- [Release notes](https://github.com/agronholm/typeguard/releases)
- [Changelog](https://github.com/agronholm/typeguard/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/typeguard@4.3.0...4.4.0)

Updates `ipython` from 8.28.0 to 8.29.0
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](ipython/ipython@8.28.0...8.29.0)

Updates `starlette` from 0.41.0 to 0.41.2
- [Release notes](https://github.com/encode/starlette/releases)
- [Changelog](https://github.com/encode/starlette/blob/master/docs/release-notes.md)
- [Commits](encode/starlette@0.41.0...0.41.2)

Updates `tokenize-rt` from 6.0.0 to 6.1.0
- [Commits](asottile/tokenize-rt@v6.0.0...v6.1.0)

Updates `virtualenv` from 20.27.0 to 20.27.1
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst)
- [Commits](pypa/virtualenv@20.27.0...20.27.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: poetry-dependencies
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: poetry-dependencies
- dependency-name: typeguard
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: poetry-dependencies
- dependency-name: ipython
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: poetry-dependencies
- dependency-name: starlette
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: poetry-dependencies
- dependency-name: tokenize-rt
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: poetry-dependencies
- dependency-name: virtualenv
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: poetry-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 1, 2024
Copy link
Author

dependabot bot commented on behalf of github Dec 1, 2024

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Dec 1, 2024
@dependabot dependabot bot deleted the dependabot/pip/poetry-dependencies-1f5c40af30 branch December 1, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants