Skip to content

build(deps): Bump the python-packages group across 1 directory with 4 updates#8

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/python-packages-516d7fcbbd
Closed

build(deps): Bump the python-packages group across 1 directory with 4 updates#8
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/python-packages-516d7fcbbd

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Feb 3, 2025

Bumps the python-packages group with 4 updates in the / directory: sqlalchemy, ruff, mypy and matplotlib.

Updates sqlalchemy from 2.0.36 to 2.0.37

Release notes

Sourced from sqlalchemy's releases.

2.0.37

Released: January 9, 2025

orm

  • [orm] [bug] Fixed issue regarding Union types that would be present in the _orm.registry.type_annotation_map of a _orm.registry or declarative base class, where a Mapped element that included one of the subtypes present in that Union would be matched to that entry, potentially ignoring other entries that matched exactly. The correct behavior now takes place such that an entry should only match in _orm.registry.type_annotation_map exactly, as a Union type is a self-contained type. For example, an attribute with Mapped[float] would previously match to a _orm.registry.type_annotation_map entry Union[float, Decimal]; this will no longer match and will now only match to an entry that states float. Pull request courtesy Frazer McLean.

    References: #11370

  • [orm] [bug] Fixed bug in how type unions were handled within _orm.registry.type_annotation_map as well as _orm.Mapped that made the lookup behavior of a | b different from that of Union[a, b].

    References: #11944

  • [orm] [bug] Consistently handle TypeAliasType (defined in PEP 695) obtained with the type X = int syntax introduced in python 3.12. Now in all cases one such alias must be explicitly added to the type map for it to be usable inside Mapped. This change also revises the approach added in #11305, now requiring the TypeAliasType to be added to the type map. Documentation on how unions and type alias types are handled by SQLAlchemy has been added in the orm_declarative_mapped_column_type_map section of the documentation.

    References: #11955

  • [orm] [bug] Fixed regression caused by an internal code change in response to recent Mypy releases that caused the very unusual case of a list of ORM-mapped attribute expressions passed to ColumnOperators.in_() to no longer be accepted.

    References: #12019

  • [orm] [bug] Fixed issues in type handling within the _orm.registry.type_annotation_map feature which prevented the use of unions, using either pep-604 or Union syntaxes under future

... (truncated)

Commits

Updates ruff from 0.8.0 to 0.9.4

Release notes

Sourced from ruff's releases.

0.9.4

Release Notes

Preview features

  • [airflow] Extend airflow context parameter check for BaseOperator.execute (AIR302) (#15713)
  • [airflow] Update AIR302 to check for deprecated context keys (#15144)
  • [flake8-bandit] Permit suspicious imports within stub files (S4) (#15822)
  • [pylint] Do not trigger PLR6201 on empty collections (#15732)
  • [refurb] Do not emit diagnostic when loop variables are used outside loop body (FURB122) (#15757)
  • [ruff] Add support for more re patterns (RUF055) (#15764)
  • [ruff] Check for shadowed map before suggesting fix (RUF058) (#15790)
  • [ruff] Do not emit diagnostic when all arguments to zip() are variadic (RUF058) (#15744)
  • [ruff] Parenthesize fix when argument spans multiple lines for unnecessary-round (RUF057) (#15703)

Rule changes

  • Preserve quote style in generated code (#15726, #15778, #15794)
  • [flake8-bugbear] Exempt NewType calls where the original type is immutable (B008) (#15765)
  • [pylint] Honor banned top-level imports by TID253 in PLC0415. (#15628)
  • [pyupgrade] Ignore is_typeddict and TypedDict for deprecated-import (UP035) (#15800)

CLI

  • Fix formatter warning message for flake8-quotes option (#15788)
  • Implement tab autocomplete for ruff config (#15603)

Bug fixes

  • [flake8-comprehensions] Do not emit unnecessary-map diagnostic when lambda has different arity (C417) (#15802)
  • [flake8-comprehensions] Parenthesize sorted when needed for unnecessary-call-around-sorted (C413) (#15825)
  • [pyupgrade] Handle end-of-line comments for quoted-annotation (UP037) (#15824)

Documentation

  • Add missing config docstrings (#15803)
  • Add references to trio.run_process and anyio.run_process (#15761)
  • Use uv init --lib in tutorial (#15718)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.9.4

Preview features

  • [airflow] Extend airflow context parameter check for BaseOperator.execute (AIR302) (#15713)
  • [airflow] Update AIR302 to check for deprecated context keys (#15144)
  • [flake8-bandit] Permit suspicious imports within stub files (S4) (#15822)
  • [pylint] Do not trigger PLR6201 on empty collections (#15732)
  • [refurb] Do not emit diagnostic when loop variables are used outside loop body (FURB122) (#15757)
  • [ruff] Add support for more re patterns (RUF055) (#15764)
  • [ruff] Check for shadowed map before suggesting fix (RUF058) (#15790)
  • [ruff] Do not emit diagnostic when all arguments to zip() are variadic (RUF058) (#15744)
  • [ruff] Parenthesize fix when argument spans multiple lines for unnecessary-round (RUF057) (#15703)

Rule changes

  • Preserve quote style in generated code (#15726, #15778, #15794)
  • [flake8-bugbear] Exempt NewType calls where the original type is immutable (B008) (#15765)
  • [pylint] Honor banned top-level imports by TID253 in PLC0415. (#15628)
  • [pyupgrade] Ignore is_typeddict and TypedDict for deprecated-import (UP035) (#15800)

CLI

  • Fix formatter warning message for flake8-quotes option (#15788)
  • Implement tab autocomplete for ruff config (#15603)

Bug fixes

  • [flake8-comprehensions] Do not emit unnecessary-map diagnostic when lambda has different arity (C417) (#15802)
  • [flake8-comprehensions] Parenthesize sorted when needed for unnecessary-call-around-sorted (C413) (#15825)
  • [pyupgrade] Handle end-of-line comments for quoted-annotation (UP037) (#15824)

Documentation

  • Add missing config docstrings (#15803)
  • Add references to trio.run_process and anyio.run_process (#15761)
  • Use uv init --lib in tutorial (#15718)

0.9.3

Preview features

  • [airflow] Argument fail_stop in DAG has been renamed as fail_fast (AIR302) (#15633)
  • [airflow] Extend AIR303 with more symbols (#15611)
  • [flake8-bandit] Report all references to suspicious functions (S3) (#15541)
  • [flake8-pytest-style] Do not emit diagnostics for empty for loops (PT012, PT031) (#15542)
  • [flake8-simplify] Avoid double negations (SIM103) (#15562)
  • [pyflakes] Fix infinite loop with unused local import in __init__.py (F401) (#15517)
  • [pylint] Do not report methods with only one EM101-compatible raise (PLR6301) (#15507)
  • [pylint] Implement redefined-slots-in-subclass (W0244) (#9640)

... (truncated)

Commits
  • 854ab03 Bump version to 0.9.4 (#15831)
  • b0b8b06 Remove semicolon after TypeScript interface definition (#15827)
  • 451f251 [red-knot] Clarify behavior when redeclaring base class attributes (#15826)
  • 13cf3e6 [flake8-comprehensions] Parenthesize sorted when needed for `unnecessary-...
  • 56f956a [pyupgrade] Handle end-of-line comments for quoted-annotation (UP037) (...
  • 7a10a40 [flake8-bandit] Permit suspicious imports within stub files (S4) (#15822)
  • 3125332 [red-knot] Format mdtest snippets with the latest version of black (#15819)
  • 15d886a [red-knot] Consider all definitions after terminal statements unreachable (#1...
  • e1c9d10 [flake8-comprehensions] Do not emit unnecessary-map diagnostic when lambd...
  • 23c9884 Preserve quotes in generated f-strings (#15794)
  • Additional commits viewable in compare view

Updates mypy from 1.13.0 to 1.14.1

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Performance improvements

Mypy may be 5-30% faster. This improvement comes largely from tuning the performance of the garbage collector.

Contributed by Jukka Lehtosalo (PR 18306).

Mypyc accelerated mypy wheels for aarch64

Mypy can compile itself to C extension modules using mypyc. This makes mypy 3-5x faster than if mypy is interpreted with pure Python. We now build and upload mypyc accelerated mypy wheels for manylinux_aarch64 to PyPI, making it easy for users on such platforms to realise this speedup.

Contributed by Christian Bundy and Marc Mueller (PR mypy_mypyc-wheels#76, PR mypy_mypyc-wheels#89).

--strict-bytes

By default, mypy treats an annotation of bytes as permitting bytearray and memoryview. PEP 688 specified the removal of this special case. Use this flag to disable this behavior. --strict-bytes will be enabled by default in mypy 2.0.

Contributed by Ali Hamdan (PR 18263) and Shantanu Jain (PR 13952).

Improvements to reachability analysis and partial type handling in loops

This change results in mypy better modelling control flow within loops and hence detecting several issues it previously did not detect. In some cases, this change may require use of an additional explicit annotation of a variable.

Contributed by Christoph Tyralla (PR 18180, PR 18433).

(Speaking of partial types, another reminder that mypy plans on enabling --local-partial-types by default in mypy 2.0).

Better discovery of configuration files

Mypy will now walk up the filesystem (up until a repository or file system root) to discover configuration files. See the mypy configuration file documentation for more details.

... (truncated)

Commits

Updates matplotlib from 3.9.2 to 3.10.0

Release notes

Sourced from matplotlib's releases.

REL: v3.10.0

Highlights of this release include:

- Preliminary support for free-threaded CPython 3.13
- New more-accessible color cycle
- Dark-mode diverging colormaps
- Exception handling control
- InsetIndicator artist
- FillBetweenPolyCollection
- Fill between 3D lines
- Data in 3D plots can now be dynamically clipped to the axes view limits
- Rotating 3d plots with the mouse
- Increased Figure limits with Agg renderer
- Subfigures no longer provisional
- Subfigures are now added in row-major order

Matplotlib v3.10.0rc1

This is the first release candidate for Matplotlib 3.10.0

REL: 3.9.4

This is the fourth bugfix release of the 3.9.x series.

This release contains two bug-fixes:

  • Fix toolbar icons in GTK backend
  • Fix Poly3DCollection initialization with list of lists

REL: 3.9.3

This is the third bugfix release of the 3.9.x series.

This release contains several bug-fixes and adjustments:

  • Fix axline with extremely small slopes
  • Fix axline with non-linear axis scales
  • Fix minimumSizeHint with Qt backend
  • Fix config directory usage when it's behind a symlink
  • Fix draggable legend when blitting is enabled
  • Fix high CPU utilization in the macosx backend
  • Fix multiple hatch edgecolors passed to contourf
  • Improve compatibility with pytest 8.2.0
Commits
  • 8d64f03 REL: v3.10.0 release
  • d9dfee8 [doc] Fix dead links
  • 87a603f Update release notes for 3.10.0
  • cdecf97 Update github stats for 3.10
  • b8d19bd Merge pull request #29306 from meeseeksmachine/auto-backport-of-pr-29242-on-v...
  • a42d0ed Backport PR #29242: DOC: Add kwdoc list to scatter() docstring
  • 1900640 Merge pull request #29299 from QuLogic/merge-v39x
  • 815389c Merge branch 'v3.9.x' into v3.10.x
  • 73873c0 DOC: Create release notes for 3.9.4
  • 9d17a2b DOC: Add Zenodo DOI for 3.9.4
  • 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

… updates

Bumps the python-packages group with 4 updates in the / directory: [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy), [ruff](https://github.com/astral-sh/ruff), [mypy](https://github.com/python/mypy) and [matplotlib](https://github.com/matplotlib/matplotlib).


Updates `sqlalchemy` from 2.0.36 to 2.0.37
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

Updates `ruff` from 0.8.0 to 0.9.4
- [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.8.0...0.9.4)

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

Updates `matplotlib` from 3.9.2 to 3.10.0
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](matplotlib/matplotlib@v3.9.2...v3.10.0)

---
updated-dependencies:
- dependency-name: sqlalchemy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from TheFoxKD as a code owner February 3, 2025 16:38
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 3, 2025
@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Feb 10, 2025

Superseded by #9.

@dependabot dependabot bot closed this Feb 10, 2025
@dependabot dependabot bot deleted the dependabot/pip/python-packages-516d7fcbbd branch February 10, 2025 17:11
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