Your message dated Tue, 19 Jan 2016 16:03:24 +0000
with message-id <[email protected]>
and subject line Bug#808763: fixed in pytest 2.8.5-2
has caused the Debian Bug report #808763,
regarding ImportError: Entry point ('console_scripts', 'py.test-3.5') not found
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.)


-- 
808763: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808763
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pytest
Version: 2.8.5-1
Severity: grave

Dear maintainer,

When typing: py.test-3.5

I get: $ py.test-3.5
Traceback (most recent call last):
  File "/usr/bin/py.test-3.5", line 9, in <module>
    load_entry_point('pytest==2.8.5', 'console_scripts', 'py.test-3.5')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 568,
in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
2719, in load_entry_point
    raise ImportError("Entry point %r not found" % ((group, name),))
ImportError: Entry point ('console_scripts', 'py.test-3.5') not found

Having a look into /usr/bin/py.test-3.5, I can see:

if __name__ == '__main__':
    sys.exit(
        load_entry_point('pytest==2.8.5', 'console_scripts', 'py.test-3.5')()
    )

Obviously, replacing py.test-3.5 by py.test in the load_entry_point()
fixes the issue.

This bug is very annoying, because it prevents from testing with the
correct version of Python 3, in a loop of this kind:

PYTHON3S:=$(shell py3versions -vr)

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
        @echo "===> Running tests"
        set -e ; set -x ; for i in 2.7 $(PYTHON3S) ; do \
                PYMAJOR=`echo $$i | cut -d'.' -f1` ; \
                echo "===> Testing with python$$i (python$$PYMAJOR)" ; \
                PYTHON=python$$i py.test-$$i ; \
        done
endif

Please fix python3-pytest ASAP.

Thanks for maintaining pytest,
Cheers,

Thomas Goirand (zigo)

--- End Message ---
--- Begin Message ---
Source: pytest
Source-Version: 2.8.5-2

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.
Sebastian Ramacher <[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: Tue, 19 Jan 2016 15:59:35 +0100
Source: pytest
Binary: python-pytest python3-pytest python-pytest-doc
Architecture: source all
Version: 2.8.5-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Sebastian Ramacher <[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: 808763
Changes:
 pytest (2.8.5-2) unstable; urgency=medium
 .
   * Team upload.
   * debian/rules:
     - Reduce duplication between python-pytest and python-pytest-doc.
     - Build documentation in *build* step and not in install step.
   * debian/control: Remove XS-Testsuite, no longer needed.
   * Revert parts of c6eb0d1da9bdf2a0cfb40d69711e8a88e86d4657 and bring back
     rtinstall, rtremove, postinstall and prerm for python3-pytest. (Closes:
     #808763)
     Until we decide that py.test-X.Y scripts are not desired, this method
     actually generates them correctly and does not require a sourceful upload
     whenever the set of supported Python 3 version changes.
Checksums-Sha1:
 2c08f8ae9ef04f8b6f2e9d28059c6fc7fe1ce325 2416 pytest_2.8.5-2.dsc
 bec3a460d14414d22ab3cd4d9deee57b035f93ce 7492 pytest_2.8.5-2.debian.tar.xz
 2d6e346eac7d1c844d9c088f4fd0790c54f6fbac 495230 
python-pytest-doc_2.8.5-2_all.deb
 f36a6d334a49167bd47c5287ec207c82237147cc 154712 python-pytest_2.8.5-2_all.deb
 c917ff3b85db89fb9949e157e59ff3c622dc0ca0 155792 python3-pytest_2.8.5-2_all.deb
Checksums-Sha256:
 8eb94a24caa7c2757bd79336714ba122dfe185be3fb3b492fe9feb6324369789 2416 
pytest_2.8.5-2.dsc
 dfa0e3f9619898ecb7a7a30f828402714e07ead7be1c79cab456caa72a31ad87 7492 
pytest_2.8.5-2.debian.tar.xz
 a12b3d5cec2d74432692f5c7e41a6cf1d0a9ea0bfc16b02df21122fb4e7fffc3 495230 
python-pytest-doc_2.8.5-2_all.deb
 d930800b2b130bc5147b8c5c8674628812428303328b8340eeec734f6522cb13 154712 
python-pytest_2.8.5-2_all.deb
 03e60059cd0729476195402f09b2aba8547227df8c94a298cb13b507c0918d66 155792 
python3-pytest_2.8.5-2_all.deb
Files:
 8152c1737634618cc58e2f537a664c84 2416 python optional pytest_2.8.5-2.dsc
 563d7901f29fe463ce9d9832177045ce 7492 python optional 
pytest_2.8.5-2.debian.tar.xz
 d94c53b2d954ce1bca6c9f4861d889b5 495230 doc optional 
python-pytest-doc_2.8.5-2_all.deb
 f0bbf0388749d2dda2934118701d3cfb 154712 python optional 
python-pytest_2.8.5-2_all.deb
 d71f34ded2ddc3082f2d6f0fc1a08727 155792 python optional 
python3-pytest_2.8.5-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWnlBbAAoJEGny/FFupxmTd5kP/0CH9T/GdJugFguWejyX1V00
bgBoYlmooF88EAxNQUYEUTmecGNR1vicDxI7BJJTDL2gnjaO+exLQKD9OzN/TQEO
T1lhDILpzdzYRW1eM7IvexgOlotTLTRLe1tlaKK4F0yuOZF9hT3iilRdNV8QsvAJ
YSFgYJwErc3vQrVoRjQ36b4ndZobqVDd7WZTeaoYENTwkBvVTGEBWTs6P2K+94kB
ndbzDlqskMEMMaFQPDDCrLs79td7utb+FQYSwlwz5fenZpFADXkwOuHhg9PyIbiC
tNsQDYnVM/TPnlYa2Z9P28b7neAt1tgUkERYgirLm7Nz9xgrd0Y+1G3r5TWZxFbZ
qR0wwndChfT88qA/8yHyEd6ter4u+AKNQ0Gw7Xjz6FNIm6WabgwrBFx5i7JZduhP
nNKzaAOu31hqAcUeUalIL/HJwRThWOpdH87oBlNlV8lF9NNhb0C4Wy7IJYbZ00Ia
pBQFGPNilzRW8KKOzjiDEZ5J6gzKQj8efQPAiTyXkXi+evgHHVYLWWltHuTzvL5K
SU8vJLow0Axtl46ZPzrfuUiMh9GPranHzgvxl6PqBoKuZRL736oz0Fr62wCzAZLt
95wegLtEjJzw03fyrR2ystprTb/GFugM8cJOMAP8J7fvV0f4XUvh1mK7USgvH6Lo
LdKmUlIttiHIAUhlSGhd
=/iFU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to