SHA256
14
0
forked from pool/python-uv

38 Commits

Author SHA256 Message Date
25cb077a72 Accepting request 1313007 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1313007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=58
2025-10-22 10:17:37 +00:00
bb3b270561 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=137
2025-10-22 05:57:02 +00:00
345d389817 Accepting request 1312270 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1312270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=57
2025-10-21 09:15:19 +00:00
4ef14f9f3a - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=135
2025-10-19 22:02:56 +00:00
c5b4b20d13 Accepting request 1311815 from devel:languages:python
- update to 0.9.3
 * Enhancements
  * Obfuscate secret token values in logs
 * Bug fixes
 * Fix workspace with relative pathing

OBS-URL: https://build.opensuse.org/request/show/1311815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=56
2025-10-17 15:25:53 +00:00
1df54adb1e - update to 0.9.3
* Enhancements
  * Obfuscate secret token values in logs
 * Bug fixes
 * Fix workspace with relative pathing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=133
2025-10-16 22:26:06 +00:00
4dc7cdd68f Accepting request 1310638 from devel:languages:python
- 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 

- 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

OBS-URL: https://build.opensuse.org/request/show/1310638
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=55
2025-10-11 20:50:30 +00:00
c2330a6823 - update to 0.14.0
* Breaking changes
  * Update default and latest Python versions for 3.14 
 * Preview features
  * [flake8-bugbear] Include certain guaranteed-mutable expressions: tuples, generators, and assignment expressions (B006) 
  * [refurb] Add fixes for FURB101 and FURB103 
  * [ruff] Extend FA102 with listed PEP 585-compatible APIs 
 * Bug fixes
  * [flake8-annotations] Fix return type annotations to handle shadowed builtin symbols (ANN201, ANN202, ANN204, ANN205, ANN206) 
  * [flynt] Fix f-string quoting for mixed quote joiners (FLY002) 
  * [isort] Fix inserting required imports before future imports (I002) 
  * [ruff] Handle argfile expansion errors gracefully 
  * [ruff] Skip RUF051 if else/elif block is present 
  * [ruff] Improve handling of intermixed comments inside from-imports 
 * Documentation
  * [flake8-comprehensions] Clarify fix safety documentation (C413)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=131
2025-10-10 21:08:34 +00:00
f6f3800a09 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=130
2025-10-08 17:18:28 +00:00
3d59c3d5fd Accepting request 1309609 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1309609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=54
2025-10-07 16:29:21 +00:00
85f045cf03 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=128
2025-10-07 12:07:08 +00:00
3331d4c26d Accepting request 1307673 from devel:languages:python
- Remove uv-bash-completion, uv-fish-completion and uv-zsh-completion
  packages as recommendations in the base package.
  bsc#1249637

OBS-URL: https://build.opensuse.org/request/show/1307673
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=53
2025-09-29 14:33:54 +00:00
9ec5bf3521 - Remove uv-bash-completion, uv-fish-completion and uv-zsh-completion
packages as recommendations in the base package.
  bsc#1249637

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=126
2025-09-29 08:08:52 +00:00
f6d1151f3a Accepting request 1307125 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1307125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=52
2025-09-25 16:45:59 +00:00
973812f9ef - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=124
2025-09-25 13:50:48 +00:00
e2592140ef Accepting request 1306573 from devel:languages:python
- update to 0.8.19 
* Bug fixes
 * Make uv cache clean parallel process safe
 * Fix implied platform_machine marker for win_arm64 platform tag

- 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

OBS-URL: https://build.opensuse.org/request/show/1306573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=51
2025-09-23 14:07:26 +00:00
113d6ad80d - update to 0.8.19
* Bug fixes
 * Make uv cache clean parallel process safe
 * Fix implied platform_machine marker for win_arm64 platform tag

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=122
2025-09-22 15:22:42 +00:00
e6147a03fc - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=121
2025-09-18 09:54:21 +00:00
115f19ae42 Accepting request 1304273 from devel:languages:python
- Update python-uv requirement for completion packages

- 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.

OBS-URL: https://build.opensuse.org/request/show/1304273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=50
2025-09-12 19:10:23 +00:00
70a5b91eb5 - Update python-uv requirement for completion packages
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=119
2025-09-12 09:17:01 +00:00
84036ed1b1 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=118
2025-09-12 07:41:38 +00:00
83eabee636 Accepting request 1304077 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1304077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=49
2025-09-11 14:40:36 +00:00
14d5b91879 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=116
2025-09-11 12:06:15 +00:00
9b5595a6f7 Accepting request 1303630 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1303630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=48
2025-09-10 15:30:38 +00:00
0b3f1cab1c - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=114
2025-09-10 11:06:09 +00:00
f717a86118 Accepting request 1302718 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1302718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=47
2025-09-04 15:59:52 +00:00
a017d161b6 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=112
2025-09-04 11:05:25 +00:00
b9c65257fe Accepting request 1302463 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1302463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=46
2025-09-02 18:02:43 +00:00
234f834eac - Update vendor tarball to fix CVE-2025-58160 (bsc#1249011)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=110
2025-09-02 15:31:24 +00:00
df96fdf63d Accepting request 1301842 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1301842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=45
2025-08-29 16:36:17 +00:00
c6f37970dc - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=108
2025-08-28 22:12:30 +00:00
57c331bd9f Accepting request 1300990 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1300990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=44
2025-08-25 18:37:08 +00:00
85b7e46016 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=106
2025-08-22 13:56:32 +00:00
8a97a9bae4 Accepting request 1300468 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1300468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=43
2025-08-20 12:40:35 +00:00
d7b13aac72 - update to 0.12.9
* Preview features
  * [airflow] Add check for airflow.secrets.cache.SecretCache (AIR301) 
  * [ruff] Offer a safe fix for multi-digit zeros (RUF064) 
 * Bug fixes
  * [flake8-blind-except] Fix BLE001 false-positive on raise ... from None 
  * [flake8-comprehensions] Fix false positive for C420 with attribute, subscript, or slice assignment targets 
  * [flake8-simplify] Fix handling of U+001C..U+001F whitespace (SIM905) 
 * Rule changes
  * [pylint] Use lowercase hex characters to match the formatter (PLE2513) 
 * Documentation
  * Fix lint.future-annotations link 
 * Other changes
  * Build riscv64 binaries for release 
  * Add rule code to error description in GitLab output

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=104
2025-08-20 09:40:21 +00:00
b89dff331d Accepting request 1299855 from devel:languages:python
- 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

- update to 0.8.10 
 * Enhancements
  * Allow Python requests with missing segments, e.g., just aarch64 
 * Preview
  * Move warnings for conflicting modules into preview

OBS-URL: https://build.opensuse.org/request/show/1299855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uv?expand=0&rev=42
2025-08-15 19:51:42 +00:00
c20c3dc0b5 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=102
2025-08-15 17:39:23 +00:00
369faa11ed - update to 0.8.10
* Enhancements
  * Allow Python requests with missing segments, e.g., just aarch64 
 * Preview
  * Move warnings for conflicting modules into preview

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=101
2025-08-14 09:52:55 +00:00
5 changed files with 419 additions and 35 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9fd1dd030b37b51dcf79b582ea77a911eeb4015a00669bd3047d3b6adea37ba8
size 4752059

View File

@@ -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 cant 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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,7 +33,7 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-uv
Version: 0.8.9
Version: 0.9.5
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.86
BuildRequires: cargo >= 1.88
BuildRequires: cargo-packaging
BuildRequires: cmake
BuildRequires: fdupes
@@ -65,34 +65,37 @@ Provides: uv = %{version}
Requires: alts
Requires: python3
%package fish-completion
%package -n uv-fish-completion
Summary: Fish Completion for %{name}
Supplements: (%{name} and fish)
Requires: %{name}
Provides: python-uv-fish-completion = %{version}
Supplements: (uv and fish)
Requires: fish
Requires: uv
BuildArch: noarch
%description fish-completion
%description -n uv-fish-completion
Fish command-line completion support for %{name}.
%package zsh-completion
%package -n uv-zsh-completion
Summary: Zsh Completion for %{name}
Supplements: (%{name} and zsh)
Requires: %{name}
Provides: python-uv-zsh-completion = %{version}
Supplements: (uv and zsh)
Requires: uv
Requires: zsh
BuildArch: noarch
%description zsh-completion
%description -n uv-zsh-completion
Zsh command-line completion support for %{name}.
%package bash-completion
%package -n uv-bash-completion
Summary: Bash Completion for %{name}
Supplements: (%{name} and bash-completion)
Requires: %{name}
Provides: python-uv-bash-completion = %{version}
Supplements: (uv and bash-completion)
Requires: bash-completion
Requires: uv
BuildArch: noarch
%description bash-completion
%description -n uv-bash-completion
Bash command-line completion support for %{name}.
%python_subpackages
@@ -156,12 +159,12 @@ export CARGO_PROFILE_RELEASE_STRIP=false
%python_clone -a %{buildroot}%{_bindir}/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 fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/uv-%{$python_bin_suffix}.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} 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 fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/uvx-%{$python_bin_suffix}.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} --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.fish
%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_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
%pre
%python_libalternatives_reset_alternative uv
@@ -175,22 +178,22 @@ export CARGO_PROFILE_RELEASE_STRIP=false
%{python_sitearch}/uv
%{python_sitearch}/uv-%{version}.dist-info
%files %{python_files bash-completion}
%files -n uv-bash-completion
%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}
%{_datadir}/bash-completion/completions/uv
%{_datadir}/bash-completion/completions/uvx
%files %{python_files fish-completion}
%files -n uv-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
%{_datadir}/fish/vendor_completions.d/uv.fish
%{_datadir}/fish/vendor_completions.d/uvx.fish
%files %{python_files zsh-completion}
%files -n uv-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}
%{_datadir}/zsh/site-functions/_uv
%{_datadir}/zsh/site-functions/_uvx
%changelog

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1899e84a48e0c45a8120149c6fd9155ac52e6220029b2ac41e29dec2807e6791
size 58852134
oid sha256:e7450717b1b2bd0f0918060ed77a8d654a6da002f3d0e066b1c971f0c7a13366
size 65628991