Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737924 - dev-python/docopt-0.6.2-r3 fails tests
Summary: dev-python/docopt-0.6.2-r3 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://github.com/docopt/docopt/issu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-18 16:42 UTC by Agostino Sarubbo
Modified: 2021-06-22 13:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,8.57 KB, text/plain)
2020-08-18 16:42 UTC, Agostino Sarubbo
Details
docopt-0.6.2-pytest6_node_from_parent.patch (docopt-0.6.2-pytest6_node_from_parent.patch,664 bytes, patch)
2021-05-14 15:47 UTC, Marek Szuba
Details | Diff
docopt-0.6.2-pytest_node_from_parent.patch (docopt-0.6.2-pytest_node_from_parent.patch,958 bytes, patch)
2021-05-14 16:00 UTC, Marek Szuba
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-08-18 16:42:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/docopt-0.6.2-r3 fails tests.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-18 16:42:16 UTC
Created attachment 655366 [details]
build.log

build log and emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-12-22 07:44:25 UTC
It seems rather dead.
Comment 3 Marek Szuba archtester gentoo-dev 2021-05-14 15:47:38 UTC
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!)*.
Comment 4 Marek Szuba archtester gentoo-dev 2021-05-14 16:00:38 UTC
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.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-14 17:12:45 UTC
You are very welcome to add Python targets to this and other packages if all tests pass ;)
Comment 6 Larry the Git Cow gentoo-dev 2021-06-22 13:10:29 UTC
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(+)