mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 22:31:23 +00:00
10398 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
![]() |
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
|
||
![]() |
aca6254e82
|
[red-knot] fix eager nested scopes handling (#16916)
## Summary From #16861, and the continuation of #16915. This PR fixes the incorrect behavior of `TypeInferenceBuilder::infer_name_load` in eager nested scopes. And this PR closes #16341. ## Test Plan New test cases are added in `annotations/deferred.md`. |
||
![]() |
64171744dc
|
[red-knot] support narrowing on or patterns in matches (#17030)
## Summary Part of #13694 Narrow in or-patterns by taking the type union of the type constraints in each disjunct pattern. ## Test Plan Add new tests to narrow/match.md --------- Co-authored-by: Carl Meyer <carl@astral.sh> |
||
![]() |
2e56cd3737
|
[red-knot] mypy_primer: switch to depot runners (#17037)
Some checks are pending
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
## Summary Move the mypy_primer build to the depot runners to speed them up. ## Test Plan Previous run of mypy_primer: 3m 49s Run on this branch: 1m 38s |
||
![]() |
e37a1b02f6 |
Revert "[red-knot] mypy_primer: switch to depot runners"
This reverts commit
|
||
![]() |
9aa8dc4590 | [red-knot] mypy_primer: switch to depot runners | ||
![]() |
df418d94b3
|
[red-knot] mypy_primer: use debug builds of red_knot (#17036)
## Summary Use a debug build instead of a release build in order to speed up mypy_primer runs. ## Test Plan Previous mypy_primer run: 5m 45s mypy_primer run on this branch: 3m 49s |
||
![]() |
b90741fb92
|
[red-knot] Install mypy_primer from specific Git tag (#17035)
## Summary Instead of installing from a branch, install mypy_primer from a specific Git tag in order to make changes to the pipeline explicit. |
||
![]() |
3acf4e716d
|
[red-knot] support narrowing on constants in matches (#16974)
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
[Knot Playground] Release / publish (push) Waiting to run
## Summary Part of #13694 The implementation here was suspiciously straightforward so please lmk if I missed something Also some drive-by changes to DRY things up a bit ## Test Plan Add new tests to narrow/match.md --------- Co-authored-by: Carl Meyer <carl@astral.sh> |
||
![]() |
992a1af4c2
|
[red-knot] Reduce false positives on super() and enum-class attribute accesses (#17004)
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 This PR adds some branches so that we infer `Todo` types for attribute access on instances of `super()` and subtypes of `type[Enum]`. It reduces false positives in the short term until we implement full support for these features. ## Test Plan New mdtests added + mypy_primer report |
||
![]() |
c963b185eb
|
mypy_primer: add typeshed-stats (#17022)
This is a well-typed codebase on which we only emit 23 diagnostics right now, but which is highlighting some interesting issues. It uses some modern syntactic features such as `match` statements that aren't used much in other open-source projects in mypy_primer |
||
![]() |
4067a7e50c
|
[red-knot] Don't check non-python files (#17021)
## Summary Fixes https://github.com/astral-sh/ruff/issues/17018 ## Test Plan I renamed a python file to `knot.toml` and verified that there are no diagnostics. Renaming back the file to `*.py` brings back the diagnostics |
||
![]() |
f9bc80ad55
|
[red-knot] Fix syntax highlighting for pyi files (#17015)
Monaco supports inferring the language based on the file's extension but it doesn't seem to support `pyi`. I tried to patch up the python language definition by adding `.pyi` to the language's `extension` array but that didn't work. That's why I decided to patch up the language in React. |
||
![]() |
142fe0d29b
|
[playground] Fix reveal_type (#17013)
## Summary Capture both `stdout` and `stderr` in a single stream. This fixes `reveal_type`, which prints to `stderr` by default. ## Test Plan Tested with a simple `reveal_type(1)` example and got the output: ``` Runtime value is '1' Runtime type is 'int' ``` |
||
![]() |
6ef522159d
|
Check pyproject.toml correctly when it is passed via stdin (#16971)
## Summary
Resolves #16950 and [a 1.5-year-old TODO
comment](
|
||
![]() |
b9a7328789
|
[red-knot] Make every type a subtype of object (#16960)
## Summary Mainly for partially fixing #16953 ## Test Plan Update is_subtype tests. And should maybe do these checks for many other types (is subtype of object but object is not subtype) --------- Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com> |
||
![]() |
640d821108
|
[red-knot] reveal-type should return the revaled type (#17007)
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
[Knot Playground] Release / publish (push) Waiting to run
## Summary Return the revealed-type from the monkey-patched `revale_type` implementation to preserve the identity behavior. This PR also isolates different script runs by assigning a different `globals` dict for each script-run. See https://github.com/pyodide/pyodide/issues/703 |
||
![]() |
43ca85a351
|
[red-knot] Add run panel (#17002)
## Summary This PR adds a new secondary panel to the red knot playground that allows running the python code (current file) with [pyodide](https://pyodide.org/en/stable/index.html) (currently Python 3.12 only). ## Test Plan https://github.com/user-attachments/assets/7bda8ef7-19fb-4c2f-8e62-8e49a1416be1 |
||
![]() |
338fed98a4
|
[red-knot] Use React suspense to show loading spinner (#16986)
Some checks are pending
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / Determine changes (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
## Summary Use React's suspense feature to show a loading spinner while the WASM module is initializing. |
||
![]() |
d70a3e6753
|
[syntax-errors] Multiple assignments in case pattern (#16957)
Summary -- This PR detects multiple assignments to the same name in `case` patterns by recursively visiting each pattern. Test Plan -- New inline tests. |