Skip to content
Snippets Groups Projects
Commit 9fe29eaf authored by Celeste's avatar Celeste
Browse files

community/py3-tqdm: security upgrade to 4.66.4

CVE-2024-34062
parent 3c21deab
No related branches found
No related tags found
1 merge request!65273community/py3-tqdm: security upgrade to 4.66.4
Pipeline #231294 skipped
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=py3-tqdm
pkgver=4.66.2
pkgrel=2
pkgver=4.66.4
pkgrel=0
pkgdesc="Fast, Extensible Progress Meter"
url="https://pypi.org/project/tqdm"
arch="noarch"
......@@ -24,15 +24,9 @@ builddir="$srcdir/tqdm-$pkgver"
replaces="py-tqdm" # Backwards compatibility
provides="py-tqdm=$pkgver-r$pkgrel" # Backwards compatibility
prepare() {
default_prepare
case "$CARCH" in
# FIXME: remove selected failing tests on selected arches
aarch64) rm -v tests/tests_perf.py;;
s390x) rm -v tests/tests_perf.py;;
x86) rm -v tests/tests_synchronisation.py;;
esac
}
# secfixes:
# 4.66.4-r0:
# - CVE-2024-34062
build() {
export SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver"
......@@ -45,8 +39,16 @@ check() {
python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/*.whl
# 30s timeout
.testenv/bin/python3 -m pytest -k 'not test_lock_args'
case "$CARCH" in
riscv64)
# 30s timeout
.testenv/bin/python3 -m pytest \
--ignore tests/tests_perf.py
;;
*)
.testenv/bin/python3 -m pytest
;;
esac
}
package() {
......@@ -56,5 +58,5 @@ package() {
}
sha512sums="
49abd9006ca7c8672835b202e4e722602035a0e21723337b4227e114d6d50b678edb6c5f2b0cf4e6741eae5e86551ba59233f87989f6b69bb4d4414d5a3c80e5 tqdm-4.66.2.tar.gz
fdafa64784564f7f400f29ffa75ba564a3c9bc6d935a1ccd82260d4a1f4431792a9dae2d5c6ed69cc265f078f674081589a040d47b8745a500870d27670feadc tqdm-4.66.4.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment