Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / python-hatch
Commits: 51f7bd03 by Carl Smedstad at 2026-02-02T08:16:11+01:00 upgpkg: 1.16.3-1: Upstream release https://github.com/pypa/hatch/releases/tag/hatch-v1.16.3 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-hatch pkgdesc = A modern project, package, and virtual env manager - pkgver = 1.16.2 - pkgrel = 3 + pkgver = 1.16.3 + pkgrel = 1 url = https://github.com/pypa/hatch arch = any license = MIT @@ -32,7 +32,7 @@ pkgbase = python-hatch depends = python-userpath depends = python-uv depends = python-virtualenv - source = https://github.com/pypa/hatch/archive/hatch-v1.16.2.tar.gz - sha512sums = 3dacba2258650cd3ae73e09a0163e8663ca2094ae866b3fb242260da00a79fb429f985b17980f7a8abb457d95a0003d8c84b8d62d19ac40531a8683eee78816c + source = https://github.com/pypa/hatch/archive/hatch-v1.16.3.tar.gz + b2sums = 5c034638e4000be12c0beb1a45e9d19d08da71bee31c2987c0b16e5702c2c60fa78335852dfd6fcf22548a0b9315969985dbc307d6ec241509ce20b27f175891 pkgname = python-hatch ===================================== PKGBUILD ===================================== @@ -4,8 +4,8 @@ # Contributor: Phillip A. (flying-sheep) pkgname=python-hatch -pkgver=1.16.2 -pkgrel=3 +pkgver=1.16.3 +pkgrel=1 pkgdesc="A modern project, package, and virtual env manager" arch=('any') url="https://github.com/pypa/hatch" @@ -44,7 +44,7 @@ checkdepends=( 'rust' ) source=("$url/archive/hatch-v$pkgver.tar.gz") -sha512sums=('3dacba2258650cd3ae73e09a0163e8663ca2094ae866b3fb242260da00a79fb429f985b17980f7a8abb457d95a0003d8c84b8d62d19ac40531a8683eee78816c') +b2sums=('5c034638e4000be12c0beb1a45e9d19d08da71bee31c2987c0b16e5702c2c60fa78335852dfd6fcf22548a0b9315969985dbc307d6ec241509ce20b27f175891') build() { cd hatch-hatch-v$pkgver @@ -61,25 +61,36 @@ build() { check() { cd hatch-hatch-v$pkgver - # Don't run hatchling tests, the tests in the tagged version of hatch are not - # in sync with the tagged version of hatchling. - test-env/bin/python -m pytest --ignore=tests/backend \ - --deselect=tests/cli/build/test_build.py::test_clean \ - --deselect=tests/cli/build/test_build.py::test_clean_env_var \ - --deselect=tests/cli/build/test_build.py::test_clean_hooks_after \ - --deselect=tests/cli/build/test_build.py::test_clean_hooks_after_env_var \ - --deselect=tests/cli/build/test_build.py::test_default \ - --deselect=tests/cli/build/test_build.py::test_explicit_directory \ - --deselect=tests/cli/build/test_build.py::test_explicit_directory_env_var \ - --deselect=tests/cli/build/test_build.py::test_plugin_dependencies_unmet \ - --deselect=tests/cli/config/test_set.py::test_project_location_basic_set_first_project \ - --deselect=tests/cli/config/test_set.py::test_project_location_complex_set_first_project \ + local pytest_args=( + # Don't run hatchling tests, the tests in the tagged version of hatch are not + # in sync with the tagged version of hatchling. + --deselect=tests/cli/build/test_build.py::test_clean + --deselect=tests/cli/build/test_build.py::test_clean_env_var + --deselect=tests/cli/build/test_build.py::test_clean_hooks_after + --deselect=tests/cli/build/test_build.py::test_clean_hooks_after_env_var + --deselect=tests/cli/build/test_build.py::test_default + --deselect=tests/cli/build/test_build.py::test_explicit_directory + --deselect=tests/cli/build/test_build.py::test_explicit_directory_env_var + --deselect=tests/cli/build/test_build.py::test_plugin_dependencies_unmet + --deselect=tests/cli/config/test_set.py::test_project_location_basic_set_first_project + --deselect=tests/cli/config/test_set.py::test_project_location_complex_set_first_project --deselect=tests/cli/self/test_self.py::test + + # Tests broken due to python-rich-14.3 incompatibility + # https://github.com/pypa/hatch/issues/2170 + --deselect=tests/cli/dep/show/test_table.py + --deselect=tests/cli/env/test_show.py + --deselect=tests/cli/python/test_show.py + --deselect=tests/cli/new/test_new.py::test_default_no_license_cache + --deselect=tests/env/plugin/test_interface.py::TestDependencies::test_context_formatting + --deselect=tests/env/plugin/test_interface.py::TestDependencies::test_project_dependencies_context_formatting + ) + test-env/bin/python -m pytest --ignore=tests/backend "${pytest_args[@]}" } package() { cd hatch-hatch-v$pkgver - python -m installer --destdir="${pkgdir}" dist/*.whl + python -m installer --destdir="$pkgdir" dist/*.whl install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt install -vDm644 completion.bash "$pkgdir/usr/share/bash-completion/completions/hatch" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-hatch/-/commit/51f7bd0331f14d30bfe436dd5610d6c850002e79 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-hatch/-/commit/51f7bd0331f14d30bfe436dd5610d6c850002e79 You're receiving this email because of your account on gitlab.archlinux.org.
