forked from pool/python-uv
Compare commits
38 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 25cb077a72 | |||
| bb3b270561 | |||
| 345d389817 | |||
| 4ef14f9f3a | |||
| c5b4b20d13 | |||
| 1df54adb1e | |||
| 4dc7cdd68f | |||
| c2330a6823 | |||
| f6f3800a09 | |||
| 3d59c3d5fd | |||
| 85f045cf03 | |||
| 3331d4c26d | |||
| 9ec5bf3521 | |||
| f6d1151f3a | |||
| 973812f9ef | |||
| e2592140ef | |||
| 113d6ad80d | |||
| e6147a03fc | |||
| 115f19ae42 | |||
| 70a5b91eb5 | |||
| 84036ed1b1 | |||
| 83eabee636 | |||
| 14d5b91879 | |||
| 9b5595a6f7 | |||
| 0b3f1cab1c | |||
| f717a86118 | |||
| a017d161b6 | |||
| b9c65257fe | |||
| 234f834eac | |||
| df96fdf63d | |||
| c6f37970dc | |||
| 57c331bd9f | |||
| 85b7e46016 | |||
| 8a97a9bae4 | |||
| d7b13aac72 | |||
| b89dff331d | |||
| c20c3dc0b5 | |||
| 369faa11ed |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a3164652c0da2ad7781184f761ccb2153a17b1ef6f00e7a75d59fbd5a2a4dac2
|
|
||||||
size 4269678
|
|
||||||
3
python-uv-0.9.5.tar.gz
Normal file
3
python-uv-0.9.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9fd1dd030b37b51dcf79b582ea77a911eeb4015a00669bd3047d3b6adea37ba8
|
||||||
|
size 4752059
|
||||||
@@ -1,3 +1,384 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 22 05:48:12 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- update to 0.9.5 (bsc#1252399, CVE-2025-62518)
|
||||||
|
This release contains an upgrade to astral-tokio-tar, which addresses
|
||||||
|
a vulnerability in tar extraction on malformed archives with
|
||||||
|
mismatching size information between the ustar header and PAX
|
||||||
|
extensions. While the astral-tokio-tar advisory has been graded as
|
||||||
|
"high" due its potential broader impact, the specific impact to uv is
|
||||||
|
low due to a lack of novel attacker capability. Specifically, uv only
|
||||||
|
processes tar archives from source distributions, which already
|
||||||
|
possess the capability for full arbitrary code execution by design,
|
||||||
|
meaning that an attacker gains no additional capabilities through
|
||||||
|
astral-tokio-tar.
|
||||||
|
|
||||||
|
Regardless, we take the hypothetical risk of parser differentials very
|
||||||
|
seriously. Out of an abundance of caution, we have assigned this
|
||||||
|
upgrade an advisory:
|
||||||
|
https://github.com/astral-sh/uv/security/advisories/GHSA-w476-p2h3-79g9
|
||||||
|
|
||||||
|
* Security
|
||||||
|
* Upgrade astral-tokio-tar to 0.5.6 to address a parsing
|
||||||
|
differential (#16387)
|
||||||
|
* Enhancements
|
||||||
|
* Add required environment marker example to hint (#16244)
|
||||||
|
* Fix typo in MissingTopLevel warning (#16351)
|
||||||
|
* Improve 403 Forbidden error message to indicate package may not
|
||||||
|
exist (#16353)
|
||||||
|
* Add a hint on uv pip install failure if the --system flag is
|
||||||
|
used to select an externally managed interpreter (#16318)
|
||||||
|
* Bug fixes
|
||||||
|
* Fix backtick escaping for PowerShell (#16307)
|
||||||
|
* Documentation
|
||||||
|
* Document metadata consistency expectation (#15683)
|
||||||
|
* Remove outdated aarch64 musl note (#16385)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 19 22:01:08 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.9.4
|
||||||
|
* Enhancements
|
||||||
|
* Add CUDA 13.0 support
|
||||||
|
* Add auto-detection for Intel GPU on Windows
|
||||||
|
* Implement display of RFC 9457 HTTP error contexts
|
||||||
|
* Bug fixes
|
||||||
|
* Avoid obfuscating pyx tokens in uv auth token output
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 16 22:24:47 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.9.3
|
||||||
|
* Enhancements
|
||||||
|
* Obfuscate secret token values in logs
|
||||||
|
* Bug fixes
|
||||||
|
* Fix workspace with relative pathing
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 10 21:02:22 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.9.2
|
||||||
|
* Enhancements
|
||||||
|
* Log Python choice in uv init
|
||||||
|
* Fix pylock.toml config conflict error messages
|
||||||
|
* Avoid inferring check URLs for pyx in uv publish
|
||||||
|
* Add uv tool list --show-python
|
||||||
|
* Configuration
|
||||||
|
*
|
||||||
|
* Add UV_UPLOAD_HTTP_TIMEOUT and respect UV_HTTP_TIMEOUT in uploads
|
||||||
|
* Support UV_WORKING_DIRECTORY for setting --directory
|
||||||
|
* Bug fixes
|
||||||
|
* Allow missing Scripts directory
|
||||||
|
* Fix handling of Python requests with pre-releases in ranges
|
||||||
|
* Preserve comments on version bump
|
||||||
|
* Retry all HTTP/2 errors
|
||||||
|
* Treat deleted Windows registry keys as equivalent to missing ones
|
||||||
|
* Ignore pre-release Python versions when a patch version is requested
|
||||||
|
* Documentation
|
||||||
|
* Document why uv discards upper bounds on requires-python
|
||||||
|
* Document uv version environment variables were added in
|
||||||
|
* Add missing "added in" to new environment variables in reference
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 8 17:16:36 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.9.0:
|
||||||
|
* Enhancements
|
||||||
|
* Don't warn when a dependency is constrained by another dependency
|
||||||
|
* Bug fixes
|
||||||
|
* Fix uv python upgrade / install output when there is a no-op for one request
|
||||||
|
* Surface pinned-version hint when uv tool upgrade can’t move the tool
|
||||||
|
* Ban pre-release versions in uv python upgrade requests
|
||||||
|
* Fix uv python upgrade replacement of installed binaries on pre-release to stable
|
||||||
|
* Documentation
|
||||||
|
* Update uv pip compile args in layout.md
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 7 12:04:24 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.8.24
|
||||||
|
* Enhancements
|
||||||
|
* Add UV_SKIP_WHEEL_FILENAME_CHECK to allow installing invalid wheels
|
||||||
|
* Emit a message on cache clean and prune when lock is held
|
||||||
|
* Add --force flag for uv cache prune
|
||||||
|
* Documentation
|
||||||
|
* Document transparent x86_64 emulation on aarch64
|
||||||
|
* Document why we ban URLs from index dependencies
|
||||||
|
* Fix rendering of _CONDA_ROOT in reference
|
||||||
|
* Fix example of bumping beta version without patch bump
|
||||||
|
* Bug fixes
|
||||||
|
* Avoid rejecting already-installed URL distributions with --no-sources
|
||||||
|
* Confirm that the directory name is a valid Python install key during managed check
|
||||||
|
* Ignore origin when comparing installed tools
|
||||||
|
* Make cache control lookups robust to username
|
||||||
|
* Re-order lock validation checks by severity
|
||||||
|
* Remove tracking of inferred dependency conflicts
|
||||||
|
* Respect --no-color on the CLI
|
||||||
|
* Deduplicate marker-specific dependencies in uv pip tree output
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 29 08:05:11 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Remove uv-bash-completion, uv-fish-completion and uv-zsh-completion
|
||||||
|
packages as recommendations in the base package.
|
||||||
|
bsc#1249637
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 25 13:48:30 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update 0.8.22
|
||||||
|
* Security
|
||||||
|
* Upgrade astral-tokio-tar to 0.5.5 which hardens tar archive extraction
|
||||||
|
* Preview features
|
||||||
|
* Add support for S3 request signing
|
||||||
|
* Allow upgrading pre-release versions of the same minor Python version
|
||||||
|
* Enhancements
|
||||||
|
* Refresh lockfile when --refresh is provided
|
||||||
|
* Add --force flag for uv cache clean
|
||||||
|
* Improve resolution errors with proxied packages
|
||||||
|
* Bug fixes
|
||||||
|
* Hide freethreaded+debug Python downloads in uv python list
|
||||||
|
* Retain the cache lock and temporary caches during uv run and uvx
|
||||||
|
* Documentation
|
||||||
|
* Add package level conflicts to the conflicting dependencies docs
|
||||||
|
* Document pyodide support
|
||||||
|
* Document support for free-threaded and debug Python versions
|
||||||
|
* Expand the contribution docs on issue selection
|
||||||
|
* Tweak title for viewing version in project guide
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 22 15:21:28 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.8.19
|
||||||
|
* Bug fixes
|
||||||
|
* Make uv cache clean parallel process safe
|
||||||
|
* Fix implied platform_machine marker for win_arm64 platform tag
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 18 09:47:19 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- upate to 0.8.18
|
||||||
|
* Enhancements
|
||||||
|
* Add PyG packages to torch backend
|
||||||
|
* Add handling for unnamed conda environments in base environment detection
|
||||||
|
* Allow selection of debug build interpreters
|
||||||
|
* Improve uv init defaults for native build backend cache keys
|
||||||
|
* Error when pyproject.toml target does not exist for dependency groups
|
||||||
|
* Infer check URL from publish URL when known
|
||||||
|
* Support Gitlab CI/CD as a trusted publisher
|
||||||
|
* Add GraalPy 25.0.0 with support for Python 3.12
|
||||||
|
* Add --no-clear to uv venv to disable removal prompts
|
||||||
|
* Add conflict detection between --only-group and --extra flags
|
||||||
|
* Allow [project] to be missing from a pyproject.toml
|
||||||
|
* Always treat conda environments named base and root as base environments
|
||||||
|
* Improve log message when direct build for uv_build is skipped
|
||||||
|
* Log when the cache is disabled
|
||||||
|
* Show pyx organization name after authenticating
|
||||||
|
* Use _CONDA_ROOT to detect Conda base environments
|
||||||
|
* Include blake2b hash in uv publish upload form
|
||||||
|
* Fix misleading debug message when removing environments in uv sync
|
||||||
|
* Deprecations
|
||||||
|
* Deprecate tool.uv.dev-dependencies
|
||||||
|
* Preview features
|
||||||
|
* Propagate preview flag to client for native-auth feature
|
||||||
|
* Store native credentials for realms with the https scheme stripped
|
||||||
|
* Use the root index URL when retrieving credentials from the native store
|
||||||
|
* Bug fixes
|
||||||
|
* Fix uv sync --no-sources not switching from editable to registry installations
|
||||||
|
* Avoid display of an empty string when a path is the working directory
|
||||||
|
* Allow cached environment reuse with @latest
|
||||||
|
* Allow escaping spaces in --env-file handling
|
||||||
|
* Avoid ANSI codes in debug! messages
|
||||||
|
* Improve BSD tag construction
|
||||||
|
* Include SHA when listing lockfile changes
|
||||||
|
* Invert the logic for determining if a path is a base conda environment
|
||||||
|
* Load credentials for explicit members when lowering
|
||||||
|
* Re-add triton as a torch backend package
|
||||||
|
* Respect UV_INSECURE_NO_ZIP_VALIDATION=1 in duplicate header errors
|
||||||
|
* Documentation
|
||||||
|
* Add GitHub Actions to PyPI trusted publishing example
|
||||||
|
* Add Coiled integration documentation
|
||||||
|
* Add verbose output to the getting help section
|
||||||
|
* Document NO_PROXY support
|
||||||
|
* Document cache-keys for native build backends
|
||||||
|
* Add documentation for dependency group requires-python
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 12 09:13:31 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Update python-uv requirement for completion packages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 12 05:39:40 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Completion packages renamed as uv-bash-completion instead of having
|
||||||
|
one per flavor. bsc#1249345
|
||||||
|
- Add uv-bash-completion, uv-fish-completion and uv-zsh-completion
|
||||||
|
packages as recommendations in the base package.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 11 12:04:28 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.8.17
|
||||||
|
* Enhancements
|
||||||
|
* Improve error message for HTTP validation in auth services
|
||||||
|
* Respect PYX_API_URL when suggesting uv auth login on 401
|
||||||
|
* Add pyx as a supported PyTorch index URL
|
||||||
|
* Bug fixes
|
||||||
|
* Avoid initiating login flow for invalid API keys
|
||||||
|
* Do not search for a password for requests with a token attached already
|
||||||
|
* Filter pre-release Python versions in uv init --script
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 10 11:03:40 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.8.16
|
||||||
|
* Enhancements
|
||||||
|
* Allow --editable to override editable = false annotations
|
||||||
|
* Allow editable = false for workspace sources
|
||||||
|
* Show a dedicated error for virtual environments in source trees on build
|
||||||
|
* Support Android platform tags
|
||||||
|
* Support iOS platform tags
|
||||||
|
* Support scripts with inline metadata in --with-requirements and --requirements
|
||||||
|
* Preview features
|
||||||
|
* Support --no-project in uv format
|
||||||
|
* Allow uv format in unmanaged projects
|
||||||
|
* Bug fixes
|
||||||
|
* Avoid erroring when match-runtime target is optional
|
||||||
|
* Ban empty usernames and passwords in uv auth
|
||||||
|
* Error early for parent path in build backend
|
||||||
|
* Retry on IO errors during HTTP/2 streaming
|
||||||
|
* Support recursive requirements and constraints inclusion
|
||||||
|
* Use token store credentials for uv publish
|
||||||
|
* Fix virtual environment activation script compatibility with latest nushell
|
||||||
|
* Skip Python interpreters that cannot be queried with permission errors
|
||||||
|
* Documentation
|
||||||
|
* Clarify that uv auth commands take a URL
|
||||||
|
* Improve the CLI help for options that accept requirements files
|
||||||
|
* Adds example for caching for managed Python downloads in Docker builds
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 4 11:03:52 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.8.15
|
||||||
|
* Enhancements
|
||||||
|
* Add uv auth commands for credential management
|
||||||
|
* Add pyx support to uv auth commands
|
||||||
|
* Add uv tree --show-sizes to show package sizes
|
||||||
|
* Add --python-platform riscv64-unknown-linux
|
||||||
|
* Add --python-platform to uv run and uv tool
|
||||||
|
* Add uv publish --dry-run
|
||||||
|
* Add zstandard support for wheels
|
||||||
|
* Allow registries to pre-provide core metadata
|
||||||
|
* Retry streaming Python and binary download errors
|
||||||
|
* Bug fixes
|
||||||
|
* Fix settings rendering for extra-build-dependencies
|
||||||
|
* Skip non-existent directories in bytecode compilation
|
||||||
|
* Error messages
|
||||||
|
* Add error trace to invalid package format
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 2 14:56:39 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||||
|
|
||||||
|
- Update vendor tarball to fix CVE-2025-58160 (bsc#1249011)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 28 22:10:39 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.8.14
|
||||||
|
* Enhancements
|
||||||
|
* Add --python-platform to uv pip check
|
||||||
|
* Add an environment variable for UV_ISOLATED
|
||||||
|
* Add logging to the uv build backend
|
||||||
|
* Allow more trailing null bytes in zip files
|
||||||
|
* Allow pinning managed Python versions to specific build versions
|
||||||
|
* Cache PyTorch wheels by default
|
||||||
|
* Reject already-installed wheels that don't match the target platform
|
||||||
|
* Add --no-install-local option to uv sync, uv add and uv export
|
||||||
|
* Include cycle error message in uv pip CLI
|
||||||
|
* Preview features
|
||||||
|
* Fix format of {version} on uv format failure
|
||||||
|
* Lock during installs in uv format to prevent races
|
||||||
|
* Respect --project in uv format
|
||||||
|
* Run uv format in the project root
|
||||||
|
* Configuration
|
||||||
|
* Add file-to-CLI overrides for build isolation configuration
|
||||||
|
* Add file-to-CLI overrides for reinstall configuration
|
||||||
|
* Performance
|
||||||
|
* Cache WHEEL and METADATA reads in installed distributions
|
||||||
|
* Bug fixes
|
||||||
|
* Avoid erroring when creating venv in current working directory
|
||||||
|
* Avoid introducing unnecessary system dependency on CUDA
|
||||||
|
* Clear discovered site packages when creating virtual environment
|
||||||
|
* Read index credentials from the environment during uv publish checks
|
||||||
|
* Refuse to remove non-virtual environments in uv venv
|
||||||
|
* Stop setting CLICOLOR_FORCE=1 when calling build backends
|
||||||
|
* Support file or directory removal for Windows symlinks
|
||||||
|
* Documentation
|
||||||
|
* Fix GitHub guide highlight lines
|
||||||
|
* Move Resolver to new Internals section in the Reference
|
||||||
|
* Split the "Authentication" page into sections
|
||||||
|
* Update uninstall docs to mention uvw.exe needs to be removed
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 22 13:54:55 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.8.13
|
||||||
|
* Enhancements
|
||||||
|
* Add --no-install-* arguments to uv add
|
||||||
|
* Initialize Git prior to reading author in uv init
|
||||||
|
* Add CUDA 129 to available torch backends
|
||||||
|
* Update Pyodide to 0.28.2
|
||||||
|
* Preview features
|
||||||
|
* Add an experimental uv format command
|
||||||
|
* Allow version specifiers in extra-build-dependencies if match-runtime is explicitly false
|
||||||
|
* Bug fixes
|
||||||
|
* Add triton to torch-backend manifest
|
||||||
|
* Avoid panicking when resolver returns stale distributions
|
||||||
|
* Fix uv_build wheel hashes
|
||||||
|
* Treat --upgrade-package on the command-line as overriding upgrade = false in configuration
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 20 09:03:55 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.8.12
|
||||||
|
* Enhancements
|
||||||
|
* Add an aarch64-pc-windows-msvc target for python-platform
|
||||||
|
* Add fallback parent process detection to uv tool update-shell
|
||||||
|
* Install non-build-isolation packages in a second phase
|
||||||
|
* Add hint when virtual environments are included in source distributions
|
||||||
|
* Add Docker images derived from buildpack-deps:trixie, debian:trixie-slim, alpine:3.22
|
||||||
|
* Bug fixes
|
||||||
|
* Reject already-installed wheels built with outdated settings
|
||||||
|
* Skip interpreters that are not found on query
|
||||||
|
* Handle dotted package names in script path resolution
|
||||||
|
* Reject match-runtime = true for dynamic packages
|
||||||
|
* Documentation
|
||||||
|
* Document improvements to build-isolation setups
|
||||||
|
* Fix reference documentation recommendation to use uv cache clean instead of clear
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 15 17:37:36 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.8.11
|
||||||
|
* Enhancements
|
||||||
|
* Add extra-build-dependencies hint for any missing module on build failure
|
||||||
|
* Make 'v' prefix cyan in overlap warnings
|
||||||
|
* Bug fixes
|
||||||
|
* Fix missing uv version in extended Docker image tags
|
||||||
|
* Persist cache info when re-installing cached wheels
|
||||||
|
* Rust API
|
||||||
|
*Allow passing custom reqwest clients to RegistryClient
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 14 09:13:47 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.8.10
|
||||||
|
* Enhancements
|
||||||
|
* Allow Python requests with missing segments, e.g., just aarch64
|
||||||
|
* Preview
|
||||||
|
* Move warnings for conflicting modules into preview
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 12 09:30:49 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
Tue Aug 12 09:30:49 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-uv
|
# spec file for package python-uv
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
%bcond_without libalternatives
|
%bcond_without libalternatives
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-uv
|
Name: python-uv
|
||||||
Version: 0.8.9
|
Version: 0.9.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Python package installer and resolver, written in Rust
|
Summary: A Python package installer and resolver, written in Rust
|
||||||
License: Apache-2.0 OR MIT
|
License: Apache-2.0 OR MIT
|
||||||
@@ -44,7 +44,7 @@ BuildRequires: %{python_module maturin}
|
|||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module tomli}
|
BuildRequires: %{python_module tomli}
|
||||||
BuildRequires: alts
|
BuildRequires: alts
|
||||||
BuildRequires: cargo >= 1.86
|
BuildRequires: cargo >= 1.88
|
||||||
BuildRequires: cargo-packaging
|
BuildRequires: cargo-packaging
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -65,34 +65,37 @@ Provides: uv = %{version}
|
|||||||
Requires: alts
|
Requires: alts
|
||||||
Requires: python3
|
Requires: python3
|
||||||
|
|
||||||
%package fish-completion
|
%package -n uv-fish-completion
|
||||||
Summary: Fish Completion for %{name}
|
Summary: Fish Completion for %{name}
|
||||||
Supplements: (%{name} and fish)
|
Provides: python-uv-fish-completion = %{version}
|
||||||
Requires: %{name}
|
Supplements: (uv and fish)
|
||||||
Requires: fish
|
Requires: fish
|
||||||
|
Requires: uv
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description fish-completion
|
%description -n uv-fish-completion
|
||||||
Fish command-line completion support for %{name}.
|
Fish command-line completion support for %{name}.
|
||||||
|
|
||||||
%package zsh-completion
|
%package -n uv-zsh-completion
|
||||||
Summary: Zsh Completion for %{name}
|
Summary: Zsh Completion for %{name}
|
||||||
Supplements: (%{name} and zsh)
|
Provides: python-uv-zsh-completion = %{version}
|
||||||
Requires: %{name}
|
Supplements: (uv and zsh)
|
||||||
|
Requires: uv
|
||||||
Requires: zsh
|
Requires: zsh
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description zsh-completion
|
%description -n uv-zsh-completion
|
||||||
Zsh command-line completion support for %{name}.
|
Zsh command-line completion support for %{name}.
|
||||||
|
|
||||||
%package bash-completion
|
%package -n uv-bash-completion
|
||||||
Summary: Bash Completion for %{name}
|
Summary: Bash Completion for %{name}
|
||||||
Supplements: (%{name} and bash-completion)
|
Provides: python-uv-bash-completion = %{version}
|
||||||
Requires: %{name}
|
Supplements: (uv and bash-completion)
|
||||||
Requires: bash-completion
|
Requires: bash-completion
|
||||||
|
Requires: uv
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description bash-completion
|
%description -n uv-bash-completion
|
||||||
Bash command-line completion support for %{name}.
|
Bash command-line completion support for %{name}.
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -156,12 +159,12 @@ export CARGO_PROFILE_RELEASE_STRIP=false
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/uvx
|
%python_clone -a %{buildroot}%{_bindir}/uvx
|
||||||
%python_group_libalternatives uvx
|
%python_group_libalternatives uvx
|
||||||
|
|
||||||
%python_expand uv-%{$python_bin_suffix} --generate-shell-completion bash > %{buildroot}%{_datadir}/bash-completion/completions/uv-%{$python_bin_suffix}
|
%python_expand uv-%{$python_bin_suffix} --generate-shell-completion bash > %{buildroot}%{_datadir}/bash-completion/completions/uv
|
||||||
%python_expand uv-%{$python_bin_suffix} --generate-shell-completion fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/uv-%{$python_bin_suffix}.fish
|
%python_expand uv-%{$python_bin_suffix} --generate-shell-completion fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/uv.fish
|
||||||
%python_expand uv-%{$python_bin_suffix} --generate-shell-completion zsh > %{buildroot}%{_datadir}/zsh/site-functions/_uv-%{$python_bin_suffix}
|
%python_expand uv-%{$python_bin_suffix} --generate-shell-completion zsh > %{buildroot}%{_datadir}/zsh/site-functions/_uv
|
||||||
%python_expand uv-%{$python_bin_suffix} tool uvx --generate-shell-completion bash > %{buildroot}%{_datadir}/bash-completion/completions/uvx-%{$python_bin_suffix}
|
%python_expand uv-%{$python_bin_suffix} tool uvx --generate-shell-completion bash > %{buildroot}%{_datadir}/bash-completion/completions/uvx
|
||||||
%python_expand uv-%{$python_bin_suffix} tool uvx --generate-shell-completion fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/uvx-%{$python_bin_suffix}.fish
|
%python_expand uv-%{$python_bin_suffix} tool uvx --generate-shell-completion fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/uvx.fish
|
||||||
%python_expand uv-%{$python_bin_suffix} tool uvx --generate-shell-completion zsh > %{buildroot}%{_datadir}/zsh/site-functions/_uvx-%{$python_bin_suffix}
|
%python_expand uv-%{$python_bin_suffix} tool uvx --generate-shell-completion zsh > %{buildroot}%{_datadir}/zsh/site-functions/_uvx
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%python_libalternatives_reset_alternative uv
|
%python_libalternatives_reset_alternative uv
|
||||||
@@ -175,22 +178,22 @@ export CARGO_PROFILE_RELEASE_STRIP=false
|
|||||||
%{python_sitearch}/uv
|
%{python_sitearch}/uv
|
||||||
%{python_sitearch}/uv-%{version}.dist-info
|
%{python_sitearch}/uv-%{version}.dist-info
|
||||||
|
|
||||||
%files %{python_files bash-completion}
|
%files -n uv-bash-completion
|
||||||
%dir %{_datadir}/bash-completion
|
%dir %{_datadir}/bash-completion
|
||||||
%dir %{_datadir}/bash-completion/completions
|
%dir %{_datadir}/bash-completion/completions
|
||||||
%{_datadir}/bash-completion/completions/uv-%{python_bin_suffix}
|
%{_datadir}/bash-completion/completions/uv
|
||||||
%{_datadir}/bash-completion/completions/uvx-%{python_bin_suffix}
|
%{_datadir}/bash-completion/completions/uvx
|
||||||
|
|
||||||
%files %{python_files fish-completion}
|
%files -n uv-fish-completion
|
||||||
%dir %{_datadir}/fish
|
%dir %{_datadir}/fish
|
||||||
%dir %{_datadir}/fish/vendor_completions.d
|
%dir %{_datadir}/fish/vendor_completions.d
|
||||||
%{_datadir}/fish/vendor_completions.d/uv-%{python_bin_suffix}.fish
|
%{_datadir}/fish/vendor_completions.d/uv.fish
|
||||||
%{_datadir}/fish/vendor_completions.d/uvx-%{python_bin_suffix}.fish
|
%{_datadir}/fish/vendor_completions.d/uvx.fish
|
||||||
|
|
||||||
%files %{python_files zsh-completion}
|
%files -n uv-zsh-completion
|
||||||
%dir %{_datadir}/zsh
|
%dir %{_datadir}/zsh
|
||||||
%dir %{_datadir}/zsh/site-functions
|
%dir %{_datadir}/zsh/site-functions
|
||||||
%{_datadir}/zsh/site-functions/_uv-%{python_bin_suffix}
|
%{_datadir}/zsh/site-functions/_uv
|
||||||
%{_datadir}/zsh/site-functions/_uvx-%{python_bin_suffix}
|
%{_datadir}/zsh/site-functions/_uvx
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:1899e84a48e0c45a8120149c6fd9155ac52e6220029b2ac41e29dec2807e6791
|
oid sha256:e7450717b1b2bd0f0918060ed77a8d654a6da002f3d0e066b1c971f0c7a13366
|
||||||
size 58852134
|
size 65628991
|
||||||
|
|||||||
Reference in New Issue
Block a user