python3.12-hyp-server-1.2.0
Build started
Sourcing python-remove-tests-dir-hook
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
→ unpackPhase
unpacking source archive /nix/store/ir7rv1ag0rhc6pvi95p1h967d7k0gjsy-hyp-server-1.2.0.tar.gz
source root is hyp-server-1.2.0
setting SOURCE_DATE_EPOCH to timestamp 1451690612 of file "hyp-server-1.2.0/setup.cfg"
→ patchPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ configurePhase
no configure script, doing nothing
→ buildPhase
Executing setuptoolsBuildPhase
setup.py build flags: ''
/nix/store/qgqq0n29krh7snf20wriqqdf8smnjmf1-python3.12-setuptools-78.1.1-x86_64-unknown-linux-gnufilc0/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
License :: OSI Approved :: GNU General Public License (GPL)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/hyp
copying hyp/hyp.py -> build/lib/hyp
copying hyp/__init__.py -> build/lib/hyp
/nix/store/qgqq0n29krh7snf20wriqqdf8smnjmf1-python3.12-setuptools-78.1.1-x86_64-unknown-linux-gnufilc0/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/hyp
copying build/lib/hyp/hyp.py -> build/bdist.linux-x86_64/wheel/./hyp
copying build/lib/hyp/__init__.py -> build/bdist.linux-x86_64/wheel/./hyp
running install_egg_info
running egg_info
writing hyp_server.egg-info/PKG-INFO
writing dependency_links to hyp_server.egg-info/dependency_links.txt
writing entry points to hyp_server.egg-info/entry_points.txt
writing top-level names to hyp_server.egg-info/top_level.txt
reading manifest file 'hyp_server.egg-info/SOURCES.txt'
writing manifest file 'hyp_server.egg-info/SOURCES.txt'
Copying hyp_server.egg-info to build/bdist.linux-x86_64/wheel/./hyp_server-1.2.0-py3.12.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/hyp_server-1.2.0.dist-info/WHEEL
creating 'dist/hyp_server-1.2.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'hyp/__init__.py'
adding 'hyp/hyp.py'
adding 'hyp_server-1.2.0.dist-info/METADATA'
adding 'hyp_server-1.2.0.dist-info/WHEEL'
adding 'hyp_server-1.2.0.dist-info/entry_points.txt'
adding 'hyp_server-1.2.0.dist-info/top_level.txt'
adding 'hyp_server-1.2.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Finished executing setuptoolsBuildPhase
→ installPhase
Executing pypaInstallPhase
Successfully installed hyp_server-1.2.0-py3-none-any.whl
Finished executing pypaInstallPhase
→ pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
→ fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/jidmm73pi28vl58vv194m3v2hpjhlahd-python3.12-hyp-server-1.2.0-x86_64-unknown-linux-gnufilc0
checking for references to /build/ in /nix/store/jidmm73pi28vl58vv194m3v2hpjhlahd-python3.12-hyp-server-1.2.0-x86_64-unknown-linux-gnufilc0...
patching script interpreter paths in /nix/store/jidmm73pi28vl58vv194m3v2hpjhlahd-python3.12-hyp-server-1.2.0-x86_64-unknown-linux-gnufilc0
stripping (with command strip and flags -S -p) in /nix/store/jidmm73pi28vl58vv194m3v2hpjhlahd-python3.12-hyp-server-1.2.0-x86_64-unknown-linux-gnufilc0/lib /nix/store/jidmm73pi28vl58vv194m3v2hpjhlahd-python3.12-hyp-server-1.2.0-x86_64-unknown-linux-gnufilc0/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/qq9gwm3i6j34c3ikxcdpbwds11qhjsqy-python3.12-hyp-server-1.2.0-x86_64-unknown-linux-gnufilc0-dist
checking for references to /build/ in /nix/store/qq9gwm3i6j34c3ikxcdpbwds11qhjsqy-python3.12-hyp-server-1.2.0-x86_64-unknown-linux-gnufilc0-dist...
patching script interpreter paths in /nix/store/qq9gwm3i6j34c3ikxcdpbwds11qhjsqy-python3.12-hyp-server-1.2.0-x86_64-unknown-linux-gnufilc0-dist
Rewriting #!/nix/store/nn9ckj7v5gxzzajwz79lzr9kclpvf9pf-python3-3.12.11/bin/python3.12 to #!/nix/store/wk2cw6sgg9rdjpzwxvf0iq8aipy5yvhc-python3-3.12.5-x86_64-unknown-linux-gnufilc0
wrapping `/nix/store/jidmm73pi28vl58vv194m3v2hpjhlahd-python3.12-hyp-server-1.2.0-x86_64-unknown-linux-gnufilc0/bin/hyp'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
→ installCheckPhase
no Makefile or custom installCheckPhase, doing nothing
→ pythonRemoveBinBytecodePhase
python3.12-hy-1.1.0
Build started
Sourcing python-remove-tests-dir-hook
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing python-runtime-deps-check-hook
Using pythonRuntimeDepsCheckHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing pytest-check-hook
Using pytestCheckPhase
→ unpackPhase
unpacking source archive /nix/store/a4jmmrh94w03yjc8dhx4f05xc1as20jw-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tests/test_reader.py"
→ patchPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ configurePhase
no configure script, doing nothing
→ buildPhase
Executing pypaBuildPhase
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
* Getting build dependencies for wheel...
* Building wheel...
/nix/store/dc1zv2avnpf3zifhg4awwq3fi7wx0yzq-python3.12-setuptools-78.1.1/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: DFSG approved
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/hy
copying hy/__init__.py -> build/lib/hy
copying hy/__main__.py -> build/lib/hy
copying hy/cmdline.py -> build/lib/hy
copying hy/compat.py -> build/lib/hy
copying hy/compiler.py -> build/lib/hy
copying hy/completer.py -> build/lib/hy
copying hy/errors.py -> build/lib/hy
copying hy/importer.py -> build/lib/hy
copying hy/macros.py -> build/lib/hy
copying hy/model_patterns.py -> build/lib/hy
copying hy/models.py -> build/lib/hy
copying hy/repl.py -> build/lib/hy
copying hy/scoping.py -> build/lib/hy
creating build/lib/hy/core
copying hy/core/__init__.py -> build/lib/hy/core
copying hy/core/result_macros.py -> build/lib/hy/core
creating build/lib/hy/reader
copying hy/reader/__init__.py -> build/lib/hy/reader
copying hy/reader/exceptions.py -> build/lib/hy/reader
copying hy/reader/hy_reader.py -> build/lib/hy/reader
copying hy/reader/mangling.py -> build/lib/hy/reader
copying hy/reader/reader.py -> build/lib/hy/reader
copying hy/pyops.hy -> build/lib/hy
copying hy/core/hy_repr.hy -> build/lib/hy/core
copying hy/core/macros.hy -> build/lib/hy/core
copying hy/core/util.hy -> build/lib/hy/core
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/hy
copying build/lib/hy/__init__.py -> build/bdist.linux-x86_64/wheel/./hy
copying build/lib/hy/__main__.py -> build/bdist.linux-x86_64/wheel/./hy
copying build/lib/hy/cmdline.py -> build/bdist.linux-x86_64/wheel/./hy
copying build/lib/hy/compat.py -> build/bdist.linux-x86_64/wheel/./hy
copying build/lib/hy/compiler.py -> build/bdist.linux-x86_64/wheel/./hy
copying build/lib/hy/completer.py -> build/bdist.linux-x86_64/wheel/./hy
copying build/lib/hy/errors.py -> build/bdist.linux-x86_64/wheel/./hy
copying build/lib/hy/importer.py -> build/bdist.linux-x86_64/wheel/./hy
copying build/lib/hy/macros.py -> build/bdist.linux-x86_64/wheel/./hy
copying build/lib/hy/model_patterns.py -> build/bdist.linux-x86_64/wheel/./hy
copying build/lib/hy/models.py -> build/bdist.linux-x86_64/wheel/./hy
copying build/lib/hy/repl.py -> build/bdist.linux-x86_64/wheel/./hy
copying build/lib/hy/scoping.py -> build/bdist.linux-x86_64/wheel/./hy
creating build/bdist.linux-x86_64/wheel/hy/core
copying build/lib/hy/core/__init__.py -> build/bdist.linux-x86_64/wheel/./hy/core
copying build/lib/hy/core/result_macros.py -> build/bdist.linux-x86_64/wheel/./hy/core
copying build/lib/hy/core/hy_repr.hy -> build/bdist.linux-x86_64/wheel/./hy/core
copying build/lib/hy/core/macros.hy -> build/bdist.linux-x86_64/wheel/./hy/core
copying build/lib/hy/core/util.hy -> build/bdist.linux-x86_64/wheel/./hy/core
creating build/bdist.linux-x86_64/wheel/hy/reader
copying build/lib/hy/reader/__init__.py -> build/bdist.linux-x86_64/wheel/./hy/reader
copying build/lib/hy/reader/exceptions.py -> build/bdist.linux-x86_64/wheel/./hy/reader
copying build/lib/hy/reader/hy_reader.py -> build/bdist.linux-x86_64/wheel/./hy/reader
copying build/lib/hy/reader/mangling.py -> build/bdist.linux-x86_64/wheel/./hy/reader
copying build/lib/hy/reader/reader.py -> build/bdist.linux-x86_64/wheel/./hy/reader
copying build/lib/hy/pyops.hy -> build/bdist.linux-x86_64/wheel/./hy
running install_egg_info
running egg_info
creating hy.egg-info
writing hy.egg-info/PKG-INFO
writing dependency_links to hy.egg-info/dependency_links.txt
writing entry points to hy.egg-info/entry_points.txt
writing requirements to hy.egg-info/requires.txt
writing top-level names to hy.egg-info/top_level.txt
writing manifest file 'hy.egg-info/SOURCES.txt'
reading manifest file 'hy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'AUTHORS'
writing manifest file 'hy.egg-info/SOURCES.txt'
Copying hy.egg-info to build/bdist.linux-x86_64/wheel/./hy-1.1.0-py3.12.egg-info
running install_scripts
/build/source/hy/compiler.py:393: RuntimeWarning: New macro `cond` will shadow the core macro of the same name
warnings.warn(
/build/source/hy/compiler.py:393: RuntimeWarning: New macro `when` will shadow the core macro of the same name
warnings.warn(
/build/source/hy/compiler.py:393: RuntimeWarning: New macro `defreader` will shadow the core macro of the same name
warnings.warn(
/build/source/hy/compiler.py:393: RuntimeWarning: New macro `get-macro` will shadow the core macro of the same name
warnings.warn(
/build/source/hy/compiler.py:393: RuntimeWarning: New macro `local-macros` will shadow the core macro of the same name
warnings.warn(
/build/source/hy/compiler.py:393: RuntimeWarning: New macro `export` will shadow the core macro of the same name
warnings.warn(
creating build/bdist.linux-x86_64/wheel/hy-1.1.0.dist-info/WHEEL
creating '/build/source/dist/.tmp-w6zt_ijx/hy-1.1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'hy/__init__.py'
adding 'hy/__main__.py'
adding 'hy/cmdline.py'
adding 'hy/compat.py'
adding 'hy/compiler.py'
adding 'hy/completer.py'
adding 'hy/errors.py'
adding 'hy/importer.py'
adding 'hy/macros.py'
adding 'hy/model_patterns.py'
adding 'hy/models.py'
adding 'hy/pyops.hy'
adding 'hy/repl.py'
adding 'hy/scoping.py'
adding 'hy/__pycache__/pyops.cpython-312.pyc'
adding 'hy/core/__init__.py'
adding 'hy/core/hy_repr.hy'
adding 'hy/core/macros.hy'
adding 'hy/core/result_macros.py'
adding 'hy/core/util.hy'
adding 'hy/core/__pycache__/hy_repr.cpython-312.pyc'
adding 'hy/core/__pycache__/macros.cpython-312.pyc'
adding 'hy/core/__pycache__/util.cpython-312.pyc'
adding 'hy/reader/__init__.py'
adding 'hy/reader/exceptions.py'
adding 'hy/reader/hy_reader.py'
adding 'hy/reader/mangling.py'
adding 'hy/reader/reader.py'
adding 'hy-1.1.0.dist-info/licenses/AUTHORS'
adding 'hy-1.1.0.dist-info/licenses/LICENSE'
adding 'hy-1.1.0.dist-info/METADATA'
adding 'hy-1.1.0.dist-info/WHEEL'
adding 'hy-1.1.0.dist-info/entry_points.txt'
adding 'hy-1.1.0.dist-info/top_level.txt'
adding 'hy-1.1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built hy-1.1.0-py3-none-any.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
→ pythonRuntimeDepsCheckHook
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for hy-1.1.0-py3-none-any.whl
Finished executing pythonRuntimeDepsCheck
→ installPhase
Executing pypaInstallPhase
Successfully installed hy-1.1.0-py3-none-any.whl
Finished executing pypaInstallPhase
→ pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
→ fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/72b13qgqlzxvx2lmkkzfcvhh7yc1ln5c-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0
checking for references to /build/ in /nix/store/72b13qgqlzxvx2lmkkzfcvhh7yc1ln5c-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0...
patching script interpreter paths in /nix/store/72b13qgqlzxvx2lmkkzfcvhh7yc1ln5c-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0
stripping (with command strip and flags -S -p) in /nix/store/72b13qgqlzxvx2lmkkzfcvhh7yc1ln5c-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0/lib /nix/store/72b13qgqlzxvx2lmkkzfcvhh7yc1ln5c-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/pivny0vx0m27ym1xb01pzmrf07rcqpza-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0-dist
checking for references to /build/ in /nix/store/pivny0vx0m27ym1xb01pzmrf07rcqpza-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0-dist...
patching script interpreter paths in /nix/store/pivny0vx0m27ym1xb01pzmrf07rcqpza-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0-dist
Rewriting #!/nix/store/nn9ckj7v5gxzzajwz79lzr9kclpvf9pf-python3-3.12.11/bin/python3.12 to #!/nix/store/wk2cw6sgg9rdjpzwxvf0iq8aipy5yvhc-python3-3.12.5-x86_64-unknown-linux-gnufilc0
wrapping `/nix/store/72b13qgqlzxvx2lmkkzfcvhh7yc1ln5c-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0/bin/hy'...
Rewriting #!/nix/store/nn9ckj7v5gxzzajwz79lzr9kclpvf9pf-python3-3.12.11/bin/python3.12 to #!/nix/store/wk2cw6sgg9rdjpzwxvf0iq8aipy5yvhc-python3-3.12.5-x86_64-unknown-linux-gnufilc0
wrapping `/nix/store/72b13qgqlzxvx2lmkkzfcvhh7yc1ln5c-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0/bin/hy2py'...
Rewriting #!/nix/store/nn9ckj7v5gxzzajwz79lzr9kclpvf9pf-python3-3.12.11/bin/python3.12 to #!/nix/store/wk2cw6sgg9rdjpzwxvf0iq8aipy5yvhc-python3-3.12.5-x86_64-unknown-linux-gnufilc0
wrapping `/nix/store/72b13qgqlzxvx2lmkkzfcvhh7yc1ln5c-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0/bin/hyc'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
→ installCheckPhase
no Makefile or custom installCheckPhase, doing nothing
→ pythonRemoveBinBytecodePhase
→ pytestCheckPhase
Executing pytestCheckPhase
pytest flags: -m pytest
============================= test session starts ==============================
platform linux -- Python 3.12.5, pytest-8.3.5, pluggy-1.5.0
rootdir: /build/source
configfile: setup.cfg
collected 612 items
tests/compilers/test_ast.py ............................................ [ 7%]
................................. [ 12%]
tests/compilers/test_compiler.py .... [ 13%]
tests/importer/test_importer.py ................ [ 15%]
tests/macros/test_macro_processor.py ..... [ 16%]
tests/native_tests/break_continue.hy .. [ 16%]
tests/native_tests/comprehensions.hy ................... [ 20%]
tests/native_tests/conditional.hy ............. [ 22%]
tests/native_tests/decorators.hy ...... [ 23%]
tests/native_tests/defclass.hy ............. [ 25%]
tests/native_tests/deftype.hy . [ 25%]
tests/native_tests/del.hy . [ 25%]
tests/native_tests/do.hy .. [ 25%]
tests/native_tests/dots.hy ..... [ 26%]
tests/native_tests/eval_foo_compile.hy .. [ 27%]
tests/native_tests/functions.hy .............................. [ 32%]
tests/native_tests/hy_eval.hy ........... [ 33%]
tests/native_tests/hy_misc.hy ......... [ 35%]
tests/native_tests/hy_repr.hy F.......... [ 37%]
tests/native_tests/import.hy ............. [ 39%]
tests/native_tests/keywords.hy .......... [ 40%]
tests/native_tests/let.hy ..................................... [ 46%]
tests/native_tests/logic_short_circuit.hy ......... [ 48%]
tests/native_tests/macros.hy ........... [ 50%]
tests/native_tests/macros_first_class.hy ..... [ 50%]
tests/native_tests/macros_local.hy ........ [ 52%]
hyprwayland-scanner-0.4.4
[100%] Linking CXX executable hyprwayland-scanner
/nix/store/j8ras7i1kd8331j9v8zm2j3zwjjh47b1-pugixml-x86_64-unknown-linux-gnufilc0-1.15/lib/libpugixml.a(pugixml.cpp.o):function pizlonatedFI4792_fmod:(.text+0x138f16): error: undefined reference to 'pizlonated_fmod'
clang-20: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [CMakeFiles/hyprwayland-scanner.dir/build.make:101: hyprwayland-scanner] Error 1
make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/hyprwayland-scanner.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
python3.12-pytest-lazy-fixtures-1.1.2
Build started
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing python-runtime-deps-check-hook
Using pythonRuntimeDepsCheckHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
python3.12-hy-1.1.0
tests/native_tests/mangling.hy ...................... [ 55%]
python3.12-pytest-lazy-fixtures-1.1.2
Sourcing pytest-check-hook
Using pytestCheckPhase
→ unpackPhase
unpacking source archive /nix/store/k0zb2fngdmbfyz0b5p7i1yr7d1wiw1i5-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tests/tests.py"
→ patchPhase
→ updateAutotoolsGnuConfigScriptsPhase
python3.12-hy-1.1.0
tests/native_tests/match.hy ........ [ 57%]
python3.12-pytest-lazy-fixtures-1.1.2
→ configurePhase
python3.12-hy-1.1.0
tests/native_tests/model_patterns.hy .. [ 57%]
python3.12-pytest-lazy-fixtures-1.1.2
no configure script, doing nothing
→ buildPhase
Executing pypaBuildPhase
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
python3.12-hy-1.1.0
tests/native_tests/nonlocal.hy .. [ 57%]
python3.12-pytest-lazy-fixtures-1.1.2
* Getting build dependencies for wheel...
* Building wheel...
Successfully built pytest_lazy_fixtures-0.0.0-py3-none-any.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
→ pythonRuntimeDepsCheckHook
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for pytest_lazy_fixtures-0.0.0-py3-none-any.whl
Finished executing pythonRuntimeDepsCheck
→ installPhase
Executing pypaInstallPhase
Successfully installed pytest_lazy_fixtures-0.0.0-py3-none-any.whl
Finished executing pypaInstallPhase
→ pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
→ fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/6hlbw80y51jc0rj3pd7g2sqw2aa54axv-python3.12-pytest-lazy-fixtures-1.1.2
checking for references to /build/ in /nix/store/6hlbw80y51jc0rj3pd7g2sqw2aa54axv-python3.12-pytest-lazy-fixtures-1.1.2...
patching script interpreter paths in /nix/store/6hlbw80y51jc0rj3pd7g2sqw2aa54axv-python3.12-pytest-lazy-fixtures-1.1.2
stripping (with command strip and flags -S -p) in /nix/store/6hlbw80y51jc0rj3pd7g2sqw2aa54axv-python3.12-pytest-lazy-fixtures-1.1.2/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/m3ib9b05xxqxbhnr6hb320dcf7j9xygk-python3.12-pytest-lazy-fixtures-1.1.2-dist
checking for references to /build/ in /nix/store/m3ib9b05xxqxbhnr6hb320dcf7j9xygk-python3.12-pytest-lazy-fixtures-1.1.2-dist...
patching script interpreter paths in /nix/store/m3ib9b05xxqxbhnr6hb320dcf7j9xygk-python3.12-pytest-lazy-fixtures-1.1.2-dist
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
→ installCheckPhase
no Makefile or custom installCheckPhase, doing nothing
→ pythonCatchConflictsPhase
→ pythonRemoveBinBytecodePhase
→ pythonImportsCheckPhase
Executing pythonImportsCheckPhase
Check whether the following modules can be imported: pytest_lazy_fixtures
→ pytestCheckPhase
Executing pytestCheckPhase
pytest flags: -m pytest
python3.12-hy-1.1.0
tests/native_tests/operators.hy ........................................ [ 64%]
python3.12-pytest-lazy-fixtures-1.1.2
============================= test session starts ==============================
platform linux -- Python 3.12.11, pytest-8.3.5, pluggy-1.5.0
rootdir: /build/source
configfile: pyproject.toml
plugins: lazy-fixtures-0.0.0
collected 26 items
tests/tests.py .......................... [100%]
============================== 26 passed in 0.02s ==============================
Finished executing pytestCheckPhase
→ pytestcachePhase
→ pytestRemoveBytecodePhase
python3.12-prettytable-3.16.0
Build started
Sourcing python-remove-tests-dir-hook
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing python-runtime-deps-check-hook
Using pythonRuntimeDepsCheckHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing pytest-check-hook
Using pytestCheckPhase
Sourcing pytest-check-hook
Using pytestCheckPhase
→ unpackPhase
unpacking source archive /nix/store/aa7xnnqy8j1x951ifcfdgch30y706mg9-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tox.ini"
→ patchPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ configurePhase
no configure script, doing nothing
→ buildPhase
Executing pypaBuildPhase
Setting SETUPTOOLS_SCM_PRETEND_VERSION to 3.16.0
Including all tracked files automatically
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
* Getting build dependencies for wheel...
python3.12-hy-1.1.0
...................... [ 67%]
python3.12-prettytable-3.16.0
* Building wheel...
Successfully built prettytable-3.16.0-py3-none-any.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
→ pythonRuntimeDepsCheckHook
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for prettytable-3.16.0-py3-none-any.whl
python3.12-hy-1.1.0
tests/native_tests/other.hy ....... [ 69%]
python3.12-prettytable-3.16.0
Finished executing pythonRuntimeDepsCheck
→ installPhase
Executing pypaInstallPhase
python3.12-hy-1.1.0
tests/native_tests/quote.hy .............. [ 71%]
python3.12-prettytable-3.16.0
Successfully installed prettytable-3.16.0-py3-none-any.whl
Finished executing pypaInstallPhase
→ pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
→ fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/fr6156q1bi9aqsk4d0raxngjysrhyxzz-python3.12-prettytable-3.16.0-x86_64-unknown-linux-gnufilc0
checking for references to /build/ in /nix/store/fr6156q1bi9aqsk4d0raxngjysrhyxzz-python3.12-prettytable-3.16.0-x86_64-unknown-linux-gnufilc0...
patching script interpreter paths in /nix/store/fr6156q1bi9aqsk4d0raxngjysrhyxzz-python3.12-prettytable-3.16.0-x86_64-unknown-linux-gnufilc0
stripping (with command strip and flags -S -p) in /nix/store/fr6156q1bi9aqsk4d0raxngjysrhyxzz-python3.12-prettytable-3.16.0-x86_64-unknown-linux-gnufilc0/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/a86k3cfd6fncj144c49bzvcdd15s3r2y-python3.12-prettytable-3.16.0-x86_64-unknown-linux-gnufilc0-dist
checking for references to /build/ in /nix/store/a86k3cfd6fncj144c49bzvcdd15s3r2y-python3.12-prettytable-3.16.0-x86_64-unknown-linux-gnufilc0-dist...
patching script interpreter paths in /nix/store/a86k3cfd6fncj144c49bzvcdd15s3r2y-python3.12-prettytable-3.16.0-x86_64-unknown-linux-gnufilc0-dist
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
→ installCheckPhase
no Makefile or custom installCheckPhase, doing nothing
→ pythonRemoveBinBytecodePhase
→ pytestCheckPhase
Executing pytestCheckPhase
pytest flags: -m pytest
python3.12-hy-1.1.0
tests/native_tests/reader_macros.hy ....... [ 72%]
python3.12-prettytable-3.16.0
============================= test session starts ==============================
platform linux -- Python 3.12.5, pytest-8.3.5, pluggy-1.5.0
python3.12-hy-1.1.0
tests/native_tests/repl.hy .................. [ 75%]
python3.12-prettytable-3.16.0
rootdir: /build/source
configfile: pyproject.toml
testpaths: tests
plugins: cov-nixpkgs-stub-1.0.0, lazy-fixtures-0.0.0
python3.12-hy-1.1.0
tests/native_tests/setv.hy .... [ 76%]
tests/native_tests/setx.hy ... [ 76%]
tests/native_tests/strings.hy ....... [ 77%]
tests/native_tests/try.hy ........... [ 79%]
tests/native_tests/unpack.hy .... [ 80%]
tests/native_tests/with.hy .......... [ 81%]
python3.12-prettytable-3.16.0
collected 267 items
tests/test_colortable.py ............. [ 4%]
tests/test_html.py ................... [ 11%]
tests/test_json.py ... [ 13%]
tests/test_latex.py .... [ 14%]
tests/test_mediawiki.py .......... [ 18%]
tests/test_prettytable.py ..................F.F.F...F................... [ 35%]
....................F.........FF........F............................... [ 62%]
..................FF................................ [ 82%]
tests/test_sections.py ..... [ 83%]
tests/test_sorting.py ..FF.F [ 86%]
tests/test_style.py FFFFFFF..................F........... [100%]
=================================== FAILURES ===================================
________________________ TestDelete.test_delete_column _________________________
self = <test_prettytable.TestDelete object at 0x7fffb71b4970>
col_prettytable = +-----------+------------+--------------------+
| City name | Population | Annual Rainfall |
+-----------+---------... | 646.89999999999998 |
| Perth | 1554769 | 869.39999999999998 |
+-----------+------------+--------------------+
def test_delete_column(self, col_prettytable: PrettyTable) -> None:
col_prettytable.del_column("Area")> assert (
col_prettytable.get_string()
== """+-----------+------------+-----------------+
| City name | Population | Annual Rainfall |
+-----------+------------+-----------------+
| Adelaide | 1158259 | 600.5 |
| Brisbane | 1857594 | 1146.4 |
| Darwin | 120900 | 1714.7 |
| Hobart | 205556 | 619.5 |
| Sydney | 4336374 | 1214.8 |
| Melbourne | 3806092 | 646.9 |
| Perth | 1554769 | 869.4 |
+-----------+------------+-----------------+"""
)
E AssertionError: assert '+-----------...------------+' == '+-----------...------------+'
E
E Skipping 33 identical leading characters in diff, use -v to show
E - ----------+
E + -------------+
E ? +++
E - | City name | Population | Annual Rainfall |
E + | City name | Population | Annual Rainfall |...
E
E ...Full output truncated (29 lines hidden), use '-vv' to show
tests/test_prettytable.py:239: AssertionError
__________________________ TestDelete.test_delete_row __________________________
self = <test_prettytable.TestDelete object at 0x7fffb71e8ab0>
city_data = +-----------+------+------------+--------------------+
| City name | Area | Population | Annual Rainfall |
+-------...9999998 |
| Perth | 5386 | 1554769 | 869.39999999999998 |
+-----------+------+------------+--------------------+
def test_delete_row(self, city_data: PrettyTable) -> None:
city_data.del_row(2)
> assert (
city_data.get_string()
== """+-----------+------+------------+-----------------+
| City name | Area | Population | Annual Rainfall |
+-----------+------+------------+-----------------+
| Adelaide | 1295 | 1158259 | 600.5 |
| Brisbane | 5905 | 1857594 | 1146.4 |
| Hobart | 1357 | 205556 | 619.5 |
| Sydney | 2058 | 4336374 | 1214.8 |
| Melbourne | 1566 | 3806092 | 646.9 |
| Perth | 5386 | 1554769 | 869.4 |
+-----------+------+------------+-----------------+"""
)
E AssertionError: assert '+-----------...------------+' == '+-----------...------------+'
E
E Skipping 40 identical leading characters in diff, use -v to show
E - ----------+
E + -------------+
E ? +++
E - | City name | Area | Population | Annual Rainfall |
E + | City name | Area | Population | Annual Rainfall |...
E
E ...Full output truncated (28 lines hidden), use '-vv' to show
tests/test_prettytable.py:263: AssertionError
_________________ TestFieldNameLessTable.test_can_string_ascii _________________
self = <test_prettytable.TestFieldNameLessTable object at 0x7fffb7042330>
field_name_less_table = +-----------+---------+---------+--------------------+
| Field 1 | Field 2 | Field 3 | Field 4 |
+-------...9999998 |
| Perth | 5386 | 1554769 | 869.39999999999998 |
+-----------+---------+---------+--------------------+
def test_can_string_ascii(self, field_name_less_table: PrettyTable) -> None:
output = field_name_less_table.get_string()
> assert "| Field 1 | Field 2 | Field 3 | Field 4 |" in output
E AssertionError: assert '| Field 1 | Field 2 | Field 3 | Field 4 |' in '+-----------+---------+---------+--------------------+\n| Field 1 | Field 2 | Field 3 | Field 4 |\n+----...9998 |\n| Perth | 5386 | 1554769 | 869.39999999999998 |\n+-----------+---------+---------+--------------------+'
tests/test_prettytable.py:287: AssertionError
______________ TestFieldNameLessTable.test_add_field_names_later _______________
self = <test_prettytable.TestFieldNameLessTable object at 0x7fffb70adf70>
field_name_less_table = +-----------+------+------------+--------------------+
| City name | Area | Population | Annual Rainfall |
+-------...9999998 |
| Perth | 5386 | 1554769 | 869.39999999999998 |
+-----------+------+------------+--------------------+
def test_add_field_names_later(self, field_name_less_table: PrettyTable) -> None:
field_name_less_table.field_names = CITY_DATA_HEADER
> assert (
"City name | Area | Population | Annual Rainfall"
in field_name_less_table.get_string()
)
E AssertionError: assert 'City name | Area | Population | Annual Rainfall' in '+-----------+------+------------+--------------------+\n| City name | Area | Population | Annual Rainfall |\n+----...9998 |\n| Perth | 5386 | 1554769 | 869.39999999999998 |\n+-----------+------+------------+--------------------+'
E + where '+-----------+------+------------+--------------------+\n| City name | Area | Population | Annual Rainfall |\n+----...9998 |\n| Perth | 5386 | 1554769 | 869.39999999999998 |\n+-----------+------+------------+--------------------+' = get_string()
E + where get_string = +-----------+------+------------+--------------------+\n| City name | Area | Population | Annual Rainfall |\n+-------...9999998 |\n| Perth | 5386 | 1554769 | 869.39999999999998 |\n+-----------+------+------------+--------------------+.get_string
tests/test_prettytable.py:307: AssertionError
____________________________ TestBasic.test_getitem ____________________________
self = <test_prettytable.TestBasic object at 0x7fffd4dee230>
city_data = +-----------+------+------------+--------------------+
| City name | Area | Population | Annual Rainfall |
+-------...9999998 |
| Perth | 5386 | 1554769 | 869.39999999999998 |
+-----------+------+------------+--------------------+
def test_getitem(self, city_data: PrettyTable) -> None:
> assert (
city_data[1].get_string()
== """+-----------+------+------------+-----------------+
| City name | Area | Population | Annual Rainfall |
+-----------+------+------------+-----------------+
| Brisbane | 5905 | 1857594 | 1146.4 |
+-----------+------+------------+-----------------+"""
)
E AssertionError: assert '+-----------...------------+' == '+-----------...------------+'
E
E Skipping 40 identical leading characters in diff, use -v to show
E - ----------+
E + -------------+
E ? +++
E - | City name | Area | Population | Annual Rainfall |
E + | City name | Area | Population | Annual Rainfall |...
E
E ...Full output truncated (11 lines hidden), use '-vv' to show
tests/test_prettytable.py:615: AssertionError
________________________ TestRowFilter.test_row_filter _________________________
self = <test_prettytable.TestRowFilter object at 0x7fffb7a4f770>
city_data = +-----------+------+------------+--------------------+
| City name | Area | Population | Annual Rainfall |
+-------...9999998 |
| Perth | 5386 | 1554769 | 869.39999999999998 |
+-----------+------+------------+--------------------+
def test_row_filter(self, city_data: PrettyTable) -> None:
city_data.row_filter = self.filter_function
assert city_data.row_filter == self.filter_function
> assert self.EXPECTED_RESULT == city_data.get_string()
E AssertionError: assert '+-----------...------------+' == '+-----------...------------+'
E
E Skipping 40 identical leading characters in diff, use -v to show
E - -------------+
E ? ---
E + ----------+
E - | City name | Area | Population | Annual Rainfall |
E ? - --...
E
E ...Full output truncated (25 lines hidden), use '-vv' to show
tests/test_prettytable.py:722: AssertionError
______________ TestRowFilter.test_row_filter_at_class_declaration ______________
self = <test_prettytable.TestRowFilter object at 0x7fffb7ac4cf0>
def test_row_filter_at_class_declaration(self) -> None:
table = PrettyTable(
field_names=CITY_DATA_HEADER,
row_filter=self.filter_function,
)
for row in CITY_DATA:
table.add_row(row)
assert table.row_filter == self.filter_function
> assert self.EXPECTED_RESULT == table.get_string().strip()
E AssertionError: assert '+-----------...------------+' == '+-----------...------------+'
E
E Skipping 40 identical leading characters in diff, use -v to show
E - -------------+
E ? ---
E + ----------+
E - | City name | Area | Population | Annual Rainfall |
E ? - --...
E
E ...Full output truncated (25 lines hidden), use '-vv' to show
tests/test_prettytable.py:732: AssertionError
________________________________ test_paginate _________________________________
city_data = +-----------+------+------------+--------------------+
| City name | Area | Population | Annual Rainfall |
+-------...9999998 |
| Perth | 5386 | 1554769 | 869.39999999999998 |
+-----------+------+------------+--------------------+
def test_paginate(city_data: PrettyTable) -> None:
expected_page_1 = """
+-----------+------+------------+-----------------+
| City name | Area | Population | Annual Rainfall |
+-----------+------+------------+-----------------+
| Adelaide | 1295 | 1158259 | 600.5 |
| Brisbane | 5905 | 1857594 | 1146.4 |
| Darwin | 112 | 120900 | 1714.7 |
| Hobart | 1357 | 205556 | 619.5 |
+-----------+------+------------+-----------------+""".strip()
expected_page_2 = """
+-----------+------+------------+-----------------+
| City name | Area | Population | Annual Rainfall |
+-----------+------+------------+-----------------+
| Sydney | 2058 | 4336374 | 1214.8 |
| Melbourne | 1566 | 3806092 | 646.9 |
| Perth | 5386 | 1554769 | 869.4 |
+-----------+------+------------+-----------------+""".strip()
paginated = city_data.paginate(page_length=4).strip()
> assert paginated.startswith(expected_page_1)
E AssertionError: assert False
E + where False = <built-in method startswith of str object at 0x7fffb0d25290>('+-----------+------+------------+-----------------+\n| City name | Area | Population | Annual Rainfall |\n+----------...1714.7 |\n| Hobart | 1357 | 205556 | 619.5 |\n+-----------+------+------------+-----------------+')E + where <built-in method startswith of str object at 0x7fffb0d25290> = '+-----------+------+------------+--------------------+\n| City name | Area | Population | Annual Rainfall |\n+----...9998 |\n| Perth | 5386 | 1554769 | 869.39999999999998 |\n+-----------+------+------------+--------------------+'.startswith
tests/test_prettytable.py:886: AssertionError
_________________ TestFields.test_fields_at_class_declaration __________________
self = <test_prettytable.TestFields object at 0x7fffd5758ff0>
def test_fields_at_class_declaration(self) -> None:
table = PrettyTable(
field_names=CITY_DATA_HEADER,
fields=["City name", "Annual Rainfall"],
)
for row in CITY_DATA:
table.add_row(row)
> assert (
"""+-----------+-----------------+
| City name | Annual Rainfall |
+-----------+-----------------+
| Adelaide | 600.5 |
| Brisbane | 1146.4 |
| Darwin | 1714.7 |
| Hobart | 619.5 |
| Sydney | 1214.8 |
| Melbourne | 646.9 |
| Perth | 869.4 |
+-----------+-----------------+"""
== table.get_string().strip()
)
E AssertionError: assert '+-----------...------------+' == '+-----------...------------+'
E
E - +-----------+--------------------+
E ? ---
E + +-----------+-----------------+
E - | City name | Annual Rainfall |
E ? - --
E + | City name | Annual Rainfall |...
E
E ...Full output truncated (24 lines hidden), use '-vv' to show
tests/test_prettytable.py:1488: AssertionError
____________________________ TestFields.test_fields ____________________________
self = <test_prettytable.TestFields object at 0x7fffd52f73b0>
def test_fields(self) -> None:
table = PrettyTable()
table.field_names = CITY_DATA_HEADER
table.fields = ["City name", "Annual Rainfall"]
for row in CITY_DATA:
table.add_row(row)
> assert (
"""+-----------+-----------------+
| City name | Annual Rainfall |
+-----------+-----------------+
| Adelaide | 600.5 |
| Brisbane | 1146.4 |
| Darwin | 1714.7 |
| Hobart | 619.5 |
| Sydney | 1214.8 |
| Melbourne | 646.9 |
| Perth | 869.4 |
+-----------+-----------------+"""
== table.get_string().strip()
)
E AssertionError: assert '+-----------...------------+' == '+-----------...------------+'
E
E - +-----------+--------------------+
E ? ---
E + +-----------+-----------------+
E - | City name | Annual Rainfall |
E ? - --
E + | City name | Annual Rainfall |...
E
E ...Full output truncated (24 lines hidden), use '-vv' to show
tests/test_prettytable.py:1509: AssertionError
__________________________ TestSorting.test_sort_key ___________________________
self = <test_sorting.TestSorting object at 0x7fffd450b330>
city_data = +-----------+------+------------+--------------------+
| City name | Area | Population | Annual Rainfall |
+-------...0000001 |
| Melbourne | 1566 | 3806092 | 646.89999999999998 |
+-----------+------+------------+--------------------+
def test_sort_key(self, city_data: PrettyTable) -> None:
# Test sorting by length of city name
def key(vals: RowType) -> list[int]:
vals[0] = len(vals[0])
return vals
city_data.sortby = "City name"
city_data.sort_key = key
> assert (
city_data.get_string().strip()
== """
+-----------+------+------------+-----------------+
| City name | Area | Population | Annual Rainfall |
+-----------+------+------------+-----------------+
| Perth | 5386 | 1554769 | 869.4 |
| Darwin | 112 | 120900 | 1714.7 |
| Hobart | 1357 | 205556 | 619.5 |
| Sydney | 2058 | 4336374 | 1214.8 |
| Adelaide | 1295 | 1158259 | 600.5 |
| Brisbane | 5905 | 1857594 | 1146.4 |
| Melbourne | 1566 | 3806092 | 646.9 |
+-----------+------+------------+-----------------+
""".strip()
)
E AssertionError: assert '+-----------...------------+' == '+-----------...------------+'
E
E Skipping 40 identical leading characters in diff, use -v to show
E - ----------+
E + -------------+
E ? +++
E - | City name | Area | Population | Annual Rainfall |
E + | City name | Area | Population | Annual Rainfall |...
E
E ...Full output truncated (31 lines hidden), use '-vv' to show
tests/test_sorting.py:37: AssertionError
________________ TestSorting.test_sort_key_at_class_declaration ________________
self = <test_sorting.TestSorting object at 0x7fffd45668b0>
def test_sort_key_at_class_declaration(self) -> None:
# Test sorting by length of city name
def key(vals: RowType) -> list[int]:
vals[0] = len(vals[0])
return vals
table = PrettyTable(
field_names=CITY_DATA_HEADER,
sortby="City name",
sort_key=key,
)
assert table.sort_key == key
for row in CITY_DATA:
table.add_row(row)
> assert (
"""+-----------+------+------------+-----------------+
| City name | Area | Population | Annual Rainfall |
+-----------+------+------------+-----------------+
| Perth | 5386 | 1554769 | 869.4 |
| Darwin | 112 | 120900 | 1714.7 |
| Hobart | 1357 | 205556 | 619.5 |
| Sydney | 2058 | 4336374 | 1214.8 |
| Adelaide | 1295 | 1158259 | 600.5 |
| Brisbane | 5905 | 1857594 | 1146.4 |
| Melbourne | 1566 | 3806092 | 646.9 |
+-----------+------+------------+-----------------+"""
== table.get_string().strip()
)
E AssertionError: assert '+-----------...------------+' == '+-----------...------------+'
E
E Skipping 40 identical leading characters in diff, use -v to show
E - -------------+
E ? ---
E + ----------+
E - | City name | Area | Population | Annual Rainfall |
E ? - --...
E
E ...Full output truncated (31 lines hidden), use '-vv' to show
tests/test_sorting.py:68: AssertionError
_________________ TestSorting.test_sortby_at_class_declaration _________________
self = <test_sorting.TestSorting object at 0x7fffd445df30>
def test_sortby_at_class_declaration(self) -> None:
"""
Fix #354 where initialization of a table with sortby fails
"""
table = PrettyTable(
field_names=CITY_DATA_HEADER,
sortby="Area",
)
assert table.sortby == "Area"
for row in CITY_DATA:
table.add_row(row)
> assert (
"""+-----------+------+------------+-----------------+
| City name | Area | Population | Annual Rainfall |
+-----------+------+------------+-----------------+
| Darwin | 112 | 120900 | 1714.7 |
| Adelaide | 1295 | 1158259 | 600.5 |
| Hobart | 1357 | 205556 | 619.5 |
| Melbourne | 1566 | 3806092 | 646.9 |
| Sydney | 2058 | 4336374 | 1214.8 |
| Perth | 5386 | 1554769 | 869.4 |
| Brisbane | 5905 | 1857594 | 1146.4 |
+-----------+------+------------+-----------------+"""
== table.get_string().strip()
)
E AssertionError: assert '+-----------...------------+' == '+-----------...------------+'
E
E Skipping 40 identical leading characters in diff, use -v to show
E - -------------+
E ? ---
E + ----------+
E - | City name | Area | Population | Annual Rainfall |
E ? - --...
E
E ...Full output truncated (31 lines hidden), use '-vv' to show
tests/test_sorting.py:106: AssertionError
_____________________ TestPositionalJunctions.test_default _____________________
self = <test_style.TestPositionalJunctions object at 0x7fffb6ebf270>
city_data = ╔═══════════╦══════╦════════════╦════════════════════╗
║ City name ║ Area ║ Population ║ Annual Rainfall ║
╠═══════...9999998 ║
║ Perth ║ 5386 ║ 1554769 ║ 869.39999999999998 ║
╚═══════════╩══════╩════════════╩════════════════════╝
def test_default(self, city_data: PrettyTable) -> None:
city_data.set_style(TableStyle.DOUBLE_BORDER)
> assert (
city_data.get_string().strip()
== """
╔═══════════╦══════╦════════════╦═════════════════╗
║ City name ║ Area ║ Population ║ Annual Rainfall ║
╠═══════════╬══════╬════════════╬═════════════════╣
║ Adelaide ║ 1295 ║ 1158259 ║ 600.5 ║
║ Brisbane ║ 5905 ║ 1857594 ║ 1146.4 ║
║ Darwin ║ 112 ║ 120900 ║ 1714.7 ║
║ Hobart ║ 1357 ║ 205556 ║ 619.5 ║
║ Sydney ║ 2058 ║ 4336374 ║ 1214.8 ║
║ Melbourne ║ 1566 ║ 3806092 ║ 646.9 ║
║ Perth ║ 5386 ║ 1554769 ║ 869.4 ║
╚═══════════╩══════╩════════════╩═════════════════╝""".strip()
)
E AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...════════════╝'
E
E Skipping 40 identical leading characters in diff, use -v to show
E - ══════════╗
E + ═════════════╗
E ? +++
E - ║ City name ║ Area ║ Population ║ Annual Rainfall ║
E + ║ City name ║ Area ║ Population ║ Annual Rainfall ║...
E
E ...Full output truncated (31 lines hidden), use '-vv' to show
tests/test_style.py:18: AssertionError
____________________ TestPositionalJunctions.test_no_header ____________________
self = <test_style.TestPositionalJunctions object at 0x7fffb6eea830>
city_data = ╔═══════════╦══════╦═════════╦════════════════════╗
║ Adelaide ║ 1295 ║ 1158259 ║ 600.5 ║
║ Brisbane ║ ...9999999999998 ║
║ Perth ║ 5386 ║ 1554769 ║ 869.39999999999998 ║
╚═══════════╩══════╩═════════╩════════════════════╝
def test_no_header(self, city_data: PrettyTable) -> None:
city_data.set_style(TableStyle.DOUBLE_BORDER)
city_data.header = False
> assert (
city_data.get_string().strip()
== """
╔═══════════╦══════╦═════════╦════════╗
║ Adelaide ║ 1295 ║ 1158259 ║ 600.5 ║
║ Brisbane ║ 5905 ║ 1857594 ║ 1146.4 ║
║ Darwin ║ 112 ║ 120900 ║ 1714.7 ║
║ Hobart ║ 1357 ║ 205556 ║ 619.5 ║
║ Sydney ║ 2058 ║ 4336374 ║ 1214.8 ║
║ Melbourne ║ 1566 ║ 3806092 ║ 646.9 ║
║ Perth ║ 5386 ║ 1554769 ║ 869.4 ║
╚═══════════╩══════╩═════════╩════════╝""".strip()
)
E AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...═══╩════════╝'
E
E - ╔═══════════╦══════╦═════════╦════════╗
E + ╔═══════════╦══════╦═════════╦════════════════════╗
E ? ++++++++++++
E - ║ Adelaide ║ 1295 ║ 1158259 ║ 600.5 ║
E + ║ Adelaide ║ 1295 ║ 1158259 ║ 600.5 ║
E ? ++++++ ++++++...
E
E ...Full output truncated (23 lines hidden), use '-vv' to show
tests/test_style.py:38: AssertionError
___________________ TestPositionalJunctions.test_with_title ____________________
self = <test_style.TestPositionalJunctions object at 0x7fffb6d16730>
city_data = ╔════════════════════════════════════════════════════╗
║ Title ║
╠═══════...9999998 ║
║ Perth ║ 5386 ║ 1554769 ║ 869.39999999999998 ║
╚═══════════╩══════╩════════════╩════════════════════╝
def test_with_title(self, city_data: PrettyTable) -> None:
city_data.set_style(TableStyle.DOUBLE_BORDER)
city_data.title = "Title"
> assert (
city_data.get_string().strip()
== """
╔═════════════════════════════════════════════════╗
║ Title ║
╠═══════════╦══════╦════════════╦═════════════════╣
║ City name ║ Area ║ Population ║ Annual Rainfall ║
╠═══════════╬══════╬════════════╬═════════════════╣
║ Adelaide ║ 1295 ║ 1158259 ║ 600.5 ║
║ Brisbane ║ 5905 ║ 1857594 ║ 1146.4 ║
║ Darwin ║ 112 ║ 120900 ║ 1714.7 ║
║ Hobart ║ 1357 ║ 205556 ║ 619.5 ║
║ Sydney ║ 2058 ║ 4336374 ║ 1214.8 ║
║ Melbourne ║ 1566 ║ 3806092 ║ 646.9 ║
║ Perth ║ 5386 ║ 1554769 ║ 869.4 ║
╚═══════════╩══════╩════════════╩═════════════════╝""".strip()
)
E AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...════════════╝'
E
E Skipping 40 identical leading characters in diff, use -v to show
E - ══════════╗
E + ═════════════╗
E ? +++
E - ║ Title ║
E + ║ Title ║...
E
E ...Full output truncated (37 lines hidden), use '-vv' to show
tests/test_style.py:56: AssertionError
______________ TestPositionalJunctions.test_with_title_no_header _______________
self = <test_style.TestPositionalJunctions object at 0x7fffb5bbd4b0>
city_data = ╔═════════════════════════════════════════════════╗
║ Title ║
╠═══════════╦═...9999999999998 ║
║ Perth ║ 5386 ║ 1554769 ║ 869.39999999999998 ║
╚═══════════╩══════╩═════════╩════════════════════╝
def test_with_title_no_header(self, city_data: PrettyTable) -> None:
city_data.set_style(TableStyle.DOUBLE_BORDER)
city_data.title = "Title"
city_data.header = False
> assert (
city_data.get_string().strip()
== """
╔═════════════════════════════════════╗
║ Title ║
╠═══════════╦══════╦═════════╦════════╣
║ Adelaide ║ 1295 ║ 1158259 ║ 600.5 ║
║ Brisbane ║ 5905 ║ 1857594 ║ 1146.4 ║
║ Darwin ║ 112 ║ 120900 ║ 1714.7 ║
║ Hobart ║ 1357 ║ 205556 ║ 619.5 ║
║ Sydney ║ 2058 ║ 4336374 ║ 1214.8 ║
║ Melbourne ║ 1566 ║ 3806092 ║ 646.9 ║
║ Perth ║ 5386 ║ 1554769 ║ 869.4 ║
╚═══════════╩══════╩═════════╩════════╝""".strip()
)
E AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...═══╩════════╝'
E
E - ╔═════════════════════════════════════╗
E + ╔═════════════════════════════════════════════════╗
E ? ++++++++++++
E - ║ Title ║
E + ║ Title ║
E ? ++++++ ++++++...
E
E ...Full output truncated (29 lines hidden), use '-vv' to show
tests/test_style.py:78: AssertionError
____________________ TestPositionalJunctions.test_hrule_all ____________________
self = <test_style.TestPositionalJunctions object at 0x7fffd58bd7b0>
city_data = ╔════════════════════════════════════════════════════╗
║ Title ║
╠═══════...════════╣
║ Perth ║ 5386 ║ 1554769 ║ 869.39999999999998 ║
╚═══════════╩══════╩════════════╩════════════════════╝
def test_hrule_all(self, city_data: PrettyTable) -> None:
city_data.set_style(TableStyle.DOUBLE_BORDER)
city_data.title = "Title"
city_data.hrules = HRuleStyle.ALL
> assert (
city_data.get_string().strip()
== """
╔═════════════════════════════════════════════════╗
║ Title ║
╠═══════════╦══════╦════════════╦═════════════════╣
║ City name ║ Area ║ Population ║ Annual Rainfall ║
╠═══════════╬══════╬════════════╬═════════════════╣
║ Adelaide ║ 1295 ║ 1158259 ║ 600.5 ║
╠═══════════╬══════╬════════════╬═════════════════╣
║ Brisbane ║ 5905 ║ 1857594 ║ 1146.4 ║
╠═══════════╬══════╬════════════╬═════════════════╣
║ Darwin ║ 112 ║ 120900 ║ 1714.7 ║
╠═══════════╬══════╬════════════╬═════════════════╣
║ Hobart ║ 1357 ║ 205556 ║ 619.5 ║
╠═══════════╬══════╬════════════╬═════════════════╣
║ Sydney ║ 2058 ║ 4336374 ║ 1214.8 ║
╠═══════════╬══════╬════════════╬═════════════════╣
║ Melbourne ║ 1566 ║ 3806092 ║ 646.9 ║
╠═══════════╬══════╬════════════╬═════════════════╣
║ Perth ║ 5386 ║ 1554769 ║ 869.4 ║
╚═══════════╩══════╩════════════╩═════════════════╝""".strip()
)
E AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...════════════╝'
E
E Skipping 40 identical leading characters in diff, use -v to show
E - ══════════╗
E + ═════════════╗
E ? +++
E - ║ Title ║
E + ║ Title ║...
E
E ...Full output truncated (55 lines hidden), use '-vv' to show
tests/test_style.py:98: AssertionError
___________________ TestPositionalJunctions.test_vrules_none ___________________
self = <test_style.TestPositionalJunctions object at 0x7fffd4f109f0>
city_data = ══════════════════════════════════════════════════════
City name Area Population Annual Rainfall
════════...9999998
Perth 5386 1554769 869.39999999999998
══════════════════════════════════════════════════════
def test_vrules_none(self, city_data: PrettyTable) -> None:
city_data.set_style(TableStyle.DOUBLE_BORDER)
city_data.vrules = VRuleStyle.NONE
> assert (
city_data.get_string().strip()
== "═══════════════════════════════════════════════════\n"
" City name Area Population Annual Rainfall \n"
"═══════════════════════════════════════════════════\n"
" Adelaide 1295 1158259 600.5 \n"
" Brisbane 5905 1857594 1146.4 \n"
" Darwin 112 120900 1714.7 \n"
" Hobart 1357 205556 619.5 \n"
" Sydney 2058 4336374 1214.8 \n"
" Melbourne 1566 3806092 646.9 \n"
" Perth 5386 1554769 869.4 \n"
"═══════════════════════════════════════════════════".strip()
)
E AssertionError: assert '════════════...═════════════' == '════════════...═════════════'
E
E Skipping 41 identical leading characters in diff, use -v to show
E - ══════════
E + ═════════════
E ? +++
E - City name Area Population Annual Rainfall
E + City name Area Population Annual Rainfall ...
E
E ...Full output truncated (31 lines hidden), use '-vv' to show
tests/test_style.py:125: AssertionError
_____________ TestPositionalJunctions.test_vrules_frame_with_title _____________
self = <test_style.TestPositionalJunctions object at 0x7fffd4ddd1b0>
city_data = ╔════════════════════════════════════════════════════╗
║ Title ║
╠═══════...9999998 ║
║ Perth 5386 1554769 869.39999999999998 ║
╚════════════════════════════════════════════════════╝
def test_vrules_frame_with_title(self, city_data: PrettyTable) -> None:
city_data.set_style(TableStyle.DOUBLE_BORDER)
city_data.vrules = VRuleStyle.FRAME
city_data.title = "Title"
> assert (
city_data.get_string().strip()
== """
╔═════════════════════════════════════════════════╗
║ Title ║
╠═════════════════════════════════════════════════╣
║ City name Area Population Annual Rainfall ║
╠═════════════════════════════════════════════════╣
║ Adelaide 1295 1158259 600.5 ║
║ Brisbane 5905 1857594 1146.4 ║
║ Darwin 112 120900 1714.7 ║
║ Hobart 1357 205556 619.5 ║
║ Sydney 2058 4336374 1214.8 ║
║ Melbourne 1566 3806092 646.9 ║
║ Perth 5386 1554769 869.4 ║
╚═════════════════════════════════════════════════╝""".strip()
)
E AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...════════════╝'
E
E Skipping 40 identical leading characters in diff, use -v to show
E - ══════════╗
E + ═════════════╗
E ? +++
E - ║ Title ║
E + ║ Title ║...
E
E ...Full output truncated (37 lines hidden), use '-vv' to show
tests/test_style.py:144: AssertionError
_ TestMultiPattern.test_multi_pattern_outputs[city_data-\n+-----------+------+------------+-----------------+\n| City name | Area | Population | Annual Rainfall |\n+-----------+------+------------+-----------------+\n| Adelaide | 1295 | 1158259 | 600.5 |\n| Brisbane | 5905 | 1857594 | 1146.4 |\n| Darwin | 112 | 120900 | 1714.7 |\n| Hobart | 1357 | 205556 | 619.5 |\n| Sydney | 2058 | 4336374 | 1214.8 |\n| Melbourne | 1566 | 3806092 | 646.9 |\n| Perth | 5386 | 1554769 | 869.4 |\n+-----------+------+------------+-----------------+\n-English Table] _
self = <test_style.TestMultiPattern object at 0x7fffb78ccd30>
pt = +-----------+------+------------+--------------------+
| City name | Area | Population | Annual Rainfall |
+-------...9999998 |
| Perth | 5386 | 1554769 | 869.39999999999998 |
+-----------+------+------------+--------------------+
expected_output = '\n+-----------+------+------------+-----------------+\n| City name | Area | Population | Annual Rainfall |\n+--------...6.9 |\n| Perth | 5386 | 1554769 | 869.4 |\n+-----------+------+------------+-----------------+\n'
test_type = 'English Table'
@pytest.mark.parametrize(
["pt", "expected_output", "test_type"],
[
(
lf("city_data"),"""
+-----------+------+------------+-----------------+
| City name | Area | Population | Annual Rainfall |
+-----------+------+------------+-----------------+
| Adelaide | 1295 | 1158259 | 600.5 |
| Brisbane | 5905 | 1857594 | 1146.4 |
| Darwin | 112 | 120900 | 1714.7 |
| Hobart | 1357 | 205556 | 619.5 |
| Sydney | 2058 | 4336374 | 1214.8 |
| Melbourne | 1566 | 3806092 | 646.9 |
| Perth | 5386 | 1554769 | 869.4 |
+-----------+------+------------+-----------------+
""",
"English Table",
),
(
lf("japanese_pretty_table"),"""
+--------+------------+----------+
| Kanji | Hiragana | English |
+--------+------------+----------+
| 神戸 | こうべ | Kobe |
| 京都 | きょうと | Kyoto |
| 長崎 | ながさき | Nagasaki |
| 名古屋 | なごや | Nagoya |
| 大阪 | おおさか | Osaka |
| 札幌 | さっぽろ | Sapporo |
| 東京 | とうきょう | Tokyo |
| 横浜 | よこはま | Yokohama |
+--------+------------+----------+
""",
"Japanese table",
),
(
lf("emoji_pretty_table"),"""
+-----------------+-----------------+
| Thunderbolt | Lightning |
+-----------------+-----------------+
| \x1b[38;5;226m _`/""\x1b[38;5;250m.-. \x1b[0m | \x1b[38;5;240;1m .-. \x1b[0m |
| \x1b[38;5;226m ,\\_\x1b[38;5;250m( ). \x1b[0m | \x1b[38;5;240;1m ( ). \x1b[0m |
| \x1b[38;5;226m /\x1b[38;5;250m(___(__) \x1b[0m | \x1b[38;5;240;1m (___(__) \x1b[0m |
| \x1b[38;5;228;5m ⚡\x1b[38;5;111;25mʻ ʻ\x1b[38;5;228;5m⚡\x1b[38;5;111;25mʻ ʻ \x1b[0m | \x1b[38;5;21;1m ‚ʻ\x1b[38;5;228;5m⚡\x1b[38;5;21;25mʻ‚\x1b[38;5;228;5m⚡\x1b[38;5;21;25m‚ʻ \x1b[0m |
| \x1b[38;5;111m ʻ ʻ ʻ ʻ \x1b[0m | \x1b[38;5;21;1m ‚ʻ‚ʻ\x1b[38;5;228;5m⚡\x1b[38;5;21;25mʻ‚ʻ \x1b[0m |
+-----------------+-----------------+
""", # noqa: E501
"Emoji table",
),
],
)
def test_multi_pattern_outputs(
self, pt: PrettyTable, expected_output: str, test_type: str
) -> None:
> assert (
pt.get_string().strip() == expected_output.strip()
), f"Error output for test output of type {test_type}"E AssertionError: Error output for test output of type English Table
E assert '+-----------...------------+' == '+-----------...------------+'
E
E Skipping 40 identical leading characters in diff, use -v to show
E - ----------+
E + -------------+
E ? +++
E - | City name | Area | Population | Annual Rainfall |
E + | City name | Area | Population | Annual Rainfall |...
E
E ...Full output truncated (31 lines hidden), use '-vv' to show
tests/test_style.py:534: AssertionError
=========================== short test summary info ============================
FAILED tests/test_prettytable.py::TestDelete::test_delete_column - AssertionError: assert '+-----------...------------+' == '+-----------...--...
FAILED tests/test_prettytable.py::TestDelete::test_delete_row - AssertionError: assert '+-----------...------------+' == '+-----------...--...
FAILED tests/test_prettytable.py::TestFieldNameLessTable::test_can_string_ascii - AssertionError: assert '| Field 1 | Field 2 | Field 3 | Field 4 |' in '+-...
FAILED tests/test_prettytable.py::TestFieldNameLessTable::test_add_field_names_later - AssertionError: assert 'City name | Area | Population | Annual Rainfall' in...
FAILED tests/test_prettytable.py::TestBasic::test_getitem - AssertionError: assert '+-----------...------------+' == '+-----------...--...
FAILED tests/test_prettytable.py::TestRowFilter::test_row_filter - AssertionError: assert '+-----------...------------+' == '+-----------...--...
FAILED tests/test_prettytable.py::TestRowFilter::test_row_filter_at_class_declaration - AssertionError: assert '+-----------...------------+' == '+-----------...--...
FAILED tests/test_prettytable.py::test_paginate - AssertionError: assert False
FAILED tests/test_prettytable.py::TestFields::test_fields_at_class_declaration - AssertionError: assert '+-----------...------------+' == '+-----------...--...
FAILED tests/test_prettytable.py::TestFields::test_fields - AssertionError: assert '+-----------...------------+' == '+-----------...--...
FAILED tests/test_sorting.py::TestSorting::test_sort_key - AssertionError: assert '+-----------...------------+' == '+-----------...--...
FAILED tests/test_sorting.py::TestSorting::test_sort_key_at_class_declaration - AssertionError: assert '+-----------...------------+' == '+-----------...--...
FAILED tests/test_sorting.py::TestSorting::test_sortby_at_class_declaration - AssertionError: assert '+-----------...------------+' == '+-----------...--...
FAILED tests/test_style.py::TestPositionalJunctions::test_default - AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...══...
FAILED tests/test_style.py::TestPositionalJunctions::test_no_header - AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...══...
FAILED tests/test_style.py::TestPositionalJunctions::test_with_title - AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...══...
FAILED tests/test_style.py::TestPositionalJunctions::test_with_title_no_header - AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...══...
FAILED tests/test_style.py::TestPositionalJunctions::test_hrule_all - AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...══...
FAILED tests/test_style.py::TestPositionalJunctions::test_vrules_none - AssertionError: assert '════════════...═════════════' == '════════════...══...
FAILED tests/test_style.py::TestPositionalJunctions::test_vrules_frame_with_title - AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...══...
FAILED tests/test_style.py::TestMultiPattern::test_multi_pattern_outputs[city_data-\n+-----------+------+------------+-----------------+\n| City name | Area | Population | Annual Rainfall |\n+-----------+------+------------+-----------------+\n| Adelaide | 1295 | 1158259 | 600.5 |\n| Brisbane | 5905 | 1857594 | 1146.4 |\n| Darwin | 112 | 120900 | 1714.7 |\n| Hobart | 1357 | 205556 | 619.5 |\n| Sydney | 2058 | 4336374 | 1214.8 |\n| Melbourne | 1566 | 3806092 | 646.9 |\n| Perth | 5386 | 1554769 | 869.4 |\n+-----------+------+------------+-----------------+\n-English Table] - AssertionError: Error output for test output of type English Table
======================== 21 failed, 246 passed in 2.48s ========================
error: Cannot build '/nix/store/s5aabc3n0k02miw1ddq0whjp6fixgb9k-python3.12-prettytable-3.16.0-x86_64-unknown-linux-gnufilc0.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/a86k3cfd6fncj144c49bzvcdd15s3r2y-python3.12-prettytable-3.16.0-x86_64-unknown-linux-gnufilc0-dist
/nix/store/fr6156q1bi9aqsk4d0raxngjysrhyxzz-python3.12-prettytable-3.16.0-x86_64-unknown-linux-gnufilc0
Last 25 log lines:
>
> tests/test_style.py:534: AssertionError
> =========================== short test summary info ============================
> FAILED tests/test_prettytable.py::TestDelete::test_delete_column - AssertionError: assert '+-----------...------------+' == '+-----------...--...
> FAILED tests/test_prettytable.py::TestDelete::test_delete_row - AssertionError: assert '+-----------...------------+' == '+-----------...--...
> FAILED tests/test_prettytable.py::TestFieldNameLessTable::test_can_string_ascii - AssertionError: assert '| Field 1 | Field 2 | Field 3 | Field 4 |' in '+-...
> FAILED tests/test_prettytable.py::TestFieldNameLessTable::test_add_field_names_later - AssertionError: assert 'City name | Area | Population | Annual Rainfall' in...
> FAILED tests/test_prettytable.py::TestBasic::test_getitem - AssertionError: assert '+-----------...------------+' == '+-----------...--...
> FAILED tests/test_prettytable.py::TestRowFilter::test_row_filter - AssertionError: assert '+-----------...------------+' == '+-----------...--...
> FAILED tests/test_prettytable.py::TestRowFilter::test_row_filter_at_class_declaration - AssertionError: assert '+-----------...------------+' == '+-----------...--...
> FAILED tests/test_prettytable.py::test_paginate - AssertionError: assert False
> FAILED tests/test_prettytable.py::TestFields::test_fields_at_class_declaration - AssertionError: assert '+-----------...------------+' == '+-----------...--...
> FAILED tests/test_prettytable.py::TestFields::test_fields - AssertionError: assert '+-----------...------------+' == '+-----------...--...
> FAILED tests/test_sorting.py::TestSorting::test_sort_key - AssertionError: assert '+-----------...------------+' == '+-----------...--...
> FAILED tests/test_sorting.py::TestSorting::test_sort_key_at_class_declaration - AssertionError: assert '+-----------...------------+' == '+-----------...--...
> FAILED tests/test_sorting.py::TestSorting::test_sortby_at_class_declaration - AssertionError: assert '+-----------...------------+' == '+-----------...--...
> FAILED tests/test_style.py::TestPositionalJunctions::test_default - AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...══...
> FAILED tests/test_style.py::TestPositionalJunctions::test_no_header - AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...══...
> FAILED tests/test_style.py::TestPositionalJunctions::test_with_title - AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...══...
> FAILED tests/test_style.py::TestPositionalJunctions::test_with_title_no_header - AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...══...
> FAILED tests/test_style.py::TestPositionalJunctions::test_hrule_all - AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...══...
> FAILED tests/test_style.py::TestPositionalJunctions::test_vrules_none - AssertionError: assert '════════════...═════════════' == '════════════...══...
> FAILED tests/test_style.py::TestPositionalJunctions::test_vrules_frame_with_title - AssertionError: assert '╔═══════════...════════════╝' == '╔═══════════...══...
> FAILED tests/test_style.py::TestMultiPattern::test_multi_pattern_outputs[city_data-\n+-----------+------+------------+-----------------+\n| City name | Area | Population | Annual Rainfall |\n+-----------+------+------------+-----------------+\n| Adelaide | 1295 | 1158259 | 600.5 |\n| Brisbane | 5905 | 1857594 | 1146.4 |\n| Darwin | 112 | 120900 | 1714.7 |\n| Hobart | 1357 | 205556 | 619.5 |\n| Sydney | 2058 | 4336374 | 1214.8 |\n| Melbourne | 1566 | 3806092 | 646.9 |\n| Perth | 5386 | 1554769 | 869.4 |\n+-----------+------+------------+-----------------+\n-English Table] - AssertionError: Error output for test output of type English Table
> ======================== 21 failed, 246 passed in 2.48s ========================
For full logs, run:
nix log /nix/store/s5aabc3n0k02miw1ddq0whjp6fixgb9k-python3.12-prettytable-3.16.0-x86_64-unknown-linux-gnufilc0.drvpython3.12-hy-1.1.0
tests/test_bin.py .................................................. [ 90%]
tests/test_completer.py .. [ 90%]
tests/test_hy2py.py .. [ 90%]
tests/test_models.py ................ [ 93%]
tests/test_positions.py .. [ 93%]
tests/test_reader.py ....................................... [100%]
=================================== FAILURES ===================================
_______________________ test_hy_repr_roundtrip_from_str ________________________
(defn test-hy-repr-roundtrip-from-str []
; Test that a variety of objects round-trip from strings.
(import
collections [deque ChainMap OrderedDict]
fractions [Fraction]
re)
(for [original-str (lfor
x (with [o (open "tests/resources/hy_repr_str_tests.txt")]
(list o))
:setv x (.rstrip x)
:if (and x (not (.startswith x ";")))
x (if (in (get x 0) "':")
[x]
[x (+ "'" x)])
x)]
(setv rep (hy.repr (hy.eval (hy.read original-str))))
> (assert (= rep original-str))))
E AssertionError
tests/native_tests/hy_repr.hy:22: AssertionError
=========================== short test summary info ============================
FAILED tests/native_tests/hy_repr.hy::test_hy_repr_roundtrip_from_str - AssertionError
=================== 1 failed, 611 passed in 80.35s (0:01:20) ===================
hstr-3.1
error: Cannot build '/nix/store/3dhg2b20nbvi7mhb3nv06dnxfs7px8cr-hstr-x86_64-unknown-linux-gnufilc0-3.1.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/6pq91p27f4ffqyzr7fzgcfa7wdbkmrqc-hstr-x86_64-unknown-linux-gnufilc0-3.1
Last 25 log lines:
> checking whether build environment is sane... yes
> checking for x86_64-unknown-linux-gnufilc0-strip... strip
> checking for a race-free mkdir -p... /nix/store/rry6qingvsrqmc7ll7jgaqpybcbdgf5v-coreutils-9.7/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking for x86_64-unknown-linux-gnufilc0-gcc... clang
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... yes
> checking for suffix of object files... o
> checking whether the compiler supports GNU C... yes
> checking whether clang accepts -g... yes
> checking for clang option to enable C11 features... none needed
> checking whether clang understands -c and -o together... yes
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of clang... none
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnufilc0
> checking for pkg-config... no
> configure: ===================================================================================
> configure: IMPORTANT: Make sure you have pkg-config installed - it's needed to run this script
> configure: ===================================================================================
> configure: error: Please install required program 'pkg-config' and run build/tarball/tarball-automake.sh again.
For full logs, run:
nix log /nix/store/3dhg2b20nbvi7mhb3nv06dnxfs7px8cr-hstr-x86_64-unknown-linux-gnufilc0-3.1.drvhstsparser-1.2.0
error: Cannot build '/nix/store/bhw3gyxknyqk2c4g9sb6zlg8a17xxm0s-hstsparser-1.2.0-x86_64-unknown-linux-gnufilc0.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/1dpmdmz22n5697xmcaycvzdp9r3m8lzc-hstsparser-1.2.0-x86_64-unknown-linux-gnufilc0-dist
/nix/store/b3xdmlkyzr02zm61cjmyivqw37si742i-hstsparser-1.2.0-x86_64-unknown-linux-gnufilc0ht-2.1.0
error: Cannot build '/nix/store/jbilh57qga3k9izqm28jlci8bprkdhmn-ht-x86_64-unknown-linux-gnufilc0-2.1.0.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/m9qan58wfckgiqd90gjb5cszcx10myyy-ht-x86_64-unknown-linux-gnufilc0-2.1.0
Last 25 log lines:
> 34 | #define ht_copyright2 "(c) 1999-2014 "ht_author2" <"ht_mail2">"
> | ^
> |
> ../htinfo.h:34:53: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
> 34 | #define ht_copyright2 "(c) 1999-2014 "ht_author2" <"ht_mail2">"
> | ^
> |
> out_html.cc:217:50: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
> 217 | swrite(stream, "</i><br>generated by <a href=\""ht_url"\">"ht_name" version "ht_version"</a>.\n<hr>\n<pre>\n");
> | ^
> |
> out_html.cc:217:61: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
> 217 | swrite(stream, "</i><br>generated by <a href=\""ht_url"\">"ht_name" version "ht_version"</a>.\n<hr>\n<pre>\n");
> | ^
> |
> out_html.cc:217:79: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
> 217 | swrite(stream, "</i><br>generated by <a href=\""ht_url"\">"ht_name" version "ht_version"</a>.\n<hr>\n<pre>\n");
> | ^
> |
> 6 errors generated.
> make[2]: *** [Makefile:358: out_html.o] Error 1
> make[2]: Leaving directory '/build/ht-2.1.0/output'
> make[1]: *** [Makefile:723: all-recursive] Error 1
> make[1]: Leaving directory '/build/ht-2.1.0'
> make: *** [Makefile:457: all] Error 2
For full logs, run:
nix log /nix/store/jbilh57qga3k9izqm28jlci8bprkdhmn-ht-x86_64-unknown-linux-gnufilc0-2.1.0.drvhttpfs2-0.1.5
error: Cannot build '/nix/store/wc112cyc5bcrzvrj6gxidnz4jmrqx2hg-httpfs2-x86_64-unknown-linux-gnufilc0-0.1.5.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/qc41m2ghfrzhw58nfy6ilzg3zm1lq5xf-httpfs2-x86_64-unknown-linux-gnufilc0-0.1.5
Last 25 log lines:
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> clang -Wall -Wno-unused-function -Wconversion -Wtype-limits -DUSE_AUTH -D_XOPEN_SOURCE=700 -D_ISOC99_SOURCE -g -Os -Wall httpfs2.c -o httpfs2
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: dpkg-parsechangelog: command not found
> httpfs2.c:28:10: fatal error: 'fuse_lowlevel.h' file not found
> 28 | #include <fuse_lowlevel.h>
> | ^~~~~~~~~~~~~~~~~
> 1 error generated.
> make[1]: *** [Makefile:34: httpfs2] Error 1
> make[1]: Leaving directory '/build/httpfs2-0.1.5'
> make: *** [Makefile:29: full] Error 2
For full logs, run:
nix log /nix/store/wc112cyc5bcrzvrj6gxidnz4jmrqx2hg-httpfs2-x86_64-unknown-linux-gnufilc0-0.1.5.drvhubicfuse-3.0.1
error: Cannot build '/nix/store/awv4hym0kjr4w8rzz8l7jrp7bnqym5p7-hubicfuse-x86_64-unknown-linux-gnufilc0-3.0.1.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/76rrkq55c77f5bixs4v3bwxisp6i4nws-hubicfuse-x86_64-unknown-linux-gnufilc0-3.0.1
Last 25 log lines:
> 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
> | ^
> commonfs.c:171:3: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations]
> 171 | MD5_Final(c, &mdContext);
> | ^
> /nix/store/pwphxbw1f2kfibaz6m7bfzsdzvy0395g-openssl-x86_64-unknown-linux-gnufilc0-3.5.7-dev/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here
> 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
> | ^
> /nix/store/pwphxbw1f2kfibaz6m7bfzsdzvy0395g-openssl-x86_64-unknown-linux-gnufilc0-3.5.7-dev/include/openssl/macros.h:217:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
> 217 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
> | ^
> /nix/store/pwphxbw1f2kfibaz6m7bfzsdzvy0395g-openssl-x86_64-unknown-linux-gnufilc0-3.5.7-dev/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
> 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
> | ^
> commonfs.c:378:31: error: call to undeclared function 'rpl_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 378 | dir_entry* de = (dir_entry*)malloc(sizeof(dir_entry));
> | ^
> ./config.h:159:16: note: expanded from macro 'malloc'
> 159 | #define malloc rpl_malloc
> | ^
> commonfs.c:378:19: warning: cast to 'dir_entry *' (aka 'struct dir_entry *') from smaller integer type 'int' [-Wint-to-pointer-cast]
> 378 | dir_entry* de = (dir_entry*)malloc(sizeof(dir_entry));
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 9 warnings and 4 errors generated.
> make: *** [Makefile:30: hubicfuse] Error 1
For full logs, run:
nix log /nix/store/awv4hym0kjr4w8rzz8l7jrp7bnqym5p7-hubicfuse-x86_64-unknown-linux-gnufilc0-3.0.1.drvhugs98-2006-09
error: Cannot build '/nix/store/59f626p0g7v1v52dlj4nmwrl6fw672f4-hugs98-x86_64-unknown-linux-gnufilc0-2006-09.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/sbi1jmnk7n2g1d87954v5kk8afzfj0zm-hugs98-x86_64-unknown-linux-gnufilc0-2006-09
Last 25 log lines:
> Trace/breakpoint trap
> echo timestamp for bootlib >bootlib/.stamp
> cd ../cpphs; HUGSFLAGS=-P../libraries/bootlib HUGSDIR=../hugsdir ../src/runhugs -98 ../packages/Cabal/examples/hapax.hs configure --verbose --hugs --prefix='/nix/store/sbi1jmnk7n2g1d87954v5kk8afzfj0zm-hugs98-x86_64-unknown-linux-gnufilc0-2006-09' --scratchdir='../hugsdir/packages/cpphs' --with-compiler=../src/ffihugs
> filc safety error: cannot read pointer with ptr < lower.
> pointer: 0x5555564a00b0,0x5555564b48c0,0x5555564bacc0,global
> expected 4 bytes.
> semantic origin:
> (runhugs) module.c:385:22: resolveImportList
> check scheduled at:
> (runhugs) module.c:385:22: resolveImportList
> (runhugs) module.c:622:12: checkImportList
> (runhugs) static.c:7040:5: checkDefns
> (runhugs) script.c:202:5: addScript (inlined)
> (runhugs) script.c:360:6: readScripts
> (runhugs) evaluator.c:218:5: loadPrelude
> (runhugs) server.c:224:7: initHugsServer
> (runhugs) runhugs.c:47:12: loadHugs
> (runhugs) runhugs.c:109:5: main
> (libc.so.6666) ../sysdeps/nptl/libc_start_call_main.h:58:16: __libc_start_call_main
> (libc.so.6666) ../csu/libc-start.c:161:3: __libc_start_main
> (libpizlo.so) <runtime>: start_program
> [19456] filc panic: thwarted a futile attempt to violate memory safety.
> make[1]: *** [Makefile:117: ../hugsdir/programs/cpphs/Main.hs] Trace/breakpoint trap
> make[1]: Leaving directory '/build/hugs98-Sep2006/libraries'
> make: *** [Makefile:48: all] Error 2
For full logs, run:
nix log /nix/store/59f626p0g7v1v52dlj4nmwrl6fw672f4-hugs98-x86_64-unknown-linux-gnufilc0-2006-09.drvpython3.12-hy-1.1.0
error: Cannot build '/nix/store/lfj0jpmq3p5fkf08d9ihv5x43vlabdqs-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/72b13qgqlzxvx2lmkkzfcvhh7yc1ln5c-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0
/nix/store/pivny0vx0m27ym1xb01pzmrf07rcqpza-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0-dist
Last 25 log lines:
> (defn test-hy-repr-roundtrip-from-str []
> ; Test that a variety of objects round-trip from strings.
> (import
> collections [deque ChainMap OrderedDict]
> fractions [Fraction]
> re)
>
> (for [original-str (lfor
> x (with [o (open "tests/resources/hy_repr_str_tests.txt")]
> (list o))
> :setv x (.rstrip x)
> :if (and x (not (.startswith x ";")))
> x (if (in (get x 0) "':")
> [x]
> [x (+ "'" x)])
> x)]
>
> (setv rep (hy.repr (hy.eval (hy.read original-str))))
> > (assert (= rep original-str))))
> E AssertionError
>
> tests/native_tests/hy_repr.hy:22: AssertionError
> =========================== short test summary info ============================
> FAILED tests/native_tests/hy_repr.hy::test_hy_repr_roundtrip_from_str - AssertionError
> =================== 1 failed, 611 passed in 80.35s (0:01:20) ===================
For full logs, run:
nix log /nix/store/lfj0jpmq3p5fkf08d9ihv5x43vlabdqs-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0.drvhyprwayland-scanner-0.4.4
error: Cannot build '/nix/store/hlg5lrnph72d8bmlb3ml839wy39mgxj1-hyprwayland-scanner-x86_64-unknown-linux-gnufilc0-0.4.4.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/13vllwd5d7r2gqxc57krnxk7hbzpc87s-hyprwayland-scanner-x86_64-unknown-linux-gnufilc0-0.4.4
Last 25 log lines:
> -- Found Threads: TRUE
> -- Found PkgConfig: /nix/store/f4iq3fjva198s44x56dwm0vpgymb67xg-x86_64-unknown-linux-gnufilc0-pkg-config-wrapper-0.29.2/bin/x86_64-unknown-linux-gnufilc0-pkg-config (found version "0.29.2")
> -- Checking for module 'pugixml'
> -- Found pugixml, version 1.15
> -- Configuring done (0.5s)
> -- Generating done (0.0s)
> CMake Warning:
> Manually-specified variables were not used by the project:
>
> CMAKE_EXPORT_NO_PACKAGE_REGISTRY
> CMAKE_POLICY_DEFAULT_CMP0025
>
>
> -- Build files have been written to: /build/source/build
> cmake: enabled parallel building
> cmake: enabled parallel installing
> Running phase: buildPhase
> build flags: -j6 SHELL=/nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash
> [ 50%] Building CXX object CMakeFiles/hyprwayland-scanner.dir/src/main.cpp.o
> [100%] Linking CXX executable hyprwayland-scanner
> /nix/store/j8ras7i1kd8331j9v8zm2j3zwjjh47b1-pugixml-x86_64-unknown-linux-gnufilc0-1.15/lib/libpugixml.a(pugixml.cpp.o):function pizlonatedFI4792_fmod:(.text+0x138f16): error: undefined reference to 'pizlonated_fmod'
> clang-20: error: linker command failed with exit code 1 (use -v to see invocation)
> make[2]: *** [CMakeFiles/hyprwayland-scanner.dir/build.make:101: hyprwayland-scanner] Error 1
> make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/hyprwayland-scanner.dir/all] Error 2
> make: *** [Makefile:136: all] Error 2
For full logs, run:
nix log /nix/store/hlg5lrnph72d8bmlb3ml839wy39mgxj1-hyprwayland-scanner-x86_64-unknown-linux-gnufilc0-0.4.4.drvhstr-3.1
error: build of '/nix/store/3dhg2b20nbvi7mhb3nv06dnxfs7px8cr-hstr-x86_64-unknown-linux-gnufilc0-3.1.drv^*', '/nix/store/59f626p0g7v1v52dlj4nmwrl6fw672f4-hugs98-x86_64-unknown-linux-gnufilc0-2006-09.drv^*', '/nix/store/awv4hym0kjr4w8rzz8l7jrp7bnqym5p7-hubicfuse-x86_64-unknown-linux-gnufilc0-3.0.1.drv^*', '/nix/store/bhw3gyxknyqk2c4g9sb6zlg8a17xxm0s-hstsparser-1.2.0-x86_64-unknown-linux-gnufilc0.drv^*', '/nix/store/hlg5lrnph72d8bmlb3ml839wy39mgxj1-hyprwayland-scanner-x86_64-unknown-linux-gnufilc0-0.4.4.drv^*', '/nix/store/jbilh57qga3k9izqm28jlci8bprkdhmn-ht-x86_64-unknown-linux-gnufilc0-2.1.0.drv^*', '/nix/store/lfj0jpmq3p5fkf08d9ihv5x43vlabdqs-python3.12-hy-1.1.0-x86_64-unknown-linux-gnufilc0.drv^*', '/nix/store/wc112cyc5bcrzvrj6gxidnz4jmrqx2hg-httpfs2-x86_64-unknown-linux-gnufilc0-0.1.5.drv^*' failed
End of log