Sync from SUSE:SLFO:Main python-uv revision 2bae49e632f6ba92cabfa25c6a32d25a

This commit is contained in:
2025-07-03 14:58:47 +02:00
parent 4e17549f88
commit d0e3a2687c
5 changed files with 119 additions and 7 deletions

BIN
python-uv-0.7.13.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
python-uv-0.7.18.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,110 @@
-------------------------------------------------------------------
Wed Jul 2 10:33:55 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Reduce memory usage during build, removing lto=fat from Cargo.toml.
bsc#1245526
-------------------------------------------------------------------
Wed Jul 2 08:35:47 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.7.18
* Enhancements
* Keep track of retries in ManagedPythonDownload::fetch_with_retry
* Reuse build (virtual) environments across resolution and installation
* Improve trace message for cached Python interpreter query
* Use parsed URLs for conflicting URL error message
* Preview features
* Ignore invalid build backend settings when not building
* Bug fixes
* Fix equals-star and tilde-equals with python_version and python_full_version
* Include the canonical path in the interpreter query cache key
* Only drop build directories on program exit
* Error instead of panic on conflict between global and subcommand flags
* Consistently normalize trailing slashes on URLs with no path segments
* Documentation
* Add instructions for publishing to JFrog's Artifactory
* Edits to the build backend documentation
-------------------------------------------------------------------
Sun Jun 29 20:36:01 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.7.17
* Bug fixes
* Apply build constraints when resolving --with dependencies
* Drop trailing slashes when converting index URL from URL
* Ignore UV_PYTHON_CACHE_DIR when empty
* Fix error message ordering for pyvenv.cfg version conflict
-------------------------------------------------------------------
Sat Jun 28 16:40:25 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.7.16
* Enhancements
* Include path or URL when failing to convert in lockfile
* Warn when ~= is used as a Python version specifier without a patch version
* Preview features
* Ensure preview default Python installs are upgradeable
* Performance
* Share workspace cache between lock and sync operations
* Bug fixes
* Allow local indexes to reference remote files
* Avoid rendering desugared prefix matches in error messages
* Avoid using path URL for workspace Git dependencies in requirements.txt
* Normalize index URLs to remove trailing slash
* Respect URL-encoded credentials in redirect location
* Lock the source tree when running setuptools, to protect concurrent builds
* Documentation
* Note that GCP Artifact Registry download URLs must have /simple component
-------------------------------------------------------------------
Wed Jun 25 12:03:39 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.7.15:
* Enhancements
* Consistently use Ordering::Relaxed for standalone atomic use cases
* Warn on ambiguous relative paths for --index
* Skip GitHub fast path when rate-limited
* Preserve newlines in schema.json descriptions
* Bug fixes
* Add check for using minor version link when creating a venv on Windows
* Strip query parameters when parsing source URL
* Documentation
* Add a link to PyPI FAQ to clarify what per-project token is
* Preview features
* Allow symlinks in the build backend
-------------------------------------------------------------------
Mon Jun 23 23:15:06 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.7.14:
* Enhancements
* Add XPU to --torch-backend
* Add ROCm backends to --torch-backend
* Remove preview label from --torch-backend
* Add [tool.uv.dependency-groups].mygroup.requires-python
* Add auto-detection for AMD GPUs
* Show retries for HTTP status code errors
* Support transparent Python patch version upgrades
* Warn on empty index directory
* Publish to DockerHub
* Performance
* Make cold resolves about 10% faster
* Bug fixes
* Don't use walrus operator in interpreter query script
* Fix handling of changes to requires-python
* Fix implied platform_machine marker for win_amd64 platform tag
* Only update existing symlink directories on preview uninstall
* Serialize Python requests for tools as canonicalized strings
* Support netrc and same-origin credential propagation on index redirects
* Support reading dependency-groups from pyproject.tomls with no [project]
* Handle an existing shebang in uv init --script
* Prevent concurrent updates of the environment in uv run
* Filter managed Python distributions by platform before querying when included in request
* Documentation
* Replace cuda124 with cuda128
* Document the way member sources shadow workspace sources
* Sync documented PyTorch integration index for CUDA and ROCm versions from PyTorch website
-------------------------------------------------------------------
Fri Jun 13 14:36:19 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@@ -33,7 +33,7 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-uv
Version: 0.7.13
Version: 0.7.18
Release: 0
Summary: A Python package installer and resolver, written in Rust
License: Apache-2.0 OR MIT
@@ -44,7 +44,7 @@ BuildRequires: %{python_module maturin}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module tomli}
BuildRequires: alts
BuildRequires: cargo >= 1.85
BuildRequires: cargo >= 1.86
BuildRequires: cargo-packaging
BuildRequires: cmake
BuildRequires: fdupes
@@ -103,8 +103,13 @@ drop-in replacement for common pip and pip-tools workflows.
%prep
%autosetup -p1 -a1 -n uv-%{version}
%ifnarch x86_64
# Reduce memory consumption for non x86 arches
sed -i '/lto = "fat"/d' Cargo.toml
%endif
%build
export LDFLAGS="--no-keep-memory"
export CARGO_AUDITABLE="auditable"
export CARGO_INCREMENTAL=0
export CARGO_FEATURE_VENDORED=1

BIN
vendor.tar.zst (Stored with Git LFS)

Binary file not shown.