Skip to content

Commit 80ba40a

Browse files
Update charmcraft.yaml build tools (#367)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Update | |---|---|---|---|---|---|---| | [poetry](https://redirect.github.com/python-poetry/poetry) ([changelog](https://python-poetry.org/history/)) | `2.0.1` -> `2.1.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/poetry/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/poetry/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/poetry/2.0.1/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/poetry/2.0.1/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | minor | | [rust-lang/rust](https://redirect.github.com/rust-lang/rust) | `1.84.0` -> `1.85.0` | [![age](https://developer.mend.io/api/mc/badges/age/github-releases/rust-lang%2frust/1.85.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/github-releases/rust-lang%2frust/1.85.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/github-releases/rust-lang%2frust/1.84.0/1.85.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/github-releases/rust-lang%2frust/1.84.0/1.85.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | minor | | [uv](https://pypi.org/project/uv/) ([source](https://redirect.github.com/astral-sh/uv), [changelog](https://redirect.github.com/astral-sh/uv/blob/main/CHANGELOG.md)) | `0.5.20` -> `0.6.4` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/uv/0.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/uv/0.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/uv/0.5.20/0.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/uv/0.5.20/0.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | minor | --- ### Release Notes <details> <summary>python-poetry/poetry (poetry)</summary> ### [`v2.1.1`](https://redirect.github.com/python-poetry/poetry/blob/HEAD/CHANGELOG.md#211---2025-02-16) [Compare Source](https://redirect.github.com/python-poetry/poetry/compare/2.1.0...2.1.1) ##### Fixed - Fix an issue where `poetry env use python` does not choose the Python from the PATH ([#&#8203;10187](https://redirect.github.com/python-poetry/poetry/pull/10187)). ##### poetry-core ([`2.1.1`](https://redirect.github.com/python-poetry/poetry-core/releases/tag/2.1.1)) - Fix an issue where simplifying a `python_version` marker resulted in an invalid marker ([#&#8203;838](https://redirect.github.com/python-poetry/poetry-core/pull/838)). ### [`v2.1.0`](https://redirect.github.com/python-poetry/poetry/blob/HEAD/CHANGELOG.md#210---2025-02-15) [Compare Source](https://redirect.github.com/python-poetry/poetry/compare/2.0.1...2.1.0) ##### Added - **Make `build` command build-system agnostic** ([#&#8203;10059](https://redirect.github.com/python-poetry/poetry/pull/10059), [#&#8203;10092](https://redirect.github.com/python-poetry/poetry/pull/10092)). - Add a `--config-settings` option to `poetry build` ([#&#8203;10059](https://redirect.github.com/python-poetry/poetry/pull/10059)). - Add support for defining `config-settings` when building dependencies ([#&#8203;10129](https://redirect.github.com/python-poetry/poetry/pull/10129)). - **Add (experimental) commands to manage Python installations** ([#&#8203;10112](https://redirect.github.com/python-poetry/poetry/pull/10112)). - Use `findpython` to find the Python interpreters ([#&#8203;10097](https://redirect.github.com/python-poetry/poetry/pull/10097)). - Add a `--no-truncate` option to `poetry show` ([#&#8203;9580](https://redirect.github.com/python-poetry/poetry/pull/9580)). - Re-add support for passwords with empty usernames ([#&#8203;10088](https://redirect.github.com/python-poetry/poetry/pull/10088)). - Add better error messages ([#&#8203;10053](https://redirect.github.com/python-poetry/poetry/pull/10053), [#&#8203;10065](https://redirect.github.com/python-poetry/poetry/pull/10065), [#&#8203;10126](https://redirect.github.com/python-poetry/poetry/pull/10126), [#&#8203;10127](https://redirect.github.com/python-poetry/poetry/pull/10127), [#&#8203;10132](https://redirect.github.com/python-poetry/poetry/pull/10132)). ##### Changed - **`poetry new` defaults to "src" layout by default** ([#&#8203;10135](https://redirect.github.com/python-poetry/poetry/pull/10135)). - Improve performance of locking dependencies ([#&#8203;10111](https://redirect.github.com/python-poetry/poetry/pull/10111), [#&#8203;10114](https://redirect.github.com/python-poetry/poetry/pull/10114), [#&#8203;10138](https://redirect.github.com/python-poetry/poetry/pull/10138), [#&#8203;10146](https://redirect.github.com/python-poetry/poetry/pull/10146)). - Deprecate adding sources without specifying `--priority` ([#&#8203;10134](https://redirect.github.com/python-poetry/poetry/pull/10134)). ##### Fixed - Fix an issue where global options were not handled correctly when positioned after command options ([#&#8203;10021](https://redirect.github.com/python-poetry/poetry/pull/10021), [#&#8203;10067](https://redirect.github.com/python-poetry/poetry/pull/10067), [#&#8203;10128](https://redirect.github.com/python-poetry/poetry/pull/10128)). - Fix an issue where building a dependency from source failed because of a conflict between build-system dependencies that were not required for the target environment ([#&#8203;10048](https://redirect.github.com/python-poetry/poetry/pull/10048)). - Fix an issue where `poetry init` was not able to find a package on PyPI while adding dependencies interactively ([#&#8203;10055](https://redirect.github.com/python-poetry/poetry/pull/10055)). - Fix an issue where the `@latest` descriptor was incorrectly passed to the core requirement parser ([#&#8203;10069](https://redirect.github.com/python-poetry/poetry/pull/10069)). - Fix an issue where Boolean environment variables set to `True` (in contrast to `true`) were interpreted as `false` ([#&#8203;10080](https://redirect.github.com/python-poetry/poetry/pull/10080)). - Fix an issue where `poetry env activate` reported a misleading error message ([#&#8203;10087](https://redirect.github.com/python-poetry/poetry/pull/10087)). - Fix an issue where adding an optional dependency with `poetry add --optional` would not correctly update the lock file ([#&#8203;10076](https://redirect.github.com/python-poetry/poetry/pull/10076)). - Fix an issue where `pip` was not installed/updated before other dependencies resulting in a race condition ([#&#8203;10102](https://redirect.github.com/python-poetry/poetry/pull/10102)). - Fix an issue where Poetry freezes when multiple threads attempt to unlock the `keyring` simultaneously ([#&#8203;10062](https://redirect.github.com/python-poetry/poetry/pull/10062)). - Fix an issue where markers with extras were not locked correctly ([#&#8203;10119](https://redirect.github.com/python-poetry/poetry/pull/10119)). - Fix an issue where self-referential extras were not resolved correctly ([#&#8203;10106](https://redirect.github.com/python-poetry/poetry/pull/10106)). - Fix an issue where Poetry could not be run from a `zipapp` ([#&#8203;10074](https://redirect.github.com/python-poetry/poetry/pull/10074)). - Fix an issue where installation failed with a permission error when using the system environment as a user without write access to system site packages ([#&#8203;9014](https://redirect.github.com/python-poetry/poetry/pull/9014)). - Fix an issue where a version of a dependency that is not compatible with the project's python constraint was locked. ([#&#8203;10141](https://redirect.github.com/python-poetry/poetry/pull/10141)). - Fix an issue where Poetry wrongly reported that the current project's supported Python range is not compatible with some of the required packages Python requirement ([#&#8203;10157](https://redirect.github.com/python-poetry/poetry/pull/10157)). - Fix an issue where the requested extras of a dependency were ignored if the same dependency (with same extras) was specified in multiple groups ([#&#8203;10158](https://redirect.github.com/python-poetry/poetry/pull/10158)). ##### Docs - Sort commands by name in the CLI reference ([#&#8203;10035](https://redirect.github.com/python-poetry/poetry/pull/10035)). - Add missing documentation for `env` commands ([#&#8203;10027](https://redirect.github.com/python-poetry/poetry/pull/10027)). - Clarify that the `name` and `version` fields are always required if the `project` section is specified ([#&#8203;10033](https://redirect.github.com/python-poetry/poetry/pull/10033)). - Add a note about restarting the shell for tab completion changes to take effect ([#&#8203;10070](https://redirect.github.com/python-poetry/poetry/pull/10070)). - Fix the example for `project.gui-scripts` [#&#8203;10121](https://redirect.github.com/python-poetry/poetry/pull/10121). - Explain how to include files as scripts in the project configuration ([#&#8203;9572](https://redirect.github.com/python-poetry/poetry/pull/9572), [#&#8203;10133](https://redirect.github.com/python-poetry/poetry/pull/10133)). - Add additional information on specifying required python versions ([#&#8203;10104](https://redirect.github.com/python-poetry/poetry/pull/10104)). ##### poetry-core ([`2.1.0`](https://redirect.github.com/python-poetry/poetry-core/releases/tag/2.1.0)) - Fix an issue where inclusive ordering with post releases was inconsistent with PEP 440 ([#&#8203;379](https://redirect.github.com/python-poetry/poetry-core/pull/379)). - Fix an issue where invalid URI tokens in PEP 508 requirement strings were silently discarded ([#&#8203;817](https://redirect.github.com/python-poetry/poetry-core/pull/817)). - Fix an issue where wrong markers were calculated when removing parts covered by the project's python constraint ([#&#8203;824](https://redirect.github.com/python-poetry/poetry-core/pull/824)). - Fix an issue where optional dependencies that are not part of an extra were included in the wheel metadata ([#&#8203;830](https://redirect.github.com/python-poetry/poetry-core/pull/830)). - Fix an issue where the `__pycache__` directory and `*.pyc` files were included in sdists and wheels ([#&#8203;835](https://redirect.github.com/python-poetry/poetry-core/pull/835)). </details> <details> <summary>rust-lang/rust (rust-lang/rust)</summary> ### [`v1.85.0`](https://redirect.github.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1850-2025-02-20) [Compare Source](https://redirect.github.com/rust-lang/rust/compare/1.84.1...1.85.0) \========================== <a id="1.85.0-Language"></a> ## Language - [The 2024 Edition is now stable.](https://redirect.github.com/rust-lang/rust/pull/133349) See [the edition guide](https://doc.rust-lang.org/nightly/edition-guide/rust-2024/index.html) for more details. - [Stabilize async closures](https://redirect.github.com/rust-lang/rust/pull/132706) See [RFC 3668](https://rust-lang.github.io/rfcs/3668-async-closures.html) for more details. - [Stabilize `#[diagnostic::do_not_recommend]`](https://redirect.github.com/rust-lang/rust/pull/132056) - [Add `unpredictable_function_pointer_comparisons` lint to warn against function pointer comparisons](https://redirect.github.com/rust-lang/rust/pull/118833) - [Lint on combining `#[no_mangle]` and `#[export_name]` attributes.](https://redirect.github.com/rust-lang/rust/pull/131558) <a id="1.85.0-Compiler"></a> ## Compiler - [The unstable flag `-Zpolymorphize` has been removed](https://redirect.github.com/rust-lang/rust/pull/133883), see [https://github.com/rust-lang/compiler-team/issues/810](https://redirect.github.com/rust-lang/compiler-team/issues/810) for some background. <a id="1.85.0-Platform-Support"></a> ## Platform Support - [Promote `powerpc64le-unknown-linux-musl` to tier 2 with host tools](https://redirect.github.com/rust-lang/rust/pull/133801) Refer to Rust's \[platform support page]\[platform-support-doc] for more information on Rust's tiered platform support. <a id="1.85.0-Libraries"></a> ## Libraries - [Panics in the standard library now have a leading `library/` in their path](https://redirect.github.com/rust-lang/rust/pull/132390) - [`std::env::home_dir()` on Windows now ignores the non-standard `$HOME` environment variable](https://redirect.github.com/rust-lang/rust/pull/132515) It will be un-deprecated in a subsequent release. - [Add `AsyncFn*` to the prelude in all editions.](https://redirect.github.com/rust-lang/rust/pull/132611) <a id="1.85.0-Stabilized-APIs"></a> ## Stabilized APIs - [`BuildHasherDefault::new`](https://doc.rust-lang.org/stable/std/hash/struct.BuildHasherDefault.html#method.new) - [`ptr::fn_addr_eq`](https://doc.rust-lang.org/std/ptr/fn.fn_addr_eq.html) - [`io::ErrorKind::QuotaExceeded`](https://doc.rust-lang.org/stable/std/io/enum.ErrorKind.html#variant.QuotaExceeded) - [`io::ErrorKind::CrossesDevices`](https://doc.rust-lang.org/stable/std/io/enum.ErrorKind.html#variant.CrossesDevices) - [`{float}::midpoint`](https://doc.rust-lang.org/core/primitive.f32.html#method.midpoint) - [Unsigned `{integer}::midpoint`](https://doc.rust-lang.org/std/primitive.u64.html#method.midpoint) - [`NonZeroU*::midpoint`](https://doc.rust-lang.org/std/num/type.NonZeroU32.html#method.midpoint) - [impl `std::iter::Extend` for tuples with arity 1 through 12](https://doc.rust-lang.org/stable/std/iter/trait.Extend.html#impl-Extend%3C\(A,\)%3E-for-\(EA,\)) - [`FromIterator<(A, ...)>` for tuples with arity 1 through 12](https://doc.rust-lang.org/stable/std/iter/trait.FromIterator.html#impl-FromIterator%3C\(EA,\)%3E-for-\(A,\)) - [`std::task::Waker::noop`](https://doc.rust-lang.org/stable/std/task/struct.Waker.html#method.noop) These APIs are now stable in const contexts: - [`mem::size_of_val`](https://doc.rust-lang.org/stable/std/mem/fn.size_of_val.html) - [`mem::align_of_val`](https://doc.rust-lang.org/stable/std/mem/fn.align_of_val.html) - [`Layout::for_value`](https://doc.rust-lang.org/stable/std/alloc/struct.Layout.html#method.for_value) - [`Layout::align_to`](https://doc.rust-lang.org/stable/std/alloc/struct.Layout.html#method.align_to) - [`Layout::pad_to_align`](https://doc.rust-lang.org/stable/std/alloc/struct.Layout.html#method.pad_to_align) - [`Layout::extend`](https://doc.rust-lang.org/stable/std/alloc/struct.Layout.html#method.extend) - [`Layout::array`](https://doc.rust-lang.org/stable/std/alloc/struct.Layout.html#method.array) - [`std::mem::swap`](https://doc.rust-lang.org/stable/std/mem/fn.swap.html) - [`std::ptr::swap`](https://doc.rust-lang.org/stable/std/ptr/fn.swap.html) - [`NonNull::new`](https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.new) - [`HashMap::with_hasher`](https://doc.rust-lang.org/stable/std/collections/struct.HashMap.html#method.with_hasher) - [`HashSet::with_hasher`](https://doc.rust-lang.org/stable/std/collections/struct.HashSet.html#method.with_hasher) - [`BuildHasherDefault::new`](https://doc.rust-lang.org/stable/std/hash/struct.BuildHasherDefault.html#method.new) - [`<float>::recip`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.recip) - [`<float>::to_degrees`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.to_degrees) - [`<float>::to_radians`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.to_radians) - [`<float>::max`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.max) - [`<float>::min`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.min) - [`<float>::clamp`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.clamp) - [`<float>::abs`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.abs) - [`<float>::signum`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.signum) - [`<float>::copysign`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.copysign) - [`MaybeUninit::write`](https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.write) <a id="1.85.0-Cargo"></a> ## Cargo - [Add future-incompatibility warning against keywords in cfgs and add raw-idents](https://redirect.github.com/rust-lang/cargo/pull/14671/) - [Stabilize higher precedence trailing flags](https://redirect.github.com/rust-lang/cargo/pull/14900/) - [Pass `CARGO_CFG_FEATURE` to build scripts](https://redirect.github.com/rust-lang/cargo/pull/14902/) <a id="1.85.0-Rustdoc"></a> ## Rustdoc - [Doc comment on impl blocks shows the first line, even when the impl block is collapsed](https://redirect.github.com/rust-lang/rust/pull/132155) <a id="1.85.0-Compatibility-Notes"></a> ## Compatibility Notes - [`rustc` no longer treats the `test` cfg as a well known check-cfg](https://redirect.github.com/rust-lang/rust/pull/131729), instead it is up to the build systems and users of `--check-cfg`\[^check-cfg] to set it as a well known cfg using `--check-cfg=cfg(test)`. This is done to enable build systems like Cargo to set it conditionally, as not all source files are suitable for unit tests. [Cargo (for now) unconditionally sets the `test` cfg as a well known cfg](https://redirect.github.com/rust-lang/cargo/pull/14963). \[^check-cfg]: https://doc.rust-lang.org/nightly/rustc/check-cfg.html - [Disable potentially incorrect type inference if there are trivial and non-trivial where-clauses](https://redirect.github.com/rust-lang/rust/pull/132325) - `std::env::home_dir()` has been deprecated for years, because it can give surprising results in some Windows configurations if the `HOME` environment variable is set (which is not the normal configuration on Windows). We had previously avoided changing its behavior, out of concern for compatibility with code depending on this non-standard configuration. Given how long this function has been deprecated, we're now fixing its behavior as a bugfix. A subsequent release will remove the deprecation for this function. - [Make `core::ffi::c_char` signedness more closely match that of the platform-default `char`](https://redirect.github.com/rust-lang/rust/pull/132975) This changed `c_char` from an `i8` to `u8` or vice versa on many Tier 2 and 3 targets (mostly Arm and RISC-V embedded targets). The new definition may result in compilation failures but fixes compatibility issues with C. The `libc` crate matches this change as of its 0.2.169 release. - [When compiling a nested `macro_rules` macro from an external crate, the content of the inner `macro_rules` is now built with the edition of the external crate, not the local crate.](https://redirect.github.com/rust-lang/rust/pull/133274) - [Increase `sparcv9-sun-solaris` and `x86_64-pc-solaris` Solaris baseline to 11.4.](https://redirect.github.com/rust-lang/rust/pull/133293) - [Show `abi_unsupported_vector_types` lint in future breakage reports](https://redirect.github.com/rust-lang/rust/pull/133374) - [Error if multiple super-trait instantiations of `dyn Trait` need associated types to be specified but only one is provided](https://redirect.github.com/rust-lang/rust/pull/133392) - [Change `powerpc64-ibm-aix` default `codemodel` to large](https://redirect.github.com/rust-lang/rust/pull/133811) <a id="1.85.0-Internal-Changes"></a> ## Internal Changes These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools. - [Build `x86_64-unknown-linux-gnu` with LTO for C/C++ code (e.g., `jemalloc`)](https://redirect.github.com/rust-lang/rust/pull/134690) ### [`v1.84.1`](https://redirect.github.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1841-2025-01-30) [Compare Source](https://redirect.github.com/rust-lang/rust/compare/1.84.0...1.84.1) \========================== <a id="1.84.1"></a> - [Fix ICE 132920 in duplicate-crate diagnostics.](https://redirect.github.com/rust-lang/rust/pull/133304/) - [Fix errors for overlapping impls in incremental rebuilds.](https://redirect.github.com/rust-lang/rust/pull/133828/) - [Fix slow compilation related to the next-generation trait solver.](https://redirect.github.com/rust-lang/rust/pull/135618/) - [Fix debuginfo when LLVM's location discriminator value limit is exceeded.](https://redirect.github.com/rust-lang/rust/pull/135643/) - Fixes for building Rust from source: - [Only try to distribute `llvm-objcopy` if llvm tools are enabled.](https://redirect.github.com/rust-lang/rust/pull/134240/) - [Add Profile Override for Non-Git Sources.](https://redirect.github.com/rust-lang/rust/pull/135433/) - [Resolve symlinks of LLVM tool binaries before copying them.](https://redirect.github.com/rust-lang/rust/pull/135585/) - [Make it possible to use ci-rustc on tarball sources.](https://redirect.github.com/rust-lang/rust/pull/135722/) </details> <details> <summary>astral-sh/uv (uv)</summary> ### [`v0.6.4`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#064) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.6.3...0.6.4) ##### Enhancements - Upgrade pypy3.10 to v7.3.19 ([#&#8203;11814](https://redirect.github.com/astral-sh/uv/pull/11814)) - Allow configuring log verbosity from the CLI (i.e., `-vvv`) ([#&#8203;11758](https://redirect.github.com/astral-sh/uv/pull/11758)) - Warn when duplicate index names found in single file ([#&#8203;11824](https://redirect.github.com/astral-sh/uv/pull/11824)) ##### Bug fixes - Always store registry index on resolution packages ([#&#8203;11815](https://redirect.github.com/astral-sh/uv/pull/11815)) - Avoid error on relative paths in `uv tool uninstall` ([#&#8203;11889](https://redirect.github.com/astral-sh/uv/pull/11889)) - Avoid silently dropping errors in directory enumeration ([#&#8203;11890](https://redirect.github.com/astral-sh/uv/pull/11890)) - Disable interactive git terminal prompts during fetches ([#&#8203;11744](https://redirect.github.com/astral-sh/uv/pull/11744)) - Discover Windows registry (PEP 514) Python versions across 32/64-bit ([#&#8203;11801](https://redirect.github.com/astral-sh/uv/pull/11801)) - Don't panic on Ctrl-C in confirm prompt ([#&#8203;11706](https://redirect.github.com/astral-sh/uv/pull/11706)) - Fix non-directory in workspace on Windows ([#&#8203;11833](https://redirect.github.com/astral-sh/uv/pull/11833)) - Make interpreter caching robust to OS upgrades ([#&#8203;11875](https://redirect.github.com/astral-sh/uv/pull/11875)) - Respect `include-system-site-packages` in layered environments ([#&#8203;11873](https://redirect.github.com/astral-sh/uv/pull/11873)) - Suggest `uv tool update-shell` in PowerShell ([#&#8203;11846](https://redirect.github.com/astral-sh/uv/pull/11846)) - Update code page to `65001` before setting environment variables in virtual environments ([#&#8203;11831](https://redirect.github.com/astral-sh/uv/pull/11831)) - Use hash instead of full wheel name in wheels bucket ([#&#8203;11738](https://redirect.github.com/astral-sh/uv/pull/11738)) - Fix version string truncation while generating cache_key ([#&#8203;11830](https://redirect.github.com/astral-sh/uv/pull/11830)) - Explicitly handle ctrl-c in confirmation prompt instead of using a signal handler ([#&#8203;11897](https://redirect.github.com/astral-sh/uv/pull/11897)) ##### Performance - Avoid cloning to string when creating cache path ([#&#8203;11772](https://redirect.github.com/astral-sh/uv/pull/11772)) - Avoid redundant clones in version containment check ([#&#8203;11767](https://redirect.github.com/astral-sh/uv/pull/11767)) - Avoid string allocation when enumerating tool names ([#&#8203;11910](https://redirect.github.com/astral-sh/uv/pull/11910)) - Avoid using owned `String` for package name constructors ([#&#8203;11768](https://redirect.github.com/astral-sh/uv/pull/11768)) - Avoid using owned `String` in deserializers ([#&#8203;11764](https://redirect.github.com/astral-sh/uv/pull/11764)) - Migrate to `zlib-rs` (again) ([#&#8203;11894](https://redirect.github.com/astral-sh/uv/pull/11894)) - Remove unnecessary clones when adding package names ([#&#8203;11771](https://redirect.github.com/astral-sh/uv/pull/11771)) - Skip unquote allocation for non-quoted strings ([#&#8203;11813](https://redirect.github.com/astral-sh/uv/pull/11813)) - Use `SmallString` for filenames and URLs ([#&#8203;11765](https://redirect.github.com/astral-sh/uv/pull/11765)) - Use a Boxed slice for version specifiers ([#&#8203;11766](https://redirect.github.com/astral-sh/uv/pull/11766)) - Use matches over contains for extra value parsing ([#&#8203;11770](https://redirect.github.com/astral-sh/uv/pull/11770)) ##### Documentation - Avoid fallback to PyPI in mixed CPU/CUDA example ([#&#8203;11115](https://redirect.github.com/astral-sh/uv/pull/11115)) - Docs: Clarify that setting cache-keys overrides defaults ([#&#8203;11895](https://redirect.github.com/astral-sh/uv/pull/11895)) - Document our MSRV policy ([#&#8203;11898](https://redirect.github.com/astral-sh/uv/pull/11898)) - Fix reference to macOS cache path ([#&#8203;11845](https://redirect.github.com/astral-sh/uv/pull/11845)) - Fix typo in `no_default_groups` documentation and changelog ([#&#8203;11928](https://redirect.github.com/astral-sh/uv/pull/11928)) - Update the "Locking and syncing" page ([#&#8203;11647](https://redirect.github.com/astral-sh/uv/pull/11647)) - Update alternative indexes documentation to use new interface ([#&#8203;10826](https://redirect.github.com/astral-sh/uv/pull/10826)) ### [`v0.6.3`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#063) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.6.2...0.6.3) ##### Enhancements - Allow quotes around command-line options in `requirement.txt files` ([#&#8203;11644](https://redirect.github.com/astral-sh/uv/pull/11644)) - Initialize PEP 723 script in `uv lock --script` ([#&#8203;11717](https://redirect.github.com/astral-sh/uv/pull/11717)) ##### Configuration - Accept multiple `.env` files in `UV_ENV_FILE` ([#&#8203;11665](https://redirect.github.com/astral-sh/uv/pull/11665)) ##### Performance - Reduce overhead in converting resolutions ([#&#8203;11660](https://redirect.github.com/astral-sh/uv/pull/11660)) - Use `SmallString` on `Hashes` ([#&#8203;11756](https://redirect.github.com/astral-sh/uv/pull/11756)) - Use a `Box` for `Yanked` on `File` ([#&#8203;11755](https://redirect.github.com/astral-sh/uv/pull/11755)) - Use a `SmallString` for the `Yanked` enum ([#&#8203;11715](https://redirect.github.com/astral-sh/uv/pull/11715)) - Use boxed slices for hash vector ([#&#8203;11714](https://redirect.github.com/astral-sh/uv/pull/11714)) - Use install concurrency for bytecode compilation too ([#&#8203;11615](https://redirect.github.com/astral-sh/uv/pull/11615)) ##### Bug fixes - Avoid installing duplicate dependencies across conflicting groups ([#&#8203;11653](https://redirect.github.com/astral-sh/uv/pull/11653)) - Check subdirectory existence after cache heal ([#&#8203;11719](https://redirect.github.com/astral-sh/uv/pull/11719)) - Include uppercase platforms for Windows wheels ([#&#8203;11681](https://redirect.github.com/astral-sh/uv/pull/11681)) - Respect existing PEP 723 script settings in `uv add` ([#&#8203;11716](https://redirect.github.com/astral-sh/uv/pull/11716)) - Reuse refined interpreter to create tool environment ([#&#8203;11680](https://redirect.github.com/astral-sh/uv/pull/11680)) - Skip removed directories during bytecode compilation ([#&#8203;11633](https://redirect.github.com/astral-sh/uv/pull/11633)) - Support conflict markers in `uv export` ([#&#8203;11643](https://redirect.github.com/astral-sh/uv/pull/11643)) - Treat lockfile as outdated if (empty) extras are added ([#&#8203;11702](https://redirect.github.com/astral-sh/uv/pull/11702)) - Display path separators as backslashes on Windows ([#&#8203;11667](https://redirect.github.com/astral-sh/uv/pull/11667)) - Display the built file name instead of the canonicalized name in `uv build` ([#&#8203;11593](https://redirect.github.com/astral-sh/uv/pull/11593)) - Fix message when there are no buildable packages ([#&#8203;11722](https://redirect.github.com/astral-sh/uv/pull/11722)) - Re-allow HTTP schemes for Git dependencies ([#&#8203;11687](https://redirect.github.com/astral-sh/uv/pull/11687)) ##### Documentation - Add anchor links to arguments and options in the CLI reference ([#&#8203;11754](https://redirect.github.com/astral-sh/uv/pull/11754)) - Add link to environment marker specification ([#&#8203;11748](https://redirect.github.com/astral-sh/uv/pull/11748)) - Fix missing a closing bracket in the `cache-keys` setting ([#&#8203;11669](https://redirect.github.com/astral-sh/uv/pull/11669)) - Remove the last edited date from documentation pages ([#&#8203;11753](https://redirect.github.com/astral-sh/uv/pull/11753)) - Fix readme typo ([#&#8203;11742](https://redirect.github.com/astral-sh/uv/pull/11742)) ### [`v0.6.2`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#062) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.6.1...0.6.2) ##### Enhancements - Add support for constraining build dependencies with `tool.uv.build-constraint-dependencies` ([#&#8203;11585](https://redirect.github.com/astral-sh/uv/pull/11585)) - Sort dependency group keys when adding new group ([#&#8203;11591](https://redirect.github.com/astral-sh/uv/pull/11591)) ##### Performance - Use an `Arc` for index URLs ([#&#8203;11586](https://redirect.github.com/astral-sh/uv/pull/11586)) ##### Bug fixes - Allow use of x86-64 Python on ARM Windows ([#&#8203;11625](https://redirect.github.com/astral-sh/uv/pull/11625)) - Fix an issue where conflict markers could instigate a very large lock file ([#&#8203;11293](https://redirect.github.com/astral-sh/uv/pull/11293)) - Fix duplicate packages with multiple conflicting extras declared ([#&#8203;11513](https://redirect.github.com/astral-sh/uv/pull/11513)) - Respect color settings for log messages ([#&#8203;11604](https://redirect.github.com/astral-sh/uv/pull/11604)) - Eagerly reject unsupported Git schemes ([#&#8203;11514](https://redirect.github.com/astral-sh/uv/pull/11514)) ##### Documentation - Add documentation for specifying Python versions in tool commands ([#&#8203;11598](https://redirect.github.com/astral-sh/uv/pull/11598)) ### [`v0.6.1`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#061) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.6.0...0.6.1) ##### Enhancements - Allow users to mark platforms as "required" for wheel coverage ([#&#8203;10067](https://redirect.github.com/astral-sh/uv/pull/10067)) - Warn for builds in non-build and workspace root pyproject.toml ([#&#8203;11394](https://redirect.github.com/astral-sh/uv/pull/11394)) ##### Bug fixes - Add `--all` to `uvx --reinstall` message ([#&#8203;11535](https://redirect.github.com/astral-sh/uv/pull/11535)) - Fallback to `GET` on HTTP 400 when attempting to use range requests for wheel download ([#&#8203;11539](https://redirect.github.com/astral-sh/uv/pull/11539)) - Prefer local variants in preference selection ([#&#8203;11546](https://redirect.github.com/astral-sh/uv/pull/11546)) - Respect verbatim executable name in `uvx` ([#&#8203;11524](https://redirect.github.com/astral-sh/uv/pull/11524)) ##### Documentation - Add documentation for required environments ([#&#8203;11542](https://redirect.github.com/astral-sh/uv/pull/11542)) - Note that `main.py` used to be `hello.py` ([#&#8203;11519](https://redirect.github.com/astral-sh/uv/pull/11519)) ### [`v0.6.0`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#060) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.5.31...0.6.0) There have been 31 releases and 1135 pull requests since [0.5.0](https://redirect.github.com/astral-sh/uv/releases/tag/0.5.0), our last release with breaking changes. As before, we've accumulated various changes that improve correctness and user experience, but could break some workflows. This release contains those changes; many have been marked as breaking out of an abundance of caution. We expect most users to be able to upgrade without making changes. ##### Breaking changes - **Create `main.py` instead of `hello.py` in `uv init`** ([#&#8203;10369](https://redirect.github.com/astral-sh/uv/pull/10369)) Previously, `uv init` created a `hello.py` sample file. Now, `uv init` will create `main.py` instead — which aligns with expectations from user feedback. The `--bare` option can be used to avoid creating the file altogether. - **Respect `UV_PYTHON` in `uv python install`** ([#&#8203;11487](https://redirect.github.com/astral-sh/uv/pull/11487)) Previously, `uv python install` did not read this environment variable; now it does. We believe this matches user expectations, however, this will take priority over `.python-version` files which could be considered breaking. - **Set `UV` to the uv executable path** ([#&#8203;11326](https://redirect.github.com/astral-sh/uv/pull/11326)) When uv spawns a subprocess, it will now have the `UV` environment variable set to the `uv` binary path. This change is breaking if you are setting the `UV` environment variable yourself, as we will overwrite its value. Additionally, this change requires marking the uv Rust entrypoint (`uv::main`) as `unsafe` to avoid unsoundness — this is only relevant if you are invoking uv using Rust. See the [Rust documentation](https://doc.rust-lang.org/std/env/fn.set_var.html#safety) for details about the safety of updating a process' environment. - **Error on non-existent extras, e.g., in `uv sync`** ([#&#8203;11426](https://redirect.github.com/astral-sh/uv/pull/11426)) Previously, uv would silently ignore non-existent extras requested on the command-line (e.g., via `uv sync --extra foo`). This is *generally* correct behavior when resolving requests for package extras, because an extra may be present on one compatible version of a package but not another. However, this flexibility doesn't need to apply to the local project and it's less surprising to error here. - **Error on missing dependency groups when `--frozen` is provided** ([#&#8203;11499](https://redirect.github.com/astral-sh/uv/pull/11499)) Previously, uv would not validate that the requested dependency groups were present in the lockfile when the `--frozen` flag was used. Now, an error will be raised if a requested dependency group is not present. - **Change `-p` to a `--python` alias in `uv pip compile`** ([#&#8203;11486](https://redirect.github.com/astral-sh/uv/pull/11486)) In `uv pip compile`, `-p` was an alias for `--python-version` while everywhere else in uv's interface it is an alias for `--python`. Additionally, `uv pip compile` did not respect the `UV_PYTHON` environment variable. Now, the semantics of this flag have been updated for parity with the rest of the CLI. However, `--python-version` is unique: if we cannot find an interpreter with the given version, we will not fail. Instead, we'll use an alternative interpreter and override its version tags with the requested version during package resolution. This behavior is retained here for backwards compatibility, `--python <version>` / `-p <version>` will not fail if the version cannot be found. However, if a specific interpreter is requested, e.g., with `--python <path>` or `--python pypy`, and cannot be found — uv will exit with an error. The breaking changes here are that `UV_PYTHON` is respected and `--python <version>` will no longer fail if the version cannot be found. - **Bump `alpine` default tag to 3.21 for derived Docker images** ([#&#8203;11157](https://redirect.github.com/astral-sh/uv/pull/11157)) Alpine 3.21 was released in Dec 2024 and is used in the official Alpine-based Python images. Our `uv:python3.x-alpine` images have been using 3.21 since uv v0.5.8. However, now the the `uv:alpine` image will use 3.21 instead of 3.20 and `uv:alpine3.20` will no longer be updated. - **Use files instead of junctions on Windows** ([#&#8203;11269](https://redirect.github.com/astral-sh/uv/pull/11269)) Previously, we used junctions for atomic replacement of cache entries on Windows. Now, we use a file with a pointer to the cache entry instead. This resolves various edge-case behaviors with junctions. These files are only intended to be consumed by uv and the cache version has been bumped. We do not think this change will affect workflows. ##### Stabilizations - **`uv publish` is no longer in preview** ([#&#8203;11032](https://redirect.github.com/astral-sh/uv/pull/11032)) This does not come with any behavior changes. You will no longer see an experimental warning when using `uv publish`. See the linked pull request for a report on the stabilization. ##### Enhancements - Support `--active` for PEP 723 script environments ([#&#8203;11433](https://redirect.github.com/astral-sh/uv/pull/11433)) - Add `revision` to the lockfile to allow backwards-compatible metadata changes ([#&#8203;11500](https://redirect.github.com/astral-sh/uv/pull/11500)) ##### Bug fixes - Avoid reading metadata from `.egg-info` files ([#&#8203;11395](https://redirect.github.com/astral-sh/uv/pull/11395)) - Include archive bucket version in archive pointers ([#&#8203;11306](https://redirect.github.com/astral-sh/uv/pull/11306)) - Omit lockfile version when additional fields are dynamic ([#&#8203;11468](https://redirect.github.com/astral-sh/uv/pull/11468)) - Respect executable name in `uvx --from tool@latest` ([#&#8203;11465](https://redirect.github.com/astral-sh/uv/pull/11465)) ##### Documentation - The `CHANGELOG.md` is now split into separate files for each "major" version to fix rendering ([#&#8203;11510](https://redirect.github.com/astral-sh/uv/pull/11510)) ### [`v0.5.31`](https://redirect.github.com/astral-sh/uv/releases/tag/0.5.31) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.5.30...0.5.31) #### Release Notes ##### Enhancements - Add `uv sync --script` ([#&#8203;11361](https://redirect.github.com/astral-sh/uv/pull/11361)) - Allow PEP 508 requirements in tool requests ([#&#8203;11337](https://redirect.github.com/astral-sh/uv/pull/11337)) - Allow source distributions to produce wheels with `+local` suffixes ([#&#8203;11429](https://redirect.github.com/astral-sh/uv/pull/11429)) - Bring parity to `uvx` and `uv tool install` requests ([#&#8203;11345](https://redirect.github.com/astral-sh/uv/pull/11345)) - Use a stable directory for local, remote, and stdin script virtual environments ([#&#8203;11347](https://redirect.github.com/astral-sh/uv/pull/11347), [#&#8203;11364](https://redirect.github.com/astral-sh/uv/pull/11364)) - Detect infinite recursion in `uv run` ([#&#8203;11386](https://redirect.github.com/astral-sh/uv/pull/11386)) ##### Python The managed Python distributions have been updated, including: - CPython 3.14.0a5, which includes a new [tail calling interpreter](https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-tail-call) for a significant performance improvement - The bundled OpenSSL version was updated from 3.0.15 to 3.0.16 which fixes a [security advisory](https://openssl-library.org/news/secadv/20241016.txt) See the [`python-build-standalone` release notes](https://redirect.github.com/astral-sh/python-build-standalone/releases/tag/20250212) for more details. ##### Bug fixes - Fix cross-drive script installation ([#&#8203;11167](https://redirect.github.com/astral-sh/uv/pull/11167)) - Add indexes in priority order ([#&#8203;11451](https://redirect.github.com/astral-sh/uv/pull/11451)) - Allow `--python <dir>` requests to match existing environments if `sys.executable` is the same file ([#&#8203;11290](https://redirect.github.com/astral-sh/uv/pull/11290)) - Avoid comparing to system site packages in `--dry-run` mode ([#&#8203;11427](https://redirect.github.com/astral-sh/uv/pull/11427)) - Prefer running executables in the environment with `<name>` over `<name>/__main__.py` ([#&#8203;11431](https://redirect.github.com/astral-sh/uv/pull/11431)) - Retry local clones without hardlinks if they fail ([#&#8203;11421](https://redirect.github.com/astral-sh/uv/pull/11421)) ##### Documentation - Update alternative-indexes.md to use `UV_INDEX` instead of `UV_EXTRA_INDEX_URL` ([#&#8203;11381](https://redirect.github.com/astral-sh/uv/pull/11381)) - Update scripts guide to include using package indexes ([#&#8203;11443](https://redirect.github.com/astral-sh/uv/pull/11443)) #### Install uv 0.5.31 ##### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.5.31/uv-installer.sh | sh ``` ##### Install prebuilt binaries via powershell script ```sh powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/uv/releases/download/0.5.31/uv-installer.ps1 | iex" ``` #### Download uv 0.5.31 | File | Platform | Checksum | |--------|----------|----------| | [uv-aarch64-apple-darwin.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-aarch64-apple-darwin.tar.gz) | Apple Silicon macOS | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-aarch64-apple-darwin.tar.gz.sha256) | | [uv-x86\_64-apple-darwin.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-x86\_64-apple-darwin.tar.gz) | Intel macOS | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-x86\_64-apple-darwin.tar.gz.sha256) | | [uv-aarch64-pc-windows-msvc.zip](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-aarch64-pc-windows-msvc.zip) | ARM64 Windows | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-aarch64-pc-windows-msvc.zip.sha256) | | [uv-i686-pc-windows-msvc.zip](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-i686-pc-windows-msvc.zip) | x86 Windows | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-i686-pc-windows-msvc.zip.sha256) | | [uv-x86\_64-pc-windows-msvc.zip](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-x86\_64-pc-windows-msvc.zip) | x64 Windows | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-x86\_64-pc-windows-msvc.zip.sha256) | | [uv-aarch64-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-aarch64-unknown-linux-gnu.tar.gz) | ARM64 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-aarch64-unknown-linux-gnu.tar.gz.sha256) | | [uv-i686-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-i686-unknown-linux-gnu.tar.gz) | x86 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-i686-unknown-linux-gnu.tar.gz.sha256) | | [uv-powerpc64-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-powerpc64-unknown-linux-gnu.tar.gz) | PPC64 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-powerpc64-unknown-linux-gnu.tar.gz.sha256) | | [uv-powerpc64le-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-powerpc64le-unknown-linux-gnu.tar.gz) | PPC64LE Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-powerpc64le-unknown-linux-gnu.tar.gz.sha256) | | [uv-s390x-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-s390x-unknown-linux-gnu.tar.gz) | S390x Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-s390x-unknown-linux-gnu.tar.gz.sha256) | | [uv-x86\_64-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-x86\_64-unknown-linux-gnu.tar.gz) | x64 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-x86\_64-unknown-linux-gnu.tar.gz.sha256) | | [uv-armv7-unknown-linux-gnueabihf.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-armv7-unknown-linux-gnueabihf.tar.gz) | ARMv7 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-armv7-unknown-linux-gnueabihf.tar.gz.sha256) | | [uv-aarch64-unknown-linux-musl.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-aarch64-unknown-linux-musl.tar.gz) | ARM64 MUSL Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-aarch64-unknown-linux-musl.tar.gz.sha256) | | [uv-i686-unknown-linux-musl.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-i686-unknown-linux-musl.tar.gz) | x86 MUSL Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-i686-unknown-linux-musl.tar.gz.sha256) | | [uv-x86\_64-unknown-linux-musl.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-x86\_64-unknown-linux-musl.tar.gz) | x64 MUSL Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-x86\_64-unknown-linux-musl.tar.gz.sha256) | | [uv-arm-unknown-linux-musleabihf.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-arm-unknown-linux-musleabihf.tar.gz) | ARMv6 MUSL Linux (Hardfloat) | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-arm-unknown-linux-musleabihf.tar.gz.sha256) | | [uv-armv7-unknown-linux-musleabihf.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-armv7-unknown-linux-musleabihf.tar.gz) | ARMv7 MUSL Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.31/uv-armv7-unknown-linux-musleabihf.tar.gz.sha256) | ### [`v0.5.30`](https://redirect.github.com/astral-sh/uv/releases/tag/0.5.30) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.5.29...0.5.30) #### Release Notes ##### Python The managed PyPy distributions have been updated for PyPy v7.3.18, which includes: - PyPy3.10, which updates the standard library from Python 3.10.14 to 3.10.19 - PyPy3.11, which adds beta support for Python 3.11.11 See the [PyPy release](https://pypy.org/posts/2025/02/pypy-v7318-release.html) for more details. ##### Enhancements - Add `uv sync --dry-run` ([#&#8203;11299](https://redirect.github.com/astral-sh/uv/pull/11299)) - Ignore `#egg` fragment in HTML Simple API response ([#&#8203;11340](https://redirect.github.com/astral-sh/uv/pull/11340)) ##### Configuration - Add `NO_BINARY` and `NO_BINARY_PACKAGE` environment variables ([#&#8203;11399](https://redirect.github.com/astral-sh/uv/pull/11399)) ##### Performance - Avoid re-cloning name when populating ambiguous set ([#&#8203;11401](https://redirect.github.com/astral-sh/uv/pull/11401)) - Optimize flattening in large workspaces ([#&#8203;11313](https://redirect.github.com/astral-sh/uv/pull/11313)) ##### Bug fixes - Allow dynamic packages to be overloaded ([#&#8203;11400](https://redirect.github.com/astral-sh/uv/pull/11400)) - Fix credential caching for index roots when URL ends in `simple/` ([#&#8203;11336](https://redirect.github.com/astral-sh/uv/pull/11336)) - Fix marker merging for requirements.txt for psycopg ([#&#8203;11298](https://redirect.github.com/astral-sh/uv/pull/11298)) - Set 777 permissions on locked files ([#&#8203;11328](https://redirect.github.com/astral-sh/uv/pull/11328)) - Support extras in `@` requests for tools ([#&#8203;11335](https://redirect.github.com/astral-sh/uv/pull/11335)) - Upgrade `astral-tokio-tar` to v0.5.1 ([#&#8203;11359](https://redirect.github.com/astral-sh/uv/pull/11359)) - Avoid missing logging for no-op upgrade events ([#&#8203;11301](https://redirect.github.com/astral-sh/uv/pull/11301)) - Use refined specifiers when logging narrowed Python range ([#&#8203;11334](https://redirect.github.com/astral-sh/uv/pull/11334)) - Don't use popup-generating `eprintln` in trampoline warnings ([#&#8203;11295](https://redirect.github.com/astral-sh/uv/pull/11295)) - Patch pkg-config files to be relocatable ([#&#8203;11291](https://redirect.github.com/astral-sh/uv/pull/11291)) - Fix a case of duplicate `torch` packages when using conflicting extras ([#&#8203;11323](https://redirect.github.com/astral-sh/uv/pull/11323)) ##### Documentation - Add docs for `uv tool install --editable` ([#&#8203;11280](https://redirect.github.com/astral-sh/uv/pull/11280)) - Fix broken anchors in README and docs index ([#&#8203;11338](https://redirect.github.com/astral-sh/uv/pull/11338)) #### Install uv 0.5.30 ##### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.5.30/uv-installer.sh | sh ``` ##### Install prebuilt binaries via powershell script ```sh powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/uv/releases/download/0.5.30/uv-installer.ps1 | iex" ``` #### Download uv 0.5.30 | File | Platform | Checksum | |--------|----------|----------| | [uv-aarch64-apple-darwin.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-aarch64-apple-darwin.tar.gz) | Apple Silicon macOS | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-aarch64-apple-darwin.tar.gz.sha256) | | [uv-x86\_64-apple-darwin.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-x86\_64-apple-darwin.tar.gz) | Intel macOS | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-x86\_64-apple-darwin.tar.gz.sha256) | | [uv-aarch64-pc-windows-msvc.zip](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-aarch64-pc-windows-msvc.zip) | ARM64 Windows | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-aarch64-pc-windows-msvc.zip.sha256) | | [uv-i686-pc-windows-msvc.zip](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-i686-pc-windows-msvc.zip) | x86 Windows | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-i686-pc-windows-msvc.zip.sha256) | | [uv-x86\_64-pc-windows-msvc.zip](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-x86\_64-pc-windows-msvc.zip) | x64 Windows | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-x86\_64-pc-windows-msvc.zip.sha256) | | [uv-aarch64-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-aarch64-unknown-linux-gnu.tar.gz) | ARM64 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-aarch64-unknown-linux-gnu.tar.gz.sha256) | | [uv-i686-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-i686-unknown-linux-gnu.tar.gz) | x86 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-i686-unknown-linux-gnu.tar.gz.sha256) | | [uv-powerpc64-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-powerpc64-unknown-linux-gnu.tar.gz) | PPC64 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-powerpc64-unknown-linux-gnu.tar.gz.sha256) | | [uv-powerpc64le-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-powerpc64le-unknown-linux-gnu.tar.gz) | PPC64LE Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-powerpc64le-unknown-linux-gnu.tar.gz.sha256) | | [uv-s390x-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-s390x-unknown-linux-gnu.tar.gz) | S390x Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-s390x-unknown-linux-gnu.tar.gz.sha256) | | [uv-x86\_64-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-x86\_64-unknown-linux-gnu.tar.gz) | x64 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-x86\_64-unknown-linux-gnu.tar.gz.sha256) | | [uv-armv7-unknown-linux-gnueabihf.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-armv7-unknown-linux-gnueabihf.tar.gz) | ARMv7 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-armv7-unknown-linux-gnueabihf.tar.gz.sha256) | | [uv-aarch64-unknown-linux-musl.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-aarch64-unknown-linux-musl.tar.gz) | ARM64 MUSL Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-aarch64-unknown-linux-musl.tar.gz.sha256) | | [uv-i686-unknown-linux-musl.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-i686-unknown-linux-musl.tar.gz) | x86 MUSL Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-i686-unknown-linux-musl.tar.gz.sha256) | | [uv-x86\_64-unknown-linux-musl.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-x86\_64-unknown-linux-musl.tar.gz) | x64 MUSL Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-x86\_64-unknown-linux-musl.tar.gz.sha256) | | [uv-arm-unknown-linux-musleabihf.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-arm-unknown-linux-musleabihf.tar.gz) | ARMv6 MUSL Linux (Hardfloat) | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-arm-unknown-linux-musleabihf.tar.gz.sha256) | | [uv-armv7-unknown-linux-musleabihf.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-armv7-unknown-linux-musleabihf.tar.gz) | ARMv7 MUSL Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.30/uv-armv7-unknown-linux-musleabihf.tar.gz.sha256) | ### [`v0.5.29`](https://redirect.github.com/astral-sh/uv/releases/tag/0.5.29) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.5.28...0.5.29) #### Release Notes ##### Enhancements - Add `--bare` option to `uv init` ([#&#8203;11192](https://redirect.github.com/astral-sh/uv/pull/11192)) - Add support for respecting `VIRTUAL_ENV` in project commands via `--active` ([#&#8203;11189](https://redirect.github.com/astral-sh/uv/pull/11189)) - Allow the project `VIRTUAL_ENV` warning to be silenced with `--no-active` ([#&#8203;11251](https://redirect.github.com/astral-sh/uv/pull/11251)) ##### Python The managed Python distributions have been updated, including: - CPython 3.12.9 - CPython 3.13.2 - pkg-config files are now relocatable See the [`python-build-standalone` release notes](https://redirect.github.com/astral-sh/python-build-standalone/releases/tag/20250205) for more details. ##### Bug fixes - Always use base Python discovery logic for cached environments ([#&#8203;11254](https://redirect.github.com/astral-sh/uv/pull/11254)) - Use a flock to avoid concurrent initialization of project environments ([#&#8203;11259](https://redirect.github.com/astral-sh/uv/pull/11259)) - Fix handling of `--all-groups` and `--no-default-groups` flags ([#&#8203;11224](https://redirect.github.com/astral-sh/uv/pull/11224)) ##### Documentation - Minor touchups to the Docker provenance docs ([#&#8203;11252](https://redirect.github.com/astral-sh/uv/pull/11252)) - Move content from the `mkdocs.public.yml` into the template ([#&#8203;11246](https://redirect.github.com/astral-sh/uv/pull/11246)) #### Install uv 0.5.29 ##### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.5.29/uv-installer.sh | sh ``` ##### Install prebuilt binaries via powershell script ```sh powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/uv/releases/download/0.5.29/uv-installer.ps1 | iex" ``` #### Download uv 0.5.29 | File | Platform | Checksum | |--------|----------|----------| | [uv-aarch64-apple-darwin.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-aarch64-apple-darwin.tar.gz) | Apple Silicon macOS | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-aarch64-apple-darwin.tar.gz.sha256) | | [uv-x86\_64-apple-darwin.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-x86\_64-apple-darwin.tar.gz) | Intel macOS | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-x86\_64-apple-darwin.tar.gz.sha256) | | [uv-aarch64-pc-windows-msvc.zip](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-aarch64-pc-windows-msvc.zip) | ARM64 Windows | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-aarch64-pc-windows-msvc.zip.sha256) | | [uv-i686-pc-windows-msvc.zip](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-i686-pc-windows-msvc.zip) | x86 Windows | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-i686-pc-windows-msvc.zip.sha256) | | [uv-x86\_64-pc-windows-msvc.zip](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-x86\_64-pc-windows-msvc.zip) | x64 Windows | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-x86\_64-pc-windows-msvc.zip.sha256) | | [uv-aarch64-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-aarch64-unknown-linux-gnu.tar.gz) | ARM64 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-aarch64-unknown-linux-gnu.tar.gz.sha256) | | [uv-i686-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-i686-unknown-linux-gnu.tar.gz) | x86 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-i686-unknown-linux-gnu.tar.gz.sha256) | | [uv-powerpc64-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-powerpc64-unknown-linux-gnu.tar.gz) | PPC64 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-powerpc64-unknown-linux-gnu.tar.gz.sha256) | | [uv-powerpc64le-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-powerpc64le-unknown-linux-gnu.tar.gz) | PPC64LE Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-powerpc64le-unknown-linux-gnu.tar.gz.sha256) | | [uv-s390x-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-s390x-unknown-linux-gnu.tar.gz) | S390x Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-s390x-unknown-linux-gnu.tar.gz.sha256) | | [uv-x86\_64-unknown-linux-gnu.tar.gz](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-x86\_64-unknown-linux-gnu.tar.gz) | x64 Linux | [checksum](https://redirect.github.com/astral-sh/uv/releases/download/0.5.29/uv-x86\_64-unknown-linux-gnu.tar.gz.sha256) | | [uv-armv7- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 61d8cb7 commit 80ba40a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

charmcraft.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ parts:
2727
PIP_BREAK_SYSTEM_PACKAGES=true python3 -m pip install --user --upgrade pip==25.0.1 # renovate: charmcraft-pip-latest
2828
2929
# Use uv to install poetry so that a newer version of Python can be installed if needed by poetry
30-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.5.20/uv-installer.sh | sh # renovate: charmcraft-uv-latest
30+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.6.4/uv-installer.sh | sh # renovate: charmcraft-uv-latest
3131
# poetry 2.0.0 requires Python >=3.9
3232
if ! "$HOME/.local/bin/uv" python find '>=3.9'
3333
then
3434
# Use first Python version that is >=3.9 and available in an Ubuntu LTS
3535
# (to reduce the number of Python versions we use)
3636
"$HOME/.local/bin/uv" python install 3.10.12 # renovate: charmcraft-python-ubuntu-22.04
3737
fi
38-
"$HOME/.local/bin/uv" tool install --no-python-downloads --python '>=3.9' poetry==2.0.1 --with poetry-plugin-export==1.9.0 # renovate: charmcraft-poetry-latest
38+
"$HOME/.local/bin/uv" tool install --no-python-downloads --python '>=3.9' poetry==2.1.1 --with poetry-plugin-export==1.9.0 # renovate: charmcraft-poetry-latest
3939
4040
ln -sf "$HOME/.local/bin/poetry" /usr/local/bin/poetry
4141
# "charm-poetry" part name is arbitrary; use for consistency
@@ -74,7 +74,7 @@ parts:
7474
# rpds-py (Python package) >=0.19.0 requires rustc >=1.76, which is not available in the
7575
# Ubuntu 22.04 archive. Install rustc and cargo using rustup instead of the Ubuntu archive
7676
rustup set profile minimal
77-
rustup default 1.84.0 # renovate: charmcraft-rust-latest
77+
rustup default 1.85.0 # renovate: charmcraft-rust-latest
7878
7979
craftctl default
8080
# Include requirements.txt in *.charm artifact for easier debugging

0 commit comments

Comments
 (0)