* update python-tqdm to 4.66.5-1

This commit is contained in:
Alexander Baldeck 2024-09-24 13:44:27 +02:00
parent 46f7debafb
commit ec56c96448
3 changed files with 37 additions and 14 deletions

View File

@ -0,0 +1,29 @@
pkgbase = python-tqdm
pkgdesc = Fast, Extensible Progress Meter
pkgver = 4.66.5
pkgrel = 1
url = https://github.com/tqdm/tqdm
arch = any
license = MIT
license = MPL-2.0
checkdepends = python-pytest
checkdepends = python-pytest-asyncio
checkdepends = python-pytest-timeout
checkdepends = python-numpy
checkdepends = python-pandas
checkdepends = python-rich
checkdepends = python-dask
checkdepends = tk
checkdepends = python-keras
makedepends = git
makedepends = python-setuptools-scm
makedepends = python-toml
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
depends = python
optdepends = python-requests: telegram
source = git+https://github.com/tqdm/tqdm.git#commit=v4.66.5
sha512sums = 10e2481f0a388dd17a6bbaee8891ac2e186e29fddc7fe4fae7e84b5a5ddaaffbb6b0d09ef3d7b835a92b3761788eed98ece5c88883f026b1e2830cd4b257ce57
pkgname = python-tqdm

View File

@ -0,0 +1,4 @@
[python-tqdm]
source = "git"
git = "https://github.com/tqdm/tqdm.git"
prefix = "v"

View File

@ -3,8 +3,7 @@
# Maintainer: Robin Candau <antiz@archlinux.org>
pkgname=python-tqdm
pkgver=4.66.4
_commit=cc372d09dcd5a5eabdc6ed4cf365bdb0be004d44
pkgver=4.66.5
pkgrel=1
pkgdesc='Fast, Extensible Progress Meter'
arch=(any)
@ -14,8 +13,8 @@ depends=('python')
optdepends=('python-requests: telegram')
makedepends=('git' 'python-setuptools-scm' 'python-toml' 'python-build' 'python-installer' 'python-wheel')
checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-timeout' 'python-numpy' 'python-pandas' 'python-rich' 'python-dask' 'tk' 'python-keras')
source=("git+https://github.com/tqdm/tqdm.git#commit=${_commit}")
sha512sums=('092e2925f9fbca26080610f139308c29b79c446972fc08528853841e6a532404154c77698c8542aa6b7893ae345ed86f7d8b1e7d010f1a317b7358ac7819a11b')
source=("git+https://github.com/tqdm/tqdm.git#commit=v${pkgver}")
sha512sums=('10e2481f0a388dd17a6bbaee8891ac2e186e29fddc7fe4fae7e84b5a5ddaaffbb6b0d09ef3d7b835a92b3761788eed98ece5c88883f026b1e2830cd4b257ce57')
build() {
cd tqdm
@ -24,16 +23,7 @@ build() {
check() {
cd tqdm
# Tests fail with the following error:
# ```
# E DeprecationWarning: np.find_common_type is deprecated. Please use `np.result_type` or `np.promote_types`.
# E See https://numpy.org/devdocs/release/1.25.0-notes.html and the docs for more information. (Deprecated NumPy 1.25)
# ```
# This is because "python-pandas" is outdated in our repo. It is currently in v1.5.3 in [extra] while the test for this package requires >= 2.0.0
# See the following link for mor details: https://github.com/sdv-dev/SDV/issues/1469#issuecomment-1616746578
# Until "python-pandas" isn't updated on our side, the tests will fail so they are disabled for now.
# Tests still require numpy < 2.x.x
#pytest
}