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 astroid from 2.4.2 to 2.5 #281

Merged
merged 1 commit into from
Feb 16, 2021

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)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 16, 2021
@codeclimate
Copy link

codeclimate bot commented Feb 16, 2021

Code Climate has analyzed commit ae5c3c4 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 98.9% (0.0% change).

View more on Code Climate.

@dependabot-preview dependabot-preview bot merged commit a6f533c into master Feb 16, 2021
@dependabot-preview dependabot-preview bot deleted the dependabot/pip/astroid-2.5 branch February 16, 2021 05:20
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants