Your message dated Fri, 22 Mar 2013 13:48:11 +0000 with message-id <[email protected]> and subject line Bug#703351: fixed in pytest 2.3.4-1~exp2 has caused the Debian Bug report #703351, regarding /usr/bin/py.test fails with ValueError to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 703351: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703351 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-pytest Version: 2.3.4-1~exp1 Severity: serious Tags: patch $ py.test-2.7 -v Traceback (most recent call last): File "/usr/bin/py.test-2.7", line 5, in <module> sys.exit(load_entry_point('pytest==2.3.4 * Bump Standards-Version to 3.9.4, no change needed.', 'console_scripts', 'py.test')()) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 343, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 335, in get_distribution if isinstance(dist,basestring): dist = Requirement.parse(dist) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2678, in parse reqs = list(parse_requirements(s)) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2603, in parse_requirements line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec") File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2581, in scan_list "Expected ',' or end-of-list in",line,"at",line[p:] ValueError: ("Expected ',' or end-of-list in", 'pytest==2.3.4 * Bump Standards-Version to 3.9.4, no change needed.', 'at', ' * Bump Standards- Version to 3.9.4, no change needed.') The casue is this line in py.test sys.sys.exit(load_entry_point('pytest==2.3.4 * Bump Standards-Version to 3.9.4, no change needed.', 'console_scripts', 'py.test')())exit(load_entry_point('pytest==2.3.4 * Bump Standards-Version to 3.9.4, no change needed.', 'console_scripts', 'py.test')()) generated in debian/rules UPSTREAM = $(shell dpkg-parsechangelog | grep Version | sed 's/Version: \(.*\)-.*/\1/' ) but $ dpkg-parsechangelog Source: pytest Version: 2.3.4-1~exp1 Distribution: experimental .... * Bump Standards-Version to 3.9.4, no change needed. .... i.e. a second line with the string "Version" in it :) Suggested fix: UPSTREAM = $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-.*/\1/p' ) There's another, but minor problem: the shebang line for /usr/bin/py.test-VER (generated in postinst) is always #! /usr/bin/python Note the blank after the hash bang. It's inserted by recent versions of function fix_shebang from /usr/share/python/debpython/tools.py which is used by dh_python{2,3}. Suggested fix is to be more liberal in postinst when adjusting the shebang line: --- pytest-2.3.4-ORIG/debian/python-pytest.postinst 2013-03-18 18:53:25.169215831 +0100 +++ pytest-2.3.4/debian/python-pytest.postinst 2013-03-18 18:54:06.152287209 +0100 @@ -19,7 +19,7 @@ for version in `pyversions -vi`; do if [ $version ]; then cp /usr/bin/py.test /usr/bin/py.test-$version - sed -i "s,#!/usr/bin/python,#!/usr/bin/python$version," "/usr/bin/py.test-$version" + sed -i "s,#! */usr/bin/python,#!/usr/bin/python$version," "/usr/bin/py.test-$version" fi done ;; --- pytest-2.3.4-ORIG/debian/python3-pytest.postinst 2013-03-18 18:53:25.165215922 +0100 +++ pytest-2.3.4/debian/python3-pytest.postinst 2013-03-18 18:53:55.464529382 +0100 @@ -20,7 +20,7 @@ for version in `py3versions -vi`; do if [ $version ]; then cp /usr/bin/py.test-3 /usr/bin/py.test-$version - sed -i "s,#!/usr/bin/python3,#!/usr/bin/python$version," "/usr/bin/py.test-$version" + sed -i "s,#! */usr/bin/python3,#!/usr/bin/python$version," "/usr/bin/py.test-$version" fi done ;; -- System Information: Debian Release: 7.0 APT prefers raring APT policy: (500, 'raring'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.8.3 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-pytest depends on: ii python 2.7.3-13 ii python-pkg-resources 0.6.34-1 ii python-py 1.4.12-1 python-pytest recommends no packages. Versions of packages python-pytest suggests: ii python-mock 1.0.1-1 -- no debconf information
--- End Message ---
--- Begin Message ---Source: pytest Source-Version: 2.3.4-1~exp2 We believe that the bug you reported is fixed in the latest version of pytest, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Simon Chopin <[email protected]> (supplier of updated pytest package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 22 Mar 2013 14:24:48 +0100 Source: pytest Binary: python-pytest python3-pytest python-pytest-doc Architecture: source all Version: 2.3.4-1~exp2 Distribution: experimental Urgency: low Maintainer: Debian Python Modules Team <[email protected]> Changed-By: Simon Chopin <[email protected]> Description: python-pytest - Simple, powerful testing in Python python-pytest-doc - Simple, powerful testing in Python - Documentation python3-pytest - Simple, powerful testing in Python3 Closes: 702117 703351 Changes: pytest (2.3.4-1~exp2) experimental; urgency=low . * Fix the version detection regexp to be less inclusive (Closes: #703351) * Adjust the shebang replacement regexp in postinst and rtinstall. Thanks to Roderich Schupp. * Remove the doc build directory in the clean target (Closes: #702117) Checksums-Sha1: 99237516d28d03a324412916c0d4e4c6648ecdd7 2355 pytest_2.3.4-1~exp2.dsc 54cf75f2db23f3121eb5b1326385355d27519450 7109 pytest_2.3.4-1~exp2.debian.tar.gz 2461485e5e90f57b800150318a718172816dea81 119332 python-pytest_2.3.4-1~exp2_all.deb 609df9f23702ec87379e567a863c86c620538c07 116294 python3-pytest_2.3.4-1~exp2_all.deb 04d2b10fbd01167bdd7131025a1ea121b5e11226 361410 python-pytest-doc_2.3.4-1~exp2_all.deb Checksums-Sha256: d9f941ae32eafd1fa2ef3fcaa52e126a71bb35e1d3be26ad42ae98c02d99bfeb 2355 pytest_2.3.4-1~exp2.dsc 0b86e40a26cd3e5bed7821fbb18c54cda6abfc5a2fb28bf25630ad9b5fd6c0e5 7109 pytest_2.3.4-1~exp2.debian.tar.gz 7c65334eab05b1aa76970540983d1526eed079deb05034175c4e291925d37495 119332 python-pytest_2.3.4-1~exp2_all.deb 0ff443762d407c120523b82a43f510a8ce987498f7cedced871cfd3637124e11 116294 python3-pytest_2.3.4-1~exp2_all.deb b60e7f967cf7f2afe1361ff7b2dc60459dd239dd6d6c869fb01f5934c316425a 361410 python-pytest-doc_2.3.4-1~exp2_all.deb Files: 3fff88f7fdb3f103c7674414319a27fa 2355 python optional pytest_2.3.4-1~exp2.dsc e5c4a312237800567694c6a0273f5670 7109 python optional pytest_2.3.4-1~exp2.debian.tar.gz 2a837eba2de76ee8a594c0c853b918ac 119332 python optional python-pytest_2.3.4-1~exp2_all.deb fa9b3e654a8bb5fe8be3fc098abdb404 116294 python optional python3-pytest_2.3.4-1~exp2_all.deb fb52fd9f1f1cf54cc2cb4846215a4820 361410 doc optional python-pytest-doc_2.3.4-1~exp2_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJRTF2kAAoJEGny/FFupxmTVgoQAK10WJx71ZiP+tWocBV9VVyD mvhIh5/HrnW9VH09GWoh1GHyoZhdbAORVi02q2WseqsBCupDLsaAPcuu+tblr4/b 0M1S/w9FD8jVf4CdiR2zZYeYQhhz2YMtYxokWRBAe3ZYwLdPCyG49jUiph3c7DZ1 9tQtyUk4sg3kyaVXTNSy+2dphufOkEKM4PcrTqkN6iXZchNLb/sjUMNergSpir2k I5T2QmcbmUIcDnKvzMbkRTyP9uWNE2RtndpRWMY0VYJ1K8tmW/jKVJiSKxRUSn/F r8S47ylp5XWOh/cxNaQx37RLTPilWqF0BG+J0QJMXf0xFJew1m0jYEpKh6LMjyjV 49LcHe6ggY+pSfSYAy3CBJ+7su7xSEFHeX4e4aGlpwH4y2588ztQHGwxQWvcHf8h Hzwyi6e7kyCp1ivlwugMxacFXfo+pu/+/MBz5Jeizw9vfUlQF7PYIKJOKI1HbEhe MVED/NHZdMPmZ6fxUBszB+8QyD9NzI/4VfwEcsFjHO1bAoatuPzCEN6zxZikLGAA 4v744Symml/is0JS5S1+iiEpXfelLFVhItcQCDPfpfeTMBa5jkmlivbP1YRqBuEw BStOJH4GvXbkUXM1C3WswGuq5k92O6pFgwbrySHL/e05649+CnepKb/hJifiQN/I 55Ka5X+rqXzzlt2+mi0D =/tCr -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

