[arch-commits] Commit in python-aiohttp/trunk (PKGBUILD)
Jonas Witschel
diabonas at gemini.archlinux.org
Tue Nov 16 12:52:31 UTC 2021
Date: Tuesday, November 16, 2021 @ 12:52:31
Author: diabonas
Revision: 1048784
upgpkg: python-aiohttp 3.8.1-2: improve reproducibility when built with --nocheck
The official rebuilderd instance rebuilds without running check(), so make sure
the test suite does not change the generated bytecode.
Modified:
python-aiohttp/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-16 12:51:36 UTC (rev 1048783)
+++ PKGBUILD 2021-11-16 12:52:31 UTC (rev 1048784)
@@ -6,7 +6,7 @@
pkgname=python-aiohttp
_gitcommit=cc6dc0c49f5d002485f9a3cdf9bc3127a3ac1388
pkgver=3.8.1
-pkgrel=1
+pkgrel=2
pkgdesc='HTTP client/server for asyncio'
url='https://aiohttp.readthedocs.io'
arch=('x86_64')
@@ -58,7 +58,7 @@
# Without --pythonwarnings=default, the test suite does not even start due to
# an unrelated DeprecationWarning from python-packaging
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_python_version}" pytest --pythonwarnings=default
+ PYTHONDONTWRITEBYTECODE=1 PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_python_version}" pytest --pythonwarnings=default
}
package() {
More information about the arch-commits
mailing list