Skip to content

Releases

v10.4.1 🌈

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:17
Immutable release. Only release title and notes can be modified.
2a39bcf

Changes

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates

v10.4.0 🌈 New input `require-checksums` and bug fixing

Choose a tag to compare

@github-actions github-actions released this 20 Nov 14:06
Immutable release. Only release title and notes can be modified.
1db35dd

Changes

This release adds the new input require-checksums. Its false by default and when you enable it, it will fail the action when no checksum is known for a release. This can happen when you use version: latest and the version of astral-sh/setup-uv that you are running does not bundle the known checksum for the uv version just released. In that case you can always supply the checksum yourself using the checksum input.

It is also a second layer of defense when using version: latest-known


Special thanks to @yamamoto7 that fixed using PEP440 specifiers in the version and @zsol for fixing cache-python: true on Windows runners.

πŸ› Bug fixes

  • fix: resolve partial PEP 440 specifiers with PEP 440 semantics @yamamoto7 (#1128)
  • Repair cached Python directory junctions on Windows @zsol (#1122)

πŸš€ Enhancements

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates

v10.3.3 🌈 Use Astral mirror for version manifests with GitHub fallback

Choose a tag to compare

@github-actions github-actions released this 28 Oct 14:35
Immutable release. Only release title and notes can be modified.
68559e9

Changes

This release contains something that should have been included a very long time ago. Sorry for sleeping on that.

This action now retrieves the release manifest that contains the available versions, their download links and checksums from the Astral mirror, rather than trying GitHub first. This should present much more stable.
(Known checksums are still checked, so the security impact does not change)

Also a big thank you to @soujasK for a set of bugfixes πŸ‘

πŸ› Bug fixes

  • Use Astral mirror for version manifests with GitHub fallback @eifinger (#1119)
  • fix: allow whitespace in uv requirement specifiers @soujasK (#1112)
  • fix: resolve ~= specifiers with PEP 440 semantics @soujasK (#1111)
  • fix: only report a saved cache when saving succeeded @soujasK (#1110)

🧰 Maintenance

πŸ“š Documentation

v10.3.2 🌈 update known checksums for 0.13.5

Choose a tag to compare

@github-actions github-actions released this 22 Oct 08:47
Immutable release. Only release title and notes can be modified.
07a047e

Changes

🧰 Maintenance

πŸ“š Documentation

v10.3.1 🌈 preserve cache error class names in save-cache bundle

Choose a tag to compare

@github-actions github-actions released this 21 Oct 20:01
Immutable release. Only release title and notes can be modified.
18d369b

Changes

This release includes a fix so that multiple concurrent workflows trying to upload the same cache no longer warn

##[warning]Failed to save: Unable to reserve cache with key ..., another job may be creating this cache.

πŸ› Bug fixes

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates

v10.3.0 🌈 Add Python architecture selection

Choose a tag to compare

@github-actions github-actions released this 09 Oct 20:41
Immutable release. Only release title and notes can be modified.
1c37ad0

Changes

This release adds the python-arch input to select a Python architecture independently of the Python version. With uv 0.13.0 or later, set python-arch: x86_64 to use x64 Python on Windows ARM64 runners.

It also includes embedded checksums for uv releases through 0.13.0.

πŸš€ Enhancements

🧰 Maintenance

⬆️ Dependency updates

v10.2.0 🌈 Disable automatic cache saves for merge queues

Choose a tag to compare

@github-actions github-actions released this 21 Sep 13:15
Immutable release. Only release title and notes can be modified.
c18668a

Changes

This release contains the known-checksum of the most recent uv releases and also disabled the uploading(saving) of the cache when in a merge queue since theses caches would almost never be used.

πŸš€ Enhancements

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates

v10.1.0 🌈 New output `python-runtime-id`and respect NO_PROXY

Choose a tag to compare

@github-actions github-actions released this 10 Sep 19:20
Immutable release. Only release title and notes can be modified.
bec219d

Changes

This release adds more bheind the scene security improvements and also 2 small improvements.

NO_PROXY

This action now respects no_proxy/NO_PROXY environment variables which were previously ignored.

New output python-runtime-id

The new output python-runtime-id can be used to know which python version exactly was installed if you use activate-environment. See pyca/cryptography#15572 (comment) for details on why this can be useful.

πŸ› Bug fixes

πŸš€ Enhancements

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates

v10.0.1 🌈 Tolerate transient manifest timeouts

Choose a tag to compare

@github-actions github-actions released this 14 Aug 08:55
Immutable release. Only release title and notes can be modified.
20cfd1b

Changes

Thank you @arguile- for making this action more resilient.

πŸ› Bug fixes

🧰 Maintenance

πŸ“š Documentation

v10.0.0 🌈 Disable automatic caching for sensitive events and new QOL features

Choose a tag to compare

@github-actions github-actions released this 12 Aug 12:58
Immutable release. Only release title and notes can be modified.
ae62891

Changes

Another breaking release, directly after v9.0.0 but we think the added security justifies that.

Extra security by default

If you use the default enable-cache: auto this will now DISABLE THE CACHE to protect against cache poisoning for the following events:

  • pull_request_target
  • workflow_run
  • release

You can read the full reasoning in #984

version: latest-known

- name: Install the latest version of uv known to setup-uv
  uses: astral-sh/setup-uv@v10.0.0
  with:
    version: "latest-known"

This will now install the latest version with a checksum that is known by this action. The known uv checksums are automatically updated but will take a release of this action to take effect. You won't be always using the latest & greatest but you will have an extra level of security.

Read python version from .tool-versions

- name: Install uv based on the version defined in .tool-versions and also set python
  uses: astral-sh/setup-uv@v10.0.0
  with:
    version-file: "pyproject.toml"

Will now also set the python version if it is defined in .tool-versions. You can read the details in the docs

🚨 Breaking changes

  • Disable automatic caching for sensitive events @eifinger (#992)

πŸ› Bug fixes

πŸš€ Enhancements

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates