segmentio / analytics-python

The hassle-free way to integrate analytics into any python application.
https://segment.com/libraries/python
MIT License
244 stars 149 forks source link

Bump astroid from 1.6.6 to 3.1.0 #447

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 9 months ago

Bumps astroid from 1.6.6 to 3.1.0.

Release notes

Sourced from astroid's releases.

astroid-2.5.6

astroid-2.5.5

  • Fixes the discord link in the project urls of the package. Closes PyCQA/pylint#4393

astroid-2.5.4

  • The packaging is now done via setuptools exclusively. doc, tests, and Changelog are not packaged anymore - reducing the size of the package greatly.

  • Debian packaging is now (officially) done in https://salsa.debian.org/python-team/packages/astroid.

  • __pkginfo__ now only contain __version__ (also accessible with astroid.__version__), other meta-information are still accessible with import importlib;metadata.metadata('astroid').

  • Added inference tip for typing.Tuple alias

  • Fix crash when evaluating typing.NamedTuple

    Closes PyCQA/pylint#4383

  • COPYING was removed in favor of COPYING.LESSER and the latter was renamed to LICENSE to make more apparent that the code is licensed under LGPLv2 or later.

  • Moved from appveyor and travis to Github Actions for continuous integration.

astroid-2.5.3

  • Takes into account the fact that subscript inferring for a ClassDef may involve class_getitem method

  • Reworks the collections and typing brain so that pylint`s acceptance tests are fine.

    Closes PyCQA/pylint#4206

  • Use inference_tip for typing.TypedDict brain.

  • Fix mro for classes that inherit from typing.Generic

  • Add inference tip for typing.Generic and typing.Annotated with __class_getitem__

    Closes PyCQA/pylint#2822

astroid-2.5.2

... (truncated)

Changelog

Sourced from astroid's changelog.

What's New in astroid 3.1.0?

Release date: 2024-02-23

  • Include PEP 695 (Python 3.12) generic type syntax nodes in get_children(), allowing checkers to visit them.

    Refs pylint-dev/pylint#9193

  • Add __main__ as a possible inferred value for __name__ to improve control flow inference around if __name__ == "__main__": guards.

    Closes #2071

  • Following a deprecation period, the names arg to the Import constructor and the op arg to the BoolOp constructor are now required, and the doc args to the PartialFunction and Property constructors have been removed (call postinit(doc_node=...) instead.)

  • Following a deprecation announced in astroid 1.5.0, the alias AstroidBuildingException is removed in favor of AstroidBuildingError.

  • Include modname in AST warnings. Useful for invalid escape sequence warnings with Python 3.12.

  • RecursionError is now trapped and logged out as UserWarning during astroid node transformations with instructions about raising the system recursion limit.

    Closes pylint-dev/pylint#8842

  • Suppress SyntaxWarning for invalid escape sequences on Python 3.12 when parsing modules.

    Closes pylint-dev/pylint#9322

What's New in astroid 3.0.3?

Release date: 2024-02-04

What's New in astroid 3.0.2?

Release date: 2023-12-12

... (truncated)

Commits
  • 3fb17a1 Bump astroid to 3.1.0, update changelog
  • 8c7106e Log RecursionErrors out as warnings during node transformation (#2385)
  • 6519a0e Fix coverage artifact combination step (#2388)
  • ddbefc1 Simulate editable_mode=compat (#2387)
  • 53b0703 Bump actions/download-artifact to 4.1.0
  • 18b6c4e Bump actions/upload-artifact from 3.1.3 to 4.0.0
  • 07419f0 Suppress SyntaxWarnings when parsing modules (#2386)
  • e26f097 Remove AstroidBuildingException (predecessor of AstroidBuildingError) (#2384)
  • 41d9196 [pre-commit.ci] pre-commit autoupdate (#2383)
  • 35dba66 Include modname in AST warnings (#2380)
  • Additional commits viewable in compare view


Dependabot compatibility score

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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 9 months ago

Dependabot tried to add @heitorsampaio as a reviewer to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/segmentio/analytics-python/pulls/447/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the segmentio/analytics-python repository. // See: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request
dependabot[bot] commented 9 months ago

Looks like astroid is no longer a dependency, so this is no longer needed.