Skip to content
This repository was archived by the owner on Jun 14, 2021. It is now read-only.

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps astroid from 2.4.2 to 2.5.

Release notes

Sourced from astroid's releases.

astroid 2.5

  • Adds attr_fset in the PropertyModel class.

    Fixes PyCQA/pylint#3480

  • Remove support for Python 3.5.

  • Remove the runtime dependency on six. The six brain remains in astroid.

    Fixes PyCQA/astroid#863

  • Enrich the brain_collection module so that __class_getitem__ method is added to deque for python version above 3.9.

  • The context.path is now a dict and the context.push method returns True if the node has been visited a certain amount of times.

    Close #669

  • Adds a brain for type object so that it is possible to write type[int] in annotation.

    Fixes PyCQA/pylint#4001

  • Add __class_getitem__ method to subprocess.Popen brain under Python 3.9 so that it is seen as subscriptable by pylint.

    Fixes PyCQA/pylint#4034

  • Adds degrees, radians, which are numpy ufunc functions, in the numpy brain. Adds random function in the numpy.random brain.

    Fixes PyCQA/pylint#3856

  • Fix deprecated importlib methods

    Closes #703

  • Fix a crash in inference caused by Uninferable container elements

    Close #866

  • Add python 3.9 support.

  • The flat attribute of numpy.ndarray is now inferred as an numpy.ndarray itself. It should be a numpy.flatiter instance, but this class is not yet available in the numpy brain.

    Fixes PyCQA/pylint#3640

  • Fix a bug for dunder methods inference of function objects

    Fixes #819

... (truncated)

Changelog

Sourced from astroid's changelog.

What's New in astroid 2.5?

Release Date: 2021-02-15

  • Adds attr_fset in the PropertyModel class.

    Fixes PyCQA/pylint#3480

  • Remove support for Python 3.5.

  • Remove the runtime dependency on six. The six brain remains in astroid.

    Fixes PyCQA/astroid#863

  • Enrich the brain_collection module so that __class_getitem__ method is added to deque for python version above 3.9.

  • The context.path is now a dict and the context.push method returns True if the node has been visited a certain amount of times.

    Close #669

  • Adds a brain for type object so that it is possible to write type[int] in annotation.

    Fixes PyCQA/pylint#4001

  • Add __class_getitem__ method to subprocess.Popen brain under Python 3.9 so that it is seen as subscriptable by pylint.

    Fixes PyCQA/pylint#4034

  • Adds degrees, radians, which are numpy ufunc functions, in the numpy brain. Adds random function in the numpy.random brain.

    Fixes PyCQA/pylint#3856

  • Fix deprecated importlib methods

    Closes #703

  • Fix a crash in inference caused by Uninferable container elements

    Close #866

  • Add python 3.9 support.

  • The flat attribute of numpy.ndarray is now inferred as an numpy.ndarray itself. It should be a numpy.flatiter instance, but this class is not yet available in the numpy brain.

    Fixes PyCQA/pylint#3640

... (truncated)

Commits
  • 0f97f79 Merge pull request #894 from hippo91/astroid_2.5_test
  • 636d0f5 Update copyright notice
  • 8af4a45 Prepare version 2.5
  • 6189473 Move the unit test to unittest_brain because it needs six
  • dc560d4 The node.bases has not to be tweaked otherwise leads to false positive unused...
  • 0d8ed3f pylint + black formatting
  • 4744833 Adds an entry
  • 3c6a22e Adds docstring and reformat attr_fset method
  • 7179392 Adds a test for property setter
  • 61a0347 In the attr_fset method, retrieve the FunctionDef corresponding to setter pro...
  • 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.

If all status checks pass Dependabot will automatically merge this pull request.


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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [astroid](https://github.com/PyCQA/astroid) from 2.4.2 to 2.5.
- [Release notes](https://github.com/PyCQA/astroid/releases)
- [Changelog](https://github.com/PyCQA/astroid/blob/master/ChangeLog)
- [Commits](pylint-dev/astroid@astroid-2.4.2...astroid-2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 15, 2021
@dependabot-preview dependabot-preview bot merged commit c876842 into main Feb 15, 2021
@dependabot-preview dependabot-preview bot deleted the dependabot/pip/astroid-2.5 branch February 15, 2021 21:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants