Skip to content

3.2.0: pytest is failing #807

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kloczek opened this issue May 4, 2021 · 10 comments
Closed

3.2.0: pytest is failing #807

kloczek opened this issue May 4, 2021 · 10 comments

Comments

@kloczek
Copy link

kloczek commented May 4, 2021

+ /usr/bin/python3 -Bm pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.9, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
rootdir: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, asyncio-0.14.0, expect-1.1.0, cov-2.11.1, mock-3.5.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, pyfakefs-4.4.0, freezegun-0.4.2, cases-3.4.6, hypothesis-6.10.1, case-1.5.3, isort-1.3.0, aspectlib-1.5.2, flaky-3.7.0
collected 2562 items / 1 error / 2561 selected

================================================================================== ERRORS ==================================================================================
___________________________________________________________ ERROR collecting jsonschema/tests/test_validators.py ___________________________________________________________
jsonschema/tests/test_validators.py:12: in <module>
    from twisted.trial.unittest import SynchronousTestCase
/usr/lib/python3.8/site-packages/twisted/trial/unittest.py:20: in <module>
    from twisted.trial._asyncrunner import TestSuite, TestDecorator, decorate
/usr/lib/python3.8/site-packages/twisted/trial/_asyncrunner.py:15: in <module>
    from twisted.trial import itrial, reporter
/usr/lib/python3.8/site-packages/twisted/trial/reporter.py:29: in <module>
    from subunit import TestProtocolClient
/usr/lib/python3.8/site-packages/subunit/__init__.py:142: in <module>
    from subunit.v2 import ByteStreamToStreamResult, StreamResultToBytes
/usr/lib/python3.8/site-packages/subunit/v2.py:52: in <module>
    EPOCH = datetime.datetime.utcfromtimestamp(0).replace(tzinfo=iso8601.Utc())
E   AttributeError: module 'subunit.iso8601' has no attribute 'Utc'
========================================================================= short test summary info ==========================================================================
ERROR jsonschema/tests/test_validators.py - AttributeError: module 'subunit.iso8601' has no attribute 'Utc'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================================================= 1 error in 2.04s =============================================================================
@kloczek
Copy link
Author

kloczek commented May 4, 2021

Above is with subunit 1.4.0.

@Julian
Copy link
Member

Julian commented May 4, 2021

Works fine here, so would need to see a reproducer:


~/Development/jsonschema is a git repository on main 
⊙  python3.9 -m venv venv; venv/bin/python -m pip install --quiet pytest twisted . && venv/bin/python -m pytest .                                                                   julian@Airm
WARNING: You are using pip version 21.0.1; however, version 21.1.1 is available.
You should consider upgrading via the '/Users/julian/Development/jsonschema/venv/bin/python -m pip install --upgrade pip' command.
===================================================================================== test session starts ======================================================================================
platform darwin -- Python 3.9.4, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /Users/julian/Development/jsonschema
collected 3484 items                                                                                                                                                                           

jsonschema/tests/test_cli.py ..................................................                                                                                                          [  1%]
jsonschema/tests/test_exceptions.py ..............................                                                                                                                       [  2%]
jsonschema/tests/test_format.py ........                                                                                                                                                 [  2%]
jsonschema/tests/test_jsonschema_test_suite.py ....................................s...ss.s.sss.................................................ss....s................................. [  6%]
.....................................................sss.ssss.ss........................................................................................................................ [ 11%]
...................................................................................................................................................ssssss.........................sss... [ 17%]
...............................................................................s....ss.sss....................................ss....s................................................... [ 22%]
..................sss.ssss.ss.ss........s............................................................................................................................................... [ 27%]
...................................................................ss...........ssssssss................................................................................................ [ 32%]
..................................................ssss..ss.......................................sssssss................................................................................ [ 38%]
...........................................ssssss...sss.........sss...........................s....sss.sss...........................................ss....s............................ [ 43%]
...................................................................sss.ssss.ss.ss........s.........................................................ssssssssssss......................... [ 48%]
........................................................................................................................................................................ss...........sss [ 53%]
sssss.......................................................................................................................................................ssss..ss.................... [ 59%]
...........ss...s.............sssssss..........................................................................................................................ssssss...sss.........sss. [ 64%]
...........................ss..s..s.s....ss.sss................................................ss....s.................................................................................. [ 69%]
.............................................................sss..ssss.ss.ss...................................................................................s........................ [ 75%]
...........ss.....ssss...........................ssssssssssss........................................................................................................................... [ 80%]
......................................................................ss...........ssssssss......................................ss...........ss....ssssssssss.......................... [ 85%]
....................................................................................ssss..ss...............................ss...s.............sssssss................................... [ 90%]
.....................................................................................................................                                                                    [ 94%]
jsonschema/tests/test_types.py ..............                                                                                                                                            [ 94%]
jsonschema/tests/test_validators.py ...........................................................s.s.........................s.s.......................................................... [ 98%]
....................................                                                                                                                                                     [100%]

============================================================================== 3241 passed, 243 skipped in 3.13s ===============================================================================

but really, the main supported test setup is the one from the tox.ini. Running pytest or any unit test compatible runner should work fine though, the above seems like yeah some sort of version conflict in your pytest+subunit install.

@kloczek
Copy link
Author

kloczek commented May 4, 2021

Works fine here, so would need to see a reproducer

OK so which one version of the subunit module you have installed?
I have 1.4.0.

@Julian
Copy link
Member

Julian commented May 4, 2021

I showed the full command I ran :) -- for clarity, it's again:

python3.9 -m venv venv; venv/bin/python -m pip install --quiet pytest twisted . && venv/bin/python -m pytest .

subunit isn't installed by default by pytest or twisted (so I had no subunit module installed), though yeah if you're using it it should work, here is the same command explicitly installing subunit, which still works here:

⊙  rm -rf venv; python3.9 -m venv venv; venv/bin/python -m pip install --quiet pytest twisted python-subunit . && venv/bin/python -m pytest .                                       julian@Airm
WARNING: You are using pip version 21.0.1; however, version 21.1.1 is available.
You should consider upgrading via the '/Users/julian/Development/jsonschema/venv/bin/python -m pip install --upgrade pip' command.
===================================================================================== test session starts ======================================================================================
platform darwin -- Python 3.9.4, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /Users/julian/Development/jsonschema
collected 3484 items                                                                                                                                                                           

jsonschema/tests/test_cli.py ..................................................                                                                                                          [  1%]
jsonschema/tests/test_exceptions.py ..............................                                                                                                                       [  2%]
jsonschema/tests/test_format.py ........                                                                                                                                                 [  2%]
jsonschema/tests/test_jsonschema_test_suite.py ....................................s...ss.s.sss.................................................ss....s................................. [  6%]
.....................................................sss.ssss.ss........................................................................................................................ [ 11%]
...................................................................................................................................................ssssss.........................sss... [ 17%]
...............................................................................s....ss.sss....................................ss....s................................................... [ 22%]
..................sss.ssss.ss.ss........s............................................................................................................................................... [ 27%]
...................................................................ss...........ssssssss................................................................................................ [ 32%]
..................................................ssss..ss.......................................sssssss................................................................................ [ 38%]
...........................................ssssss...sss.........sss...........................s....sss.sss...........................................ss....s............................ [ 43%]
...................................................................sss.ssss.ss.ss........s.........................................................ssssssssssss......................... [ 48%]
........................................................................................................................................................................ss...........sss [ 53%]
sssss.......................................................................................................................................................ssss..ss.................... [ 59%]
...........ss...s.............sssssss..........................................................................................................................ssssss...sss.........sss. [ 64%]
...........................ss..s..s.s....ss.sss................................................ss....s.................................................................................. [ 69%]
.............................................................sss..ssss.ss.ss...................................................................................s........................ [ 75%]
...........ss.....ssss...........................ssssssssssss........................................................................................................................... [ 80%]
......................................................................ss...........ssssssss......................................ss...........ss....ssssssssss.......................... [ 85%]
....................................................................................ssss..ss...............................ss...s.............sssssss................................... [ 90%]
.....................................................................................................................                                                                    [ 94%]
jsonschema/tests/test_types.py ..............                                                                                                                                            [ 94%]
jsonschema/tests/test_validators.py ...........................................................s.s.........................s.s.......................................................... [ 98%]
....................................                                                                                                                                                     [100%]

======================================================================================= warnings summary =======================================================================================
venv/lib/python3.9/site-packages/unittest2/compatibility.py:143
  /Users/julian/Development/jsonschema/venv/lib/python3.9/site-packages/unittest2/compatibility.py:143: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
    class ChainMap(collections.MutableMapping):

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= 3241 passed, 243 skipped, 1 warning in 2.85s =========================================================================

@kloczek
Copy link
Author

kloczek commented May 4, 2021

OK may I ask which one version of the twisted moule you have? (I have 21.2.0)

@Julian
Copy link
Member

Julian commented May 4, 2021 via email

@kloczek
Copy link
Author

kloczek commented May 4, 2021

Please run precisely the command I showed -- does it produce the same result for you?

I really do not understand why you want me to use pip.
I have all python modules packages and already installed out of my rpm packahges.
Could you please ecplan why you want me to install twisted over pip?

If not please share a self contained command that produces the output you showed.

That command is in first line of that ticket:

+ /usr/bin/python3 -Bm pytest -ra

@Julian
Copy link
Member

Julian commented May 4, 2021

Please don't take this the wrong way, but you need to read something like http://sscce.org/ -- when filing a bug, you should provide a completely self contained set of commands that helps the maintainers of the project reproduce your issue without going back and forth.

As a silly example, here is what your command produces on my system:

⊙  /usr/bin/python3 -Bm pytest -ra                                                                                                                                                  julian@Airm
/Library/Developer/CommandLineTools/usr/bin/python3: No module named pytest

because of course, I do not have pytest installed on my global Python. You do, and you got it somehow. I can't help diagnose however you set up your own system, what I can do is two things:

  1. Tell you the supported way to run this package's tests -- that's following this section of the README or running tox -e py39-format-tests for just one Python interpreter's tests.
  2. Help show you a reproducible environment for running the tests, that's the command I showed you, which I suspect will run on your system as well.

You're asking for 3) "help diagnose some set of packages, versions, and installations you've ran on your local system, which you can't share with me other than in back and forth above, and which isn't one of the above officially supported ways". I can't do that, sorry.

I'm going to close this since I'm 99% sure whatever is happening here is something about your own setup. I can again, give you possible working setups, but I just don't have time to help diagnose arbitrary ones. If you want to figure out how to fix your setup, I'd suggest either following the steps the tox.ini performs, running the pip command I showed and getting those versions of the software, or asking on StackOverflow.

Again, hopefully the above isn't taken in bad faith.

@Julian Julian closed this as completed May 4, 2021
@kloczek
Copy link
Author

kloczek commented May 5, 2021

because of course, I do not have pytest installed on my global Python. You do, and you got it somehow. I can't help diagnose however you set up your own system, what I can do is two things:

So `pip install pytest' doses not work on MOX?

Tell you the supported way to run this package's tests -- that's following this section of the README or running tox -e py39-format-tests for just one Python interpreter's tests.

Here is tox output (which is as well failing)

+ /usr/bin/python3 -Bm tox --skip-missing-interpreters
py35-build create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py35-build
SKIPPED: InterpreterNotFound: python3.5
py35-tests create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py35-tests
SKIPPED: InterpreterNotFound: python3.5
py35-tests_nongpl create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py35-tests_nongpl
SKIPPED: InterpreterNotFound: python3.5
py36-build create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py36-build
SKIPPED: InterpreterNotFound: python3.6
py36-tests create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py36-tests
SKIPPED: InterpreterNotFound: python3.6
py36-tests_nongpl create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py36-tests_nongpl
SKIPPED: InterpreterNotFound: python3.6
py37-build create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py37-build
SKIPPED: InterpreterNotFound: python3.7
py37-tests create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py37-tests
SKIPPED: InterpreterNotFound: python3.7
py37-tests_nongpl create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py37-tests_nongpl
SKIPPED: InterpreterNotFound: python3.7
py38-build create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-build
py38-build installdeps: pep517
py38-build installed: jsonschema==3.2.0,pep517==0.10.0,toml==0.10.2
py38-build run-test-pre: PYTHONHASHSEED='33262761'
py38-build run-test: commands[0] | virtualenv --quiet --python=python2.7 /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-build/tmp/venv
The path python2.7 (from --python=python2.7) does not exist
ERROR: InvocationError for command /usr/bin/virtualenv --quiet --python=python2.7 /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-build/tmp/venv (exited with code 3)
py38-tests create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests
py38-tests installdeps: -r/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/test-requirements.txt
py38-tests installed: attrs==20.3.0,Automat==20.2.0,constantly==15.1.0,hyperlink==21.0.0,idna==3.1,incremental==21.3.0,jsonschema==3.2.0,six==1.15.0,Twisted==21.2.0,zope.interface==5.4.0
py38-tests run-test-pre: PYTHONHASHSEED='33262761'
py38-tests run-test: commands[0] | /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/bin/python -m pip install '/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0[format]'
Processing /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
Requirement already satisfied: attrs>=17.4.0 in /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages (from jsonschema==3.2.0) (20.3.0)
Requirement already satisfied: setuptools in /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages (from jsonschema==3.2.0) (41.6.0)
Requirement already satisfied: six>=1.11.0 in /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages (from jsonschema==3.2.0) (1.15.0)
Processing /home/tkloczko/.cache/pip/wheels/f0/b8/de/b593ad311be4eb458499d100db081e453576032272398b7ddc/pyrsistent-0.17.3-cp38-cp38-linux_x86_64.whl
Processing /home/tkloczko/.cache/pip/wheels/bb/af/c9/b6e9fb5f9b2470e4ed2a7241c9ab3a8cdd3bc8555ae02ca2e6/strict_rfc3339-0.7-cp38-none-any.whl
Requirement already satisfied: idna; extra == "format" in /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages (from jsonschema==3.2.0) (3.1)
Collecting webcolors; extra == "format"
  Using cached https://files.pythonhosted.org/packages/12/05/3350559de9714b202e443a9e6312937341bd5f79f4e4f625744295e7dd17/webcolors-1.11.1-py3-none-any.whl
Collecting rfc3987; extra == "format"
  Using cached https://files.pythonhosted.org/packages/65/d4/f7407c3d15d5ac779c3dd34fbbc6ea2090f77bd7dd12f207ccf881551208/rfc3987-1.3.8-py2.py3-none-any.whl
Collecting jsonpointer>1.13; extra == "format"
  Using cached https://files.pythonhosted.org/packages/23/52/05f67532aa922e494c351344e0d9624a01f74f5dd8402fe0d1b563a6e6fc/jsonpointer-2.1-py2.py3-none-any.whl
Building wheels for collected packages: jsonschema
  Building wheel for jsonschema (PEP 517) ... done
  Created wheel for jsonschema: filename=jsonschema-3.2.0-cp38-none-any.whl size=56304 sha256=7973cfb20d2d9b040a63cd2c3a97e0a9308f31e1b4fd01d890718ce8825907f3
  Stored in directory: /home/tkloczko/.cache/pip/wheels/b4/f1/9a/4c810dc67335b5341c7c73223f6c99883a23819082916a9d58
Successfully built jsonschema
Installing collected packages: pyrsistent, strict-rfc3339, webcolors, rfc3987, jsonpointer, jsonschema
Successfully installed jsonpointer-2.1 jsonschema-3.2.0 pyrsistent-0.17.3 rfc3987-1.3.8 strict-rfc3339-0.7 webcolors-1.11.1
WARNING: You are using pip version 19.3.1; however, version 21.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
py38-tests run-test: commands[1] | /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/bin/trial jsonschema
jsonschema.tests.test_cli
  TestCLI
    test_draft3_schema_draft4_validator ...                                [OK]

[..]

    test_format_validation_of_CSS_colors_a_CSS_color_name_containing_invalid_characters ... [ERROR]
    test_format_validation_of_CSS_colors_a_valid_CSS_color_name ...     [ERROR]
    test_format_validation_of_CSS_colors_a_valid_six_digit_CSS_color_code ... [ERROR]
    test_format_validation_of_CSS_colors_a_valid_three_digit_CSS_color_code ... [ERROR]
    test_format_validation_of_CSS_colors_an_invalid_CSS_color_code ...  [ERROR]
    test_format_validation_of_CSS_colors_an_invalid_CSS_color_name ...  [ERROR]

[..]

In Python 3 json.load always produces unicode

jsonschema.tests.test_validators.TestDraft3Validator.test_string_a_bytestring_is_a_string
jsonschema.tests.test_validators.TestDraft4Validator.test_string_a_bytestring_is_a_string
jsonschema.tests.test_validators.TestDraft6Validator.test_string_a_bytestring_is_a_string
jsonschema.tests.test_validators.TestDraft7Validator.test_string_a_bytestring_is_a_string
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib64/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib64/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib64/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/tests/_suite.py", line 199, in fn
    self.validate(**kwargs)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/tests/_suite.py", line 211, in validate
    jsonschema.validate(
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/validators.py", line 932, in validate
    error = exceptions.best_match(validator.iter_errors(instance))
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/exceptions.py", line 367, in best_match
    best = next(errors, None)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/validators.py", line 328, in iter_errors
    for error in errors:
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/_validators.py", line 208, in format
    validator.format_checker.check(instance, format)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/_format.py", line 97, in check
    result = func(instance)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/_format.py", line 357, in is_css21_color
    instance.lower() in webcolors.css21_names_to_hex
builtins.AttributeError: module 'webcolors' has no attribute 'css21_names_to_hex'

jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_validation_of_CSS_colors_a_CSS_color_name_containing_invalid_characters
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_validation_of_CSS_colors_an_invalid_CSS_color_code
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_validation_of_CSS_colors_an_invalid_CSS_color_name
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib64/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib64/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib64/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/tests/_suite.py", line 195, in fn
    self.validate(**kwargs)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/tests/_suite.py", line 211, in validate
    jsonschema.validate(
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/validators.py", line 932, in validate
    error = exceptions.best_match(validator.iter_errors(instance))
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/exceptions.py", line 367, in best_match
    best = next(errors, None)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/validators.py", line 328, in iter_errors
    for error in errors:
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/_validators.py", line 208, in format
    validator.format_checker.check(instance, format)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/_format.py", line 97, in check
    result = func(instance)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/lib/python3.8/site-packages/jsonschema/_format.py", line 357, in is_css21_color
    instance.lower() in webcolors.css21_names_to_hex
builtins.AttributeError: module 'webcolors' has no attribute 'css21_names_to_hex'

jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_validation_of_CSS_colors_a_valid_CSS_color_name
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_validation_of_CSS_colors_a_valid_six_digit_CSS_color_code
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_validation_of_CSS_colors_a_valid_three_digit_CSS_color_code
-------------------------------------------------------------------------------
Ran 2750 tests in 1.261s

FAILED (skips=72, errors=6, successes=2672)
ERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests/bin/trial jsonschema (exited with code 1)
py38-tests_nongpl create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl
py38-tests_nongpl installdeps: -r/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/test-requirements.txt
py38-tests_nongpl installed: attrs==20.3.0,Automat==20.2.0,constantly==15.1.0,hyperlink==21.0.0,idna==3.1,incremental==21.3.0,jsonschema==3.2.0,six==1.15.0,Twisted==21.2.0,zope.interface==5.4.0
py38-tests_nongpl run-test-pre: PYTHONHASHSEED='33262761'
py38-tests_nongpl run-test: commands[0] | /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/bin/python -m pip install '/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0[format_nongpl]'
Processing /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
Processing /home/tkloczko/.cache/pip/wheels/f0/b8/de/b593ad311be4eb458499d100db081e453576032272398b7ddc/pyrsistent-0.17.3-cp38-cp38-linux_x86_64.whl
Requirement already satisfied: attrs>=17.4.0 in /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages (from jsonschema==3.2.0) (20.3.0)
Requirement already satisfied: six>=1.11.0 in /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages (from jsonschema==3.2.0) (1.15.0)
Requirement already satisfied: setuptools in /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages (from jsonschema==3.2.0) (41.6.0)
Requirement already satisfied: idna; extra == "format_nongpl" in /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages (from jsonschema==3.2.0) (3.1)
Collecting webcolors; extra == "format_nongpl"
  Using cached https://files.pythonhosted.org/packages/12/05/3350559de9714b202e443a9e6312937341bd5f79f4e4f625744295e7dd17/webcolors-1.11.1-py3-none-any.whl
Collecting rfc3339-validator; extra == "format_nongpl"
  Downloading https://files.pythonhosted.org/packages/4c/90/312d90e3a5b824731ca778205b35694c48d5ba8c84f86cccafb987be2208/rfc3339_validator-0.1.3-py2.py3-none-any.whl
Collecting rfc3986-validator>0.1.0; extra == "format_nongpl"
  Downloading https://files.pythonhosted.org/packages/9e/51/17023c0f8f1869d8806b979a2bffa3f861f26a3f1a66b094288323fba52f/rfc3986_validator-0.1.1-py2.py3-none-any.whl
Collecting jsonpointer>1.13; extra == "format_nongpl"
  Using cached https://files.pythonhosted.org/packages/23/52/05f67532aa922e494c351344e0d9624a01f74f5dd8402fe0d1b563a6e6fc/jsonpointer-2.1-py2.py3-none-any.whl
Building wheels for collected packages: jsonschema
  Building wheel for jsonschema (PEP 517) ... done
  Created wheel for jsonschema: filename=jsonschema-3.2.0-cp38-none-any.whl size=56304 sha256=48c8c5c2d26fb65c365d8cce4caf209406f123e842435d698b1c19eaaf6806b6
  Stored in directory: /home/tkloczko/.cache/pip/wheels/b4/f1/9a/4c810dc67335b5341c7c73223f6c99883a23819082916a9d58
Successfully built jsonschema
Installing collected packages: pyrsistent, webcolors, rfc3339-validator, rfc3986-validator, jsonpointer, jsonschema
Successfully installed jsonpointer-2.1 jsonschema-3.2.0 pyrsistent-0.17.3 rfc3339-validator-0.1.3 rfc3986-validator-0.1.1 webcolors-1.11.1
WARNING: You are using pip version 19.3.1; however, version 21.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
py38-tests_nongpl run-test: commands[1] | /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/bin/trial jsonschema
jsonschema.tests.test_cli
  TestCLI
    test_draft3_schema_draft4_validator ...                                [OK]

[..]

    test_format_validation_of_CSS_colors_a_CSS_color_name_containing_invalid_characters ... [ERROR]
    test_format_validation_of_CSS_colors_a_valid_CSS_color_name ...     [ERROR]
    test_format_validation_of_CSS_colors_a_valid_six_digit_CSS_color_code ... [ERROR]
    test_format_validation_of_CSS_colors_a_valid_three_digit_CSS_color_code ... [ERROR]
    test_format_validation_of_CSS_colors_an_invalid_CSS_color_code ...  [ERROR]
    test_format_validation_of_CSS_colors_an_invalid_CSS_color_name ...  [ERROR]

jsonschema.tests.test_validators.TestDraft3Validator.test_string_a_bytestring_is_a_string
jsonschema.tests.test_validators.TestDraft4Validator.test_string_a_bytestring_is_a_string
jsonschema.tests.test_validators.TestDraft6Validator.test_string_a_bytestring_is_a_string
jsonschema.tests.test_validators.TestDraft7Validator.test_string_a_bytestring_is_a_string
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib64/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib64/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib64/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/tests/_suite.py", line 199, in fn
    self.validate(**kwargs)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/tests/_suite.py", line 211, in validate
    jsonschema.validate(
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/validators.py", line 932, in validate
    error = exceptions.best_match(validator.iter_errors(instance))
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/exceptions.py", line 367, in best_match
    best = next(errors, None)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/validators.py", line 328, in iter_errors
    for error in errors:
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/_validators.py", line 208, in format
    validator.format_checker.check(instance, format)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/_format.py", line 97, in check
    result = func(instance)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/_format.py", line 357, in is_css21_color
    instance.lower() in webcolors.css21_names_to_hex
builtins.AttributeError: module 'webcolors' has no attribute 'css21_names_to_hex'

jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_validation_of_CSS_colors_a_CSS_color_name_containing_invalid_characters
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_validation_of_CSS_colors_an_invalid_CSS_color_code
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_validation_of_CSS_colors_an_invalid_CSS_color_name
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib64/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib64/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib64/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/tests/_suite.py", line 195, in fn
    self.validate(**kwargs)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/tests/_suite.py", line 211, in validate
    jsonschema.validate(
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/validators.py", line 932, in validate
    error = exceptions.best_match(validator.iter_errors(instance))
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/exceptions.py", line 367, in best_match
    best = next(errors, None)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/validators.py", line 328, in iter_errors
    for error in errors:
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/_validators.py", line 208, in format
    validator.format_checker.check(instance, format)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/_format.py", line 97, in check
    result = func(instance)
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/lib/python3.8/site-packages/jsonschema/_format.py", line 357, in is_css21_color
    instance.lower() in webcolors.css21_names_to_hex
builtins.AttributeError: module 'webcolors' has no attribute 'css21_names_to_hex'

jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_validation_of_CSS_colors_a_valid_CSS_color_name
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_validation_of_CSS_colors_a_valid_six_digit_CSS_color_code
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_validation_of_CSS_colors_a_valid_three_digit_CSS_color_code
-------------------------------------------------------------------------------
Ran 2750 tests in 1.183s

FAILED (skips=100, errors=6, successes=2644)
ERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/py38-tests_nongpl/bin/trial jsonschema (exited with code 1)
pypy-build create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/pypy-build
SKIPPED: InterpreterNotFound: pypy
pypy-tests create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/pypy-tests
SKIPPED: InterpreterNotFound: pypy
pypy-tests_nongpl create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/pypy-tests_nongpl
SKIPPED: InterpreterNotFound: pypy
pypy3-build create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/pypy3-build
SKIPPED: InterpreterNotFound: pypy3
pypy3-tests create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/pypy3-tests
SKIPPED: InterpreterNotFound: pypy3
pypy3-tests_nongpl create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/pypy3-tests_nongpl
SKIPPED: InterpreterNotFound: pypy3
demo create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/demo
demo installdeps: jupyter
demo installed: argon2-cffi==20.1.0,async-generator==1.10,attrs==20.3.0,backcall==0.2.0,bleach==3.3.0,cffi==1.14.5,decorator==5.0.7,defusedxml==0.7.1,entrypoints==0.3,ipykernel==5.5.3,ipython==7.23.0,ipython-genutils==0.2.0,ipywidgets==7.6.3,jedi==0.18.0,Jinja2==2.11.3,jsonschema==3.2.0,jupyter==1.0.0,jupyter-client==6.1.12,jupyter-console==6.4.0,jupyter-core==4.7.1,jupyterlab-pygments==0.1.2,jupyterlab-widgets==1.0.0,MarkupSafe==1.1.1,matplotlib-inline==0.1.2,mistune==0.8.4,nbclient==0.5.3,nbconvert==6.0.7,nbformat==5.1.3,nest-asyncio==1.5.1,notebook==6.3.0,packaging==20.9,pandocfilters==1.4.3,parso==0.8.2,pexpect==4.8.0,pickleshare==0.7.5,prometheus-client==0.10.1,prompt-toolkit==3.0.18,ptyprocess==0.7.0,pycparser==2.20,Pygments==2.9.0,pyparsing==2.4.7,pyrsistent==0.17.3,python-dateutil==2.8.1,pyzmq==22.0.3,qtconsole==5.1.0,QtPy==1.9.0,Send2Trash==1.5.0,six==1.15.0,terminado==0.9.4,testpath==0.4.4,tornado==6.1,traitlets==5.0.5,wcwidth==0.2.5,webencodings==0.5.1,widgetsnbextension==3.5.1
demo run-test-pre: PYTHONHASHSEED='33262761'
demo run-test: commands[0] | /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/demo/bin/jupyter nbconvert --output-dir /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/demo/tmp /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/DEMO.ipynb
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/demo/bin/jupyter-nbconvert", line 5, in <module>
    from nbconvert.nbconvertapp import main
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/demo/lib/python3.8/site-packages/nbconvert/__init__.py", line 4, in <module>
    from .exporters import *
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/demo/lib/python3.8/site-packages/nbconvert/exporters/__init__.py", line 1, in <module>
    from .base import (export, get_exporter,
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/demo/lib/python3.8/site-packages/nbconvert/exporters/base.py", line 14, in <module>
    from nbformat import NotebookNode
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/demo/lib/python3.8/site-packages/nbformat/__init__.py", line 32, in <module>
    from .validator import validate, ValidationError
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/demo/lib/python3.8/site-packages/nbformat/validator.py", line 12, in <module>
    from .json_compat import get_current_validator, ValidationError
  File "/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/demo/lib/python3.8/site-packages/nbformat/json_compat.py", line 10, in <module>
    import jsonschema
ModuleNotFoundError: No module named 'jsonschema'
ERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/demo/bin/jupyter nbconvert --output-dir . /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/DEMO.ipynb (exited with code 1)
readme create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/readme
readme installdeps: readme_renderer
readme installed: bleach==3.3.0,docutils==0.17.1,jsonschema==3.2.0,packaging==20.9,Pygments==2.9.0,pyparsing==2.4.7,readme-renderer==29.0,six==1.15.0,webencodings==0.5.1
readme run-test-pre: PYTHONHASHSEED='33262761'
readme run-test: commands[0] | /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/readme/bin/python setup.py check --restructuredtext --strict
running check
warning: Check: This command has been deprecated. Use `twine check` instead: https://packaging.python.org/guides/making-a-pypi-friendly-readme#validating-restructuredtext-markup

The project's long description is valid RST.
safety create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/safety
safety installdeps: safety
safety installed: certifi==2020.12.5,chardet==4.0.0,click==7.1.2,dparse==0.5.1,idna==2.10,jsonschema==3.2.0,packaging==20.9,pyparsing==2.4.7,PyYAML==5.4.1,requests==2.25.1,safety==1.10.3,toml==0.10.2,urllib3==1.26.4
safety run-test-pre: PYTHONHASHSEED='33262761'
safety run-test: commands[0] | /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/safety/bin/pip install '/home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0[format]'
Processing /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
Processing /home/tkloczko/.cache/pip/wheels/f0/b8/de/b593ad311be4eb458499d100db081e453576032272398b7ddc/pyrsistent-0.17.3-cp38-cp38-linux_x86_64.whl
Collecting attrs>=17.4.0
  Using cached https://files.pythonhosted.org/packages/c3/aa/cb45262569fcc047bf070b5de61813724d6726db83259222cd7b4c79821a/attrs-20.3.0-py2.py3-none-any.whl
Collecting six>=1.11.0
  Using cached https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/safety/lib/python3.8/site-packages (from jsonschema==3.2.0) (41.6.0)
Processing /home/tkloczko/.cache/pip/wheels/bb/af/c9/b6e9fb5f9b2470e4ed2a7241c9ab3a8cdd3bc8555ae02ca2e6/strict_rfc3339-0.7-cp38-none-any.whl
Requirement already satisfied: idna; extra == "format" in /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/safety/lib/python3.8/site-packages (from jsonschema==3.2.0) (2.10)
Collecting webcolors; extra == "format"
  Using cached https://files.pythonhosted.org/packages/12/05/3350559de9714b202e443a9e6312937341bd5f79f4e4f625744295e7dd17/webcolors-1.11.1-py3-none-any.whl
Collecting rfc3987; extra == "format"
  Using cached https://files.pythonhosted.org/packages/65/d4/f7407c3d15d5ac779c3dd34fbbc6ea2090f77bd7dd12f207ccf881551208/rfc3987-1.3.8-py2.py3-none-any.whl
Collecting jsonpointer>1.13; extra == "format"
  Using cached https://files.pythonhosted.org/packages/23/52/05f67532aa922e494c351344e0d9624a01f74f5dd8402fe0d1b563a6e6fc/jsonpointer-2.1-py2.py3-none-any.whl
Building wheels for collected packages: jsonschema
  Building wheel for jsonschema (PEP 517) ... done
  Created wheel for jsonschema: filename=jsonschema-3.2.0-cp38-none-any.whl size=56304 sha256=61441ea5e5fbeed5264885482d5d710b097caabf884ecdea17eb51b0f8370323
  Stored in directory: /home/tkloczko/.cache/pip/wheels/b4/f1/9a/4c810dc67335b5341c7c73223f6c99883a23819082916a9d58
Successfully built jsonschema
Installing collected packages: pyrsistent, attrs, six, strict-rfc3339, webcolors, rfc3987, jsonpointer, jsonschema
Successfully installed attrs-20.3.0 jsonpointer-2.1 jsonschema-3.2.0 pyrsistent-0.17.3 rfc3987-1.3.8 six-1.15.0 strict-rfc3339-0.7 webcolors-1.11.1
WARNING: You are using pip version 19.3.1; however, version 21.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
safety run-test: commands[1] | /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/safety/bin/safety check
+==============================================================================+
|                                                                              |
|                               /$$$$$$            /$$                         |
|                              /$$__  $$          | $$                         |
|           /$$$$$$$  /$$$$$$ | $$  \__//$$$$$$  /$$$$$$   /$$   /$$           |
|          /$$_____/ |____  $$| $$$$   /$$__  $$|_  $$_/  | $$  | $$           |
|         |  $$$$$$   /$$$$$$$| $$_/  | $$$$$$$$  | $$    | $$  | $$           |
|          \____  $$ /$$__  $$| $$    | $$_____/  | $$ /$$| $$  | $$           |
|          /$$$$$$$/|  $$$$$$$| $$    |  $$$$$$$  |  $$$$/|  $$$$$$$           |
|         |_______/  \_______/|__/     \_______/   \___/   \____  $$           |
|                                                          /$$  | $$           |
|                                                         |  $$$$$$/           |
|  by pyup.io                                              \______/            |
|                                                                              |
+==============================================================================+
| REPORT                                                                       |
| checked 23 packages, using free DB (updated once a month)                    |
+============================+===========+==========================+==========+
| package                    | installed | affected                 | ID       |
+============================+===========+==========================+==========+
| pip                        | 19.3.1    | <21.1                    | 40291    |
+==============================================================================+
ERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/safety/bin/safety check (exited with code 255) (exited with code 255)
secrets create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/secrets
secrets installdeps: detect-secrets
secrets installed: certifi==2020.12.5,chardet==4.0.0,detect-secrets==1.1.0,idna==2.10,jsonschema==3.2.0,PyYAML==5.4.1,requests==2.25.1,urllib3==1.26.4
secrets run-test-pre: PYTHONHASHSEED='33262761'
secrets run-test: commands[0] | /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/secrets/bin/detect-secrets scan /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0
fatal: not a git repository (or any parent up to mount point /home/tkloczko)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
{
  "version": "1.1.0",
  "plugins_used": [
    {
      "name": "ArtifactoryDetector"
    },
    {
      "name": "AWSKeyDetector"
    },
    {
      "name": "AzureStorageKeyDetector"
    },
    {
      "name": "Base64HighEntropyString",
      "limit": 4.5
    },
    {
      "name": "BasicAuthDetector"
    },
    {
      "name": "CloudantDetector"
    },
    {
      "name": "HexHighEntropyString",
      "limit": 3.0
    },
    {
      "name": "IbmCloudIamDetector"
    },
    {
      "name": "IbmCosHmacDetector"
    },
    {
      "name": "JwtTokenDetector"
    },
    {
      "name": "KeywordDetector",
      "keyword_exclude": ""
    },
    {
      "name": "MailchimpDetector"
    },
    {
      "name": "NpmDetector"
    },
    {
      "name": "PrivateKeyDetector"
    },
    {
      "name": "SlackDetector"
    },
    {
      "name": "SoftlayerDetector"
    },
    {
      "name": "SquareOAuthDetector"
    },
    {
      "name": "StripeDetector"
    },
    {
      "name": "TwilioKeyDetector"
    }
  ],
  "filters_used": [
    {
      "path": "detect_secrets.filters.allowlist.is_line_allowlisted"
    },
    {
      "path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
      "min_level": 2
    },
    {
      "path": "detect_secrets.filters.heuristic.is_indirect_reference"
    },
    {
      "path": "detect_secrets.filters.heuristic.is_likely_id_string"
    },
    {
      "path": "detect_secrets.filters.heuristic.is_lock_file"
    },
    {
      "path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string"
    },
    {
      "path": "detect_secrets.filters.heuristic.is_potential_uuid"
    },
    {
      "path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign"
    },
    {
      "path": "detect_secrets.filters.heuristic.is_sequential_string"
    },
    {
      "path": "detect_secrets.filters.heuristic.is_swagger_file"
    },
    {
      "path": "detect_secrets.filters.heuristic.is_templated_secret"
    }
  ],
  "results": {},
  "generated_at": "2021-05-05T09:23:40Z"
}
style create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/style
SKIPPED: InterpreterNotFound: pypy3
docs-html create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/docs-html
SKIPPED: InterpreterNotFound: pypy3
docs-doctest create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/docs-doctest
SKIPPED: InterpreterNotFound: pypy3
docs-linkcheck create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/docs-linkcheck
SKIPPED: InterpreterNotFound: pypy3
docs-spelling create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/docs-spelling
SKIPPED: InterpreterNotFound: pypy3
docs-style create: /home/tkloczko/rpmbuild/BUILD/jsonschema-3.2.0/.tox/docs-style
SKIPPED: InterpreterNotFound: pypy3
_________________________________________________________________________________ summary __________________________________________________________________________________
SKIPPED:  py35-build: InterpreterNotFound: python3.5
SKIPPED:  py35-tests: InterpreterNotFound: python3.5
SKIPPED:  py35-tests_nongpl: InterpreterNotFound: python3.5
SKIPPED:  py36-build: InterpreterNotFound: python3.6
SKIPPED:  py36-tests: InterpreterNotFound: python3.6
SKIPPED:  py36-tests_nongpl: InterpreterNotFound: python3.6
SKIPPED:  py37-build: InterpreterNotFound: python3.7
SKIPPED:  py37-tests: InterpreterNotFound: python3.7
SKIPPED:  py37-tests_nongpl: InterpreterNotFound: python3.7
ERROR:   py38-build: commands failed
ERROR:   py38-tests: commands failed
ERROR:   py38-tests_nongpl: commands failed
SKIPPED:  pypy-build: InterpreterNotFound: pypy
SKIPPED:  pypy-tests: InterpreterNotFound: pypy
SKIPPED:  pypy-tests_nongpl: InterpreterNotFound: pypy
SKIPPED:  pypy3-build: InterpreterNotFound: pypy3
SKIPPED:  pypy3-tests: InterpreterNotFound: pypy3
SKIPPED:  pypy3-tests_nongpl: InterpreterNotFound: pypy3
ERROR:   demo: commands failed
  readme: commands succeeded
ERROR:   safety: commands failed
  secrets: commands succeeded
SKIPPED:  style: InterpreterNotFound: pypy3
SKIPPED:  docs-html: InterpreterNotFound: pypy3
SKIPPED:  docs-doctest: InterpreterNotFound: pypy3
SKIPPED:  docs-linkcheck: InterpreterNotFound: pypy3
SKIPPED:  docs-spelling: InterpreterNotFound: pypy3
SKIPPED:  docs-style: InterpreterNotFound: pypy3

@Julian
Copy link
Member

Julian commented May 5, 2021

So `pip install pytest' doses not work on MOX?

Snark is probably not your best card to play when asking for help. This project works, it has CI. If you need help, yep, it was on you to learn how to file a proper bug. Best of luck.

@python-jsonschema python-jsonschema locked as resolved and limited conversation to collaborators May 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants