mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 06:11:21 +00:00
10167 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
![]() |
6be0a5057d
|
[red-knot] Disjointness for callable types (#17094)
## Summary Part of #15382, this PR adds support for disjointness between two callable types. They are never disjoint because there exists a callable type that's a subtype of all other callable types: ```py (*args: object, **kwargs: object) -> Never ``` The `Never` is a subtype of every fully static type thus a callable type that has the return type of `Never` means that it is a subtype of every return type. ## Test Plan Add test cases related to mixed parameter kinds, gradual form (`...`) and `Never` type. |
||
![]() |
d6dcc377f7
|
[red-knot] Flatten Type::Callable into four Type variants (#17126)
## Summary Currently our `Type::Callable` wraps a four-variant `CallableType` enum. But as time has gone on, I think we've found that the four variants in `CallableType` are really more different to each other than they are similar to each other: - `GeneralCallableType` is a structural type describing all callable types with a certain signature, but the other three types are "literal types", more similar to the `FunctionLiteral` variant - `GeneralCallableType` is not a singleton or a single-valued type, but the other three are all single-valued types (`WrapperDescriptorDunderGet` is even a singleton type) - `GeneralCallableType` has (or should have) ambiguous truthiness, but all possible inhabitants of the other three types are always truthy. - As a structural type, `GeneralCallableType` can contain inner unions and intersections that must be sorted in some contexts in our internal model, but this is not true for the other three variants. This PR flattens `Type::Callable` into four distinct `Type::` variants. In the process, it fixes a number of latent bugs that were concealed by the current architecture but are laid bare by the refactor. Unit tests for these bugs are included in the PR. |
||
![]() |
a43b683d08
|
mdtest.py: do a full mdtest run immediately when the script is executed (#17128)
## Summary
Currently if I run `uv run crates/red_knot_python_semantic/mdtest.py`
from the Ruff repo root, I get this output:
```
~/dev/ruff (main)⚡ % uv run crates/red_knot_python_semantic/mdtest.py
Ready to watch for changes...
```
...And I then have to make some spurious whitespace changes or something
to a test file in order to get the script to actually run mdtest. This
PR changes mdtest.py so that it does an initial run of all mdtests when
you invoke the script, and _then_ starts watching for changes in test
files/Rust code.
|
||
![]() |
d29d4956de
|
[red-knot] Fix callable subtyping for standard parameters (#17125)
## Summary This PR fixes a bug in callable subtyping to consider both the positional and keyword form of the standard parameter in the supertype when matching against variadic, keyword-only and keyword-variadic parameter in the subtype. This is done by collecting the unmatched standard parameters and then checking them against the keyword-only / keyword-variadic parameters after the positional loop. ## Test Plan Add test cases. |
||
![]() |
c74ba00219
|
[red-knot] Fix more redundant-cast false positives (#17119)
## Summary
There are quite a few places we infer `Todo` types currently, and some
of them are nested somewhat deeply in type expressions. These can cause
spurious issues for the new `redundant-cast` diagnostics. We fixed all
the false positives we saw in the mypy_primer report before merging
https://github.com/astral-sh/ruff/pull/17100, but I think there are
still lots of places where we'd emit false positives due to this check
-- we currently don't run on that many projects at all in our
mypy_primer check:
|
||
![]() |
a15404a5c1
|
Sync vendored typeshed stubs (#17106)
Close and reopen this PR to trigger CI Co-authored-by: typeshedbot <> |
||
![]() |
3f63c08728
|
[red-knot] support Any as a class in typeshed (#17107)
## Summary In https://github.com/python/typeshed/pull/13520 the typeshed definition of `typing.Any` was changed from `Any = object()` to `class Any: ...`. Our automated typeshed updater pulled down this change in https://github.com/astral-sh/ruff/pull/17106, with the consequence that we no longer understand `Any`, which is... not good. This PR gives us the ability to understand `Any` defined as a class instead of `object()`. It doesn't remove our ability to understand the old form. Perhaps at some point we'll want to remove it, but for now we may as well support both old and new typeshed? This also directly patches typeshed to use the new form of `Any`; this is purely to work around our tests that no known class is inferred as `Unknown`, which otherwise fail with the old typeshed and the changes in this PR. (All other tests pass.) This patch to typeshed will shortly be subsumed by https://github.com/astral-sh/ruff/pull/17106 anyway. ## Test Plan Without the typeshed change in this PR, all tests pass except for the two `known_class_doesnt_fallback_to_unknown_unexpectedly_*` tests (so we still support the old form of defining `Any`). With the typeshed change in this PR, all tests pass, so we now support the new form in a way that is indistinguishable to our test suite from the old form. And indistinguishable to the ecosystem check: after rebasing https://github.com/astral-sh/ruff/pull/17106 on this PR, there's zero ecosystem impact. |
||
![]() |
5a876ed25e
|
Visit Identifier node as part of the SourceOrderVisitor (#17110)
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
## Summary I don't remember exactly when we made `Identifier` a node but it is now considered a node (it implements `AnyNodeRef`, it has a range). However, we never updated the `SourceOrderVisitor` to visit identifiers because we never had a use case for it and visiting new nodes can change how the formatter associates comments (breaking change!). This PR updates the `SourceOrderVisitor` to visit identifiers and changes the formatter comment visitor to skip identifiers (updating the visitor might be desired because it could help simplifying some comment placement logic but this is out of scope for this PR). ## Test Plan Tests, updated snapshot tests |
||
![]() |
49c25993eb
|
[red-knot] Don't infer Todo for quite so many tuple type expressions (#17116)
## Summary I noticed we were inferring `Todo` as the declared type for annotations such as `x: tuple[list[int], list[int]]`. This PR reworks our annotation parsing so that we instead infer `tuple[Todo, Todo]` for this annotation, which is quite a bit more precise. ## Test Plan Existing mdtest updated. |
||
![]() |
8e6a83b33e
|
CI: Run pre-commit on depot machine (#17120)
## Summary Sibling/alternate of #17108 (see https://github.com/astral-sh/ruff/pull/17108#issuecomment-2769200896). See if running the pre-commit CI step on Depot machines makes WASM-compiled shellcheck faster. ## Test Plan > How was it tested? We're doing it live! |
||
![]() |
d0c8eaa092
|
Error instead of panic! when running Ruff from a deleted directory (#16903) (#17054)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> Closes #16903 ## Summary Check if the current working directory exist. If not, provide an error instead of panicking. Fixed a stale comment in `resolve_default_files`. <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan I added a test to the `resolve_files.rs`. Manual testing follows steps of #16903 : - Terminal 1 ```bash mkdir tmp cd tmp ``` - Terminal 2 ```bash rm -rf tmp ``` - Terminal 1 ```bash ruff check ``` ## Open Issues / Questions to Reviewer All tests pass when executed with `cargo nextest run`. However, with `cargo test` the parallelization makes the other tests fail as we change the `pwd`. Serial execution with `cargo test` seems to require [another dependency or some workarounds](https://stackoverflow.com/questions/51694017/how-can-i-avoid-running-some-tests-in-parallel). Do you think an additional dependency or test complexity is worth testing this small edge case, do you have another implementation idea, or should i rather remove the test? --- P.S.: I'm currently participating in a batch at the [Recurse Center](https://www.recurse.com/) and would love to contribute more for the next six weeks to improve my Rust. Let me know if you're open to mentoring/reviewing and/or if you have specific areas where help would be most valued. --------- Co-authored-by: Micha Reiser <micha@reiser.io> |
||
![]() |
aa93005d8d
|
Control flow graph: setup (#17064)
This PR contains the scaffolding for a new control flow graph implementation, along with its application to the `unreachable` rule. At the moment, the implementation is a maximal over-approximation: no control flow is modeled and all statements are counted as reachable. With each additional statement type we support, this approximation will improve. So this PR just contains: - A `ControlFlowGraph` struct and builder - Support for printing the flow graph as a Mermaid graph - Snapshot tests for the actual graphs - (a very bad!) reimplementation of `unreachable` using the new structs - Snapshot tests for `unreachable` # Instructions for Viewing Mermaid snapshots Unfortunately I don't know how to convince GitHub to render the Mermaid graphs in the snapshots. However, you can view these locally in VSCode if you install an extension that supports Mermaid graphs in Markdown, and then add this to your `settings.json`: ```json "files.associations": { "*.md.snap": "markdown", } ``` |
||
![]() |
0073fd4945
|
[red-knot] Playground improvements (#17109)
## Summary A few smaller editor improvements that felt worth pulling out of my other feature PRs: * Load the `Editor` lazily: This allows splitting the entire monaco javascript into a separate async bundle, drastically reducing the size of the `index.js` * Fix the name of `to_range` and `text_range` to the more idiomatic js names `toRange` and `textRange` * Use one indexed values for `Position::line` and `Position::column`, which is the same as monaco (reduces the need for `+1` and `-1` operations spread all over the place) * Preserve the editor state when navigating between tabs. This ensures that selections are preserved even when switching between tabs. * Stop the default handling of the `Enter` key press event when renaming a file because it resulted in adding a newline in the editor |
||
![]() |
b57c62e6b3
|
[red-knot] IDE crate (#17045)
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
## Summary This PR adds a new but so far empty and unused `red_knot_ide` crate. This new crate's purpose is to implement IDE-specific functionality, such as go to definition, hover, completion, etc., which are used by both the LSP and the playground. The crate itself doesn't depend on `lsptypes`. The idea is that the facade crates (e.g., `red_knot_server`) convert external to internal types. Not only allows this to share the logic between server and playground, it also ensures that the core functionality is easier to test because it can be tested without needing a full LSP. ## Test Plan `cargo build` |
||
![]() |
a9dbfebc61
|
Update dependency vite to v6.2.4 (#17104) | ||
![]() |
53cfaaebc4
|
[red-knot] Add redundant-cast error (#17100)
## Summary Following up from earlier discussion on Discord, this PR adds logic to flag casts as redundant when the inferred type of the expression is the same as the target type. It should follow the semantics from [mypy](https://github.com/python/mypy/pull/1705). Example: ```python def f() -> int: return 10 # error: [redundant-cast] "Value is already of type `int`" cast(int, f()) ``` |
||
![]() |
3ad123bc23
|
[red-knot] Narrowing on in tuple[...] and in str (#17059)
## Summary Part of #13694 Seems there a bit more to cover regarding `in` and other types, but i can cover them in different PRs ## Test Plan Add `in.md` file in narrowing conditionals folder --------- Co-authored-by: Carl Meyer <carl@astral.sh> |
||
![]() |
a1535fbdbd
|
[red-knot] Change venv discovery (#17099)
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
## Summary Rewrites the virtual env discovery to: * Only use of `System` APIs, this ensures that the discovery will also work when using a memory file system (testing or WASM) * Don't traverse ancestor directories. We're not convinced that this is necessary. Let's wait until someone shows us a use case where it is needed * Start from the project root and not from the current working directory. This ensures that Red Knot picks up the right venv even when using `knot --project ../other-dir` ## Test Plan Existing tests, @ntBre tested that the `file_watching` tests no longer pick up his virtual env in a parent directory |
||
![]() |
4a6fa5fc27
|
[red-knot] Add assignability of function literals to callables (#17095)
## Summary Part of #16953 ## Test Plan Update is_assignable_to.md --------- Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com> |
||
![]() |
491a51960e
|
[ruff ] Support slices in RUF005 (#17078)
Some checks are pending
CI / cargo fuzz build (push) Blocked by required conditions
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
## Summary Teaches `RUF005` to also consider slices for concatenation. Other indexing (`foo[0] + [7, 8, 9] + bar[1]`) is explicitly not considered. ```diff foo = [4, 5, 6] -bar = [1, 2, 3] + foo -slicing1 = foo[:1] + [7, 8, 9] -slicing2 = [7, 8, 9] + bar[1:] -slicing3 = foo[:1] + [7, 8, 9] + bar[1:] +bar = [1, 2, 3, *foo] +slicing1 = [*foo[:1], 7, 8, 9] +slicing2 = [7, 8, 9, *bar[1:]] +slicing3 = [*foo[:1], 7, 8, 9, *bar[1:]] ``` ## Test Plan Manually tested (diff above from `ruff check --diff`), snapshot updated. |
||
![]() |
2d7f118f52
|
[red-knot] Binary operator inference: generalize code for non-instances (#17081)
## Summary Generalize the rich-comparison fallback code for binary operator inference. This gets rid of one `todo_type!(…)` and implements the last remaining failing case from https://github.com/astral-sh/ruff/issues/14200. closes https://github.com/astral-sh/ruff/issues/14200 ## Test Plan New Markdown tests. |
||
![]() |
3d1e5676fb
|
[red-knot] Add ParamSpecArgs and ParamSpecKwargs as KnownClass (#17086)
## Summary In preparation for #17017, where we will need them to suppress new false positives (once we understand the `ParamSpec.args`/`ParamSpec.kwargs` properties). ## Test Plan Tested on branch #17017 |
||
![]() |
0b1ab8fd5a
|
[airflow] Combine AIR302 matches (#17080)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary <!-- What's the purpose of the change? What does it do, and why? --> * Combine AIR302 matches * Found a few errors. Will be fixed in another PR ## Test Plan <!-- How was it tested? --> This PR does not change anything. The existing testing fixture should work as it used to be |
||
![]() |
d9616e61b0
|
[red-knot] Disallow todo_type! without custom message (#17083)
## Summary Disallow empty `todo_type!()`s without a custom message. They can lead to spurious diffs in `mypy_primer` where the only thing that's changed is the file/line information. |
||
![]() |
fa80e10aac
|
[airflow] fix typos in AIR302 implementation and test cases (#17082)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary <!-- What's the purpose of the change? What does it do, and why? --> * The following paths are wrong * `airflow.providers.amazon.auth_manager.avp.entities` should be `airflow.providers.amazon.aws.auth_manager.avp.entities` * `["airflow", "datasets", "manager", "dataset_manager"]` should be fixed as `airflow.assets.manager` but not `airflow.assets.manager.asset_manager` * `["airflow", "datasets.manager", "DatasetManager"]` should be ` ["airflow", "datasets", "manager", "DatasetManager"]` instead ## Test Plan <!-- How was it tested? --> the test fixture is updated accordingly |
||
![]() |
30a5f69913
|
[airflow] fix missing or wrong test cases (AIR302) (#16968)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary <!-- What's the purpose of the change? What does it do, and why? --> Improve AIR302 test cases ## Test Plan <!-- How was it tested? --> test fixtures have been updated accordingly |
||
![]() |
a192d96880
|
Update pre-commit dependencies (#17073)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [abravalheri/validate-pyproject](https://redirect.github.com/abravalheri/validate-pyproject) | repository | patch | `v0.24` -> `v0.24.1` | | [astral-sh/ruff-pre-commit](https://redirect.github.com/astral-sh/ruff-pre-commit) | repository | patch | `v0.11.0` -> `v0.11.2` | | [crate-ci/typos](https://redirect.github.com/crate-ci/typos) | repository | minor | `v1.30.2` -> `v1.31.0` | | [python-jsonschema/check-jsonschema](https://redirect.github.com/python-jsonschema/check-jsonschema) | repository | minor | `0.31.3` -> `0.32.1` | | [woodruffw/zizmor-pre-commit](https://redirect.github.com/woodruffw/zizmor-pre-commit) | repository | patch | `v1.5.1` -> `v1.5.2` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://redirect.github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>abravalheri/validate-pyproject (abravalheri/validate-pyproject)</summary> ### [`v0.24.1`](https://redirect.github.com/abravalheri/validate-pyproject/releases/tag/v0.24.1) [Compare Source](https://redirect.github.com/abravalheri/validate-pyproject/compare/v0.24...v0.24.1) #### What's Changed - Fixed multi plugin id was read from the wrong place by [@​henryiii](https://redirect.github.com/henryiii) in [https://github.com/abravalheri/validate-pyproject/pull/240](https://redirect.github.com/abravalheri/validate-pyproject/pull/240) - Implemented alternative plugin sorting, [https://github.com/abravalheri/validate-pyproject/pull/243](https://redirect.github.com/abravalheri/validate-pyproject/pull/243) **Full Changelog**: https://github.com/abravalheri/validate-pyproject/compare/v0.24...v0.24.1 </details> <details> <summary>astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit)</summary> ### [`v0.11.2`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.11.2) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.11.1...v0.11.2) See: https://github.com/astral-sh/ruff/releases/tag/0.11.2 ### [`v0.11.1`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.11.1) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.11.0...v0.11.1) See: https://github.com/astral-sh/ruff/releases/tag/0.11.1 </details> <details> <summary>crate-ci/typos (crate-ci/typos)</summary> ### [`v1.31.0`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.31.0) [Compare Source](https://redirect.github.com/crate-ci/typos/compare/v1.30.3...v1.31.0) #### \[1.31.0] - 2025-03-28 ##### Features - Updated the dictionary with the [March 2025](https://redirect.github.com/crate-ci/typos/issues/1266) changes ### [`v1.30.3`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.30.3) [Compare Source](https://redirect.github.com/crate-ci/typos/compare/v1.30.2...v1.30.3) #### \[1.30.3] - 2025-03-24 ##### Features - Support detecting `go.work` and `go.work.sum` files </details> <details> <summary>python-jsonschema/check-jsonschema (python-jsonschema/check-jsonschema)</summary> ### [`v0.32.1`](https://redirect.github.com/python-jsonschema/check-jsonschema/blob/HEAD/CHANGELOG.rst#0321) [Compare Source](https://redirect.github.com/python-jsonschema/check-jsonschema/compare/0.32.0...0.32.1) - Fix the `check-meltano` hook to use `types_or`. Thanks :user:`edgarrmondragon`! (:pr:`543`) ### [`v0.32.0`](https://redirect.github.com/python-jsonschema/check-jsonschema/blob/HEAD/CHANGELOG.rst#0320) [Compare Source](https://redirect.github.com/python-jsonschema/check-jsonschema/compare/0.31.3...0.32.0) - Update vendored schemas: circle-ci, compose-spec, dependabot, github-workflows, gitlab-ci, mergify, renovate, taskfile (2025-03-25) - Add Meltano schema and pre-commit hook. Thanks :user:`edgarrmondragon`! (:issue:`540`) - Add Snapcraft schema and pre-commit hook. Thanks :user:`fabolhak`! (:issue:`535`) </details> <details> <summary>woodruffw/zizmor-pre-commit (woodruffw/zizmor-pre-commit)</summary> ### [`v1.5.2`](https://redirect.github.com/woodruffw/zizmor-pre-commit/releases/tag/v1.5.2) [Compare Source](https://redirect.github.com/woodruffw/zizmor-pre-commit/compare/v1.5.1...v1.5.2) See: https://github.com/woodruffw/zizmor/releases/tag/v1.5.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Micha Reiser <micha@reiser.io> |
||
![]() |
5c1fab0661
|
Fix member lookup for unions & intersections ignoring policy (#17066)
## Summary A quick fix for how union/intersection member search ins performed in Knot. ## Test Plan * Added a dunder method call test for Union, which exhibits the error * Also added an intersection error, but it is not triggering currently due to `call` logic not being fully implemented for intersections. --------- Co-authored-by: David Peter <mail@david-peter.de> |
||
![]() |
5f83a32553
|
Update Rust crate clap to v4.5.34 (#17070)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [clap](https://redirect.github.com/clap-rs/clap) | workspace.dependencies | patch | `4.5.32` -> `4.5.34` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>clap-rs/clap (clap)</summary> ### [`v4.5.34`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4534---2025-03-27) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.33...v4.5.34) ##### Fixes - *(help)* Don't add extra blank lines with `flatten_help(true)` and subcommands without arguments ### [`v4.5.33`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4533---2025-03-26) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.32...v4.5.33) ##### Fixes - *(error)* When showing the usage of a suggestion for an unknown argument, don't show the group </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
6d387e01b4
|
Update Rust crate log to v0.4.27 (#17071)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [log](https://redirect.github.com/rust-lang/log) | workspace.dependencies | patch | `0.4.26` -> `0.4.27` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>rust-lang/log (log)</summary> ### [`v0.4.27`](https://redirect.github.com/rust-lang/log/blob/HEAD/CHANGELOG.md#0427---2025-03-24) [Compare Source](https://redirect.github.com/rust-lang/log/compare/0.4.26...0.4.27) ##### What's Changed - A few minor lint fixes by [@​nyurik](https://redirect.github.com/nyurik) in [https://github.com/rust-lang/log/pull/671](https://redirect.github.com/rust-lang/log/pull/671) - Enable clippy support for format-like macros by [@​nyurik](https://redirect.github.com/nyurik) in [https://github.com/rust-lang/log/pull/665](https://redirect.github.com/rust-lang/log/pull/665) - Add an optional logger param by [@​tisonkun](https://redirect.github.com/tisonkun) in [https://github.com/rust-lang/log/pull/664](https://redirect.github.com/rust-lang/log/pull/664) - Pass global logger by value, supplied logger by ref by [@​KodrAus](https://redirect.github.com/KodrAus) in [https://github.com/rust-lang/log/pull/673](https://redirect.github.com/rust-lang/log/pull/673) **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.26...0.4.27 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
ef2616446a
|
Update actions/github-script action to v7.0.1 (#17072)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://redirect.github.com/actions/github-script) | action | patch | `v7` -> `v7.0.1` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>actions/github-script (actions/github-script)</summary> ### [`v7.0.1`](https://redirect.github.com/actions/github-script/releases/tag/v7.0.1) [Compare Source](https://redirect.github.com/actions/github-script/compare/v7...v7.0.1) #### What's Changed - Avoid setting `baseUrl` to undefined when input is not provided by [@​joshmgross](https://redirect.github.com/joshmgross) in [https://github.com/actions/github-script/pull/439](https://redirect.github.com/actions/github-script/pull/439) **Full Changelog**: https://github.com/actions/github-script/compare/v7.0.0...v7.0.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
90153e5664
|
Update PyO3/maturin-action action to v1.47.3 (#17076)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [PyO3/maturin-action](https://redirect.github.com/PyO3/maturin-action) | action | minor | `v1` -> `v1.47.3` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>PyO3/maturin-action (PyO3/maturin-action)</summary> ### [`v1.47.3`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.47.3) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.47.2...v1.47.3) ##### What's Changed - Install ziglang < 0.14.0 **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.47.2...v1.47.3 ### [`v1.47.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.47.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.47.1...v1.47.2) ##### What's Changed - Fix i686 libatomic install for rustup by [@​exFalso](https://redirect.github.com/exFalso) in [https://github.com/PyO3/maturin-action/pull/330](https://redirect.github.com/PyO3/maturin-action/pull/330) ##### New Contributors - [@​exFalso](https://redirect.github.com/exFalso) made their first contribution in [https://github.com/PyO3/maturin-action/pull/330](https://redirect.github.com/PyO3/maturin-action/pull/330) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.47.1...v1.47.2 ### [`v1.47.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.47.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.47.0...v1.47.1) ##### What's Changed - Install libatomic for cargo on i686 Linux targets by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/327](https://redirect.github.com/PyO3/maturin-action/pull/327) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.47.0...v1.47.1 ### [`v1.47.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.47.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.46.0...v1.47.0) ##### What's Changed - Add GITHUB\_ to ALLOWED_ENV_PREFIXES by [@​mnaser](https://redirect.github.com/mnaser) in [https://github.com/PyO3/maturin-action/pull/323](https://redirect.github.com/PyO3/maturin-action/pull/323) - fix: upgrade the toolchain by [@​kemingy](https://redirect.github.com/kemingy) in [https://github.com/PyO3/maturin-action/pull/325](https://redirect.github.com/PyO3/maturin-action/pull/325) ##### New Contributors - [@​mnaser](https://redirect.github.com/mnaser) made their first contribution in [https://github.com/PyO3/maturin-action/pull/323](https://redirect.github.com/PyO3/maturin-action/pull/323) - [@​kemingy](https://redirect.github.com/kemingy) made their first contribution in [https://github.com/PyO3/maturin-action/pull/325](https://redirect.github.com/PyO3/maturin-action/pull/325) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.46.0...v1.47.0 ### [`v1.46.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.46.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.45.0...v1.46.0) ##### What's Changed - Add support for arm64 Linux runner by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/316](https://redirect.github.com/PyO3/maturin-action/pull/316) ##### New Contributors - [@​dhruvmanila](https://redirect.github.com/dhruvmanila) made their first contribution in [https://github.com/PyO3/maturin-action/pull/304](https://redirect.github.com/PyO3/maturin-action/pull/304) - [@​cclauss](https://redirect.github.com/cclauss) made their first contribution in [https://github.com/PyO3/maturin-action/pull/310](https://redirect.github.com/PyO3/maturin-action/pull/310) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.45.0...v1.46.0 ### [`v1.45.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.45.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.44.0...v1.45.0) ##### What's Changed - Revert "Ignore cffi installation error" by [@​mkniewallner](https://redirect.github.com/mkniewallner) in [https://github.com/PyO3/maturin-action/pull/285](https://redirect.github.com/PyO3/maturin-action/pull/285) - Upgrade TOML parser by [@​gaborbernat](https://redirect.github.com/gaborbernat) in [https://github.com/PyO3/maturin-action/pull/295](https://redirect.github.com/PyO3/maturin-action/pull/295) - Use `pip install --user` by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/296](https://redirect.github.com/PyO3/maturin-action/pull/296) ##### New Contributors - [@​mkniewallner](https://redirect.github.com/mkniewallner) made their first contribution in [https://github.com/PyO3/maturin-action/pull/285](https://redirect.github.com/PyO3/maturin-action/pull/285) - [@​gaborbernat](https://redirect.github.com/gaborbernat) made their first contribution in [https://github.com/PyO3/maturin-action/pull/295](https://redirect.github.com/PyO3/maturin-action/pull/295) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.44.0...v1.45.0 ### [`v1.44.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.44.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.43.0...v1.44.0) ##### What's Changed - Update versions-manifest.json by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/PyO3/maturin-action/pull/269](https://redirect.github.com/PyO3/maturin-action/pull/269) - Bump braces from 3.0.2 to 3.0.3 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/PyO3/maturin-action/pull/271](https://redirect.github.com/PyO3/maturin-action/pull/271) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.43.0...v1.44.0 ### [`v1.43.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.43.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.42.2...v1.43.0) ##### What's Changed - Move before script before sccache setup by [@​orf](https://redirect.github.com/orf) in [https://github.com/PyO3/maturin-action/pull/264](https://redirect.github.com/PyO3/maturin-action/pull/264) - Find PyPy in tool cache by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/268](https://redirect.github.com/PyO3/maturin-action/pull/268) - Adds support for docker-in-docker cross platform builds by [@​plied](https://redirect.github.com/plied) in [https://github.com/PyO3/maturin-action/pull/266](https://redirect.github.com/PyO3/maturin-action/pull/266) ##### New Contributors - [@​orf](https://redirect.github.com/orf) made their first contribution in [https://github.com/PyO3/maturin-action/pull/264](https://redirect.github.com/PyO3/maturin-action/pull/264) - [@​plied](https://redirect.github.com/plied) made their first contribution in [https://github.com/PyO3/maturin-action/pull/266](https://redirect.github.com/PyO3/maturin-action/pull/266) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.42.2...v1.43.0 ### [`v1.42.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.42.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.42.1...v1.42.2) ##### What's Changed - Remove `CARGO_HOME` from docker env var by [@​dariocurr](https://redirect.github.com/dariocurr) in [https://github.com/PyO3/maturin-action/pull/262](https://redirect.github.com/PyO3/maturin-action/pull/262) ##### New Contributors - [@​dariocurr](https://redirect.github.com/dariocurr) made their first contribution in [https://github.com/PyO3/maturin-action/pull/262](https://redirect.github.com/PyO3/maturin-action/pull/262) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.42.1...v1.42.2 ### [`v1.42.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.42.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.42.0...v1.42.1) ##### What's Changed - Update versions-manifest.json by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/PyO3/maturin-action/pull/252](https://redirect.github.com/PyO3/maturin-action/pull/252) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.42.0...v1.42.1 ### [`v1.42.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.42.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.41.0...v1.42.0) ##### What's Changed - Add support for `--target=` by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/248](https://redirect.github.com/PyO3/maturin-action/pull/248) - Add arm-unknown-linux-musleabihf target support by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/250](https://redirect.github.com/PyO3/maturin-action/pull/250) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.41.0...v1.42.0 ### [`v1.41.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.41.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.40.8...v1.41.0) ##### What's Changed - Upgrade to Node 20 - Bump actions/setup-python from 4 to 5 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/PyO3/maturin-action/pull/239](https://redirect.github.com/PyO3/maturin-action/pull/239) - Bump peter-evans/create-pull-request from 5 to 6 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/PyO3/maturin-action/pull/243](https://redirect.github.com/PyO3/maturin-action/pull/243) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.40.8...v1.41.0 ### [`v1.40.8`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.40.8) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.40.7...v1.40.8) ##### What's Changed - Pass `CC` and `CXX` environmental variables by [@​ijl](https://redirect.github.com/ijl) in [https://github.com/PyO3/maturin-action/pull/232](https://redirect.github.com/PyO3/maturin-action/pull/232) ##### New Contributors - [@​ijl](https://redirect.github.com/ijl) made their first contribution in [https://github.com/PyO3/maturin-action/pull/232](https://redirect.github.com/PyO3/maturin-action/pull/232) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.40.7...v1.40.8 ### [`v1.40.7`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.40.7) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.40.6...v1.40.7) ##### What's Changed - Allow absolute `working-directory` by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/223](https://redirect.github.com/PyO3/maturin-action/pull/223) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.40.6...v1.40.7 ### [`v1.40.6`](https://redirect.github.com/PyO3/maturin-action/compare/v1.40.5...v1.40.6) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.40.5...v1.40.6) ### [`v1.40.5`](https://redirect.github.com/PyO3/maturin-action/compare/v1.40.4...v1.40.5) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.40.4...v1.40.5) ### [`v1.40.4`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.40.4) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.40.3...v1.40.4) ##### What's Changed - Also find `rust-toolchain` file in parent directories by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/217](https://redirect.github.com/PyO3/maturin-action/pull/217) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.40.3...v1.40.4 ### [`v1.40.3`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.40.3) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.40.2...v1.40.3) ##### What's Changed - Bump actions/checkout from 3 to 4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/PyO3/maturin-action/pull/211](https://redirect.github.com/PyO3/maturin-action/pull/211) - Correctly compute `pyproject.toml` path by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/213](https://redirect.github.com/PyO3/maturin-action/pull/213) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.40.2...v1.40.3 ### [`v1.40.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.40.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.40.1...v1.40.2) ##### What's Changed - Resolve workspace target dir from `cargo metadata` output by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/200](https://redirect.github.com/PyO3/maturin-action/pull/200) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.40.1...v1.40.2 ### [`v1.40.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.40.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.40.0...v1.40.1) ##### What's Changed - Bump peter-evans/create-pull-request from 4 to 5 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/PyO3/maturin-action/pull/174](https://redirect.github.com/PyO3/maturin-action/pull/174) - Write `run-maturin-action.sh` to a tmpdir by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/194](https://redirect.github.com/PyO3/maturin-action/pull/194) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.40.0...v1.40.1 ### [`v1.40.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.40.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.39.0...v1.40.0) ##### What's Changed - Automatically pass `CFLAGS`/`CPPFLAGS`/`CXXFLAGS`/`LDFLAGS` by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/172](https://redirect.github.com/PyO3/maturin-action/pull/172) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.39.0...v1.40.0 ### [`v1.39.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.39.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.38.1...v1.39.0) ##### What's Changed - Add `before-script-linux` option by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/157](https://redirect.github.com/PyO3/maturin-action/pull/157) For running custom script to configure the build environment on Linux, for example installing clang for `rust-bindgen`. For macOS and Windows you can just run the command before `maturin-action` since the builds are always run on the host machine. **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.38.1...v1.39.0 ### [`v1.38.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.38.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.38.0...v1.38.1) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.38.0...v1.38.1 ### [`v1.38.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.38.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.37.2...v1.38.0) ##### What's Changed - Add sccache support by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/156](https://redirect.github.com/PyO3/maturin-action/pull/156) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.37.2...v1.38.0 ### [`v1.37.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.37.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.37.1...v1.37.2) ##### What's Changed - Add support for multiline `rustup-components` option by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/154](https://redirect.github.com/PyO3/maturin-action/pull/154) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.37.1...v1.37.2 ### [`v1.37.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.37.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.37.0...v1.37.1) ##### What's Changed - Install `cffi` by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/150](https://redirect.github.com/PyO3/maturin-action/pull/150) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.37.0...v1.37.1 ### [`v1.37.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.37.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.36.0...v1.37.0) ##### What's Changed - Add support for `universal2-apple-darwin` target by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/149](https://redirect.github.com/PyO3/maturin-action/pull/149) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.36.0...v1.37.0 ### [`v1.36.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.36.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.35.2...v1.36.0) ##### What's Changed - Don't pass `--zig` to unsupported targets by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/143](https://redirect.github.com/PyO3/maturin-action/pull/143) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.35.2...v1.36.0 ### [`v1.35.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.35.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.35.1...v1.35.2) ##### What's Changed - Use unshift instead of push to allow passing rustc args by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/140](https://redirect.github.com/PyO3/maturin-action/pull/140) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.35.1...v1.35.2 ### [`v1.35.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.35.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.35.0...v1.35.1) ##### What's Changed - Fix docker image for manylinux\_2\_28 by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/138](https://redirect.github.com/PyO3/maturin-action/pull/138) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.35.0...v1.35.1 ### [`v1.35.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.35.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.34.0...v1.35.0) ##### What's Changed - Bump json5 from 1.0.1 to 1.0.2 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/PyO3/maturin-action/pull/133](https://redirect.github.com/PyO3/maturin-action/pull/133) - Add `docker-options` for passing additional `docker run` options by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/135](https://redirect.github.com/PyO3/maturin-action/pull/135) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.34.0...v1.35.0 ### [`v1.34.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.34.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.33.0...v1.34.0) ##### What's Changed - Forward SSH agent to Docker container by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/119](https://redirect.github.com/PyO3/maturin-action/pull/119) - Add support for `de-vri-es/setup-git-credentials` action by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/120](https://redirect.github.com/PyO3/maturin-action/pull/120) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.33.0...v1.34.0 ### [`v1.33.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.33.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.32.2...v1.33.0) ##### What's Changed - Fallback to local host build when no default docker image found by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/118](https://redirect.github.com/PyO3/maturin-action/pull/118) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.32.2...v1.33.0 ### [`v1.32.2`](https://redirect.github.com/PyO3/maturin-action/compare/v1.32.1...v1.32.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.32.1...v1.32.2) ### [`v1.32.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.32.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.32.0...v1.32.1) ##### What's Changed - Remove hardcoded `MACOSX_DEPLOYMENT_TARGET` by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/113](https://redirect.github.com/PyO3/maturin-action/pull/113) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.32.0...v1.32.1 ### [`v1.32.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.32.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.31.0...v1.32.0) ##### What's Changed - Update links after moving to PyO3 org by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/97](https://redirect.github.com/PyO3/maturin-action/pull/97) - Add `working-directory` input option by [@​messense](https://redirect.github.com/messense) in [https://github.com/PyO3/maturin-action/pull/102](https://redirect.github.com/PyO3/maturin-action/pull/102) **Full Changelog**: https://github.com/PyO3/maturin-action/compare/v1.31.0...v1.32.0 ### [`v1.31.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.31.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.30.2...v1.31.0) ##### What's Changed - Test Python 3.11 by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/92](https://redirect.github.com/messense/maturin-action/pull/92) - Always use docker on Linux if `container` is set by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/95](https://redirect.github.com/messense/maturin-action/pull/95) - Update GitHub Actions Nodejs runtime to 16 **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.30.2...v1.31.0 ### [`v1.30.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.30.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.30.1...v1.30.2) ##### What's Changed - Switch to ghcr.io manylinux cross docker images by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/90](https://redirect.github.com/messense/maturin-action/pull/90) - chore: update dependencies by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/91](https://redirect.github.com/messense/maturin-action/pull/91) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.30.1...v1.30.2 ### [`v1.30.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.30.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.30.0...v1.30.1) ##### What's Changed - Remove now obsolete `autoManylinuxVersion` function by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/84](https://redirect.github.com/messense/maturin-action/pull/84) - Add support for using manylinux version in `container` option by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/85](https://redirect.github.com/messense/maturin-action/pull/85) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.30.0...v1.30.1 ### [`v1.30.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.30.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.29.3...v1.30.0) ##### What's Changed - Make `manylinux: auto` defaults to `manylinux2014` by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/83](https://redirect.github.com/messense/maturin-action/pull/83) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.29.3...v1.30.0 ### [`v1.29.3`](https://redirect.github.com/PyO3/maturin-action/compare/v1.29.2...v1.29.3) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.29.2...v1.29.3) ### [`v1.29.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.29.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.29.1...v1.29.2) ##### What's Changed - docker: pass `CMAKE_*` and `TARGET_*` env vars **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.29.1...v1.29.2 ### [`v1.29.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.29.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.29.0...v1.29.1) ##### What's Changed - Use `GITHUB_TOKEN` env var if available **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.29.0...v1.29.1 ### [`v1.29.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.29.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.28.4...v1.29.0) ##### What's Changed - Defaults to manylinux2014 when using `auto` with Rust beta/nightly by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/65](https://redirect.github.com/messense/maturin-action/pull/65) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.28.4...v1.29.0 ### [`v1.28.4`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.28.4) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.28.3...v1.28.4) ##### What's Changed - Update versions-manifest.json by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/messense/maturin-action/pull/59](https://redirect.github.com/messense/maturin-action/pull/59) - Update versions-manifest.json by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/messense/maturin-action/pull/60](https://redirect.github.com/messense/maturin-action/pull/60) - Update versions-manifest.json by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/messense/maturin-action/pull/61](https://redirect.github.com/messense/maturin-action/pull/61) - Exclude manylinux2010 test on Rust nightly by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/62](https://redirect.github.com/messense/maturin-action/pull/62) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.28.3...v1.28.4 ### [`v1.28.3`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.28.3) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.28.2...v1.28.3) ##### What's Changed - Fix file permissions for output directory when building with Docker. **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.28.2...v1.28.3 ### [`v1.28.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.28.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.28.1...v1.28.2) ##### What's Changed - Update versions-manifest.json by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/messense/maturin-action/pull/52](https://redirect.github.com/messense/maturin-action/pull/52) - Update versions-manifest.json by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/messense/maturin-action/pull/54](https://redirect.github.com/messense/maturin-action/pull/54) ##### New Contributors - [@​github-actions](https://redirect.github.com/github-actions) made their first contribution in [https://github.com/messense/maturin-action/pull/52](https://redirect.github.com/messense/maturin-action/pull/52) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.28.1...v1.28.2 ### [`v1.28.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.28.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.28.0...v1.28.1) ##### What's Changed - Support legacy `rust-toolchain` with toml content by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/51](https://redirect.github.com/messense/maturin-action/pull/51) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.28.0...v1.28.1 ### [`v1.28.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.28.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.27.0...v1.28.0) ##### What's Changed - Update dependencies by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/45](https://redirect.github.com/messense/maturin-action/pull/45) - Read maturin version from `pyproject.toml` by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/46](https://redirect.github.com/messense/maturin-action/pull/46) - Add support for rust-toolchain overrides by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/48](https://redirect.github.com/messense/maturin-action/pull/48) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.27.0...v1.28.0 ### [`v1.27.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.27.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.26.0...v1.27.0) ##### What's Changed - Accept more env vars in docker build by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/42](https://redirect.github.com/messense/maturin-action/pull/42) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.26.0...v1.27.0 ### [`v1.26.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.26.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.25.0...v1.26.0) ##### What's Changed - Set default images for musllinux\_1\_1 by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/41](https://redirect.github.com/messense/maturin-action/pull/41) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.25.0...v1.26.0 ### [`v1.25.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.25.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.24.1...v1.25.0) ##### What's Changed - Bump minimist from 1.2.5 to 1.2.6 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/messense/maturin-action/pull/38](https://redirect.github.com/messense/maturin-action/pull/38) - Add manylinux\_2\_28 cross compiling Docker images by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/40](https://redirect.github.com/messense/maturin-action/pull/40) ##### New Contributors - [@​dependabot](https://redirect.github.com/dependabot) made their first contribution in [https://github.com/messense/maturin-action/pull/38](https://redirect.github.com/messense/maturin-action/pull/38) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.24.1...v1.25.0 ### [`v1.24.1`](https://redirect.github.com/PyO3/maturin-action/compare/v1.24.0...v1.24.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.24.0...v1.24.1) ### [`v1.24.0`](https://redirect.github.com/PyO3/maturin-action/compare/v1.23.2...v1.24.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.23.2...v1.24.0) ### [`v1.23.2`](https://redirect.github.com/PyO3/maturin-action/compare/v1.23.1...v1.23.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.23.1...v1.23.2) ### [`v1.23.1`](https://redirect.github.com/PyO3/maturin-action/compare/v1.23.0...v1.23.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.23.0...v1.23.1) ### [`v1.23.0`](https://redirect.github.com/PyO3/maturin-action/compare/v1.22.1...v1.23.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.22.1...v1.23.0) ### [`v1.22.1`](https://redirect.github.com/PyO3/maturin-action/compare/v1.22.0...v1.22.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.22.0...v1.22.1) ### [`v1.22.0`](https://redirect.github.com/PyO3/maturin-action/compare/v1.21.0...v1.22.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.21.0...v1.22.0) ### [`v1.21.0`](https://redirect.github.com/PyO3/maturin-action/compare/v1.20.0...v1.21.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.20.0...v1.21.0) ### [`v1.20.0`](https://redirect.github.com/PyO3/maturin-action/compare/v1.19.3...v1.20.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.19.3...v1.20.0) ### [`v1.19.3`](https://redirect.github.com/PyO3/maturin-action/compare/v1.19.2...v1.19.3) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.19.2...v1.19.3) ### [`v1.19.2`](https://redirect.github.com/PyO3/maturin-action/compare/v1.19.1...v1.19.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.19.1...v1.19.2) ### [`v1.19.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.19.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.19.0...v1.19.1) ##### What's Changed - Better support for macOS arm64 by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/22](https://redirect.github.com/messense/maturin-action/pull/22) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.19.0...v1.19.1 ### [`v1.19.0`](https://redirect.github.com/PyO3/maturin-action/compare/v1.18.1...v1.19.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.18.1...v1.19.0) ### [`v1.18.1`](https://redirect.github.com/PyO3/maturin-action/compare/v1.18.0...v1.18.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.18.0...v1.18.1) ### [`v1.18.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.18.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.17.0...v1.18.0) ##### What's Changed - Do not attempt to pull local images by [@​Tpt](https://redirect.github.com/Tpt) in [https://github.com/messense/maturin-action/pull/19](https://redirect.github.com/messense/maturin-action/pull/19) ##### New Contributors - [@​Tpt](https://redirect.github.com/Tpt) made their first contribution in [https://github.com/messense/maturin-action/pull/19](https://redirect.github.com/messense/maturin-action/pull/19) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.17.0...v1.18.0 ### [`v1.17.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.17.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.16.4...v1.17.0) ##### What's Changed - Remove fallback maturin latest version by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/18](https://redirect.github.com/messense/maturin-action/pull/18) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.16.4...v1.17.0 ### [`v1.16.4`](https://redirect.github.com/PyO3/maturin-action/compare/v1.16.3...v1.16.4) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.16.3...v1.16.4) ### [`v1.16.3`](https://redirect.github.com/PyO3/maturin-action/compare/v1.16.2...v1.16.3) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.16.2...v1.16.3) ### [`v1.16.2`](https://redirect.github.com/PyO3/maturin-action/compare/v1.16.1...v1.16.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.16.1...v1.16.2) ### [`v1.16.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.16.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.16.0...v1.16.1) ##### What's Changed - Only add tool cache Python to PATH if no `pythonLocation` specified by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/17](https://redirect.github.com/messense/maturin-action/pull/17) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.16.0...v1.16.1 ### [`v1.16.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.16.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.15.1...v1.16.0) ##### What's Changed - Add Python versions from tool cache to PATH on macOS by [@​messense](https://redirect.github.com/messense) in [https://github.com/messense/maturin-action/pull/16](https://redirect.github.com/messense/maturin-action/pull/16) **Full Changelog**: https://github.com/messense/maturin-action/compare/v1.15.1...v1.16.0 ### [`v1.15.1`](https://redirect.github.com/PyO3/maturin-action/compare/v1.15.0...v1.15.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.15.0...v1.15.1) ### [`v1.15.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.15.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.14.2...v1.15.0) - Removed universal2 support for pyo3 0.13.x ### [`v1.14.2`](https://redirect.github.com/PyO3/maturin-action/compare/v1.14.1...v1.14.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.14.1...v1.14.2) ### [`v1.14.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.14.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.14.0...v1.14.1) - Update default maturin version to v0.11.3 ### [`v1.14.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.14.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.13.2...v1.14.0) - Fixed maturin build error with `--cargo-extra-args` on macOS and Windows. ### [`v1.13.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.13.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.13.1...v1.13.2) - Update default maturin version to v0.11.2 ### [`v1.13.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.13.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.13.0...v1.13.1) - Update default maturin version to v0.11.1 ### [`v1.13.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.13.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.12.1...v1.13.0) - Add support for self-hosted arm64 runner - Update default maturin version to 0.11.0 ### [`v1.12.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.12.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.12.0...v1.12.1) Allow passing `_PYTHON_SYSCONFIGDATA_NAME` to docker. ### [`v1.12.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.12.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.11.1...v1.12.0) Drop manylinux\_2\_24 ppc64 support. ### [`v1.11.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.11.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.11.0...v1.11.1) Strip `manylinux` prefix. ### [`v1.11.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.11.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.10.4...v1.11.0) Add more default manylinux\_2\_24 cross compile docker images ### [`v1.10.4`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.10.4) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.10.3...v1.10.4) Update default maturin version to `v0.10.6` ### [`v1.10.3`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.10.3) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.10.2...v1.10.3) Update default maturin version to `v0.10.5` ### [`v1.10.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.10.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.10.1...v1.10.2) Add support for x64 and x86 target aliases ### [`v1.10.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.10.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.10.0...v1.10.1) Add ppc64 alias ### [`v1.10.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.10.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.9.0...v1.10.0) Add support for `powerpc64-unknown-linux-gnu` target ### [`v1.9.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.9.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.8.2...v1.9.0) Use `messense/manylinux2014-cross:ppc64le` for ppc64le manylinux2014 cross compiling ### [`v1.8.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.8.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.8.1...v1.8.2) Skip target installaton if it is already installed ### [`v1.8.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.8.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.8.0...v1.8.1) Support target aliases for example `x86_64` on Linux alias to `x86_64-unknown-linux-gnu` ### [`v1.8.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.8.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.7.1...v1.8.0) Add default containers for MUSL targets. ### [`v1.7.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.7.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.7.0...v1.7.1) Support set `manylinux` to auto to build for lowest compatible manylinux tag ### [`v1.7.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.7.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.6.2...v1.7.0) - Add aliases for manylinux 2010 & 2014 - Support using QEMU for some architectures - Add default containers for `ppc64le` and `s390x` - Pass `RUST_BACKTRACE`, `PYO3_CROSS` and `PYO3_CROSS_PYTHON_VERSION` env vars to docker container. ### [`v1.6.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.6.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.6.1...v1.6.2) - Allow building manylinux wheels on host without Docker - Set `SDKROOT` env var for macOS universal2 build ### [`v1.6.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.6.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.6.0...v1.6.1) Print maturin version after installation. ### [`v1.6.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.6.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.5.2...v1.6.0) Add default containers for platforms other than `x86_64`. ### [`v1.5.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.5.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.5.1...v1.5.2) Pass some useful env vars to docker run ### [`v1.5.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.5.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.5.0...v1.5.1) Run manylinux off jobs on host instead of in Docker ### [`v1.5.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.5.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.4.2...v1.5.0) Added support for specifying Rust toolchain ### [`v1.4.2`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.4.2) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.4.1...v1.4.2) - Setup additional env vars for macOS universal2 build - Install `aarch64-apple-darwin` Rust target automatically ### [`v1.4.1`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.4.1) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.4.0...v1.4.1) Add fallback maturin version in case fetching latest maturin version failed. ### [`v1.4.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.4.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.3.0...v1.4.0) Support vanilla manylinux docker containers ### [`v1.3.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.3.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.2.0...v1.3.0) - Convert codebase to TypeScript - Added `target` input argument ### [`v1.2.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.2.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.1.0...v1.2.0) Add `maturin` to PATH ### [`v1.1.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.1.0) [Compare Source](https://redirect.github.com/PyO3/maturin-action/compare/v1...v1.1.0) Added support for manylinux build using `konstin2/maturin` docker images. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
08f86a5ffc
|
Update actions/setup-python digest to 8d9ed9a (#17067)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-python](https://redirect.github.com/actions/setup-python) | action | digest | `4237552` -> `8d9ed9a` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
4cc627ef77
|
Update astral-sh/setup-uv digest to 0c5e2b8 (#17068)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) | action | digest | `2269511` -> `0c5e2b8` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
244618a6f5
|
Update taiki-e/install-action digest to 6aca1cf (#17069)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [taiki-e/install-action](https://redirect.github.com/taiki-e/install-action) | action | digest | `914ac1e` -> `6aca1cf` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
e068ffe929
|
Update webfactory/ssh-agent action to v0.9.1 (#17074)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [webfactory/ssh-agent](https://redirect.github.com/webfactory/ssh-agent) | action | patch | `v0.9.0` -> `v0.9.1` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>webfactory/ssh-agent (webfactory/ssh-agent)</summary> ### [`v0.9.1`](https://redirect.github.com/webfactory/ssh-agent/blob/HEAD/CHANGELOG.md#v091-2024-03-17) [Compare Source](https://redirect.github.com/webfactory/ssh-agent/compare/v0.9.0...v0.9.1) ##### Fixed - Fix path used to execute ssh-agent in cleanup.js to respect custom paths set by input ([#​235](https://redirect.github.com/webfactory/ssh-agent/issues/235)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
a5f4522078
|
Update CodSpeedHQ/action action to v3.5.0 (#17075)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action) | action | minor | `v3` -> `v3.5.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>CodSpeedHQ/action (CodSpeedHQ/action)</summary> ### [`v3.5.0`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v3.5.0) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v3.4.0...v3.5.0) #### What's Changed ##### <!-- 0 -->🚀 Features - Add mode command arg by [@​adriencaccia](https://redirect.github.com/adriencaccia) in [#​69](https://redirect.github.com/CodSpeedHQ/runner/pull/69) - Add a setup command by [@​art049](https://redirect.github.com/art049) in [#​61](https://redirect.github.com/CodSpeedHQ/runner/pull/61) - Allow usage on any x86 or arm os with a warning by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) in [#​66](https://redirect.github.com/CodSpeedHQ/runner/pull/66) ##### <!-- 1 -->🐛 Bug Fixes - Fix valgrind version checks by [@​art049](https://redirect.github.com/art049) in [#​65](https://redirect.github.com/CodSpeedHQ/runner/pull/65) **Full Changelog**: https://github.com/CodSpeedHQ/action/compare/v3.4.0...v3.5.0 **Full Runner Changelog**: https://github.com/CodSpeedHQ/runner/blob/main/CHANGELOG.md ### [`v3.4.0`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v3.4.0) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v3.3.1...v3.4.0) #### What's Changed ##### <!-- 0 -->🚀 Features - feat: add `GH_MATRIX` and `GH_STRATEGY` env variables by [@​fargito](https://redirect.github.com/fargito) in [https://github.com/CodSpeedHQ/action/pull/123](https://redirect.github.com/CodSpeedHQ/action/pull/123) - Add run_part to upload metadata by [@​fargito](https://redirect.github.com/fargito) in [#​57](https://redirect.github.com/CodSpeedHQ/runner/pull/57) ##### <!-- 1 -->🐛 Bug Fixes - Fix stderr error display by [@​art049](https://redirect.github.com/art049) in [#​63](https://redirect.github.com/CodSpeedHQ/runner/pull/63) **Full Changelog**: https://github.com/CodSpeedHQ/action/compare/v3.3.1...v3.4.0 **Full Runner Changelog**: https://github.com/CodSpeedHQ/runner/blob/main/CHANGELOG.md ### [`v3.3.1`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v3.3.1) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v3.3.0...v3.3.1) #### What's Changed ##### <!-- 0 -->🚀 Features - Bail when performance report s3 upload does not work by [@​adriencaccia](https://redirect.github.com/adriencaccia) ##### <!-- 1 -->🐛 Bug Fixes - Catch server error as well as client in upload error handling by [@​adriencaccia](https://redirect.github.com/adriencaccia) in [#​64](https://redirect.github.com/CodSpeedHQ/runner/pull/64) **Full Runner Changelog**: https://github.com/CodSpeedHQ/runner/blob/main/CHANGELOG.md ### [`v3.3.0`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v3.3.0) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v3.2.0...v3.3.0) #### What's Changed ##### <!-- 0 -->🚀 Features - Allow downgrades while installing valgrind-codspeed by [@​art049](https://redirect.github.com/art049) - Update sysinfo crate by [@​adriencaccia](https://redirect.github.com/adriencaccia) in [#​62](https://redirect.github.com/CodSpeedHQ/runner/pull/62) ##### <!-- 1 -->🐛 Bug Fixes - Unify environments between the two modes by [@​art049](https://redirect.github.com/art049) in [#​59](https://redirect.github.com/CodSpeedHQ/runner/pull/59) ##### <!-- 7 -->⚙️ Internals - Bump valgrind-codspeed version to 3.24.0-0codspeed1 and change supported systems by [@​art049](https://redirect.github.com/art049) **Full Runner Changelog**: https://github.com/CodSpeedHQ/runner/blob/main/CHANGELOG.md ### [`v3.2.0`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v3.2.0) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v3.1.0...v3.2.0) #### Release Notes ##### <!-- 0 -->🚀 Features - Implement gitlab ci provider by [@​fargito](https://redirect.github.com/fargito) in [#​47](https://redirect.github.com/CodSpeedHQ/runner/pull/47) - Add repository provider to upload metadata by [@​fargito](https://redirect.github.com/fargito) - Use system distribution id instead of name by [@​fargito](https://redirect.github.com/fargito) ##### <!-- 2 -->🏗️ Refactor - Move sender out of ghdata by [@​fargito](https://redirect.github.com/fargito) - Rename provider to ci provider by [@​fargito](https://redirect.github.com/fargito) - Use string for runId by [@​fargito](https://redirect.github.com/fargito) - Improve string interpolation by [@​fargito](https://redirect.github.com/fargito) ##### <!-- 7 -->⚙️ Internals - Configure git-cliff for changelog generation by [@​art049](https://redirect.github.com/art049) - Add rust settings by [@​fargito](https://redirect.github.com/fargito) **Associated runner release**: https://github.com/CodSpeedHQ/runner/releases/tag/v3.2.0 **Full Changelog**: https://github.com/CodSpeedHQ/action/compare/v3.1.0...v3.2.0 ### [`v3.1.0`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v3.1.0) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v3.0.1...v3.1.0) #### What's Changed This new release includes compatibility with our new `wall time` instruments, which allow measurement of real execution timings. This will be very useful for macro benchmarks running on properly isolated machines. You can now use our **CodSpeed Macro** runners without changing anything in your existing CI workflows. Find more info on our Walltime instrument [here](https://docs.codspeed.io/instruments/walltime/).  **Full Changelog**: https://github.com/CodSpeedHQ/action/compare/v3.0.1...v3.1.0 ### [`v3.0.1`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v3.0.1) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v3...v3.0.1) #### What's Changed - chore: bump runner version to 3.0.1 by [@​github-actions](https://redirect.github.com/github-actions) in [https://github.com/CodSpeedHQ/action/pull/115](https://redirect.github.com/CodSpeedHQ/action/pull/115) - chore: support ubuntu 24.04 **Full Changelog**: https://github.com/CodSpeedHQ/action/compare/v3.0.0...v3.0.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
c6efa93cf7
|
[red-knot] Handle special case returning NotImplemented (#17034)
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
## Summary Closes #16661 This PR includes two changes: - `NotImplementedType` is now a member of `KnownClass` - We skip `is_assignable_to` checks for `NotImplemented` when checking return types ### Limitation ```py def f(cond: bool) -> int: return 1 if cond else NotImplemented ``` The implementation covers cases where `NotImplemented` appears inside a `Union`. However, for more complex types (ex. `Intersection`) it will not worked. In my opinion, supporting such complexity is unnecessary at this point. ## Test Plan Two `mdtest` files were updated: - `mdtest/function/return_type.md` - `mdtest/type_properties/is_singleton.md` To test `KnownClass`, run: ```bash cargo test -p red_knot_python_semantic -- types::class:: ``` |
||
![]() |
ab1011ce70
|
[syntax-errors] Single starred assignment target (#17024)
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
Summary -- Detects starred assignment targets outside of tuples and lists like `*a = (1,)`. This PR only considers assignment statements. I also checked annotated assigment statements, but these give a separate error that we already catch, so I think they're okay not to consider: ```pycon >>> *a: list[int] = [] File "<python-input-72>", line 1 *a: list[int] = [] ^ SyntaxError: invalid syntax ``` Fixes #13759 Test Plan -- New inline tests, plus a new `SemanticSyntaxError` for an existing parser test. I also removed a now-invalid case from an otherwise-valid test fixture. The new semantic error leads to two errors for the case below: ```python *foo() = 42 ``` but this matches [pyright] too. [pyright]: https://pyright-play.net/?code=FQMw9mAUCUAEC8sAsAmAUEA |
||
![]() |
a0819f0c51
|
[syntax-errors] Store to or delete __debug__ (#16984)
Summary -- Detect setting or deleting `__debug__`. Assigning to `__debug__` was a `SyntaxError` on the earliest version I tested (3.8). Deleting `__debug__` was made a `SyntaxError` in [BPO 45000], which said it was resolved in Python 3.10. However, `del __debug__` was also a runtime error (`NameError`) when I tested in Python 3.9.6, so I thought it was worth including 3.9 in this check. I don't think it was ever a *good* idea to try `del __debug__`, so I think there's also an argument for not making this version-dependent at all. That would only simplify the implementation very slightly, though. [BPO 45000]: https://github.com/python/cpython/issues/89163 Test Plan -- New inline tests. This also required adding a `PythonVersion` field to the `TestContext` that could be taken from the inline `ParseOptions` and making the version field on the options accessible. |
||
![]() |
8396d7cd63
|
Use Python 3.13 for most CI jobs (#17053)
Some checks are pending
CI / cargo clippy (push) Blocked by required conditions
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
|
||
![]() |
9ae2900dc3
|
Run pre-commit via uv in CI (#17052)
Some checks failed
CI / cargo fmt (push) Waiting to run
CI / Determine changes (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Has been cancelled
Installing pre-commit via pip can take up to 6s sometimes in CI (e.g.
|
||
![]() |
37a40e30f6
|
[playground] Allow selecting the diagnostic message (#17051)
## Summary Allow selecting the diagnostic message so that the message can be copied (e.g. into an issue) ## Test Plan <img width="1679" alt="Screenshot 2025-03-28 at 16 52 45" src="https://github.com/user-attachments/assets/06674d87-6c88-45d4-b46c-0bcb3e151996" /> |
||
![]() |
98438a77f2
|
Don't install Rust before running pre-commit in CI (#17050)
Following |
||
![]() |
93052331b0
|
[red-knot] Allow CallableTypeFromFunction to display the signatures of callable types that are not function literals (#17047)
I found this helpful for understanding some of the stuff that was going on in https://github.com/astral-sh/ruff/pull/17005. |
||
![]() |
e07741e553
|
Add as_group methods to AnyNodeRef (#17048)
## Summary This PR adds `as_<group>` methods to `AnyNodeRef` to e.g. convert an `AnyNodeRef` to an `ExprRef`. I need this for go to definition where the fallback is to test if `AnyNodeRef` is an expression and then call `inferred_type` (listing this mapping at every call site where we need to convert `AnyNodeRef` to an `ExprRef` is a bit painful ;)) Split out from https://github.com/astral-sh/ruff/pull/16901 ## Test Plan `cargo test` |
||
![]() |
050f332771
|
Rename visit_preorder to visit_source_order (#17046)
## Summary We renamed the `PreorderVisitor` to `SourceOrderVisitor` a long time ago but it seems that we missed to rename the `visit_preorder` functions to `visit_source_order`. This PR renames `visit_preorder` to `visit_source_order` ## Test Plan `cargo test` |
||
![]() |
6b02c39321
|
[red-knot] Incorporate recent ruff server improvements into red knot's LSP (#17044) | ||
![]() |
78b0b5a3ab
|
[red-knot] Factor out shared unpacking logic (#16595)
## Summary This PR refactors the common logic for unpacking in assignment, for loops, and with items. ## Test Plan Make sure existing tests pass. --------- Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com> |
||
![]() |
0e48940ea4
|
[red-knot] Discover local venv folder in cli (#16917)
<!--
Thank you for contributing to Ruff! To help us out with reviewing,
please consider the following:
- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->
## Summary
Fixes #16744
Code from
|