mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:24 +00:00
10111 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
![]() |
db69dfba45
|
Update actions/download-artifact action to v4.2.1 (#17258)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://redirect.github.com/actions/download-artifact) | action | minor | `v4` -> `v4.2.1` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>actions/download-artifact (actions/download-artifact)</summary> ### [`v4.2.1`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.2.1) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.2.0...v4.2.1) #### What's Changed - Add unit tests by [@​GhadimiR](https://redirect.github.com/GhadimiR) in [https://github.com/actions/download-artifact/pull/392](https://redirect.github.com/actions/download-artifact/pull/392) - Fix bug introduced in 4.2.0 by [@​GhadimiR](https://redirect.github.com/GhadimiR) in [https://github.com/actions/download-artifact/pull/391](https://redirect.github.com/actions/download-artifact/pull/391) **Full Changelog**: https://github.com/actions/download-artifact/compare/v4.2.0...v4.2.1 ### [`v4.2.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.2.0) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.9...v4.2.0) #### What's Changed - Update README.md by [@​lkfortuna](https://redirect.github.com/lkfortuna) in [https://github.com/actions/download-artifact/pull/384](https://redirect.github.com/actions/download-artifact/pull/384) - Bump artifact version, do digest check by [@​GhadimiR](https://redirect.github.com/GhadimiR) in [https://github.com/actions/download-artifact/pull/383](https://redirect.github.com/actions/download-artifact/pull/383) #### New Contributors - [@​lkfortuna](https://redirect.github.com/lkfortuna) made their first contribution in [https://github.com/actions/download-artifact/pull/384](https://redirect.github.com/actions/download-artifact/pull/384) - [@​GhadimiR](https://redirect.github.com/GhadimiR) made their first contribution in [https://github.com/actions/download-artifact/pull/383](https://redirect.github.com/actions/download-artifact/pull/383) **Full Changelog**: https://github.com/actions/download-artifact/compare/v4.1.9...v4.2.0 ### [`v4.1.9`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.9) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.8...v4.1.9) #### What's Changed - Add workflow file for publishing releases to immutable action package by [@​Jcambass](https://redirect.github.com/Jcambass) in [https://github.com/actions/download-artifact/pull/354](https://redirect.github.com/actions/download-artifact/pull/354) - docs: small migration fix by [@​froblesmartin](https://redirect.github.com/froblesmartin) in [https://github.com/actions/download-artifact/pull/370](https://redirect.github.com/actions/download-artifact/pull/370) - Update MIGRATION.md by [@​andyfeller](https://redirect.github.com/andyfeller) in [https://github.com/actions/download-artifact/pull/372](https://redirect.github.com/actions/download-artifact/pull/372) - Update artifact package to 2.2.2 by [@​yacaovsnc](https://redirect.github.com/yacaovsnc) in [https://github.com/actions/download-artifact/pull/380](https://redirect.github.com/actions/download-artifact/pull/380) #### New Contributors - [@​Jcambass](https://redirect.github.com/Jcambass) made their first contribution in [https://github.com/actions/download-artifact/pull/354](https://redirect.github.com/actions/download-artifact/pull/354) - [@​froblesmartin](https://redirect.github.com/froblesmartin) made their first contribution in [https://github.com/actions/download-artifact/pull/370](https://redirect.github.com/actions/download-artifact/pull/370) - [@​andyfeller](https://redirect.github.com/andyfeller) made their first contribution in [https://github.com/actions/download-artifact/pull/372](https://redirect.github.com/actions/download-artifact/pull/372) - [@​yacaovsnc](https://redirect.github.com/yacaovsnc) made their first contribution in [https://github.com/actions/download-artifact/pull/380](https://redirect.github.com/actions/download-artifact/pull/380) **Full Changelog**: https://github.com/actions/download-artifact/compare/v4...v4.1.9 ### [`v4.1.8`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.8) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.7...v4.1.8) #### What's Changed - Update [@​actions/artifact](https://redirect.github.com/actions/artifact) version, bump dependencies by [@​robherley](https://redirect.github.com/robherley) in [https://github.com/actions/download-artifact/pull/341](https://redirect.github.com/actions/download-artifact/pull/341) **Full Changelog**: https://github.com/actions/download-artifact/compare/v4...v4.1.8 ### [`v4.1.7`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.7) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.6...v4.1.7) #### What's Changed - Update [@​actions/artifact](https://redirect.github.com/actions/artifact) dependency by [@​bethanyj28](https://redirect.github.com/bethanyj28) in [https://github.com/actions/download-artifact/pull/325](https://redirect.github.com/actions/download-artifact/pull/325) **Full Changelog**: https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7 ### [`v4.1.6`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.6) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.5...v4.1.6) #### What's Changed - updating `@actions/artifact` dependency to v2.1.6 by [@​eggyhead](https://redirect.github.com/eggyhead) in [https://github.com/actions/download-artifact/pull/324](https://redirect.github.com/actions/download-artifact/pull/324) **Full Changelog**: https://github.com/actions/download-artifact/compare/v4.1.5...v4.1.6 ### [`v4.1.5`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.5) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.4...v4.1.5) #### What's Changed - Update readme with v3/v2/v1 deprecation notice by [@​robherley](https://redirect.github.com/robherley) in [https://github.com/actions/download-artifact/pull/322](https://redirect.github.com/actions/download-artifact/pull/322) - Update dependencies `@actions/core` to v1.10.1 and `@actions/artifact` to v2.1.5 **Full Changelog**: https://github.com/actions/download-artifact/compare/v4.1.4...v4.1.5 ### [`v4.1.4`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.4) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.3...v4.1.4) #### What's Changed - Update [@​actions/artifact](https://redirect.github.com/actions/artifact) by [@​bethanyj28](https://redirect.github.com/bethanyj28) in [https://github.com/actions/download-artifact/pull/307](https://redirect.github.com/actions/download-artifact/pull/307) **Full Changelog**: https://github.com/actions/download-artifact/compare/v4...v4.1.4 ### [`v4.1.3`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.3) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.2...v4.1.3) #### What's Changed - Update release-new-action-version.yml by [@​konradpabjan](https://redirect.github.com/konradpabjan) in [https://github.com/actions/download-artifact/pull/292](https://redirect.github.com/actions/download-artifact/pull/292) - Update toolkit dependency with updated unzip logic by [@​bethanyj28](https://redirect.github.com/bethanyj28) in [https://github.com/actions/download-artifact/pull/299](https://redirect.github.com/actions/download-artifact/pull/299) - Update [@​actions/artifact](https://redirect.github.com/actions/artifact) by [@​bethanyj28](https://redirect.github.com/bethanyj28) in [https://github.com/actions/download-artifact/pull/303](https://redirect.github.com/actions/download-artifact/pull/303) #### New Contributors - [@​bethanyj28](https://redirect.github.com/bethanyj28) made their first contribution in [https://github.com/actions/download-artifact/pull/299](https://redirect.github.com/actions/download-artifact/pull/299) **Full Changelog**: https://github.com/actions/download-artifact/compare/v4...v4.1.3 ### [`v4.1.2`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.2) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.1...v4.1.2) - Bump [@​actions/artifacts](https://redirect.github.com/actions/artifacts) to latest version to include [updated GHES host check](https://redirect.github.com/actions/toolkit/pull/1648) ### [`v4.1.1`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.1) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.0...v4.1.1) - Fix transient request timeouts [https://github.com/actions/download-artifact/issues/249](https://redirect.github.com/actions/download-artifact/issues/249) - Bump `@actions/artifacts` to latest version ### [`v4.1.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.0) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4...v4.1.0) #### What's Changed - Some cleanup by [@​robherley](https://redirect.github.com/robherley) in [https://github.com/actions/download-artifact/pull/247](https://redirect.github.com/actions/download-artifact/pull/247) - Fix default for run-id by [@​stchr](https://redirect.github.com/stchr) in [https://github.com/actions/download-artifact/pull/252](https://redirect.github.com/actions/download-artifact/pull/252) - Support pattern matching to filter artifacts & merge to same directory by [@​robherley](https://redirect.github.com/robherley) in [https://github.com/actions/download-artifact/pull/259](https://redirect.github.com/actions/download-artifact/pull/259) #### New Contributors - [@​stchr](https://redirect.github.com/stchr) made their first contribution in [https://github.com/actions/download-artifact/pull/252](https://redirect.github.com/actions/download-artifact/pull/252) **Full Changelog**: https://github.com/actions/download-artifact/compare/v4...v4.1.0 </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
50eb3f539e
|
Update actions/setup-python action to v5.5.0 (#17260)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-python](https://redirect.github.com/actions/setup-python) | action | minor | `v5` -> `v5.5.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>actions/setup-python (actions/setup-python)</summary> ### [`v5.5.0`](https://redirect.github.com/actions/setup-python/releases/tag/v5.5.0) [Compare Source](https://redirect.github.com/actions/setup-python/compare/v5.4.0...v5.5.0) ##### What's Changed ##### Enhancements: - Support free threaded Python versions like '3.13t' by [@​colesbury](https://redirect.github.com/colesbury) in [https://github.com/actions/setup-python/pull/973](https://redirect.github.com/actions/setup-python/pull/973) - Enhance Workflows: Include ubuntu-arm runners, Add e2e Testing for free threaded and Upgrade [@​action/cache](https://redirect.github.com/action/cache) from 4.0.0 to 4.0.3 by [@​priya-kinthali](https://redirect.github.com/priya-kinthali) in [https://github.com/actions/setup-python/pull/1056](https://redirect.github.com/actions/setup-python/pull/1056) - Add support for .tool-versions file in setup-python by [@​mahabaleshwars](https://redirect.github.com/mahabaleshwars) in [https://github.com/actions/setup-python/pull/1043](https://redirect.github.com/actions/setup-python/pull/1043) ##### Bug fixes: - Fix architecture for pypy on Linux ARM64 by [@​mayeut](https://redirect.github.com/mayeut) in [https://github.com/actions/setup-python/pull/1011](https://redirect.github.com/actions/setup-python/pull/1011) This update maps arm64 to aarch64 for Linux ARM64 PyPy installations. ##### Dependency updates: - Upgrade [@​vercel/ncc](https://redirect.github.com/vercel/ncc) from 0.38.1 to 0.38.3 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-python/pull/1016](https://redirect.github.com/actions/setup-python/pull/1016) - Upgrade [@​actions/glob](https://redirect.github.com/actions/glob) from 0.4.0 to 0.5.0 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-python/pull/1015](https://redirect.github.com/actions/setup-python/pull/1015) ##### New Contributors - [@​colesbury](https://redirect.github.com/colesbury) made their first contribution in [https://github.com/actions/setup-python/pull/973](https://redirect.github.com/actions/setup-python/pull/973) - [@​mahabaleshwars](https://redirect.github.com/mahabaleshwars) made their first contribution in [https://github.com/actions/setup-python/pull/1043](https://redirect.github.com/actions/setup-python/pull/1043) **Full Changelog**: https://github.com/actions/setup-python/compare/v5...v5.5.0 ### [`v5.4.0`](https://redirect.github.com/actions/setup-python/releases/tag/v5.4.0) [Compare Source](https://redirect.github.com/actions/setup-python/compare/v5.3.0...v5.4.0) #### What's Changed ##### Enhancements: - Update cache error message by [@​aparnajyothi-y](https://redirect.github.com/aparnajyothi-y) in [https://github.com/actions/setup-python/pull/968](https://redirect.github.com/actions/setup-python/pull/968) - Enhance Workflows: Add Ubuntu-24, Remove Python 3.8 by [@​priya-kinthali](https://redirect.github.com/priya-kinthali) in [https://github.com/actions/setup-python/pull/985](https://redirect.github.com/actions/setup-python/pull/985) - Configure Dependabot settings by [@​HarithaVattikuti](https://redirect.github.com/HarithaVattikuti) in [https://github.com/actions/setup-python/pull/1008](https://redirect.github.com/actions/setup-python/pull/1008) ##### Documentation changes: - Readme update - recommended permissions by [@​benwells](https://redirect.github.com/benwells) in [https://github.com/actions/setup-python/pull/1009](https://redirect.github.com/actions/setup-python/pull/1009) - Improve Advanced Usage examples by [@​lrq3000](https://redirect.github.com/lrq3000) in [https://github.com/actions/setup-python/pull/645](https://redirect.github.com/actions/setup-python/pull/645) ##### Dependency updates: - Upgrade `undici` from 5.28.4 to 5.28.5 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-python/pull/1012](https://redirect.github.com/actions/setup-python/pull/1012) - Upgrade `urllib3` from 1.25.9 to 1.26.19 in /**tests**/data by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-python/pull/895](https://redirect.github.com/actions/setup-python/pull/895) - Upgrade `actions/publish-immutable-action` from 0.0.3 to 0.0.4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-python/pull/1014](https://redirect.github.com/actions/setup-python/pull/1014) - Upgrade `@actions/http-client` from 2.2.1 to 2.2.3 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-python/pull/1020](https://redirect.github.com/actions/setup-python/pull/1020) - Upgrade `requests` from 2.24.0 to 2.32.2 in /**tests**/data by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-python/pull/1019](https://redirect.github.com/actions/setup-python/pull/1019) - Upgrade `@actions/cache` to `^4.0.0` by [@​priyagupta108](https://redirect.github.com/priyagupta108) in [https://github.com/actions/setup-python/pull/1007](https://redirect.github.com/actions/setup-python/pull/1007) #### New Contributors - [@​benwells](https://redirect.github.com/benwells) made their first contribution in [https://github.com/actions/setup-python/pull/1009](https://redirect.github.com/actions/setup-python/pull/1009) - [@​HarithaVattikuti](https://redirect.github.com/HarithaVattikuti) made their first contribution in [https://github.com/actions/setup-python/pull/1008](https://redirect.github.com/actions/setup-python/pull/1008) - [@​lrq3000](https://redirect.github.com/lrq3000) made their first contribution in [https://github.com/actions/setup-python/pull/645](https://redirect.github.com/actions/setup-python/pull/645) **Full Changelog**: https://github.com/actions/setup-python/compare/v5...v5.4.0 ### [`v5.3.0`](https://redirect.github.com/actions/setup-python/releases/tag/v5.3.0) [Compare Source](https://redirect.github.com/actions/setup-python/compare/v5.2.0...v5.3.0) ##### What's Changed - Add workflow file for publishing releases to immutable action package by [@​Jcambass](https://redirect.github.com/Jcambass) in [https://github.com/actions/setup-python/pull/941](https://redirect.github.com/actions/setup-python/pull/941) - Upgrade IA publish by [@​Jcambass](https://redirect.github.com/Jcambass) in [https://github.com/actions/setup-python/pull/943](https://redirect.github.com/actions/setup-python/pull/943) ##### Bug Fixes: - Normalise Line Endings to Ensure Cross-Platform Consistency by [@​priya-kinthali](https://redirect.github.com/priya-kinthali) in [https://github.com/actions/setup-python/pull/938](https://redirect.github.com/actions/setup-python/pull/938) - Revise `isGhes` logic by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/setup-python/pull/963](https://redirect.github.com/actions/setup-python/pull/963) - Bump pillow from 7.2 to 10.2.0 by [@​aparnajyothi-y](https://redirect.github.com/aparnajyothi-y) in [https://github.com/actions/setup-python/pull/956](https://redirect.github.com/actions/setup-python/pull/956) ##### Enhancements: - Enhance workflows and documentation updates by [@​priya-kinthali](https://redirect.github.com/priya-kinthali) in [https://github.com/actions/setup-python/pull/965](https://redirect.github.com/actions/setup-python/pull/965) - Bump default versions to latest by [@​jeffwidman](https://redirect.github.com/jeffwidman) in [https://github.com/actions/setup-python/pull/905](https://redirect.github.com/actions/setup-python/pull/905) ##### New Contributors - [@​Jcambass](https://redirect.github.com/Jcambass) made their first contribution in [https://github.com/actions/setup-python/pull/941](https://redirect.github.com/actions/setup-python/pull/941) - [@​jww3](https://redirect.github.com/jww3) made their first contribution in [https://github.com/actions/setup-python/pull/963](https://redirect.github.com/actions/setup-python/pull/963) **Full Changelog**: https://github.com/actions/setup-python/compare/v5...v5.3.0 ### [`v5.2.0`](https://redirect.github.com/actions/setup-python/releases/tag/v5.2.0) [Compare Source](https://redirect.github.com/actions/setup-python/compare/v5.1.1...v5.2.0) #### What's Changed ##### Bug fixes: - Add `.zip` extension to Windows package downloads for `Expand-Archive` Compatibility by [@​priyagupta108](https://redirect.github.com/priyagupta108) in [https://github.com/actions/setup-python/pull/916](https://redirect.github.com/actions/setup-python/pull/916) This addresses compatibility issues on Windows self-hosted runners by ensuring that the filenames for Python and PyPy package downloads explicitly include the .zip extension, allowing the Expand-Archive command to function correctly. - Add arch to cache key by [@​Zxilly](https://redirect.github.com/Zxilly) in [https://github.com/actions/setup-python/pull/896](https://redirect.github.com/actions/setup-python/pull/896) This addresses issues with caching by adding the architecture (arch) to the cache key, ensuring that cache keys are accurate to prevent conflicts. Note: This change may break previous cache keys as they will no longer be compatible with the new format. ##### Documentation changes: - Fix display of emojis in contributors doc by [@​sciencewhiz](https://redirect.github.com/sciencewhiz) in [https://github.com/actions/setup-python/pull/899](https://redirect.github.com/actions/setup-python/pull/899) - Documentation update for caching poetry dependencies by [@​gowridurgad](https://redirect.github.com/gowridurgad) in [https://github.com/actions/setup-python/pull/908](https://redirect.github.com/actions/setup-python/pull/908) ##### Dependency updates: - Bump [@​iarna/toml](https://redirect.github.com/iarna/toml) version from 2.2.5 to 3.0.0 by [@​priya-kinthali](https://redirect.github.com/priya-kinthali) in [https://github.com/actions/setup-python/pull/912](https://redirect.github.com/actions/setup-python/pull/912) - Bump pyinstaller from 3.6 to 5.13.1 by [@​aparnajyothi-y](https://redirect.github.com/aparnajyothi-y) in [https://github.com/actions/setup-python/pull/923](https://redirect.github.com/actions/setup-python/pull/923) #### New Contributors - [@​sciencewhiz](https://redirect.github.com/sciencewhiz) made their first contribution in [https://github.com/actions/setup-python/pull/899](https://redirect.github.com/actions/setup-python/pull/899) - [@​priyagupta108](https://redirect.github.com/priyagupta108) made their first contribution in [https://github.com/actions/setup-python/pull/916](https://redirect.github.com/actions/setup-python/pull/916) - [@​Zxilly](https://redirect.github.com/Zxilly) made their first contribution in [https://github.com/actions/setup-python/pull/896](https://redirect.github.com/actions/setup-python/pull/896) - [@​aparnajyothi-y](https://redirect.github.com/aparnajyothi-y) made their first contribution in [https://github.com/actions/setup-python/pull/923](https://redirect.github.com/actions/setup-python/pull/923) **Full Changelog**: https://github.com/actions/setup-python/compare/v5...v5.2.0 ### [`v5.1.1`](https://redirect.github.com/actions/setup-python/releases/tag/v5.1.1) [Compare Source](https://redirect.github.com/actions/setup-python/compare/v5.1.0...v5.1.1) #### What's Changed ##### Bug fixes: - fix(ci): update all failing workflows by [@​mayeut](https://redirect.github.com/mayeut) in [https://github.com/actions/setup-python/pull/863](https://redirect.github.com/actions/setup-python/pull/863) This update ensures compatibility and optimal performance of workflows on the latest macOS version. ##### Documentation changes: - Documentation update for cache by [@​gowridurgad](https://redirect.github.com/gowridurgad) in [https://github.com/actions/setup-python/pull/873](https://redirect.github.com/actions/setup-python/pull/873) ##### Dependency updates: - Bump braces from 3.0.2 to 3.0.3 and undici from 5.28.3 to 5.28.4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-python/pull/893](https://redirect.github.com/actions/setup-python/pull/893) #### New Contributors - [@​gowridurgad](https://redirect.github.com/gowridurgad) made their first contribution in [https://github.com/actions/setup-python/pull/873](https://redirect.github.com/actions/setup-python/pull/873) **Full Changelog**: https://github.com/actions/setup-python/compare/v5...v5.1.1 ### [`v5.1.0`](https://redirect.github.com/actions/setup-python/releases/tag/v5.1.0) [Compare Source](https://redirect.github.com/actions/setup-python/compare/v5.0.0...v5.1.0) #### What's Changed - Leveraging the raw API to retrieve the version-manifest, as it does not impose a rate limit and hence facilitates unrestricted consumption without the need for a token for Github Enterprise Servers by [@​Shegox](https://redirect.github.com/Shegox) in [https://github.com/actions/setup-python/pull/766](https://redirect.github.com/actions/setup-python/pull/766). - Dependency updates by [@​dependabot](https://redirect.github.com/dependabot) and [@​HarithaVattikuti](https://redirect.github.com/HarithaVattikuti) in [https://github.com/actions/setup-python/pull/817](https://redirect.github.com/actions/setup-python/pull/817) - Documentation changes for version in README by [@​basnijholt](https://redirect.github.com/basnijholt) in [https://github.com/actions/setup-python/pull/776](https://redirect.github.com/actions/setup-python/pull/776) - Documentation changes for link in README by [@​ukd1](https://redirect.github.com/ukd1) in [https://github.com/actions/setup-python/pull/793](https://redirect.github.com/actions/setup-python/pull/793) - Documentation changes for link in Advanced Usage by [@​Jamim](https://redirect.github.com/Jamim) in [https://github.com/actions/setup-python/pull/782](https://redirect.github.com/actions/setup-python/pull/782) - Documentation changes for avoiding rate limit issues on GHES by [@​priya-kinthali](https://redirect.github.com/priya-kinthali) in [https://github.com/actions/setup-python/pull/835](https://redirect.github.com/actions/setup-python/pull/835) #### New Contributors - [@​basnijholt](https://redirect.github.com/basnijholt) made their first contribution in [https://github.com/actions/setup-python/pull/776](https://redirect.github.com/actions/setup-python/pull/776) - [@​ukd1](https://redirect.github.com/ukd1) made their first contribution in [https://github.com/actions/setup-python/pull/793](https://redirect.github.com/actions/setup-python/pull/793) - [@​Jamim](https://redirect.github.com/Jamim) made their first contribution in [https://github.com/actions/setup-python/pull/782](https://redirect.github.com/actions/setup-python/pull/782) - [@​Shegox](https://redirect.github.com/Shegox) made their first contribution in [https://github.com/actions/setup-python/pull/766](https://redirect.github.com/actions/setup-python/pull/766) - [@​priya-kinthali](https://redirect.github.com/priya-kinthali) made their first contribution in [https://github.com/actions/setup-python/pull/835](https://redirect.github.com/actions/setup-python/pull/835) **Full Changelog**: https://github.com/actions/setup-python/compare/v5.0.0...v5.1.0 </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
ec30f18d02
|
Update actions/cache action to v4.2.3 (#17256)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/cache](https://redirect.github.com/actions/cache) | action | minor | `v4` -> `v4.2.3` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>actions/cache (actions/cache)</summary> ### [`v4.2.3`](https://redirect.github.com/actions/cache/releases/tag/v4.2.3) [Compare Source](https://redirect.github.com/actions/cache/compare/v4.2.2...v4.2.3) ##### What's Changed - Update to use [@​actions/cache](https://redirect.github.com/actions/cache) 4.0.3 package & prepare for new release by [@​salmanmkc](https://redirect.github.com/salmanmkc) in [https://github.com/actions/cache/pull/1577](https://redirect.github.com/actions/cache/pull/1577) (SAS tokens for cache entries are now masked in debug logs) ##### New Contributors - [@​salmanmkc](https://redirect.github.com/salmanmkc) made their first contribution in [https://github.com/actions/cache/pull/1577](https://redirect.github.com/actions/cache/pull/1577) **Full Changelog**: https://github.com/actions/cache/compare/v4.2.2...v4.2.3 ### [`v4.2.2`](https://redirect.github.com/actions/cache/releases/tag/v4.2.2) [Compare Source](https://redirect.github.com/actions/cache/compare/v4.2.1...v4.2.2) ##### What's Changed > \[!IMPORTANT] > As a reminder, there were important backend changes to release v4.2.0, see [those release notes](https://redirect.github.com/actions/cache/releases/tag/v4.2.0) and [the announcement](https://redirect.github.com/actions/cache/discussions/1510) for more details. - Bump [@​actions/cache](https://redirect.github.com/actions/cache) to v4.0.2 by [@​robherley](https://redirect.github.com/robherley) in [https://github.com/actions/cache/pull/1560](https://redirect.github.com/actions/cache/pull/1560) **Full Changelog**: https://github.com/actions/cache/compare/v4.2.1...v4.2.2 ### [`v4.2.1`](https://redirect.github.com/actions/cache/releases/tag/v4.2.1) [Compare Source](https://redirect.github.com/actions/cache/compare/v4.2.0...v4.2.1) ##### What's Changed > \[!IMPORTANT] > As a reminder, there were important backend changes to release v4.2.0, see [those release notes](https://redirect.github.com/actions/cache/releases/tag/v4.2.0) and [the announcement](https://redirect.github.com/actions/cache/discussions/1510) for more details. - docs: GitHub is spelled incorrectly in caching-strategies.md by [@​janco-absa](https://redirect.github.com/janco-absa) in [https://github.com/actions/cache/pull/1526](https://redirect.github.com/actions/cache/pull/1526) - docs: Make the "always save prime numbers" example more clear by [@​Tobbe](https://redirect.github.com/Tobbe) in [https://github.com/actions/cache/pull/1525](https://redirect.github.com/actions/cache/pull/1525) - Update force deletion docs due a recent deprecation by [@​sebbalex](https://redirect.github.com/sebbalex) in [https://github.com/actions/cache/pull/1500](https://redirect.github.com/actions/cache/pull/1500) - Bump [@​actions/cache](https://redirect.github.com/actions/cache) to v4.0.1 by [@​robherley](https://redirect.github.com/robherley) in [https://github.com/actions/cache/pull/1554](https://redirect.github.com/actions/cache/pull/1554) ##### New Contributors - [@​janco-absa](https://redirect.github.com/janco-absa) made their first contribution in [https://github.com/actions/cache/pull/1526](https://redirect.github.com/actions/cache/pull/1526) - [@​Tobbe](https://redirect.github.com/Tobbe) made their first contribution in [https://github.com/actions/cache/pull/1525](https://redirect.github.com/actions/cache/pull/1525) - [@​sebbalex](https://redirect.github.com/sebbalex) made their first contribution in [https://github.com/actions/cache/pull/1500](https://redirect.github.com/actions/cache/pull/1500) **Full Changelog**: https://github.com/actions/cache/compare/v4.2.0...v4.2.1 ### [`v4.2.0`](https://redirect.github.com/actions/cache/releases/tag/v4.2.0) [Compare Source](https://redirect.github.com/actions/cache/compare/v4.1.2...v4.2.0) ##### ⚠️ Important Changes The cache backend service has been rewritten from the ground up for improved performance and reliability. [actions/cache](https://redirect.github.com/actions/cache) now integrates with the new cache service (v2) APIs. The new service will gradually roll out as of **February 1st, 2025**. The legacy service will also be sunset on the same date. Changes in these release are **fully backward compatible**. **We are deprecating some versions of this action**. We recommend upgrading to version `v4` or `v3` as soon as possible before **February 1st, 2025.** (Upgrade instructions below). If you are using pinned SHAs, please use the SHAs of versions `v4.2.0` or `v3.4.0` If you do not upgrade, all workflow runs using any of the deprecated [actions/cache](https://redirect.github.com/actions/cache) will fail. Upgrading to the recommended versions will not break your workflows. Read more about the change & access the migration guide: [reference to the announcement](https://redirect.github.com/actions/cache/discussions/1510). ##### Minor changes Minor and patch version updates for these dependencies: - [@​actions/core](https://redirect.github.com/actions/core): `1.11.1` - [@​actions/io](https://redirect.github.com/actions/io): `1.1.3` - [@​vercel/ncc](https://redirect.github.com/vercel/ncc): `0.38.3` **Full Changelog**: https://github.com/actions/cache/compare/v4.1.2...v4.2.0 ### [`v4.1.2`](https://redirect.github.com/actions/cache/releases/tag/v4.1.2) [Compare Source](https://redirect.github.com/actions/cache/compare/v4.1.1...v4.1.2) ##### What's Changed - Add Bun example by [@​idleberg](https://redirect.github.com/idleberg) in [https://github.com/actions/cache/pull/1456](https://redirect.github.com/actions/cache/pull/1456) - Revise `isGhes` logic by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/cache/pull/1474](https://redirect.github.com/actions/cache/pull/1474) - Bump braces from 3.0.2 to 3.0.3 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/cache/pull/1475](https://redirect.github.com/actions/cache/pull/1475) - Add dependabot.yml to enable automatic dependency upgrades by [@​Link-](https://redirect.github.com/Link-) in [https://github.com/actions/cache/pull/1476](https://redirect.github.com/actions/cache/pull/1476) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/cache/pull/1478](https://redirect.github.com/actions/cache/pull/1478) - Bump actions/stale from 3 to 9 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/cache/pull/1479](https://redirect.github.com/actions/cache/pull/1479) - Bump github/codeql-action from 2 to 3 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/cache/pull/1483](https://redirect.github.com/actions/cache/pull/1483) - Bump actions/setup-node from 3 to 4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/cache/pull/1481](https://redirect.github.com/actions/cache/pull/1481) - Prepare `4.1.2` release by [@​Link-](https://redirect.github.com/Link-) in [https://github.com/actions/cache/pull/1477](https://redirect.github.com/actions/cache/pull/1477) ##### New Contributors - [@​idleberg](https://redirect.github.com/idleberg) made their first contribution in [https://github.com/actions/cache/pull/1456](https://redirect.github.com/actions/cache/pull/1456) - [@​jww3](https://redirect.github.com/jww3) made their first contribution in [https://github.com/actions/cache/pull/1474](https://redirect.github.com/actions/cache/pull/1474) - [@​Link-](https://redirect.github.com/Link-) made their first contribution in [https://github.com/actions/cache/pull/1476](https://redirect.github.com/actions/cache/pull/1476) **Full Changelog**: https://github.com/actions/cache/compare/v4.1.1...v4.1.2 ### [`v4.1.1`](https://redirect.github.com/actions/cache/releases/tag/v4.1.1) [Compare Source](https://redirect.github.com/actions/cache/compare/v4.1.0...v4.1.1) ##### What's Changed - Restore original behavior of `cache-hit` output by [@​joshmgross](https://redirect.github.com/joshmgross) in [https://github.com/actions/cache/pull/1467](https://redirect.github.com/actions/cache/pull/1467) **Full Changelog**: https://github.com/actions/cache/compare/v4.1.0...v4.1.1 ### [`v4.1.0`](https://redirect.github.com/actions/cache/releases/tag/v4.1.0) [Compare Source](https://redirect.github.com/actions/cache/compare/v4.0.2...v4.1.0) ##### What's Changed - Fix cache-hit output when cache missed by [@​fchimpan](https://redirect.github.com/fchimpan) in [https://github.com/actions/cache/pull/1404](https://redirect.github.com/actions/cache/pull/1404) - Deprecate `save-always` input by [@​joshmgross](https://redirect.github.com/joshmgross) in [https://github.com/actions/cache/pull/1452](https://redirect.github.com/actions/cache/pull/1452) ##### New Contributors - [@​ottlinger](https://redirect.github.com/ottlinger) made their first contribution in [https://github.com/actions/cache/pull/1437](https://redirect.github.com/actions/cache/pull/1437) - [@​Olegt0rr](https://redirect.github.com/Olegt0rr) made their first contribution in [https://github.com/actions/cache/pull/1377](https://redirect.github.com/actions/cache/pull/1377) - [@​fchimpan](https://redirect.github.com/fchimpan) made their first contribution in [https://github.com/actions/cache/pull/1404](https://redirect.github.com/actions/cache/pull/1404) - [@​x612skm](https://redirect.github.com/x612skm) made their first contribution in [https://github.com/actions/cache/pull/1434](https://redirect.github.com/actions/cache/pull/1434) - [@​todgru](https://redirect.github.com/todgru) made their first contribution in [https://github.com/actions/cache/pull/1311](https://redirect.github.com/actions/cache/pull/1311) - [@​Jcambass](https://redirect.github.com/Jcambass) made their first contribution in [https://github.com/actions/cache/pull/1463](https://redirect.github.com/actions/cache/pull/1463) - [@​mackey0225](https://redirect.github.com/mackey0225) made their first contribution in [https://github.com/actions/cache/pull/1462](https://redirect.github.com/actions/cache/pull/1462) - [@​quatquatt](https://redirect.github.com/quatquatt) made their first contribution in [https://github.com/actions/cache/pull/1445](https://redirect.github.com/actions/cache/pull/1445) **Full Changelog**: https://github.com/actions/cache/compare/v4.0.2...v4.1.0 ### [`v4.0.2`](https://redirect.github.com/actions/cache/releases/tag/v4.0.2) [Compare Source](https://redirect.github.com/actions/cache/compare/v4.0.1...v4.0.2) #### What's Changed - Fix `fail-on-cache-miss` not working by [@​cdce8p](https://redirect.github.com/cdce8p) in [https://github.com/actions/cache/pull/1327](https://redirect.github.com/actions/cache/pull/1327) **Full Changelog**: https://github.com/actions/cache/compare/v4.0.1...v4.0.2 ### [`v4.0.1`](https://redirect.github.com/actions/cache/releases/tag/v4.0.1) [Compare Source](https://redirect.github.com/actions/cache/compare/v4.0.0...v4.0.1) #### What's Changed - Update README.md by [@​yacaovsnc](https://redirect.github.com/yacaovsnc) in [https://github.com/actions/cache/pull/1304](https://redirect.github.com/actions/cache/pull/1304) - Update examples by [@​yacaovsnc](https://redirect.github.com/yacaovsnc) in [https://github.com/actions/cache/pull/1305](https://redirect.github.com/actions/cache/pull/1305) - Update actions/cache publish flow by [@​bethanyj28](https://redirect.github.com/bethanyj28) in [https://github.com/actions/cache/pull/1340](https://redirect.github.com/actions/cache/pull/1340) - Update [@​actions/cache](https://redirect.github.com/actions/cache) by [@​bethanyj28](https://redirect.github.com/bethanyj28) in [https://github.com/actions/cache/pull/1341](https://redirect.github.com/actions/cache/pull/1341) #### New Contributors - [@​yacaovsnc](https://redirect.github.com/yacaovsnc) made their first contribution in [https://github.com/actions/cache/pull/1304](https://redirect.github.com/actions/cache/pull/1304) **Full Changelog**: https://github.com/actions/cache/compare/v4...v4.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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
1120def16a
|
Update Swatinem/rust-cache action to v2.7.8 (#17255)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Swatinem/rust-cache](https://redirect.github.com/Swatinem/rust-cache) | action | minor | `v2` -> `v2.7.8` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>Swatinem/rust-cache (Swatinem/rust-cache)</summary> ### [`v2.7.8`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.7.8) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.7.7...v2.7.8) ##### What's Changed - Include CPU arch in the cache key for arm64 Linux runners by [@​rhysd](https://redirect.github.com/rhysd) in [https://github.com/Swatinem/rust-cache/pull/228](https://redirect.github.com/Swatinem/rust-cache/pull/228) **Full Changelog**: https://github.com/Swatinem/rust-cache/compare/v2.7.7...v2.7.8 ### [`v2.7.7`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.7.7) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.7.6...v2.7.7) **Full Changelog**: https://github.com/Swatinem/rust-cache/compare/v2.7.6...v2.7.7 ### [`v2.7.6`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.7.6) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.7.5...v2.7.6) ##### What's Changed - Updated artifact upload action to v4 by [@​guylamar2006](https://redirect.github.com/guylamar2006) in [https://github.com/Swatinem/rust-cache/pull/212](https://redirect.github.com/Swatinem/rust-cache/pull/212) - Adds an option to do lookup-only of the cache by [@​danlec](https://redirect.github.com/danlec) in [https://github.com/Swatinem/rust-cache/pull/217](https://redirect.github.com/Swatinem/rust-cache/pull/217) - add runner OS in cache key by [@​rnbguy](https://redirect.github.com/rnbguy) in [https://github.com/Swatinem/rust-cache/pull/220](https://redirect.github.com/Swatinem/rust-cache/pull/220) - Allow opting out of caching $CARGO_HOME/bin. by [@​benjyw](https://redirect.github.com/benjyw) in [https://github.com/Swatinem/rust-cache/pull/216](https://redirect.github.com/Swatinem/rust-cache/pull/216) ##### New Contributors - [@​guylamar2006](https://redirect.github.com/guylamar2006) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/212](https://redirect.github.com/Swatinem/rust-cache/pull/212) - [@​danlec](https://redirect.github.com/danlec) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/217](https://redirect.github.com/Swatinem/rust-cache/pull/217) - [@​rnbguy](https://redirect.github.com/rnbguy) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/220](https://redirect.github.com/Swatinem/rust-cache/pull/220) - [@​benjyw](https://redirect.github.com/benjyw) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/216](https://redirect.github.com/Swatinem/rust-cache/pull/216) **Full Changelog**: https://github.com/Swatinem/rust-cache/compare/v2.7.5...v2.7.6 ### [`v2.7.5`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.7.5) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.7.3...v2.7.5) ##### What's Changed - Upgrade checkout action from version 3 to 4 by [@​carsten-wenderdel](https://redirect.github.com/carsten-wenderdel) in [https://github.com/Swatinem/rust-cache/pull/190](https://redirect.github.com/Swatinem/rust-cache/pull/190) - fix: usage of `deprecated` version of `node` by [@​hamirmahal](https://redirect.github.com/hamirmahal) in [https://github.com/Swatinem/rust-cache/pull/197](https://redirect.github.com/Swatinem/rust-cache/pull/197) - Only run macOsWorkaround() on macOS by [@​heksesang](https://redirect.github.com/heksesang) in [https://github.com/Swatinem/rust-cache/pull/206](https://redirect.github.com/Swatinem/rust-cache/pull/206) - Support Cargo.lock format cargo-lock v4 by [@​NobodyXu](https://redirect.github.com/NobodyXu) in [https://github.com/Swatinem/rust-cache/pull/211](https://redirect.github.com/Swatinem/rust-cache/pull/211) ##### New Contributors - [@​carsten-wenderdel](https://redirect.github.com/carsten-wenderdel) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/190](https://redirect.github.com/Swatinem/rust-cache/pull/190) - [@​hamirmahal](https://redirect.github.com/hamirmahal) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/197](https://redirect.github.com/Swatinem/rust-cache/pull/197) - [@​heksesang](https://redirect.github.com/heksesang) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/206](https://redirect.github.com/Swatinem/rust-cache/pull/206) **Full Changelog**: https://github.com/Swatinem/rust-cache/compare/v2.7.3...v2.7.5 ### [`v2.7.3`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.7.3) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.7.2...v2.7.3) - Work around upstream problem that causes cache saving to hang for minutes. **Full Changelog**: https://github.com/Swatinem/rust-cache/compare/v2.7.2...v2.7.3 ### [`v2.7.2`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.7.2) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.7.1...v2.7.2) ##### What's Changed - Update action runtime to `node20` by [@​rhysd](https://redirect.github.com/rhysd) in [https://github.com/Swatinem/rust-cache/pull/175](https://redirect.github.com/Swatinem/rust-cache/pull/175) - Only key by `Cargo.toml` and `Cargo.lock` files of workspace members by [@​max-heller](https://redirect.github.com/max-heller) in [https://github.com/Swatinem/rust-cache/pull/180](https://redirect.github.com/Swatinem/rust-cache/pull/180) ##### New Contributors - [@​rhysd](https://redirect.github.com/rhysd) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/175](https://redirect.github.com/Swatinem/rust-cache/pull/175) - [@​max-heller](https://redirect.github.com/max-heller) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/180](https://redirect.github.com/Swatinem/rust-cache/pull/180) **Full Changelog**: https://github.com/Swatinem/rust-cache/compare/v2.7.1...v2.7.2 ### [`v2.7.1`](https://redirect.github.com/Swatinem/rust-cache/compare/v2.7.0...v2.7.1) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.7.0...v2.7.1) ### [`v2.7.0`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.7.0) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.6.2...v2.7.0) ##### What's Changed - Fix save-if documentation in readme by [@​rukai](https://redirect.github.com/rukai) in [https://github.com/Swatinem/rust-cache/pull/166](https://redirect.github.com/Swatinem/rust-cache/pull/166) - Support for `trybuild` and similar macro testing tools by [@​neysofu](https://redirect.github.com/neysofu) in [https://github.com/Swatinem/rust-cache/pull/168](https://redirect.github.com/Swatinem/rust-cache/pull/168) ##### New Contributors - [@​rukai](https://redirect.github.com/rukai) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/166](https://redirect.github.com/Swatinem/rust-cache/pull/166) - [@​neysofu](https://redirect.github.com/neysofu) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/168](https://redirect.github.com/Swatinem/rust-cache/pull/168) **Full Changelog**: https://github.com/Swatinem/rust-cache/compare/v2.6.2...v2.7.0 ### [`v2.6.2`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.6.2) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.6.1...v2.6.2) ##### What's Changed - dep: Use `smol-toml` instead of `toml` by [@​NobodyXu](https://redirect.github.com/NobodyXu) in [https://github.com/Swatinem/rust-cache/pull/164](https://redirect.github.com/Swatinem/rust-cache/pull/164) **Full Changelog**: https://github.com/Swatinem/rust-cache/compare/v2...v2.6.2 ### [`v2.6.1`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.6.1) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.6.0...v2.6.1) - Fix hash contributions of `Cargo.lock`/`Cargo.toml` files. ### [`v2.6.0`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.6.0) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.5.1...v2.6.0) ##### What's Changed - Add "buildjet" as a second `cache-provider` backend [@​joroshiba](https://redirect.github.com/joroshiba) in [https://github.com/Swatinem/rust-cache/pull/154](https://redirect.github.com/Swatinem/rust-cache/pull/154) - Clean up sparse registry index. - Do not clean up src of `-sys` crates. - Remove `.cargo/credentials.toml` before saving. ##### New Contributors - [@​joroshiba](https://redirect.github.com/joroshiba) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/154](https://redirect.github.com/Swatinem/rust-cache/pull/154) **Full Changelog**: https://github.com/Swatinem/rust-cache/compare/v2.5.1...v2.6.0 ### [`v2.5.1`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.5.1) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.5.0...v2.5.1) - Fix hash contribution of `Cargo.lock`. ### [`v2.5.0`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.5.0) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.4.0...v2.5.0) ##### What's Changed - feat: Rm workspace crates version before caching by [@​NobodyXu](https://redirect.github.com/NobodyXu) in [https://github.com/Swatinem/rust-cache/pull/147](https://redirect.github.com/Swatinem/rust-cache/pull/147) - feat: Add hash of `.cargo/config.toml` to key by [@​NobodyXu](https://redirect.github.com/NobodyXu) in [https://github.com/Swatinem/rust-cache/pull/149](https://redirect.github.com/Swatinem/rust-cache/pull/149) ##### New Contributors - [@​NobodyXu](https://redirect.github.com/NobodyXu) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/147](https://redirect.github.com/Swatinem/rust-cache/pull/147) **Full Changelog**: https://github.com/Swatinem/rust-cache/compare/v2.4.0...v2.5.0 ### [`v2.4.0`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.4.0) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.3.0...v2.4.0) - Fix cache key stability. - Use 8 character hash components to reduce the key length, making it more readable. ### [`v2.3.0`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.3.0) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.2.1...v2.3.0) - Add `cache-all-crates` option, which enables caching of crates installed by workflows. - Add installed packages to cache key, so changes to workflows that install rust tools are detected and cached properly. - Fix cache restore failures due to upstream bug. - Fix `EISDIR` error due to globed directories. - Update runtime `@actions/cache`, `@actions/io` and dev `typescript` dependencies. - Update `npm run prepare` so it creates distribution files with the right line endings. ### [`v2.2.1`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.2.1) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.2.0...v2.2.1) - Update `@actions/cache` dependency to fix usage of `zstd` compression. ### [`v2.2.0`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.2.0) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.1.0...v2.2.0) - Add new `save-if` option to always restore, but only conditionally save the cache. ### [`v2.1.0`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.1.0) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.0.2...v2.1.0) - Only hash `Cargo.{lock,toml}` files in the configured workspace directories. ### [`v2.0.2`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.0.2) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.0.1...v2.0.2) - Avoid calling cargo metadata on pre-cleanup. - Added `prefix-key`, `cache-directories` and `cache-targets` options. ### [`v2.0.1`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.0.1) [Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2...v2.0.1) - Primarily just updating dependencies to fix GitHub deprecation notices. </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
796e7510c4
|
Update actions/checkout action to v4.2.2 (#17257)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://redirect.github.com/actions/checkout) | action | minor | `v4` -> `v4.2.2` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v4.2.2`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.2.1...v4.2.2) - `url-helper.ts` now leverages well-known environment variables by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/checkout/pull/1941](https://redirect.github.com/actions/checkout/pull/1941) - Expand unit test coverage for `isGhes` by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/checkout/pull/1946](https://redirect.github.com/actions/checkout/pull/1946) ### [`v4.2.1`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.2.0...v4.2.1) - Check out other refs/\* by commit if provided, fall back to ref by [@​orhantoy](https://redirect.github.com/orhantoy) in [https://github.com/actions/checkout/pull/1924](https://redirect.github.com/actions/checkout/pull/1924) ### [`v4.2.0`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.1.7...v4.2.0) - Add Ref and Commit outputs by [@​lucacome](https://redirect.github.com/lucacome) in [https://github.com/actions/checkout/pull/1180](https://redirect.github.com/actions/checkout/pull/1180) - Dependency updates by [@​dependabot-](https://redirect.github.com/dependabot-) [https://github.com/actions/checkout/pull/1777](https://redirect.github.com/actions/checkout/pull/1777), [https://github.com/actions/checkout/pull/1872](https://redirect.github.com/actions/checkout/pull/1872) ### [`v4.1.7`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.1.6...v4.1.7) - Bump the minor-npm-dependencies group across 1 directory with 4 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/checkout/pull/1739](https://redirect.github.com/actions/checkout/pull/1739) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/checkout/pull/1697](https://redirect.github.com/actions/checkout/pull/1697) - Check out other refs/\* by commit by [@​orhantoy](https://redirect.github.com/orhantoy) in [https://github.com/actions/checkout/pull/1774](https://redirect.github.com/actions/checkout/pull/1774) - Pin actions/checkout's own workflows to a known, good, stable version. by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/checkout/pull/1776](https://redirect.github.com/actions/checkout/pull/1776) ### [`v4.1.6`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.1.5...v4.1.6) - Check platform to set archive extension appropriately by [@​cory-miller](https://redirect.github.com/cory-miller) in [https://github.com/actions/checkout/pull/1732](https://redirect.github.com/actions/checkout/pull/1732) ### [`v4.1.5`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.1.4...v4.1.5) - Update NPM dependencies by [@​cory-miller](https://redirect.github.com/cory-miller) in [https://github.com/actions/checkout/pull/1703](https://redirect.github.com/actions/checkout/pull/1703) - Bump github/codeql-action from 2 to 3 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/checkout/pull/1694](https://redirect.github.com/actions/checkout/pull/1694) - Bump actions/setup-node from 1 to 4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/checkout/pull/1696](https://redirect.github.com/actions/checkout/pull/1696) - Bump actions/upload-artifact from 2 to 4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/checkout/pull/1695](https://redirect.github.com/actions/checkout/pull/1695) - README: Suggest `user.email` to be `41898282+github-actions[bot]@​users.noreply.github.com` by [@​cory-miller](https://redirect.github.com/cory-miller) in [https://github.com/actions/checkout/pull/1707](https://redirect.github.com/actions/checkout/pull/1707) ### [`v4.1.4`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.1.3...v4.1.4) - Disable `extensions.worktreeConfig` when disabling `sparse-checkout` by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/checkout/pull/1692](https://redirect.github.com/actions/checkout/pull/1692) - Add dependabot config by [@​cory-miller](https://redirect.github.com/cory-miller) in [https://github.com/actions/checkout/pull/1688](https://redirect.github.com/actions/checkout/pull/1688) - Bump the minor-actions-dependencies group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/checkout/pull/1693](https://redirect.github.com/actions/checkout/pull/1693) - Bump word-wrap from 1.2.3 to 1.2.5 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/checkout/pull/1643](https://redirect.github.com/actions/checkout/pull/1643) ### [`v4.1.3`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.1.2...v4.1.3) - Check git version before attempting to disable `sparse-checkout` by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/checkout/pull/1656](https://redirect.github.com/actions/checkout/pull/1656) - Add SSH user parameter by [@​cory-miller](https://redirect.github.com/cory-miller) in [https://github.com/actions/checkout/pull/1685](https://redirect.github.com/actions/checkout/pull/1685) - Update `actions/checkout` version in `update-main-version.yml` by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/checkout/pull/1650](https://redirect.github.com/actions/checkout/pull/1650) ### [`v4.1.2`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.1.1...v4.1.2) - Fix: Disable sparse checkout whenever `sparse-checkout` option is not present [@​dscho](https://redirect.github.com/dscho) in [https://github.com/actions/checkout/pull/1598](https://redirect.github.com/actions/checkout/pull/1598) ### [`v4.1.1`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.1.0...v4.1.1) - Correct link to GitHub Docs by [@​peterbe](https://redirect.github.com/peterbe) in [https://github.com/actions/checkout/pull/1511](https://redirect.github.com/actions/checkout/pull/1511) - Link to release page from what's new section by [@​cory-miller](https://redirect.github.com/cory-miller) in [https://github.com/actions/checkout/pull/1514](https://redirect.github.com/actions/checkout/pull/1514) ### [`v4.1.0`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.0.0...v4.1.0) - [Add support for partial checkout filters](https://redirect.github.com/actions/checkout/pull/1396) </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
1f254ab17e
|
Update astral-sh/setup-uv action to v5.4.1 (#17262)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) | action | minor | `v5` -> `v5.4.1` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>astral-sh/setup-uv (astral-sh/setup-uv)</summary> ### [`v5.4.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.4.1): 🌈 Add support for pep440 version specifiers [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.4.0...v5.4.1) ##### Changes With this release you can also use [pep440 version specifiers](https://peps.python.org/pep-0440/#version-specifiers) as `required-version` in files`uv.toml`, `pyroject.toml` and in the `version` input: ```yaml - name: Install a pep440-specifier-satisfying version of uv uses: astral-sh/setup-uv@v5 with: version: ">=0.4.25,<0.5" ``` ##### 🐛 Bug fixes - Add support for pep440 version identifiers [@​eifinger](https://redirect.github.com/eifinger) ([#​353](https://redirect.github.com/astral-sh/setup-uv/issues/353)) ##### 🧰 Maintenance - chore: update known checksums for 0.6.10 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​345](https://redirect.github.com/astral-sh/setup-uv/issues/345)) ##### 📚 Documentation - Add pep440 to docs header [@​eifinger](https://redirect.github.com/eifinger) ([#​355](https://redirect.github.com/astral-sh/setup-uv/issues/355)) - Fix glob syntax link [@​flying-sheep](https://redirect.github.com/flying-sheep) ([#​349](https://redirect.github.com/astral-sh/setup-uv/issues/349)) - Add link to supported glob patterns [@​eifinger](https://redirect.github.com/eifinger) ([#​348](https://redirect.github.com/astral-sh/setup-uv/issues/348)) ### [`v5.4.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.4.0): 🌈 uv and uvx path as outputs [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.3.1...v5.4.0) #### Changes The absolute paths to the uv and uvx binaries can now be accessed via the outputs `uv-path` and `uvx-path`. `setup-uv` now also issues a warning if the working directory is empty. This makes users aware of the common mistake to run `setup-uv` before `actions/checkout`. You can remove the warning by setting `ignore-empty-workdir: true` #### 🚀 Enhancements - Add uv-path and uvx-path output [@​eifinger](https://redirect.github.com/eifinger) ([#​341](https://redirect.github.com/astral-sh/setup-uv/issues/341)) - Warn when the workdir is empty [@​eifinger](https://redirect.github.com/eifinger) ([#​322](https://redirect.github.com/astral-sh/setup-uv/issues/322)) #### 🧰 Maintenance - chore: update known checksums for 0.6.9 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​339](https://redirect.github.com/astral-sh/setup-uv/issues/339)) - Merge workflows and add all-tests-passed [@​eifinger](https://redirect.github.com/eifinger) ([#​331](https://redirect.github.com/astral-sh/setup-uv/issues/331)) - chore: update known checksums for 0.6.8 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​332](https://redirect.github.com/astral-sh/setup-uv/issues/332)) - chore: update known checksums for 0.6.7 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​330](https://redirect.github.com/astral-sh/setup-uv/issues/330)) - Set required workflow permissions [@​eifinger](https://redirect.github.com/eifinger) ([#​329](https://redirect.github.com/astral-sh/setup-uv/issues/329)) - Add workflow_dispatch triggers to every workflow [@​eifinger](https://redirect.github.com/eifinger) ([#​326](https://redirect.github.com/astral-sh/setup-uv/issues/326)) - Bump dependencies [@​eifinger](https://redirect.github.com/eifinger) ([#​324](https://redirect.github.com/astral-sh/setup-uv/issues/324)) - Inline action-update-semver [@​eifinger](https://redirect.github.com/eifinger) ([#​323](https://redirect.github.com/astral-sh/setup-uv/issues/323)) - chore: update known checksums for 0.6.6 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​318](https://redirect.github.com/astral-sh/setup-uv/issues/318)) - chore: update known checksums for 0.6.5 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​313](https://redirect.github.com/astral-sh/setup-uv/issues/313)) #### 📚 Documentation - Fix wrong warning message in FAQ [@​eifinger](https://redirect.github.com/eifinger) ([#​337](https://redirect.github.com/astral-sh/setup-uv/issues/337)) - Warn when the workdir is empty [@​eifinger](https://redirect.github.com/eifinger) ([#​322](https://redirect.github.com/astral-sh/setup-uv/issues/322)) - Remove apk add python3 for musl test [@​eifinger](https://redirect.github.com/eifinger) ([#​319](https://redirect.github.com/astral-sh/setup-uv/issues/319)) #### ⬆️ Dependency updates - Bump [@​actions/cache](https://redirect.github.com/actions/cache) from 4.0.2 to 4.0.3 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​334](https://redirect.github.com/astral-sh/setup-uv/issues/334)) ### [`v5.3.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.3.1): 🌈 - Fix issues with GHES and HTTP proxies [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.3.0...v5.3.1) ##### Changes This release fixes some issues when this action was used behind a HTTP proxy or with GHES. If you have been seeing `ENOTFOUND` or timeout errors, this release should fix that. A huge thank you to everyone who helped investigating this and testing the fixes: - [@​siryessuhr](https://redirect.github.com/siryessuhr) - [@​my1e5](https://redirect.github.com/my1e5) - [@​dennis-m-e](https://redirect.github.com/dennis-m-e) - [@​PaarthShah](https://redirect.github.com/PaarthShah) ##### 🐛 Bug fixes - Always fall back to anonymous download [@​eifinger](https://redirect.github.com/eifinger) ([#​304](https://redirect.github.com/astral-sh/setup-uv/issues/304)) ##### 🧰 Maintenance - chore: update known checksums for 0.6.3 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​300](https://redirect.github.com/astral-sh/setup-uv/issues/300)) ##### 📚 Documentation - 📚 Document automatically enabled cache on GitHub-hosted runners [@​jerr0328](https://redirect.github.com/jerr0328) ([#​302](https://redirect.github.com/astral-sh/setup-uv/issues/302)) ##### ⬆️ Dependency updates - bump dependencies [@​eifinger](https://redirect.github.com/eifinger) ([#​308](https://redirect.github.com/astral-sh/setup-uv/issues/308)) - Bump peter-evans/create-pull-request from 7.0.6 to 7.0.7 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​299](https://redirect.github.com/astral-sh/setup-uv/issues/299)) ### [`v5.3.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.3.0): 🌈 Support MUSL, s390x and powerpc [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.2.2...v5.3.0) In this release we add support for MUSL based systems. This is helpful if you are running your workflow inside a docker image based on [alpine](https://hub.docker.com/\_/alpine). > \[!TIP] > Please be aware that you have to make sure a python interpreter is already present (`apk add python3`), see also https://docs.astral.sh/uv/concepts/python-versions/#cpython-distributions and [https://github.com/astral-sh/uv/issues/6890](https://redirect.github.com/astral-sh/uv/issues/6890) [@​Zxilly](https://redirect.github.com/Zxilly) also added support for running this action on self-hosted runners using s390x and powerpc architectures. Thank you! This release also includes more debug logs which makes tracking down issues easier in the future. ##### 🐛 Bug fixes - Add more debug logs [@​eifinger](https://redirect.github.com/eifinger) ([#​297](https://redirect.github.com/astral-sh/setup-uv/issues/297)) ##### 🚀 Enhancements - Support OS using musl [@​eifinger](https://redirect.github.com/eifinger) ([#​284](https://redirect.github.com/astral-sh/setup-uv/issues/284)) - feat: support s390x and powerpc [@​Zxilly](https://redirect.github.com/Zxilly) ([#​289](https://redirect.github.com/astral-sh/setup-uv/issues/289)) ##### 🧰 Maintenance - chore: update known checksums for 0.6.2 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​295](https://redirect.github.com/astral-sh/setup-uv/issues/295)) - chore: update known checksums for 0.6.1 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​293](https://redirect.github.com/astral-sh/setup-uv/issues/293)) - chore: update known checksums for 0.6.0 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​288](https://redirect.github.com/astral-sh/setup-uv/issues/288)) - chore: update known checksums for 0.5.31 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​277](https://redirect.github.com/astral-sh/setup-uv/issues/277)) - Run update-known-checksums every night [@​eifinger](https://redirect.github.com/eifinger) ([#​273](https://redirect.github.com/astral-sh/setup-uv/issues/273)) - chore: update known checksums for 0.5.29 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​272](https://redirect.github.com/astral-sh/setup-uv/issues/272)) - chore: update known checksums for 0.5.28 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​270](https://redirect.github.com/astral-sh/setup-uv/issues/270)) - chore: update known checksums for 0.5.27 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​267](https://redirect.github.com/astral-sh/setup-uv/issues/267)) - chore: update known checksums for 0.5.26 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​263](https://redirect.github.com/astral-sh/setup-uv/issues/263)) ##### 📚 Documentation - Add FAQ on resolution strategy and cache not found warnings [@​eifinger](https://redirect.github.com/eifinger) ([#​296](https://redirect.github.com/astral-sh/setup-uv/issues/296)) ### [`v5.2.2`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.2.2): 🌈 Full support for GHES [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.2.1...v5.2.2) ##### Changes This release fixes some issues that prevented use with GitHub Enterprise Server instances. ##### 🐛 Bug fixes - Do not expect GITHUB_TOKEN to be set or valid [@​eifinger](https://redirect.github.com/eifinger) ([#​262](https://redirect.github.com/astral-sh/setup-uv/issues/262)) - Fallback if toml file parsing failed [@​eifinger](https://redirect.github.com/eifinger) ([#​246](https://redirect.github.com/astral-sh/setup-uv/issues/246)) ##### 🧰 Maintenance - chore: update known checksums for 0.5.25 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​259](https://redirect.github.com/astral-sh/setup-uv/issues/259)) - chore: update known checksums for 0.5.24 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​256](https://redirect.github.com/astral-sh/setup-uv/issues/256)) - chore: update known checksums for 0.5.23 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​252](https://redirect.github.com/astral-sh/setup-uv/issues/252)) - chore: update known checksums for 0.5.22 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​250](https://redirect.github.com/astral-sh/setup-uv/issues/250)) - chore: update known checksums for 0.5.21 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​247](https://redirect.github.com/astral-sh/setup-uv/issues/247)) ##### 📚 Documentation - Fix TOC [@​eifinger](https://redirect.github.com/eifinger) ([#​257](https://redirect.github.com/astral-sh/setup-uv/issues/257)) ##### ⬆️ Dependency updates - Bump [@​types/node](https://redirect.github.com/types/node) from 22.10.10 to 22.12.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​258](https://redirect.github.com/astral-sh/setup-uv/issues/258)) - Bump release-drafter/release-drafter from 6.0.0 to 6.1.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​249](https://redirect.github.com/astral-sh/setup-uv/issues/249)) - Bump [@​types/node](https://redirect.github.com/types/node) from 22.10.9 to 22.10.10 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​254](https://redirect.github.com/astral-sh/setup-uv/issues/254)) - Bump [@​types/node](https://redirect.github.com/types/node) from 22.10.7 to 22.10.9 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​253](https://redirect.github.com/astral-sh/setup-uv/issues/253)) - Bump [@​actions/tool-cache](https://redirect.github.com/actions/tool-cache) from 2.0.1 to 2.0.2 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​244](https://redirect.github.com/astral-sh/setup-uv/issues/244)) - Bump [@​types/node](https://redirect.github.com/types/node) from 22.10.6 to 22.10.7 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​243](https://redirect.github.com/astral-sh/setup-uv/issues/243)) ### [`v5.2.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.2.1): 🌈 Support toml spec 1.0.0 [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.2.0...v5.2.1) v5.2.0 introduced TOML parsing using [@​iarna/toml](https://www.npmjs.com/package/@​iarna/toml) because we already found out in `astral-sh/ruff-action` that [toml](https://www.npmjs.com/package/toml) has missing features. As it turns out [@​iarna/toml](https://www.npmjs.com/package/@​iarna/toml) also is not fully TOML spec (1.0.0) compliant. We now use [smol-toml](https://www.npmjs.com/package/smol-toml) ##### 🐛 Bug fixes - Support toml spec 1.0.0 [@​eifinger](https://redirect.github.com/eifinger) ([#​245](https://redirect.github.com/astral-sh/setup-uv/issues/245)) ### [`v5.2.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.2.0): 🌈 Detect required-version from config file [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.1.0...v5.2.0) This release adds support to derive the version of uv to be installed from `pyproject.toml` and `uv.toml` files. If no `version` input is defined the default is now to look for a [required-version](https://docs.astral.sh/uv/reference/settings/#required-version) in `uv.toml` and then `pyproject.toml` in the repository root. If it cannot find any it falls back to `latest`. If your files are at a different place you can use the new inputs `uv-file` or `pyproject-file`. ##### 🐛 Bug fixes - Add venv/bin as absolute path to PATH [@​op](https://redirect.github.com/op) ([#​241](https://redirect.github.com/astral-sh/setup-uv/issues/241)) - fix: make sure VIRTUAL_ENV is an absolute path [@​samypr100](https://redirect.github.com/samypr100) ([#​224](https://redirect.github.com/astral-sh/setup-uv/issues/224)) ##### 🚀 Enhancements - Detect required-version from config file [@​eifinger](https://redirect.github.com/eifinger) ([#​233](https://redirect.github.com/astral-sh/setup-uv/issues/233)) ##### 🧰 Maintenance - chore: update known checksums for 0.5.20 [@​github-actions](https://redirect.github.com/github-actions) ([#​238](https://redirect.github.com/astral-sh/setup-uv/issues/238)) - chore: update known checksums for 0.5.19 [@​github-actions](https://redirect.github.com/github-actions) ([#​237](https://redirect.github.com/astral-sh/setup-uv/issues/237)) - chore: update known checksums for 0.5.18 [@​github-actions](https://redirect.github.com/github-actions) ([#​232](https://redirect.github.com/astral-sh/setup-uv/issues/232)) - chore: update known checksums for 0.5.17 [@​github-actions](https://redirect.github.com/github-actions) ([#​231](https://redirect.github.com/astral-sh/setup-uv/issues/231)) - chore: update known checksums for 0.5.16 [@​github-actions](https://redirect.github.com/github-actions) ([#​228](https://redirect.github.com/astral-sh/setup-uv/issues/228)) - chore: update known checksums for 0.5.15 [@​github-actions](https://redirect.github.com/github-actions) ([#​225](https://redirect.github.com/astral-sh/setup-uv/issues/225)) - chore: update known checksums for 0.5.14 [@​github-actions](https://redirect.github.com/github-actions) ([#​222](https://redirect.github.com/astral-sh/setup-uv/issues/222)) - chore: update known checksums for 0.5.12 [@​github-actions](https://redirect.github.com/github-actions) ([#​214](https://redirect.github.com/astral-sh/setup-uv/issues/214)) ##### 📚 Documentation - docs: bump `astral-sh/setup-uv` to `v5` [@​njzjz](https://redirect.github.com/njzjz) ([#​205](https://redirect.github.com/astral-sh/setup-uv/issues/205)) ##### ⬆️ Dependency updates - Bump [@​octokit/rest](https://redirect.github.com/octokit/rest) from 21.0.2 to 21.1.0 [@​dependabot](https://redirect.github.com/dependabot) ([#​229](https://redirect.github.com/astral-sh/setup-uv/issues/229)) - Bump typescript from 5.7.2 to 5.7.3 [@​dependabot](https://redirect.github.com/dependabot) ([#​230](https://redirect.github.com/astral-sh/setup-uv/issues/230)) - Bump [@​types/node](https://redirect.github.com/types/node) from 22.10.5 to 22.10.6 [@​dependabot](https://redirect.github.com/dependabot) ([#​236](https://redirect.github.com/astral-sh/setup-uv/issues/236)) - Bump [@​types/node](https://redirect.github.com/types/node) from 22.10.3 to 22.10.5 [@​dependabot](https://redirect.github.com/dependabot) ([#​223](https://redirect.github.com/astral-sh/setup-uv/issues/223)) - Bump [@​types/node](https://redirect.github.com/types/node) from 22.10.2 to 22.10.3 [@​dependabot](https://redirect.github.com/dependabot) ([#​220](https://redirect.github.com/astral-sh/setup-uv/issues/220)) - Bump peter-evans/create-pull-request from 7.0.5 to 7.0.6 [@​dependabot](https://redirect.github.com/dependabot) ([#​218](https://redirect.github.com/astral-sh/setup-uv/issues/218)) ### [`v5.1.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.1.0): 🌈 Fewer cache invalidations [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.0.1...v5.1.0) ##### Changes This release includes less frequently invalidated caches and a fix for setting the correct `VIRTUAL_ENV` ##### 🐛 Bug fixes - Set VIRTUAL_ENV to .venv instead of .venv/bin [@​eifinger](https://redirect.github.com/eifinger) ([#​210](https://redirect.github.com/astral-sh/setup-uv/issues/210)) ##### 🚀 Enhancements - Remove uv version from cache key [@​eifinger](https://redirect.github.com/eifinger) ([#​206](https://redirect.github.com/astral-sh/setup-uv/issues/206)) ##### 📚 Documentation - Align use of `actions/setup-python` with uv docu [@​eifinger](https://redirect.github.com/eifinger) ([#​207](https://redirect.github.com/astral-sh/setup-uv/issues/207)) ### [`v5.0.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.0.1): 🌈 The christmas elves overlooked something [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5...v5.0.1) ##### Changes With so many breaking changes so close to the end of the year we missed something. Thank you [@​ryanhiebert](https://redirect.github.com/ryanhiebert) for quickly reporting that our new defaults fail the workflow if neither a `uv.lock` nor a `requirements*.txt` can be found. This is now a warning instead. ##### 🐛 Bug fixes - Fix wrong cacheDependencyPathHash [@​eifinger](https://redirect.github.com/eifinger) ([#​201](https://redirect.github.com/astral-sh/setup-uv/issues/201)) - Warn instead of fail for no-dependency-glob [@​eifinger](https://redirect.github.com/eifinger) ([#​200](https://redirect.github.com/astral-sh/setup-uv/issues/200)) </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
![]() |
10003bd4e5
|
Revert "Update Rust crate clap to v4.5.35" (#17265)
Reverts astral-sh/ruff#17245 This broke main. Let's revert and then land this upgrade properly |
||
![]() |
85f8116b2f
|
Update Rust crate smallvec to v1.15.0 (#17254)
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
|
||
![]() |
bc8c6a4810
|
Update taiki-e/install-action digest to d4635f2 (#17244) | ||
![]() |
22f9f1dd29
|
Update PyO3/maturin-action action to v1.48.1 (#17252) | ||
![]() |
6f11470298
|
Update pre-commit dependencies (#17251) | ||
![]() |
a038c2e662
|
Update dependency pyodide to v0.27.5 (#17250) | ||
![]() |
7dc6583f9f
|
Update Rust crate ordermap to v0.5.7 (#17249) | ||
![]() |
8c51fdfeff
|
Update Rust crate mimalloc to v0.1.45 (#17248) | ||
![]() |
861a9c5d6c
|
Update Rust crate env_logger to v0.11.8 (#17247) | ||
![]() |
396a7162d6
|
Update Rust crate ctrlc to v3.4.6 (#17246) | ||
![]() |
040f80ab68
|
Update Rust crate clap to v4.5.35 (#17245) | ||
![]() |
67f8c30b53
|
[red-knot] Remove global dead_code from red-knot-server (#17229)
## Summary Use more local `expect(dead_code)` suppressions instead of a global `allow(dead_code)` in `lib.rs`. Remove some methods that are either easy to add later, are less likely to be needed for red knot, or it's unclear if we'd add it the same way as in ruff. |
||
![]() |
e01d228a71
|
[playground] Provide fallback monospace-font (#17242)
<img width="1679" alt="Screenshot 2025-04-06 at 22 51 43" src="https://github.com/user-attachments/assets/ccd9dd1a-67cd-4bc3-a22a-f3c530b8670d" /> |
||
![]() |
51bdb87fd8
|
[red-knot] Fix loading color in dark mode (#17237)
Some checks are pending
CI / cargo clippy (push) Blocked by required conditions
CI / cargo build (msrv) (push) Blocked by required conditions
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 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 / 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 The loading indicator on dark mode isn't "visible" because it's black on black. Use white as text color instead. |
||
![]() |
ac5d220d75
|
[red-knot] Fix python setting in mdtests, and rewrite a site-packages test as an mdtest (#17222)
## Summary This PR does the following things: - Fixes the `python` configuration setting for mdtest (added in https://github.com/astral-sh/ruff/pull/17221) so that it expects a path pointing to a venv's `sys.prefix` variable rather than the a path pointing to the venv's `site-packages` subdirectory. This brings the `python` setting in mdtest in sync with our CLI `--python` flag. - Tweaks mdtest so that it automatically creates a valid `pyvenv.cfg` file for you if you don't specify one. This makes it much more ergonomic to write an mdtest with a custom `python` setting: red-knot will reject a `python` setting that points to a directory that doesn't have a `pyvenv.cfg` file in it - Tweaks mdtest so that it doesn't check a custom `pyvenv.cfg` as Python source code if you _do_ add a custom `pyvenv.cfg` file for your mock virtual environment in an mdtest. (You get a lot of diagnostics about Python syntax errors in the `pyvenv.cfg` file, otherwise!) - Rewrites the test added in https://github.com/astral-sh/ruff/pull/17178 as an mdtest, and deletes the original test that was added in that PR ## Test Plan I verified that the new mdtest fails if I revert the changes to `resolver.rs` that were added in https://github.com/astral-sh/ruff/pull/17178 |
||
![]() |
73a9974d8a
|
Fix CallableTypeOf display signature (#17235)
|
||
![]() |
3dd6d0a422
|
[playground] Add Reset button (#17236)
## Summary Add a *Reset* button to both Ruff's and Red Knot's playground that resets the playground to its initial state. Closes https://github.com/astral-sh/ruff/issues/17195 ## Test Plan https://github.com/user-attachments/assets/753cca19-155a-44b1-89ba-76744487a55d https://github.com/user-attachments/assets/7d19f04c-70f4-4d9e-b745-0486cb1d4993 |
||
![]() |
4571c5f56f
|
[red-knot] Simplify playground editor state (#17223)
Some checks are pending
CI / cargo build (msrv) (push) Blocked by required conditions
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 / 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 Reduce the number of `useRef`s in `Editor` |
||
![]() |
1c652e6b98
|
[red-knot] Allow setting python in mdtests (#17221)
## Summary
This PR extends the mdtest options to allow setting the
`environment.python` option.
## Test Plan
I let @AlexWaygood write a test and he'll tell me if it works 😆
|
||
![]() |
172af7b4b0
|
Update dependency vite to v6.2.5 (#17211)
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
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://vite.dev)
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite))
| [`6.2.4` ->
`6.2.5`](https://renovatebot.com/diffs/npm/vite/6.2.4/6.2.5) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
### GitHub Vulnerability Alerts
####
[CVE-2025-31486](https://redirect.github.com/vitejs/vite/security/advisories/GHSA-xcj6-pq6g-qj4x)
### Summary
The contents of arbitrary files can be returned to the browser.
### Impact
Only apps explicitly exposing the Vite dev server to the network (using
--host or [server.host config
option](https://vitejs.dev/config/server-options.html#server-host)) are
affected..
### Details
#### `.svg`
Requests ending with `.svg` are loaded at this line.
|
||
![]() |
7e6d3838bd
|
[red-knot] Add cycle handling to narrow constraints queries (#17209)
## Summary This PR fixes the cycle issue that was causing problems in the `support super` PR. ### Affected queries - `all_narrowing_constraints_for_expression` - `all_negative_narrowing_constraints_for_expression` -- Additionally, `bidict` and `werkzeug` have been added to the project-selection list in `mypy_primer`. This PR also addresses the panics that occurred while analyzing those packages: - `bidict`: panic triggered by `all_narrowing_constraints_for_expression` - `werkzeug`: panic triggered by `all_negative_narrowing_constraints_for_expression` I think the mypy-primer results for this PR can serve as sufficient test :) |
||
![]() |
1a6a10b30f
|
[red-knot] Empty tuple is always-falsy (#17213)
Some checks are pending
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / benchmarks (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, 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
[Knot Playground] Release / publish (push) Waiting to run
## Summary Fix assignability of `tuple[()]` to `AlwaysFalsy`. closes #17202 ## Test Plan Ran the property tests for a while |
||
![]() |
b3243b5e2a
|
Run fuzzer with --preview (#17210)
Summary -- Updates `fuzz.py` to run with `--preview`, which should allow it to catch semantic syntax errors. Test Plan -- @AlexWaygood and I temporarily made any named expression a semantic syntax error and checked that this led to fuzzing errors. We also tested that reverting the `--preview` addition did not show any errors. We also ran the fuzzer on 500 seeds on `main` but didn't find any issues, (un)fortunately. |
||
![]() |
95d6ed40cc
|
Bump 0.11.4 (#17212) | ||
![]() |
acc5662e8b
|
[syntax-errors] Allow yield in base classes and annotations (#17206)
Summary -- This PR fixes the issue pointed out by @JelleZijlstra in https://github.com/astral-sh/ruff/pull/17101#issuecomment-2777480204. Namely, I conflated two very different errors from CPython: ```pycon >>> def m[T](x: (yield from 1)): ... File "<python-input-310>", line 1 def m[T](x: (yield from 1)): ... ^^^^^^^^^^^^ SyntaxError: yield expression cannot be used within the definition of a generic >>> def m(x: (yield from 1)): ... File "<python-input-311>", line 1 def m(x: (yield from 1)): ... ^^^^^^^^^^^^ SyntaxError: 'yield from' outside function >>> def outer(): ... def m(x: (yield from 1)): ... ... >>> ``` I thought the second error was the same as the first, but `yield` (and `yield from`) is actually valid in this position when inside a function scope. The same is true for base classes, as pointed out in the original comment. We don't currently raise an error for `yield` outside of a function, but that should be handled separately. On the upside, this had the benefit of removing the `InvalidExpressionPosition::BaseClass` variant and the `allow_named_expr` field from the visitor because they were both no longer used. Test Plan -- Updated inline tests. |
||
![]() |
33a56f198b
|
Don't skip visiting non-tuple slice in typing.Annotated subscripts (#17201)
Some checks are pending
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
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 / 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 / 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 / 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
Fixes: #17196 ## Summary Skipping these nodes for malformed type expressions would lead to incorrect semantic state, which can in turn mean we emit false positives for rules like `unused-variable`(`F841`) ## Test Plan `cargo nextest run` |
||
![]() |
5cee346744
|
[red-knot] mypy_primer: do not specify Python version (#17200)
## Summary * Pull in latest changes from upstream (which includes an update to a `pyproject.toml` layout and a `uv.lock` file, which should make CI more deterministic) * Do not specify `--python-version 3.13` in Red Knot runs https://github.com/astral-sh/mypy_primer/compare/add-red-knot-support-v2...astral-sh:mypy_primer:add-red-knot-support-v3 ## Test Plan Tested locally |
||
![]() |
ffa824e037
|
[red-knot] Add Type.definition method (#17153)
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
## Summary This is a follow up to the goto type definition PR. Specifically, that we want to avoid exposing too many semantic model internals publicly. I want to get some feedback on the approach taken. I think it goes into the right direction but I'm not super happy with it. The basic idea is that we add a `Type::definition` method which does the "goto type definition". The parts that I think make it awkward: * We can't directly return `Definition` because we don't create a `Definition` for modules (but we could?). Although I think it makes sense to possibly have a more public wrapper type anyway? * It doesn't handle unions and intersections. Mainly because not all elements in an intersection may have a definition and we only want to show a navigation target for intersections if there's only a single positive element (besides maybe `Unknown`). An alternative design or an addition to this design is to introduce a `SemanticAnalysis(Db)` struct that has methods like `type_definition(&self, type)` which explicitly exposes the methods we want. I don't feel comfortable design this API yet because it's unclear how fine granular it has to be (and if it is very fine granular, directly using `Type` might be better after all) ## Test Plan `cargo test` |
||
![]() |
98b95c9c38
|
Implement Invalid rule provided as rule RUF102 with --fix (#17138)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> Closes #17084 ## Summary This PR adds a new rule (RUF102) to detect and fix invalid rule codes in `noqa` comments. Invalid rule codes in `noqa` directives serve no purpose and may indicate outdated code suppressions. This extends the previous behaviour originating from `crates/ruff_linter/src/noqa.rs` which would only emit a warnigs. With this rule a `--fix` is available. The rule: 1. Analyzes all `noqa` directives to identify invalid rule codes 2. Provides autofix functionality to: - Remove the entire comment if all codes are invalid - Remove only the invalid codes when mixed with valid codes 3. Preserves original comment formatting and whitespace where possible Example cases: - `# noqa: XYZ111` → Remove entire comment (keep empty line) - `# noqa: XYZ222, XYZ333` → Remove entire comment (keep empty line) - `# noqa: F401, INVALID123` → Keep only valid codes (`# noqa: F401`) ## Test Plan - Added tests in `crates/ruff_linter/resources/test/fixtures/ruff/RUF102.py` covering different example cases. <!-- How was it tested? --> ## Notes - This does not handle cases where parsing fails. E.g. `# noqa: NON_EXISTENT, ANOTHER_INVALID` causes a `LexicalError` and the diagnostic is not propagated and we cannot handle the diagnostic. I am also unsure what proper `fix` handling would be and making the user aware we don't understand the codes is probably the best bet. - The rule is added to the Preview rule group as it's a new addition ## Questions - Should we remove the warnings, now that we have a rule? - Is the current fix behavior appropriate for all cases, particularly the handling of whitespace and line deletions? - I'm new to the codebase; let me know if there are rule utilities which could have used but didn't. --------- Co-authored-by: Micha Reiser <micha@reiser.io> |
||
![]() |
a4ba10ff0a
|
[red-knot] Add basic on-hover to playground and LSP (#17057)
## Summary
Implement a very basic hover in the playground and LSP.
It's basic, because it only shows the type on-hover. Most other LSPs
also show:
* The signature of the symbol beneath the cursor. E.g. `class
Test(a:int, b:int)` (we want something like
|
||
![]() |
bf0306887a
|
[red-knot] don't remove negations when simplifying constrained typevars (#17189)
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
For two non-disjoint types `P` and `Q`, the simplification of `(P | Q) & ~Q` is not `P`, but `P & ~Q`. In other words, the non-empty set `P & Q` is also excluded from the type. The same applies for a constrained typevar `[T: (P, Q)]`: `T & ~Q` should simplify to `P & ~Q`, not just `P`. Implementing this is actually purely a matter of removing code from the constrained typevar simplification logic; we just need to not bother removing the negations. If the negations are actually redundant (because the constraint types are disjoint), normal intersection simplification will already eliminate them (as shown in the added test.) |
||
![]() |
4f924bb975
|
[minor] Fix extra semicolon for clippy (#17188) | ||
![]() |
c2b2e42ad3
|
[syntax-errors] Invalid syntax in annotations (#17101)
Summary -- This PR detects the use of invalid syntax in annotation scopes, including `yield` and `yield from` expressions and named expressions. I combined a few different types of CPython errors here, but I think the resulting error messages still make sense and are even preferable to what CPython gives. For example, we report `yield expression cannot be used in a type annotation` for both of these: ```pycon >>> def f[T](x: (yield 1)): ... File "<python-input-26>", line 1 def f[T](x: (yield 1)): ... ^^^^^^^ SyntaxError: yield expression cannot be used within the definition of a generic >>> def foo() -> (yield x): ... File "<python-input-28>", line 1 def foo() -> (yield x): ... ^^^^^^^ SyntaxError: 'yield' outside function ``` Fixes https://github.com/astral-sh/ruff/issues/11118. Test Plan -- New inline tests, along with some updates to existing tests. |
||
![]() |
24b1b1d52c
|
[syntax-errors] Duplicate attributes in match class pattern (#17186)
Summary -- Detects duplicate attributes in a `match` class pattern: ```python match x: case Class(x=1, x=2): ... ``` which are more analogous to the similar check for mapping patterns than to the multiple assignments rule. I also realized that both this and the mapping check would only work on top-level patterns, despite the possibility that they can be nested inside other patterns: ```python match x: case [{"x": 1, "x": 2}]: ... # false negative in the old version ``` and moved these checks into the recursive pattern visitor instead. I also tidied up some of the names like the `multiple_case_assignment` function and the `MultipleCaseAssignmentVisitor`, which are now doing more than checking for multiple assignments. Test Plan -- New inline tests for both classes and mappings. |
||
![]() |
6a07dd227d
|
[syntax-errors] Fix multiple assignment for class keyword argument (#17184)
Summary -- Fixes #17181. The cases being tested with multiple *keys* being equal are actually a slightly different error, more like the error for `MatchMapping` than like the other multiple assignment errors: ```pycon >>> match x: ... case Class(x=x, x=x): ... ... File "<python-input-249>", line 2 case Class(x=x, x=x): ... ^ SyntaxError: attribute name repeated in class pattern: x >>> match x: ... case {"x": 1, "x": 2}: ... ... File "<python-input-251>", line 2 case {"x": 1, "x": 2}: ... ^^^^^^^^^^^^^^^^ SyntaxError: mapping pattern checks duplicate key ('x') >>> match x: ... case [x, x]: ... ... File "<python-input-252>", line 2 case [x, x]: ... ^ SyntaxError: multiple assignments to name 'x' in pattern ``` This PR just stops the false positive reported in the issue, but I will quickly follow it up with a new rule (or possibly combined with the mapping rule) catching the repeated attributes separately. Test Plan -- New inline `test_ok` and updating the `test_err` cases to have duplicate values instead of keys. |
||
![]() |
8aa5686e63
|
use astral-sh/cargo-dist instead (#17187) | ||
![]() |
e7684d3493
|
Enable overindented docs lint (#17182)
## Summary It turns out that `a.` isn't a list format supported by rustdoc. I changed the documentation to use `1.`, `2.` instead. ## Test Plan `cargo clippy` |
||
![]() |
64e7e1aa64
|
[red-knot] Add Type::TypeVar variant (#17102)
This adds a new `Type` variant for holding an instance of a typevar inside of a generic function or class. We don't handle specializing the typevars yet, but this should implement most of the typing rules for inside the generic function/class, where we don't know yet which specific type the typevar will be specialized to. This PR does _not_ yet handle the constraint that multiple occurrences of the typevar must be specialized to the _same_ time. (There is an existing test case for this in `generics/functions.md` which is still marked as TODO.) --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Carl Meyer <carl@astral.sh> |
||
![]() |
45c43735e0
|
[red-knot] update to latest Salsa with fixpoint caching fix (#17179)
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
With this PR, we no longer "hang" (not actually a hang, just an explosion in execution time) when checking pylint. |
||
![]() |
8a4158c5f8
|
Upgrade to Rust 1.86 and bump MSRV to 1.84 (#17171)
<!-- 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 I decided to disable the new [`needless_continue`](https://rust-lang.github.io/rust-clippy/master/index.html#needless_continue) rule because I often found the explicit `continue` more readable over an empty block or having to invert the condition of an other branch. ## Test Plan `cargo test` --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> |
||
![]() |
fedd982fd5
|
[red-knot] Avoid unresolved-reference in unreachable code (#17169)
## Summary This PR changes the inferred type for symbols in unreachable sections of code to `Never` (instead of reporting them as unbound), in order to silence false positive diagnostics. See the lengthy comment in the code for further details. ## Test Plan - Updated Markdown tests. - Manually verified a couple of ecosystem diagnostic changes. |
||
![]() |
a1eb834a5f
|
Fix relative import resolution in site-packages packages when the site-packages search path is a subdirectory of the first-party search path (#17178)
## Summary
If a package in `site-packages` had this directory structure:
```py
# bar/__init__.py
from .a import A
# bar/a.py
class A: ...
```
then we would fail to resolve the `from .a import A` import _if_ (as is
usually the case!) the `site-packages` search path was located inside a
`.venv` directory that was a subdirectory of the project's first-party
search path. The reason for this is a bug in `file_to_module` in the
module resolver. In this loop, we would identify that
`/project_root/.venv/lib/python3.13/site-packages/foo/__init__.py` can
be turned into a path relative to the first-party search path
(`/project_root`):
|
||
![]() |
c1f93a702c
|
[DO NOT LAND] bump Salsa version (#17176)
Update to latest Salsa main branch, so as to get a baseline for measuring the perf effect of https://github.com/salsa-rs/salsa/pull/786 on red-knot in isolation from other recent changes in Salsa main branch. |
||
![]() |
6e2b8f9696
|
[syntax-errors] Detect duplicate keys in match mapping patterns (#17129)
Summary -- Detects duplicate literals in `match` mapping keys. This PR also adds a `source` method to `SemanticSyntaxContext` to display the duplicated key in the error message by slicing out its range. Test Plan -- New inline tests. |