Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / python-tqdm
Commits: 0fd9cbfd by Robin Candau at 2023-08-16T13:36:52+02:00 upgpkg: 4.66.1-1 - Switch to python-build: https://github.com/tqdm/tqdm/pull/1490 - Add the missing python-keras makedepends - Temporarely disable check () as it requires python-pandas v2.0.x (still in v1.5.3 in our repo currently): https://github.com/sdv-dev/SDV/issues/1469#issuecomment-1616746578 - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -1,36 +1,44 @@ # Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Robin Candau <an...@archlinux.org> pkgname=python-tqdm -pkgver=4.65.0 -_commit=0bb91857eca0d4aea08f66cf1c8949abe0cd6b7a -pkgrel=3 +pkgver=4.66.1 +_commit=4c956c20b83be4312460fc0c4812eeb3fef5e7df +pkgrel=1 pkgdesc='Fast, Extensible Progress Meter' arch=('any') license=('MIT' 'MPL') url='https://github.com/tqdm/tqdm' depends=('python') optdepends=('python-requests: telegram') -makedepends=('git' 'python-setuptools-scm' 'python-toml') -checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-timeout' 'python-numpy' - 'python-pandas' 'python-rich' 'python-dask' 'tk') +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=('SKIP') build() { cd tqdm - python setup.py build + python -m build --wheel --no-isolation } check() { cd tqdm - python -m venv --system-site-packages test-env - test-env/bin/python setup.py install - test-env/bin/python -m pytest + + # 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. + + #pytest } package() { cd tqdm - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENCE -t "$pkgdir"/usr/share/licenses/$pkgname/ } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-tqdm/-/commit/0fd9cbfdf32fc94caeec2ce0a2076f3b3aa87486 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-tqdm/-/commit/0fd9cbfdf32fc94caeec2ce0a2076f3b3aa87486 You're receiving this email because of your account on gitlab.archlinux.org.