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

chore(deps): update dependency ruff to v0.6.9 #6762

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zemnmez-renovate-bot
Copy link
Collaborator

@zemnmez-renovate-bot zemnmez-renovate-bot commented Oct 4, 2024

This PR contains the following updates:

Package Update Change
ruff (source, changelog) patch ==0.6.8 -> ==0.6.9

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

astral-sh/ruff (ruff)

v0.6.9

Compare Source

Preview features
  • Fix codeblock dynamic line length calculation for indented docstring examples (#​13523)
  • [refurb] Mark FURB118 fix as unsafe (#​13613)
Rule changes
  • [pydocstyle] Don't raise D208 when last line is non-empty (#​13372)
  • [pylint] Preserve trivia (i.e. comments) in PLR5501 autofix (#​13573)
Configuration
  • [pyflakes] Add allow-unused-imports setting for unused-import rule (F401) (#​13601)
Bug fixes
  • Support ruff discovery in pip build environments (#​13591)
  • [flake8-bugbear] Avoid short circuiting B017 for multiple context managers (#​13609)
  • [pylint] Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis (#​13527)
  • [pyupgrade] Fix UP043 to apply to collections.abc.Generator and collections.abc.AsyncGenerator (#​13611)
  • [refurb] Fix handling of slices in tuples for FURB118, e.g., x[:, 1] (#​13518)
Documentation
  • Update GitHub Action link to astral-sh/ruff-action (#​13551)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@zemnmez-renovate-bot
Copy link
Collaborator Author

zemnmez-renovate-bot commented Oct 4, 2024

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: requirements.txt
[06:53:56.254] INFO (10296): Installing pip [email protected]...
[06:53:59.182] ERROR (10296): Command failed with exit code 1: hashin --version
[06:53:59.182] FATAL (10296): Install tool hashin failed in 2.9s.

Traceback (most recent call last):
  File "/opt/containerbase/tools/hashin/1.0.2/3.13.0/bin/hashin", line 5, in <module>
    from hashin import main
  File "/opt/containerbase/tools/hashin/1.0.2/3.13.0/lib/python3.13/site-packages/hashin.py", line 10, in <module>
    import cgi
ModuleNotFoundError: No module named 'cgi'

File name: undefined
Command failed: CARGO_BAZEL_REPIN=true npx --yes @bazel/bazelisk run --tool_tag=postupgrade //ci:postupgrade
INFO: Invocation ID: acf8eaa3-aa14-4c8e-bc79-366a26f8b045
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Analyzing: target //ci:postupgrade (0 packages loaded, 0 targets configured)
Analyzing: target //ci:postupgrade (0 packages loaded, 0 targets configured)
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
INFO: Analyzed target //ci:postupgrade (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //py/ci/postUpgrade:postUpgrade_bin up-to-date:
  dist/bin/py/ci/postUpgrade/postUpgrade_bin
  dist/bin/py/ci/postUpgrade/postUpgrade_bin.venv.pth
INFO: Elapsed time: 1.148s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Running command line: dist/bin/py/ci/postUpgrade/postUpgrade_bin
Traceback (most recent call last):
  File "/opt/containerbase/cache/bazel/_bazel_ubuntu/e7aba95ef79b2dab8608435d3191c63a/execroot/_main/bazel-out/k8-fastbuild/bin/py/ci/postUpgrade/postUpgrade_bin.runfiles/_main/py/ci/postUpgrade/__main__.py", line 69, in <module>
    modify_non_bazel_lockfiles()
  File "/opt/containerbase/cache/bazel/_bazel_ubuntu/e7aba95ef79b2dab8608435d3191c63a/execroot/_main/bazel-out/k8-fastbuild/bin/py/ci/postUpgrade/postUpgrade_bin.runfiles/_main/py/ci/postUpgrade/__main__.py", line 59, in modify_non_bazel_lockfiles
    go_mod_tidy()
  File "/opt/containerbase/cache/bazel/_bazel_ubuntu/e7aba95ef79b2dab8608435d3191c63a/execroot/_main/bazel-out/k8-fastbuild/bin/py/ci/postUpgrade/postUpgrade_bin.runfiles/_main/py/ci/postUpgrade/__main__.py", line 44, in go_mod_tidy
    return bazel_run(["@@//sh/bin:go", "--", "mod", "tidy"])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/containerbase/cache/bazel/_bazel_ubuntu/e7aba95ef79b2dab8608435d3191c63a/execroot/_main/bazel-out/k8-fastbuild/bin/py/ci/postUpgrade/postUpgrade_bin.runfiles/_main/py/ci/postUpgrade/__main__.py", line 33, in bazel_run
    return bazel(
           ^^^^^^
  File "/opt/containerbase/cache/bazel/_bazel_ubuntu/e7aba95ef79b2dab8608435d3191c63a/execroot/_main/bazel-out/k8-fastbuild/bin/py/ci/postUpgrade/postUpgrade_bin.runfiles/_main/py/ci/postUpgrade/__main__.py", line 26, in bazel
    return run(
           ^^^^
  File "/opt/containerbase/cache/bazel/_bazel_ubuntu/e7aba95ef79b2dab8608435d3191c63a/execroot/_main/bazel-out/k8-fastbuild/bin/py/ci/postUpgrade/postUpgrade_bin.runfiles/_main/py/ci/postUpgrade/__main__.py", line 23, in run
    return _run(*args, env = env | base_env, cwd=wd, **kwargs)
                             ~~~~^~~~~~~~~~
TypeError: unsupported operand type(s) for |: 'list' and 'dict'

@zemnmez-renovate-bot zemnmez-renovate-bot force-pushed the renovate/ruff-0.x branch 18 times, most recently from 31587b3 to b722a9a Compare October 8, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant