惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
Simon Willison's Weblog
Simon Willison's Weblog
H
Help Net Security
F
Fortinet All Blogs
H
Heimdal Security Blog
S
Schneier on Security
L
LangChain Blog
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
NISL@THU
NISL@THU
P
Palo Alto Networks Blog
J
Java Code Geeks
博客园 - 【当耐特】
The Last Watchdog
The Last Watchdog
W
WeLiveSecurity
www.infosecurity-magazine.com
www.infosecurity-magazine.com
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Vulnerabilities – Threatpost
I
InfoQ
Recorded Future
Recorded Future
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
C
CERT Recently Published Vulnerability Notes
T
Tenable Blog
腾讯CDC
C
Check Point Blog
量子位
M
MIT News - Artificial intelligence
GbyAI
GbyAI
罗磊的独立博客
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
B
Blog
小众软件
小众软件
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
C
CXSECURITY Database RSS Feed - CXSecurity.com
Stack Overflow Blog
Stack Overflow Blog
P
Proofpoint News Feed
P
Privacy & Cybersecurity Law Blog
V2EX - 技术
V2EX - 技术
T
Threatpost
Engineering at Meta
Engineering at Meta
Attack and Defense Labs
Attack and Defense Labs
T
Tailwind CSS Blog
S
Securelist
The Cloudflare Blog
博客园 - 叶小钗
L
LINUX DO - 最新话题
T
Troy Hunt's Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
爱范儿
爱范儿

AUR Newest Packages

AUR (en) - xcute AUR (en) - wallrift AUR (en) - smolvm-git AUR (en) - smolvm-bin AUR (en) - smolvm AUR (en) - chess-cat-git AUR (en) - uac-launch-control-bin AUR (en) - openclaw AUR (en) - keyviz-zh-bin AUR (en) - runex-bin AUR (en) - sing-box-ref1nd-beta-bin AUR (en) - netscan-tui AUR (en) - koharu-appimage AUR (en) - pulsedb AUR (en) - android-cli AUR (en) - rudo-bin AUR (en) - marmalade-bin AUR (en) - clawx-appimage AUR (en) - echomusic-appimage AUR (en) - vermouth AUR (en) - mautrix-telegram-bin AUR (en) - ketesa AUR (en) - clawd-on-desk-bin AUR (en) - rebased-bin AUR (en) - oxideterm-bin AUR (en) - shed-sh AUR (en) - haus-bin AUR (en) - stably-orca-bin AUR (en) - reflection AUR (en) - emerald-legacy-launcher-git AUR (en) - kwim AUR (en) - pentest-ghostwriter AUR (en) - papagaia AUR (en) - outport-bin AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - python-fastapi-sso AUR (en) - zeed-bin AUR (en) - dwl-git-azerty AUR (en) - libspatialaudio-git AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-git AUR (en) - giff-git AUR (en) - budget-tracker-bin AUR (en) - budget-tracker AUR (en) - tasks-bin AUR (en) - ruri-git AUR (en) - gitmun-bin AUR (en) - python-cozempic AUR (en) - paintfe-bin AUR (en) - paintfe AUR (en) - drop-bin AUR (en) - tritium-launcher-bin AUR (en) - solidc-git AUR (en) - paseo-desktop-bin AUR (en) - dota2-minify-bin AUR (en) - yt-dvr AUR (en) - enneagram AUR (en) - excalidraw-desktop-bin AUR (en) - binaryobjectscanner-bin AUR (en) - openring-rs AUR (en) - openring-rs-bin AUR (en) - brave-origin-beta-bin AUR (en) - whisper.cpp-cuda-bin AUR (en) - libggml-cuda-bin AUR (en) - revdiff AUR (en) - tdesktop-nolimit AUR (en) - cert-checker AUR (en) - yaak-cli AUR (en) - yaak-cli-bin AUR (en) - deez-notes-bin AUR (en) - goosestation-libretro AUR (en) - whispers-cuda-bin AUR (en) - kei AUR (en) - foxguard AUR (en) - hyprlogin-git AUR (en) - kebiki AUR (en) - runex AUR (en) - ikuai-cli AUR (en) - whispers-bin AUR (en) - pipeweaver-app AUR (en) - pipeweaver AUR (en) - agentop-bin AUR (en) - cosmic-ext-connected-git AUR (en) - skwd-daemon AUR (en) - ter-music-cn AUR (en) - elio-bin AUR (en) - keyboard-chattering-fix-git AUR (en) - qtkeychain-qt5 AUR (en) - gesturecontrol AUR (en) - sharey AUR (en) - ouijit-bin AUR (en) - usque-bin AUR (en) - twig-bin AUR (en) - ascendara-bin
AUR (en) - python-ffmpeg-progress-yield
2026-06-21 · via AUR Newest Packages

martin-de commented on 2026-02-08 12:32 (UTC)

Since the package maintainer had previously implemented the necessary corrections using sed, I felt it made more sense to continue with this approach rather than creating another dependency with uv. However, the package maintainer should decide which approach to use in the future.

After developer Werner Robitza released version 1.1.2 yesterday, which included the change requires = ["uv_build>=0.8.14"], thus setting only a minimum requirement and removing the upper limit, we should be safe for the future without further action.

willemw commented on 2026-02-08 11:53 (UTC)

The PKGBUILD file I provided is also independent of the requires versions set in file pyproject.toml. And it does not require a patch in prepare(). Tested with versions 1.0.5 and 1.1.1. Note: the Arch Wiki has no "Python uv" build guidelines (yet).

martin-de commented on 2026-02-07 19:27 (UTC) (edited on 2026-02-07 23:47 (UTC) by martin-de)

After I added a note to the existing bug report, the developer reacted quickly and released a corrected version 1.1.2. The package can now be built without errors again; simply set pkgver=1.1.2 in the PKGBUILD and update the checksum with updpkgsums, that's all you need to do.

As I understand the developer Werner Robitza's comment, it should be the package maintainer's responsibility to set the version at the time the package is built. I tried this:

prepare() {
  cd ${_name}-${pkgver}    
  UV_BUILD_VER=$(pacman -Q python-uv-build | awk '{print $2}' | cut -d- -f1)    
  sed -i "/\[build-system\]/,/build-backend/ s/requires = .*/requires = [\"uv_build>=$UV_BUILD_VER\"]/" pyproject.toml    
}

This would cause the current version to be determined by pacman before the package is built and set in pyproject.toml. This would make us independent of upstream dependencies, because the entry would always match the currently installed version of uv-build.

I tried it with the unmodified version 1.1.1 and it worked.

willemw commented on 2026-02-07 17:53 (UTC)

Similar to using uv in python-ffmpeg-progress-yield-git, this PKGBUILD file does build:

# Maintainer: Jason Nader <jason.nader [] protonmail.com>
# Contributor: willemw <willemw12@gmail.com>
# Contributor: Sian1468 <sian1468-aur@.39011468.xyz>

pkgname=python-ffmpeg-progress-yield
_name=${pkgname#python-}
pkgver=1.1.1
pkgrel=1
pkgdesc="Run an ffmpeg command with its progress yielded."
arch=('any')
url="https://github.com/slhck/ffmpeg-progress-yield"
license=('MIT')
depends=('ffmpeg' 'python-tqdm')
checkdepends=('ffmpeg' 'python-pytest' 'python-pytest-asyncio' 'procps-ng')
makedepends=('python-installer' 'python-build' 'python-uv-build' uv)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz")
sha512sums=('fd9af9bb7acf9d5242d7549fda6c97c1ec49946aa18f118134b8efd5d766a633a1516708157cb8cb4c77624104fea75c6d1eefca31d3f2c0226d1525c7b8230f')

build() {
  cd ${_name}-${pkgver}
  #python -m build --wheel --no-isolation
  uv --no-cache --offline build --no-build-isolation --out-dir=dist --wheel .
}

check() {
  cd ${_name}-${pkgver}
  uv venv --system-site-packages
  uv --offline --no-cache pip install --link-mode=copy --no-deps dist/*.whl
  PATH=".venv/bin:$PATH" ./.venv/bin/python -m pytest tests
}

package() {
  cd ${_name}-${pkgver}
  install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
  python -m installer --destdir="$pkgdir" dist/*.whl
}

martin-de commented on 2026-02-07 14:11 (UTC)

This problem isn't new: https://github.com/slhck/ffmpeg-progress-yield/issues/32

Back then, the package couldn't be built against uv_build > 0.9, and now, after version 0.10.0 was released in the official repository on 2026-02-06, it's broken again.

You can try updating the variable requires = ["uv_build>=0.8.14,<0.10.0"] in pyproject.toml to a current value, or better yet, report the problem upstream so the developer can check if the current version is compatible with their project and fix it if necessary.

And the PKGBUILD should be updated to the current version 1.1.1.

willemw commented on 2026-02-07 13:27 (UTC)

Not compatible with package python-uv-build 0.10.0-1:

==> Starting build()...
* Getting build dependencies for wheel...

ERROR Missing dependencies:
        uv_build<0.10.0,>=0.8.14
==> ERROR: A failure occurred in build().
    Aborting...

martin-de commented on 2025-12-28 09:53 (UTC) (edited on 2025-12-28 23:14 (UTC) by martin-de)

Do not use quotes around the value. Using "function" (with quotes) in a .ini file causes pytest-asyncio to read the literal string including the quotes, which is not recognized.

However, the PKGBUILD is outdated, as a newer version 1.0.5 has been available since November 9th, in which the described problem no longer occurs. However, the additional dependency 'python-uv-build' must be set, the check function must be revised, because pytest no longer finds 'test/test.py' and 'LICENSE' has been renamed to 'LICENSE.md'.

For a fast solution, remove the quotes in the .ini file, or wait until the maintainer updated the PKGBUILD to the latest release.

willemw commented on 2025-12-28 07:58 (UTC)

==> Starting check()...
ERROR: '"function"' is not a valid asyncio_default_fixture_loop_scope. Valid scopes are: function, class, module, package, session.

yochananmarqos commented on 2025-06-22 20:41 (UTC)

@ruahcra: FYI, procps-ng is required for the test as it needs pgrep.

willemw commented on 2025-06-09 08:13 (UTC)

Fails to build. python-pytest-asyncio (was pytest-asyncio) is missing from checkdepends.