Summary: | dev-python/pytest-pep8 installation. Incorrect entry_points.txt file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ildar Gafurov <gaf> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | gaf, hencb, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Incorrect (origin) file
Correct file, that solves the issue emerge-info.txt dev-python:pytest-pep8-1.0.6:20170220-123450.log emerge-history.txt environment etc.portage.tbz2 |
Created attachment 460692 [details]
Correct file, that solves the issue
This is correct file, that allow pytest_pep8 plugin to be loaded. With this file everything works fine.
same at a tinderbox image Created attachment 464424 [details]
emerge-info.txt
Created attachment 464426 [details]
dev-python:pytest-pep8-1.0.6:20170220-123450.log
Created attachment 464428 [details]
emerge-history.txt
Created attachment 464430 [details]
environment
Created attachment 464432 [details]
etc.portage.tbz2
this is stopper for www-servers/tornado installation, which has this package in dependencies merge list. so, MANIFEST.in using graft for doc and test_pep8.py but there are no such dirs in pytest-pep8 sources -graft doc -graft test_pep8.py allows it to build. (In reply to Toralf Förster from comment #2) > same at a tinderbox image This is a different bug. I am unable to reproduce the problem originally reported in comment 0. entry_points.txt looks like this: [pytest11] pep8 = pytest_pep8 https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91aecde960dc3bff1c2610fe726d760bf411d21d commit 91aecde960dc3bff1c2610fe726d760bf411d21d Author: Mike Gilbert <floppym@gentoo.org> Date: Wed Feb 22 15:48:21 2017 -0500 dev-python/pytest-pep8: remove invalid entries from MANIFEST.in Also RDEPEND on setuptools for entry_points support. Bug: https://bugs.gentoo.org/606574#c2 dev-python/pytest-pep8/files/1.0.6-MANIFEST.patch | 9 +++++++++ dev-python/pytest-pep8/pytest-pep8-1.0.6.ebuild | 5 +++++ 2 files changed, 14 insertions(+) |
Created attachment 460690 [details] Incorrect (origin) file There is an error in current ebuild or original package (pytest-pep8-1.0.6.ebuild is made on the 30th of Novermber 2016) - py.test doesn't load this module (I've tested pytest 3.0.3 and 3.0.5). The error is in entry_points.txt file, it doesn't have pytest11 section at all.