Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 816327 - dev-python/jsonschema-4.0.1 fails tests
Summary: dev-python/jsonschema-4.0.1 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: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-05 04:38 UTC by Agostino Sarubbo
Modified: 2021-10-26 11:12 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,938.33 KB, text/plain)
2021-10-05 04:38 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-10-05 04:38:26 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/jsonschema-4.0.1 fails tests.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-10-05 04:38:29 UTC
Created attachment 743019 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-10-05 05:00:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b89a83fe352d6c57b0fc5e95fc67ddb7bf3e78

commit 03b89a83fe352d6c57b0fc5e95fc67ddb7bf3e78
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-05 05:00:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-05 05:00:44 +0000

    dev-python/jsonschema: drop --install from d_e_t
    
    Didn't make a difference to the test which seems to want
    jsonschema installed.
    
    Bug: https://bugs.gentoo.org/816327
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/jsonschema/jsonschema-4.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Rolf Eike Beer archtester 2021-10-26 06:06:34 UTC
Same on hppa:

ERROR: test_license (jsonschema.tests.test_cli.TestCLIIntegration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/jsonschema-4.1.2/work/jsonschema-4.1.2/jsonschema/tests/test_cli.py", line 888, in test_license
    output = subprocess.check_output(
  File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/python3.9', '-m', 'pip', 'show', 'jsonschema']' returned non-zero exit status 1.

pioneer ~ # /usr/bin/python3.9 -m pip show jsonschema
/usr/bin/python3.9: No module named pip
Comment 4 Larry the Git Cow gentoo-dev 2021-10-26 11:12:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b2a318760328ff511c4e43cb1c72e2152b3b2ec

commit 1b2a318760328ff511c4e43cb1c72e2152b3b2ec
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-10-26 07:19:25 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-10-26 11:12:24 +0000

    dev-python/jsonschema: Disable the test requiring pip
    
    Closes: https://bugs.gentoo.org/816327
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/jsonschema/jsonschema-4.0.1.ebuild | 7 ++++++-
 dev-python/jsonschema/jsonschema-4.1.0.ebuild | 7 ++++++-
 dev-python/jsonschema/jsonschema-4.1.1.ebuild | 7 ++++++-
 dev-python/jsonschema/jsonschema-4.1.2.ebuild | 7 ++++++-
 4 files changed, 24 insertions(+), 4 deletions(-)