Created
January 17, 2023 04:00
-
-
Save ivan/09f944080f76d200a9734716370fc9a0 to your computer and use it in GitHub Desktop.
Python build failed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shrinking RPATHs of ELF executables and libraries in /nix/store/spwbdkpxr2837sbmqz23wpw6nyd4k9p8-python3.8-parsimonious-0.10.0 | |
strip is /nix/store/6nv56m96hgvbf1s9gcxsqf8snynyib12-gcc-wrapper-11.3.0/bin/strip | |
stripping (with command strip and flags -S) in /nix/store/spwbdkpxr2837sbmqz23wpw6nyd4k9p8-python3.8-parsimonious-0.10.0/lib | |
patching script interpreter paths in /nix/store/spwbdkpxr2837sbmqz23wpw6nyd4k9p8-python3.8-parsimonious-0.10.0 | |
checking for references to /build/ in /nix/store/spwbdkpxr2837sbmqz23wpw6nyd4k9p8-python3.8-parsimonious-0.10.0... | |
shrinking RPATHs of ELF executables and libraries in /nix/store/2v76xkk6qid6vgpzbmhcv3rm8flngsjc-python3.8-parsimonious-0.10.0-dist | |
strip is /nix/store/6nv56m96hgvbf1s9gcxsqf8snynyib12-gcc-wrapper-11.3.0/bin/strip | |
patching script interpreter paths in /nix/store/2v76xkk6qid6vgpzbmhcv3rm8flngsjc-python3.8-parsimonious-0.10.0-dist | |
checking for references to /build/ in /nix/store/2v76xkk6qid6vgpzbmhcv3rm8flngsjc-python3.8-parsimonious-0.10.0-dist... | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
running install tests | |
no Makefile or custom installCheckPhase, doing nothing | |
pythonCatchConflictsPhase | |
pythonRemoveBinBytecodePhase | |
pythonImportsCheckPhase | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: parsimonious parsimonious.grammar parsimonious.nodes | |
pytestCheckPhase | |
Executing pytestCheckPhase | |
============================= test session starts ============================== | |
platform linux -- Python 3.8.16, pytest-7.1.3, pluggy-1.0.0 | |
rootdir: /build/parsimonious-0.10.0 | |
collected 85 items | |
parsimonious/tests/test_benchmarks.py .F. [ 3%] | |
parsimonious/tests/test_expressions.py ......................... [ 32%] | |
parsimonious/tests/test_grammar.py ........s............................ [ 76%] | |
........ [ 85%] | |
parsimonious/tests/test_nodes.py .......s.... [100%] | |
=================================== FAILURES =================================== | |
______________________ TestBenchmarks.test_lists_vs_dicts ______________________ | |
self = <parsimonious.tests.test_benchmarks.TestBenchmarks testMethod=test_lists_vs_dicts> | |
def test_lists_vs_dicts(self): | |
"""See what's faster at int key lookup: dicts or lists.""" | |
list_time = timeit('item = l[9000]', 'l = [0] * 10000') | |
dict_time = timeit('item = d[9000]', 'd = {x: 0 for x in range(10000)}') | |
# Dicts take about 1.6x as long as lists in Python 2.6 and 2.7. | |
> self.assertTrue(list_time < dict_time, '%s < %s' % (list_time, dict_time)) | |
E AssertionError: False is not true : 0.051286615896970034 < 0.0440241270698607 | |
parsimonious/tests/test_benchmarks.py:16: AssertionError | |
=========================== short test summary info ============================ | |
FAILED parsimonious/tests/test_benchmarks.py::TestBenchmarks::test_lists_vs_dicts | |
=================== 1 failed, 82 passed, 2 skipped in 1.19s ==================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment