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 pyflakes from 2.2.0 to 3.1.0 in /hack/check-python #1463

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 31, 2023

Bumps pyflakes from 2.2.0 to 3.1.0.

Changelog

Sourced from pyflakes's changelog.

3.1.0 (2023-07-29)

  • Drop support for EOL python 3.6 / 3.7
  • Remove ContinueInFinally check (only relevant in python < 3.8)
  • Fix forward annotations inside a nested scope
  • Produce an error when a definition shadows an unused variable
  • Fix accessed global annotation being redefined in a local scope
  • Allow redefinition of functions across match arms
  • Fix potential None for lineno during tokenization errors
  • Add support for PEP 695 and python 3.12

3.0.1 (2022-11-24)

  • Fix crash on augmented assign to print builtin

3.0.0 (2022-11-23)

  • Detect undefined name in variable defined by an annotated assignment
  • Add a new error for names which are annotated but unused
  • Remove handling of python 2.x # type: comments. Use annotations instead

2.5.0 (2022-07-30)

  • Drop support for EOL python 2.7 / 3.4 / 3.5
  • Ignore __all__ when not directly assigned
  • Handle TypeAlias annotations as aliases (PEP 613)
  • Assignment expressions (:=) target outer scope in comprehensions
  • Add support for new python 3.11 syntax
  • Unify output so it is always filename:lineno:col: message
  • Properly report SyntaxError from stdin in python < 3.9
  • Fix offsets of SyntaxErrors in pypy

2.4.0 (2021-10-06)

  • Remove unused tracing code (traceTree)
  • Add support for match statement
  • Detect typing module attributes when imported with import ... as ...

2.3.1 (2021-03-24)

  • Fix regression in 2.3.0: type annotations no longer redefine imports

2.3.0 (2021-03-14)

  • Recognize tuple concatenation in __all__ export definitions
  • Better support use of annotation-only assignments when using from __future__ import annotations
  • Recognize special-case typing for Annotated
  • Fix undefined name __qualname__ in class scope
  • Recognize special-cased typing for TypeVar

... (truncated)

Commits
  • 58b94a0 Release 3.1.0
  • afe2c4d 3.12: add support for type params and type statements (#778)
  • 0727850 fix test failures in python 3.12 (#777)
  • ad5e15f remove deprecated ast references (#776)
  • 836631f fix error reporter and testsuite in 3.11.4+ (#775)
  • f2671ff allow redefinition of functions across match arms (#772)
  • e19886e fix accessed global annotation being redefined in a local scope (#765)
  • e932464 produce an error when a definition shadows an unused assignment (#761)
  • 33bbb82 pushScope / popScope -> with in_scope(...) (#755)
  • c3273c5 handle deferred checking as a queue (#754)
  • 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 dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 31, 2023
@dependabot dependabot bot requested review from baijum and filariow July 31, 2023 06:13
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 31, 2023

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a redhat-developer member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@github-actions github-actions bot added the acceptance-tests-skipped Marks PR that does not need to run the acceptance tests label Jul 31, 2023
@codecov
Copy link

codecov bot commented Jul 31, 2023

Codecov Report

Merging #1463 (1d2cdd8) into master (bbe7772) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1463   +/-   ##
=======================================
  Coverage   58.16%   58.16%           
=======================================
  Files          35       35           
  Lines        3014     3014           
=======================================
  Hits         1753     1753           
  Misses       1093     1093           
  Partials      168      168           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bbe7772...1d2cdd8. Read the comment docs.

@sadlerap
Copy link
Contributor

I think if we merge #1467, this should be good to merge.

@sadlerap
Copy link
Contributor

@dependabot rebase

Bumps [pyflakes](https://github.com/PyCQA/pyflakes) from 2.2.0 to 3.1.0.
- [Changelog](https://github.com/PyCQA/pyflakes/blob/main/NEWS.rst)
- [Commits](PyCQA/pyflakes@2.2.0...3.1.0)

---
updated-dependencies:
- dependency-name: pyflakes
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/hack/check-python/pyflakes-3.1.0 branch from a2d4037 to 1d2cdd8 Compare August 10, 2023 18:51
@sadlerap
Copy link
Contributor

/ok-to-test

@sadlerap
Copy link
Contributor

/test 4.10-acceptance
/test 4.11-acceptance
/test 4.12-acceptance
/test 4.13-acceptance

Copy link
Contributor

@sadlerap sadlerap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sadlerap

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 3a1434a into master Aug 11, 2023
23 checks passed
@dependabot dependabot bot deleted the dependabot/pip/hack/check-python/pyflakes-3.1.0 branch August 11, 2023 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acceptance-tests-skipped Marks PR that does not need to run the acceptance tests approved dependencies Pull requests that update a dependency file lgtm ok-to-test python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants