Skip to content

Bump astroid from 1.6.1 to 2.4.0#114

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/astroid-2.4.0
Closed

Bump astroid from 1.6.1 to 2.4.0#114
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/astroid-2.4.0

Conversation

@dependabot-preview
Copy link

Bumps astroid from 1.6.1 to 2.4.0.

Release notes

Sourced from astroid's releases.

astroid 2.4.0

Release Date: 2020-04-27

  • Expose a ast_from_string method in AstroidManager, which will accept source code as a string and return the corresponding astroid object

    Closes PyCQA/astroid#725

  • BoundMethod.implicit_parameters returns a proper value for __new__

    Close PyCQA/pylint#2335

  • Allow slots added dynamically to a class to still be inferred

    Close PyCQA/pylint#2334

  • Allow FunctionDef.getattr to look into both instance attrs and special attributes

    Close PyCQA/pylint#1078

  • Infer qualified classmethod as a classmethod.

    Close PyCQA/pylint#3417

  • Prevent a recursion error to happen when inferring the declared metaclass of a class

    Close #749

  • Raise AttributeInferenceError when getattr() receives an empty name

    Close PyCQA/pylint#2991

  • Prevent a recursion error for self reference variables and type() calls.

    Close #199

  • Do not infer the first argument of a staticmethod in a metaclass as the class itself

    Close PyCQA/pylint#3032

  • NodeNG.bool_value() gained an optional context parameter

    We need to pass an inference context downstream when inferring the boolean value of a node in order to prevent recursion errors and double inference.

    This fix prevents a recursion error with dask library.

    Close PyCQA/pylint#2985

  • Pass a context argument to astroid.Arguments to prevent recursion errors

... (truncated)
Changelog

Sourced from astroid's changelog.

What's New in astroid 2.4.0?

Release Date: 2020-04-27

  • Expose a ast_from_string method in AstroidManager, which will accept source code as a string and return the corresponding astroid object

    Closes PyCQA/astroid#725

  • BoundMethod.implicit_parameters returns a proper value for __new__

    Close PyCQA/pylint#2335

  • Allow slots added dynamically to a class to still be inferred

    Close PyCQA/pylint#2334

  • Allow FunctionDef.getattr to look into both instance attrs and special attributes

    Close PyCQA/pylint#1078

  • Infer qualified classmethod as a classmethod.

    Close PyCQA/pylint#3417

  • Prevent a recursion error to happen when inferring the declared metaclass of a class

    Close #749

  • Raise AttributeInferenceError when getattr() receives an empty name

    Close PyCQA/pylint#2991

  • Prevent a recursion error for self reference variables and type() calls.

    Close #199

  • Do not infer the first argument of a staticmethod in a metaclass as the class itself

    Close PyCQA/pylint#3032

  • NodeNG.bool_value() gained an optional context parameter

    We need to pass an inference context downstream when inferring the boolean value of a node in order to prevent recursion errors and double inference.

    This fix prevents a recursion error with dask library.

    Close PyCQA/pylint#2985

... (truncated)
Commits
  • 6c8bfb4 Prepare 2.4.0 release of astroid
  • c2e6a88 Add missing copyright annotations for the past releases
  • de15854 Transform read_module() into a lambda to prevent it being marked as a bound m...
  • 42e4b35 Export six.moves.reload_module from importlib not imp
  • f6a36d9 Fix formatting error
  • 2da60a0 Inspect compiled CFFI extension members
  • 2e1ba8e Add posonlyargs_annotations to Arguments.get_children()
  • a50d473 Add posonlyargs_annotations to Arguments.as_string()
  • f62be0a BoundMethod.implicit_parameters returns a proper value for __new__
  • 76fd7aa Allow FunctionDef.getattr to look into both instance attrs and special attr...
  • 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 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
Copy link
Author

Superseded by #117.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/astroid-2.4.0 branch May 5, 2020 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants