| Summary: | dev-python/docopt-0.6.2-r3 fails tests | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alexey+gentoo, mgorny, sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://github.com/docopt/docopt/issues/483 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
docopt-0.6.2-pytest6_node_from_parent.patch docopt-0.6.2-pytest_node_from_parent.patch |
||
|
Description
Agostino Sarubbo
2020-08-18 16:42:14 UTC
Created attachment 655366 [details]
build.log
build log and emerge --info
It seems rather dead. Created attachment 708573 [details, diff] docopt-0.6.2-pytest6_node_from_parent.patch This is the bare minimum required to get the tests to run, assuming we do not require compatibility with <dev-python/pytest-6.0.0 (if we, see https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for an example of how to implement it). With this patch in place all the tests pass, *including under python3_10 (hint hint!)*. Created attachment 708576 [details, diff]
docopt-0.6.2-pytest_node_from_parent.patch
Actually, here is a version with the compatibility check in place.
You are very welcome to add Python targets to this and other packages if all tests pass ;) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc9ab1a2ab6419fa03e4217c9c768c2a716bc56a commit bc9ab1a2ab6419fa03e4217c9c768c2a716bc56a Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-06-22 12:57:54 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-06-22 13:10:14 +0000 dev-python/docopt: make tests compatible with >=pytest-6 While at it, remove bits which are now handled by the eclass. Invoking maintainer time-out. Closes: https://bugs.gentoo.org/737924 Signed-off-by: Marek Szuba <marecki@gentoo.org> dev-python/docopt/docopt-0.6.2-r4.ebuild | 22 ++++++++++++++++++ .../docopt-0.6.2-pytest_node_from_parent.patch | 26 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) |