fix(deps): update minor and patch updates #291
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.27.0
->^0.28.0
^0.4.2
->^0.5.0
Release Notes
encode/httpx (httpx)
v0.28.1
Compare Source
verify=False
together with client side certificates.v0.28.0
Compare Source
The 0.28 release includes a limited set of deprecations.
Deprecations:
We are working towards a simplified SSL configuration API.
For users of the standard
verify=True
orverify=False
cases, orverify=<ssl_context>
case this should require no changes. The following cases have been deprecated...verify
argument as a string argument is now deprecated and will raise warnings.cert
argument is now deprecated and will raise warnings.Our revised SSL documentation covers how to implement the same behaviour with a more constrained API.
The following changes are also included:
proxies
argument has now been removed.app
argument has now been removed.certifi
andhttpcore
are only imported if required. (#3377)socks5h
as a valid proxy scheme. (#3178)Request()
method signature in line withclient.request()
andhttpx.request()
. (#3378)astral-sh/uv (uv)
v0.5.11
Compare Source
Enhancements
platform_system
tosys_platform
(#9949)copy_atomic
andwrite_atomic
(#10026)python-build-standalone 20241219
Preview features
metadata_directory
already containsdist-info
directory (#10005)Performance
Bug fixes
--script
to be provided withuv run -
(#10035)uv run
arguments when reading fromstdin
(#10034)first-match
(#10036)Documentation
uv python install --preview
to the documentation (#10010)uv python install --default
note about multiple requests (#10011)first-match
(#10038)UV_INSTALL_DIR
directions on Windows (#9507)v0.5.10
Compare Source
Enhancements
sysconfig
values such asAR
atar
install time (#9905)sysconfig
values such asclang
tocc
at install time (#9916)--native-tls
inpip compile
header (#9913)uv remove
(#9959)uv remove
dependency hints (#9960)version
field (#9912)Bug fixes
Documentation
fork-strategy
setting (#9931)pypy
from top-level pin example (#9896)python-build-standalone
to reflect the transferred project (#9977)powershell
andcmd.exe
(#9903)uv-lock
anduv-export
pre-commit hooks (#9872)Preview features
v0.5.9
Compare Source
Enhancements
requires-python
requirements (#9827)sysconfig
data at install time (#9857)-isysroot
when patching sysconfig (#9860)Configuration
--fork-strategy
preference mode (#9868)UV_OFFLINE
(#9795)Bug fixes
panic!()
when current directory does not exist (#9876)uv help python
on invalid install requests (#9820)uv tool upgrade
(#9870)Rust API
Documentation
--fork-strategy
setting (#9887)Preview features
v0.5.8
Compare Source
This release does not include the
powerpc64le-unknown-linux-musl
target due to a build issue. See #9793 for details. If this change affects you, please file an issue with your use-case.Enhancements
--install-dir
to touv python install
anduninstall
commands (#7920)--show-urls
and--only-downloads
touv python list
(#8062)uv python list --all-arches
(#9782)uv run --gui-script
flag for running Python scripts withpythonw.exe
(#9152)--gui-script
on Unix (#9787)pyw
files on Unix (#9759)project.dependencies
andtool.uv.sources
(#9718)uv publish --index <name>
(#9694)--locked
and--frozen
as--check
operations foruv lock
(#9662).cache
->.temp
(#9756)uv tool uninstall uv
on Windows (#8963)git+
prefixes (#9789)Performance
pyproject.toml
requirements (#9704)Bug fixes
uv export
(#9751)--no-build
when static metadata is available (#9785).egg-info
files (#9760).
prefixed directories during managed Python installation discovery (#9786)--project
is specified (#9709)--find-links
as relative URLs (#9720)python3.13.exe
et al (#9679)uv python install
(#9706)Documentation
v0.5.7
Compare Source
Enhancements
uv build --no-build-logs
option (#9642)uv build
(#9633)3.9.21
,3.10.16
,3.11.11
,3.12.8
, and3.13.1
(#9696)Preview features
uv init
(#9661)--list
option (#9610)Bug fixes
uv export
/uv pip compile
(#9648)python list
(#9669)Ord
andPartialOrd
without origin forRequirement
(#9624)uv.lock
(#9677)Documentation
build-essentials
note to build failures doc (#9641)uv python pin
without aREQUEST
argument (#9631)uv python pin
reference docs (#9630)v0.5.6
Compare Source
Enhancements
--dry-run
touv pip uninstall
(#9557)--constraints
and--overrides
inuv tool install
(#9547)uv publish
(#8827).python-version
pin is incompatible with the project (#9590)tool.uv.sources
(#9482)requires-python
(#9529)Preview features
uv python install --default
(#8650)include
/exclude
(#9525)Configuration
check-url
available in configuration files (#9032)Performance
String
in marker evaluation (#9598)Rust API
uv-pep508
: Add more methods for simplifyingextra
-related expressions (#9469)Bug fixes
file:
URLs to include package names (#9493)uv tool list
(#9605)manylinux_compatible
with--python-platform
(#9526)pip compile -r pyproject.toml
(#9535)--refresh-package
flag mentioned as--refresh-dependency
(#9486)Documentation
run.md
(#9527)uv pip
behavior in build system note (#9586)v0.5.5
Compare Source
Enhancements
uv tool upgrade
(#9375)--no-sync
and--frozen
inuv run
(#9400)--target
and--prefix
(#9373)--no-extra
flag and setting (#9387)uv export --prune
(#9389)Preview features
license-files
metadata duringuv publish
(#9442)Performance
Bug fixes
--target
and--prefix
(#9371)--output-file
is empty (#9417)tool.uv.dependency-metadata.[].version
schema (#9468)--compile
is passed to an install operation (#9378)--upgrade
,--no-upgrade
, and--upgrade-package
fromuv tool upgrade
(#9318)--all-groups --no-dev
(#9300)uv export
(#9365)Documentation
scikit-build
(instead ofscikit-build-core
) (#9320)pyproject.toml
in project concept documentation (#9298)--no-progress
option in related environment variable (#9357)v0.5.4
Compare Source
Enhancements
--all-groups
touv sync
,uv run
,uv export
, anduv tree
(#8892)uv tree --outdated
anduv pip list --outdated
(#9284)Performance
uv tree --outdated
(#9280)zlib-rs
on all platforms (#9264)Bug fixes
build-system.requires
(#9273)reqwest
errors (#9253)uv export
output (#9237)--index
and--default-index
from command header (#9288)Documentation
Error messages
v0.5.3
Compare Source
This release includes support for conflicting optional dependencies and dependency groups in the uv resolver, including the ability to specify dependency sources (like index assignment) on a per-extra or per-group basis.
For example, you can now select CPU-only vs. GPU-enabled PyTorch builds at runtime by defining conflicting extras in a
pyproject.toml
, and assigning different extras to different PyTorch indexes:v0.5.2
Compare Source
Enhancements
--no-system
fromuv pip tree
CLI (#9040)uv.toml
(#8695)uv python install
(#8695)Performance
Bug fixes
--no-build
to validate lock (#9024).venv
inuv add --frozen
anduv add --no-sync
(#8980)uv add
(#9109)--resolution-strategy
in error message output (#8971)uv run
(#8933)uv.lock
changes whenuv add
fails (#9030).exe
(#9099)uv add
(#9097)--with
requirements (#9089)Preview features
glob-walkdir
implementation (#9013)Documentation
.env
file example in docs (#9064)--resolution
in docs (#8968)value_type
consistently (#9017)[[index]]
API in configuration example (#9065)v0.5.1
Compare Source
Enhancements
platform_system
tosys_platform
(#9949)copy_atomic
andwrite_atomic
(#10026)python-build-standalone 20241219
Preview features
metadata_directory
already containsdist-info
directory (#10005)Performance
Bug fixes
--script
to be provided withuv run -
(#10035)uv run
arguments when reading fromstdin
(#10034)first-match
(#10036)Documentation
uv python install --preview
to the documentation (#10010)uv python install --default
note about multiple requests (#10011)first-match
(#10038)UV_INSTALL_DIR
directions on Windows (#9507)v0.5.0
Compare Source
Since the launch of Python version, project, and tool management capabilities back in August, we've seen extraordinary adoption of uv. We've been iterating rapidly: adding new features, fixing bugs, and improving the user experience. Despite moving quickly, stability and compatibility have been a major focus — we've made thirty releases since our last breaking change. Consequently, 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
Use base executable to set virtualenv Python path (#8481)
Previously, uv canonicalized the path to the Python executable when setting the Python path in created virtual environments. This behavior had several undesirable effects: it would bypass stabilized version directories (as constructed by Homebrew) and it was not consistent with the Python standard library's behavior. Now, uv uses the
sys._base_executable
path.Use XDG (i.e.
~/.local/bin
) instead of the Cargo home directory in the installer (#8420)Previously, uv's installer used
$CARGO_HOME
or~/.cargo/bin
for its target install directory. It's been a longstanding complaint that uv uses this directory, as there's no relationship to Cargo. Now, uv will be installed into$XDG_BIN_HOME
,$XDG_DATA_HOME/../bin
, or~/.local/bin
(in that order). Note that$UV_INSTALL_DIR
can always be used to override the target directory.Discover and respect
.python-version
files in parent directories (#6370)Previously, uv only read
.python-version
files from the working directory. Now, uv will check parent directories for.python-version
files; however uv will not search for.python-version
files beyond project boundaries. The new behavior is better aligned with that ofpyenv
and Rye.Error when disallowed settings are defined in
uv.toml
(#8550)Some settings can only be defined in the
pyproject.toml
. Previously, uv would ignore these settings when present in theuv.toml
. Now, uv will error to avoid confusion about why the settings are not respected.Implement PEP 440-compliant local version semantics (#8797)
Previously, uv's implementation of local versions (e.g.
2.0+cpu
) was not compliant with the specification due to the technical complexity of implementing the local version semantics in the PubGrub algorithm. Thanks to the work of @ericmarkmartin, uv now has a spec-compliant implementation. Namely, uv will now allow a request fortorch==2.1.0
to install[email protected]+cpu
regardless of whether[email protected]
(without a local tag) actually exists.Treat the base Conda environment as a system environment (#7691)
Previously, uv would not distinguish between the base and other Conda environments. Now, uv uses
CONDA_DEFAULT_ENV
and the namesbase
anddefault
to determine if an environment active viaCONDA_PREFIX
is the base environment. If the base environment is active, the--system
flag must be used to mutate it.Do not allow pre-releases when the
!=
operator is used (#7974)Previously, uv would use the presence of a pre-release specifier in a version specifier as an opt-in to allow pre-release versions during resolution. The new behavior does not allow pre-releases when an inequals operator is used, e.g.,
!= 2.0a1
.Prefer
USERPROFILE
overFOLDERID_Profile
when selecting a home directory on Windows (#8048)This change is a side-effect of switching from the
directories
crate toetcetera
for determining canonical system paths. IfUSERPROFILE
is not set, the behavior will be unchanged.Improve interactions between color environment variables and CLI options (#8215)
Previously, uv would respect the
FORCE_COLOR
andNO_COLOR
environment variables over the--color
flag. Now, when the--color
flag is explicitly provided, uv will respect it over the environment variables.Make
allow-insecure-host
a global option (#8476)Previously, this option was only available in some parts of uv. Now,
--allow-insecure-host
can be provided to any command. For consistency, theallow-insecure-host
setting has been removed from the[tool.uv.pip]
configuration in favor of[tool.uv]
.Only write
.python-version
files duringuv init
for workspace members if the version differs (#8897)Previously, uv would create a
.python-version
file for workspace members duringuv init
. Now, uv will only do so if the version differs from the.python-version
file in the workspace root since uv will respect.python-version
files in parent directories.Enhancements
uv tree --outdated
(#8893)pip list --outdated
(#8872);
on URL and path requirements (#8835)uv cache clean
(#8857)Preview features
Bug fixes
uv lock
(#8867)--resolution-mode=lowest-direct
(#8839)Documentation
uv python install
docs to use an existing PyPy version (#8845)--verbose
withRUST_LOG
(#8858)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.