- Update to version 0.4.15:
* Revert "Treat invalid platform as more compatible than invalid Python" * Add the execution policy to powershell installs for single versions * Move uvx shell completion to `uvx --generate-shell-completion` * Adjust messaging for frozen hint on resolution failure during `uv add` * Provide resolution hints in case of possible local name conflicts * Improve Docker image release tagging order and display on `ghcr.io` * Improve deserialization error messages * Allow system environments during project environment validity check * Avoid validating workspace members when `--no-sources` is provided * Fix handling of `sys.base_prefix` collision in interpreter identity check during tool installs * Make `uv cache prune` robust to unreadable rkyv entries * Revert "Remove duplicate warning for settings discovery errors" * Fix `-` to `_` in packaged applications document * Add `socks` support * Avoid warning about bad Python interpreter links for empty project environment directories * Improve invalid environment warning messages * Use more verbose spelling of "virtualenv" during creation * Do not use a user-facing warning for "Waiting to acquire lock..." message * Use a single buffer for hints on resolver errors * Allow Python pre-releases to be used if they are first on the `PATH` * Avoid deleting the project environment directory if it is not a virtual environment * Do not error if the `CACHEDIR.TAG` file exists but cannot be written to * Treat invalid platform as more compatible than invalid Python * Use portable paths when serializing sources * Compute resolver hints using the final reduced derivation tree * Bump the wheel and sdist cache versions * Heal cache entries with missing source distributions * Bump minimum supported Rust version from 1.80 -> 1.81 * Add `UV_LINK_MODE` to Docker caching example OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=5
This commit is contained in:
parent
f717a367b5
commit
431772e1f3
@ -1,3 +1,88 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 21 16:04:19 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
|
||||
|
||||
- Update to version 0.4.15:
|
||||
* Revert "Treat invalid platform as more compatible than invalid Python"
|
||||
* Add the execution policy to powershell installs for single versions
|
||||
* Move uvx shell completion to `uvx --generate-shell-completion`
|
||||
* Adjust messaging for frozen hint on resolution failure during `uv add`
|
||||
* Provide resolution hints in case of possible local name conflicts
|
||||
* Improve Docker image release tagging order and display on `ghcr.io`
|
||||
* Improve deserialization error messages
|
||||
* Allow system environments during project environment validity check
|
||||
* Avoid validating workspace members when `--no-sources` is provided
|
||||
* Fix handling of `sys.base_prefix` collision in interpreter identity check during tool installs
|
||||
* Make `uv cache prune` robust to unreadable rkyv entries
|
||||
* Revert "Remove duplicate warning for settings discovery errors"
|
||||
* Fix `-` to `_` in packaged applications document
|
||||
* Add `socks` support
|
||||
* Avoid warning about bad Python interpreter links for empty project environment directories
|
||||
* Improve invalid environment warning messages
|
||||
* Use more verbose spelling of "virtualenv" during creation
|
||||
* Do not use a user-facing warning for "Waiting to acquire lock..." message
|
||||
* Use a single buffer for hints on resolver errors
|
||||
* Allow Python pre-releases to be used if they are first on the `PATH`
|
||||
* Avoid deleting the project environment directory if it is not a virtual environment
|
||||
* Do not error if the `CACHEDIR.TAG` file exists but cannot be written to
|
||||
* Treat invalid platform as more compatible than invalid Python
|
||||
* Use portable paths when serializing sources
|
||||
* Compute resolver hints using the final reduced derivation tree
|
||||
* Bump the wheel and sdist cache versions
|
||||
* Heal cache entries with missing source distributions
|
||||
* Bump minimum supported Rust version from 1.80 -> 1.81
|
||||
* Add `UV_LINK_MODE` to Docker caching example
|
||||
* Clarify behavior of of overrides in CLI reference
|
||||
* Allow users to provide pre-defined metadata for resolution
|
||||
* Invalidate existing tool environments on Python interpreter mismatch
|
||||
* Avoid fatal error when searching for egg-info with missing directory
|
||||
* Add note on cache growth for self-hosted GitHub runners
|
||||
* Add `--no-editable` support to `uv sync` and `uv export`
|
||||
* Add support for `--only-dev` to `uv sync` and `uv export`
|
||||
* Add support for remaining pip-supported file extensions
|
||||
* Generate shell completion for `uvx`
|
||||
* Include `uv export` command in `requirements.txt` output
|
||||
* Prune unzipped source distributions in `uv cache prune --ci`
|
||||
* Warn when trying to `uv sync` a package without build configuration
|
||||
* Support requests for pre-releases in the `--python` option
|
||||
* Avoid erroneous version warning for `.dist-info` directories
|
||||
* Avoid removing seed packages for `uv venv --seed` environments
|
||||
* Avoid unnecessary progress bar initializations
|
||||
* Error when `tool.uv.sources` contains duplicate package names
|
||||
* Include `--branch` et al when resolving unnamed URLs in `uv add`
|
||||
* Include `dev-dependencies` in `--no-sources` invocations
|
||||
* Include the parent interpreter in Python discovery when `--system` is used
|
||||
* Respect `--no-sources` in PEP 723 scripts
|
||||
* Respect `pyproject.toml` credentials from user-provided requirements
|
||||
* Use consistent PyPI cache bucket
|
||||
* Use unambiguous relative paths in `uv export`
|
||||
* Add documentation on platform-specific dependencies
|
||||
* Add documentation for passing installer options on Linux
|
||||
* Separate project data from configuration settings
|
||||
* Hint at missing `project.name`
|
||||
* Surface dedicated `project.name` error for workspaces
|
||||
* Remove duplicate warning for settings discovery errors
|
||||
* Allow `uv tool upgrade --all` to continue on individual upgrade failure
|
||||
* Support globs as cache keys in `tool.uv.cache-keys`
|
||||
* Add Python package (`__main__.py`) support to `uv run`
|
||||
* Add zip application support to `uv run`
|
||||
* Add `--token` option to `self update` command
|
||||
* Use `globwalk` for `cache-keys` matching
|
||||
* Always treat archive-like requirements as local files
|
||||
* Apply `--no-install` options when constructing resolution
|
||||
* Avoid clobbering existing `py.typed` files contents in `uv init`
|
||||
* Avoid enforcing platform compatibility when validating lockfile
|
||||
* Avoid installing transitive dev dependencies
|
||||
* Avoid selecting prerelease Python installations without opt-in
|
||||
* Fix PPC64 page size in binary builds.
|
||||
* Include pre-release Python versions in `uv python list`
|
||||
* Make version ID optional for source builds
|
||||
* Support relative paths in `uv add --script`
|
||||
* Fix documentation typos for `uv build --build-constraint` flag
|
||||
* Fix grammatical error in CLI docs
|
||||
* Add dedicated lock errors for wheel-only distributions
|
||||
* Avoid treating `.whl` sources as source distributions
|
||||
* Clarify Python requirement source for script incompatibilities
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 07:12:55 UTC 2024 - Adrian Schröter <adrian@suse.de>
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
%bcond_without libalternatives
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-uv
|
||||
Version: 0.4.9
|
||||
Version: 0.4.15
|
||||
Release: 0
|
||||
Summary: A Python package installer and resolver, written in Rust
|
||||
License: Apache-2.0 OR MIT
|
||||
@ -34,12 +34,12 @@ BuildRequires: %{python_module maturin}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module tomli}
|
||||
BuildRequires: alts
|
||||
BuildRequires: cargo >= 1.80
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc%{?force_gcc_version}-c++
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: rust >= 1.80
|
||||
BuildRequires: zstd
|
||||
Obsoletes: uv < %{version}
|
||||
Provides: uv = %{version}
|
||||
@ -120,10 +120,13 @@ export PATH="%{buildroot}%{_bindir}:${PATH}"
|
||||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
|
||||
mkdir -p %{buildroot}%{_datadir}/fish/vendor_completions.d
|
||||
mkdir -p %{buildroot}%{_datadir}/zsh/site-functions
|
||||
%{python_expand # avoid whitespace when using this macro so putting random comment for that
|
||||
%{python_expand # add whitespace when using this macro so it works so putting random comment for that
|
||||
uv-%{$python_bin_suffix} --generate-shell-completion bash > %{buildroot}%{_datadir}/bash-completion/completions/uv-%{$python_bin_suffix}
|
||||
uv-%{$python_bin_suffix} --generate-shell-completion fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/uv-%{$python_bin_suffix}.fish
|
||||
uv-%{$python_bin_suffix} --generate-shell-completion zsh > %{buildroot}%{_datadir}/zsh/site-functions/_uv-%{$python_bin_suffix}
|
||||
uvx-%{$python_bin_suffix} --generate-shell-completion bash > %{buildroot}%{_datadir}/bash-completion/completions/uvx-%{$python_bin_suffix}
|
||||
uvx-%{$python_bin_suffix} --generate-shell-completion fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/uvx-%{$python_bin_suffix}.fish
|
||||
uvx-%{$python_bin_suffix} --generate-shell-completion zsh > %{buildroot}%{_datadir}/zsh/site-functions/_uvx-%{$python_bin_suffix}
|
||||
}
|
||||
|
||||
%pre
|
||||
@ -142,15 +145,18 @@ mkdir -p %{buildroot}%{_datadir}/zsh/site-functions
|
||||
%dir %{_datadir}/bash-completion
|
||||
%dir %{_datadir}/bash-completion/completions
|
||||
%{_datadir}/bash-completion/completions/uv-%{python_bin_suffix}
|
||||
%{_datadir}/bash-completion/completions/uvx-%{python_bin_suffix}
|
||||
|
||||
%files %{python_files fish-completion}
|
||||
%dir %{_datadir}/fish
|
||||
%dir %{_datadir}/fish/vendor_completions.d
|
||||
%{_datadir}/fish/vendor_completions.d/uv-%{python_bin_suffix}.fish
|
||||
%{_datadir}/fish/vendor_completions.d/uvx-%{python_bin_suffix}.fish
|
||||
|
||||
%files %{python_files zsh-completion}
|
||||
%dir %{_datadir}/zsh
|
||||
%dir %{_datadir}/zsh/site-functions
|
||||
%{_datadir}/zsh/site-functions/_uv-%{python_bin_suffix}
|
||||
%{_datadir}/zsh/site-functions/_uvx-%{python_bin_suffix}
|
||||
|
||||
%changelog
|
||||
|
3
uv-0.4.15.tar.gz
Normal file
3
uv-0.4.15.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8e36b8e07595fc6216d01e729c81a0b4ff029a93cc2ef987a73d3b650d6d559c
|
||||
size 1965646
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:921c58e967ef86e2dd8209b102c2c9a30b6e457728f4674b7d94a19088657ab8
|
||||
size 52707117
|
||||
oid sha256:0e60f2a4f84b1694660eb8a0a07c846ec4d0a3ea38b684efc84ebbb42c1488ed
|
||||
size 52340125
|
||||
|
Loading…
Reference in New Issue
Block a user