Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created April 12, 2021 15:59
Show Gist options
  • Save r-rmcgibbo/3ede41c89ea2dc9e0b571d72752e75e2 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/3ede41c89ea2dc9e0b571d72752e75e2 to your computer and use it in GitHub Desktop.
system: aarch64-linux | build_time: 9 seconds | https://github.com/NixOS/nixpkgs/pull/119232
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing setuptools-check-hook
Using setuptoolsCheckPhase
Sourcing pytest-check-hook
Using pytestCheckPhase
Removing setuptoolsCheckPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/0bv2n0pg1gz28pk65d35h6rrxfmcf9xb-pecan-1.4.0.tar.gz
source root is pecan-1.4.0
setting SOURCE_DATE_EPOCH to timestamp 1596126576 of file pecan-1.4.0/setup.cfg
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/pecan
copying pecan/routing.py -> build/lib/pecan
copying pecan/secure.py -> build/lib/pecan
copying pecan/deploy.py -> build/lib/pecan
copying pecan/decorators.py -> build/lib/pecan
copying pecan/hooks.py -> build/lib/pecan
copying pecan/templating.py -> build/lib/pecan
copying pecan/extensions.py -> build/lib/pecan
copying pecan/jsonify.py -> build/lib/pecan
copying pecan/__init__.py -> build/lib/pecan
copying pecan/testing.py -> build/lib/pecan
copying pecan/log.py -> build/lib/pecan
copying pecan/rest.py -> build/lib/pecan
copying pecan/configuration.py -> build/lib/pecan
copying pecan/core.py -> build/lib/pecan
copying pecan/util.py -> build/lib/pecan
creating build/lib/pecan/commands
copying pecan/commands/shell.py -> build/lib/pecan/commands
copying pecan/commands/create.py -> build/lib/pecan/commands
copying pecan/commands/__init__.py -> build/lib/pecan/commands
copying pecan/commands/serve.py -> build/lib/pecan/commands
copying pecan/commands/base.py -> build/lib/pecan/commands
creating build/lib/pecan/middleware
copying pecan/middleware/recursive.py -> build/lib/pecan/middleware
copying pecan/middleware/debug.py -> build/lib/pecan/middleware
copying pecan/middleware/__init__.py -> build/lib/pecan/middleware
copying pecan/middleware/errordocument.py -> build/lib/pecan/middleware
copying pecan/middleware/static.py -> build/lib/pecan/middleware
creating build/lib/pecan/scaffolds
copying pecan/scaffolds/__init__.py -> build/lib/pecan/scaffolds
creating build/lib/pecan/compat
copying pecan/compat/__init__.py -> build/lib/pecan/compat
creating build/lib/pecan/ext
copying pecan/ext/__init__.py -> build/lib/pecan/ext
creating build/lib/pecan/tests
copying pecan/tests/test_rest.py -> build/lib/pecan/tests
copying pecan/tests/test_generic.py -> build/lib/pecan/tests
copying pecan/tests/test_jsonify.py -> build/lib/pecan/tests
copying pecan/tests/test_hooks.py -> build/lib/pecan/tests
copying pecan/tests/__init__.py -> build/lib/pecan/tests
copying pecan/tests/test_no_thread_locals.py -> build/lib/pecan/tests
copying pecan/tests/test_secure.py -> build/lib/pecan/tests
copying pecan/tests/test_util.py -> build/lib/pecan/tests
copying pecan/tests/test_base.py -> build/lib/pecan/tests
copying pecan/tests/scaffold_builder.py -> build/lib/pecan/tests
copying pecan/tests/test_scaffolds.py -> build/lib/pecan/tests
copying pecan/tests/test_commands.py -> build/lib/pecan/tests
copying pecan/tests/test_templating.py -> build/lib/pecan/tests
copying pecan/tests/test_conf.py -> build/lib/pecan/tests
creating build/lib/pecan/tests/middleware
copying pecan/tests/middleware/__init__.py -> build/lib/pecan/tests/middleware
copying pecan/tests/middleware/test_static.py -> build/lib/pecan/tests/middleware
copying pecan/tests/middleware/test_recursive.py -> build/lib/pecan/tests/middleware
copying pecan/tests/middleware/test_errordocument.py -> build/lib/pecan/tests/middleware
creating build/lib/pecan/tests/templates
copying pecan/tests/templates/__init__.py -> build/lib/pecan/tests/templates
creating build/lib/pecan/tests/scaffold_fixtures
copying pecan/tests/scaffold_fixtures/__init__.py -> build/lib/pecan/tests/scaffold_fixtures
running egg_info
writing pecan.egg-info/PKG-INFO
writing dependency_links to pecan.egg-info/dependency_links.txt
writing entry points to pecan.egg-info/entry_points.txt
writing requirements to pecan.egg-info/requires.txt
writing top-level names to pecan.egg-info/top_level.txt
reading manifest file 'pecan.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'pecan/middleware/resources/*'
writing manifest file 'pecan.egg-info/SOURCES.txt'
creating build/lib/pecan/scaffolds/base
copying pecan/scaffolds/base/MANIFEST.in -> build/lib/pecan/scaffolds/base
copying pecan/scaffolds/base/config.py_tmpl -> build/lib/pecan/scaffolds/base
copying pecan/scaffolds/base/setup.cfg_tmpl -> build/lib/pecan/scaffolds/base
copying pecan/scaffolds/base/setup.py_tmpl -> build/lib/pecan/scaffolds/base
creating build/lib/pecan/scaffolds/base/+package+
copying pecan/scaffolds/base/+package+/__init__.py -> build/lib/pecan/scaffolds/base/+package+
copying pecan/scaffolds/base/+package+/app.py_tmpl -> build/lib/pecan/scaffolds/base/+package+
creating build/lib/pecan/scaffolds/base/+package+/controllers
copying pecan/scaffolds/base/+package+/controllers/__init__.py -> build/lib/pecan/scaffolds/base/+package+/controllers
copying pecan/scaffolds/base/+package+/controllers/root.py -> build/lib/pecan/scaffolds/base/+package+/controllers
creating build/lib/pecan/scaffolds/base/+package+/model
copying pecan/scaffolds/base/+package+/model/__init__.py -> build/lib/pecan/scaffolds/base/+package+/model
creating build/lib/pecan/scaffolds/base/+package+/templates
copying pecan/scaffolds/base/+package+/templates/error.html -> build/lib/pecan/scaffolds/base/+package+/templates
copying pecan/scaffolds/base/+package+/templates/index.html -> build/lib/pecan/scaffolds/base/+package+/templates
copying pecan/scaffolds/base/+package+/templates/layout.html -> build/lib/pecan/scaffolds/base/+package+/templates
creating build/lib/pecan/scaffolds/base/+package+/tests
copying pecan/scaffolds/base/+package+/tests/__init__.py_tmpl -> build/lib/pecan/scaffolds/base/+package+/tests
copying pecan/scaffolds/base/+package+/tests/config.py_tmpl -> build/lib/pecan/scaffolds/base/+package+/tests
copying pecan/scaffolds/base/+package+/tests/test_functional.py_tmpl -> build/lib/pecan/scaffolds/base/+package+/tests
copying pecan/scaffolds/base/+package+/tests/test_units.py -> build/lib/pecan/scaffolds/base/+package+/tests
creating build/lib/pecan/scaffolds/base/public
creating build/lib/pecan/scaffolds/base/public/css
copying pecan/scaffolds/base/public/css/style.css -> build/lib/pecan/scaffolds/base/public/css
creating build/lib/pecan/scaffolds/base/public/images
copying pecan/scaffolds/base/public/images/logo.png -> build/lib/pecan/scaffolds/base/public/images
creating build/lib/pecan/scaffolds/rest-api
copying pecan/scaffolds/rest-api/config.py_tmpl -> build/lib/pecan/scaffolds/rest-api
copying pecan/scaffolds/rest-api/setup.cfg_tmpl -> build/lib/pecan/scaffolds/rest-api
copying pecan/scaffolds/rest-api/setup.py_tmpl -> build/lib/pecan/scaffolds/rest-api
creating build/lib/pecan/scaffolds/rest-api/+package+
copying pecan/scaffolds/rest-api/+package+/__init__.py -> build/lib/pecan/scaffolds/rest-api/+package+
copying pecan/scaffolds/rest-api/+package+/app.py_tmpl -> build/lib/pecan/scaffolds/rest-api/+package+
copying pecan/scaffolds/rest-api/+package+/errors.py -> build/lib/pecan/scaffolds/rest-api/+package+
creating build/lib/pecan/scaffolds/rest-api/+package+/controllers
copying pecan/scaffolds/rest-api/+package+/controllers/__init__.py -> build/lib/pecan/scaffolds/rest-api/+package+/controllers
copying pecan/scaffolds/rest-api/+package+/controllers/root.py -> build/lib/pecan/scaffolds/rest-api/+package+/controllers
creating build/lib/pecan/scaffolds/rest-api/+package+/model
copying pecan/scaffolds/rest-api/+package+/model/__init__.py -> build/lib/pecan/scaffolds/rest-api/+package+/model
creating build/lib/pecan/scaffolds/rest-api/+package+/tests
copying pecan/scaffolds/rest-api/+package+/tests/__init__.py_tmpl -> build/lib/pecan/scaffolds/rest-api/+package+/tests
copying pecan/scaffolds/rest-api/+package+/tests/config.py_tmpl -> build/lib/pecan/scaffolds/rest-api/+package+/tests
copying pecan/scaffolds/rest-api/+package+/tests/test_functional.py_tmpl -> build/lib/pecan/scaffolds/rest-api/+package+/tests
copying pecan/scaffolds/rest-api/+package+/tests/test_units.py -> build/lib/pecan/scaffolds/rest-api/+package+/tests
creating build/lib/pecan/tests/config_fixtures
copying pecan/tests/config_fixtures/config.py -> build/lib/pecan/tests/config_fixtures
copying pecan/tests/config_fixtures/empty.py -> build/lib/pecan/tests/config_fixtures
copying pecan/tests/config_fixtures/foobar.py -> build/lib/pecan/tests/config_fixtures
copying pecan/tests/config_fixtures/forcedict.py -> build/lib/pecan/tests/config_fixtures
creating build/lib/pecan/tests/config_fixtures/bad
copying pecan/tests/config_fixtures/bad/importerror.py -> build/lib/pecan/tests/config_fixtures/bad
copying pecan/tests/config_fixtures/bad/module_and_underscore.py -> build/lib/pecan/tests/config_fixtures/bad
creating build/lib/pecan/tests/middleware/static_fixtures
copying pecan/tests/middleware/static_fixtures/self.png -> build/lib/pecan/tests/middleware/static_fixtures
copying pecan/tests/middleware/static_fixtures/text.txt -> build/lib/pecan/tests/middleware/static_fixtures
copying pecan/tests/templates/form_colors.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/form_colors_invalid.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/form_colors_valid.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/form_login_invalid.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/form_login_valid.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/form_name.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/form_name_invalid.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/form_name_invalid_custom.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/form_name_valid.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/genshi.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/genshi_bad.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/jinja.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/jinja_bad.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/kajiki.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/mako.html -> build/lib/pecan/tests/templates
copying pecan/tests/templates/mako_bad.html -> build/lib/pecan/tests/templates
creating build/lib/pecan/tests/scaffold_fixtures/content_sub
copying pecan/tests/scaffold_fixtures/content_sub/foo_tmpl -> build/lib/pecan/tests/scaffold_fixtures/content_sub
creating build/lib/pecan/tests/scaffold_fixtures/content_sub/bar
copying pecan/tests/scaffold_fixtures/content_sub/bar/spam.txt_tmpl -> build/lib/pecan/tests/scaffold_fixtures/content_sub/bar
creating build/lib/pecan/tests/scaffold_fixtures/file_sub
copying pecan/tests/scaffold_fixtures/file_sub/foo_+package+ -> build/lib/pecan/tests/scaffold_fixtures/file_sub
creating build/lib/pecan/tests/scaffold_fixtures/file_sub/bar_+package+
copying pecan/tests/scaffold_fixtures/file_sub/bar_+package+/spam.txt -> build/lib/pecan/tests/scaffold_fixtures/file_sub/bar_+package+
creating build/lib/pecan/tests/scaffold_fixtures/simple
copying pecan/tests/scaffold_fixtures/simple/foo -> build/lib/pecan/tests/scaffold_fixtures/simple
creating build/lib/pecan/tests/scaffold_fixtures/simple/bar
copying pecan/tests/scaffold_fixtures/simple/bar/spam.txt -> build/lib/pecan/tests/scaffold_fixtures/simple/bar
running build_scripts
creating build/scripts-3.8
copying and adjusting bin/pecan -> build/scripts-3.8
changing mode of build/scripts-3.8/pecan from 644 to 755
installing to build/bdist.linux-aarch64/wheel
running install
running install_lib
creating build/bdist.linux-aarch64
creating build/bdist.linux-aarch64/wheel
creating build/bdist.linux-aarch64/wheel/pecan
creating build/bdist.linux-aarch64/wheel/pecan/commands
copying build/lib/pecan/commands/shell.py -> build/bdist.linux-aarch64/wheel/pecan/commands
copying build/lib/pecan/commands/create.py -> build/bdist.linux-aarch64/wheel/pecan/commands
copying build/lib/pecan/commands/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/commands
copying build/lib/pecan/commands/serve.py -> build/bdist.linux-aarch64/wheel/pecan/commands
copying build/lib/pecan/commands/base.py -> build/bdist.linux-aarch64/wheel/pecan/commands
copying build/lib/pecan/routing.py -> build/bdist.linux-aarch64/wheel/pecan
copying build/lib/pecan/secure.py -> build/bdist.linux-aarch64/wheel/pecan
creating build/bdist.linux-aarch64/wheel/pecan/middleware
copying build/lib/pecan/middleware/recursive.py -> build/bdist.linux-aarch64/wheel/pecan/middleware
copying build/lib/pecan/middleware/debug.py -> build/bdist.linux-aarch64/wheel/pecan/middleware
copying build/lib/pecan/middleware/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/middleware
copying build/lib/pecan/middleware/errordocument.py -> build/bdist.linux-aarch64/wheel/pecan/middleware
copying build/lib/pecan/middleware/static.py -> build/bdist.linux-aarch64/wheel/pecan/middleware
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api
copying build/lib/pecan/scaffolds/rest-api/setup.py_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api
copying build/lib/pecan/scaffolds/rest-api/config.py_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+
copying build/lib/pecan/scaffolds/rest-api/+package+/errors.py -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+/model
copying build/lib/pecan/scaffolds/rest-api/+package+/model/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+/model
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+/controllers
copying build/lib/pecan/scaffolds/rest-api/+package+/controllers/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+/controllers
copying build/lib/pecan/scaffolds/rest-api/+package+/controllers/root.py -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+/controllers
copying build/lib/pecan/scaffolds/rest-api/+package+/app.py_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+
copying build/lib/pecan/scaffolds/rest-api/+package+/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+/tests
copying build/lib/pecan/scaffolds/rest-api/+package+/tests/test_units.py -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+/tests
copying build/lib/pecan/scaffolds/rest-api/+package+/tests/test_functional.py_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+/tests
copying build/lib/pecan/scaffolds/rest-api/+package+/tests/config.py_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+/tests
copying build/lib/pecan/scaffolds/rest-api/+package+/tests/__init__.py_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api/+package+/tests
copying build/lib/pecan/scaffolds/rest-api/setup.cfg_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/rest-api
copying build/lib/pecan/scaffolds/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/scaffolds
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/base
copying build/lib/pecan/scaffolds/base/MANIFEST.in -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base
copying build/lib/pecan/scaffolds/base/setup.py_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base
copying build/lib/pecan/scaffolds/base/config.py_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/public
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/public/images
copying build/lib/pecan/scaffolds/base/public/images/logo.png -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/public/images
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/public/css
copying build/lib/pecan/scaffolds/base/public/css/style.css -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/public/css
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/model
copying build/lib/pecan/scaffolds/base/+package+/model/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/model
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/controllers
copying build/lib/pecan/scaffolds/base/+package+/controllers/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/controllers
copying build/lib/pecan/scaffolds/base/+package+/controllers/root.py -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/controllers
copying build/lib/pecan/scaffolds/base/+package+/app.py_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+
copying build/lib/pecan/scaffolds/base/+package+/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/templates
copying build/lib/pecan/scaffolds/base/+package+/templates/index.html -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/templates
copying build/lib/pecan/scaffolds/base/+package+/templates/layout.html -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/templates
copying build/lib/pecan/scaffolds/base/+package+/templates/error.html -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/templates
creating build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/tests
copying build/lib/pecan/scaffolds/base/+package+/tests/test_units.py -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/tests
copying build/lib/pecan/scaffolds/base/+package+/tests/test_functional.py_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/tests
copying build/lib/pecan/scaffolds/base/+package+/tests/config.py_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/tests
copying build/lib/pecan/scaffolds/base/+package+/tests/__init__.py_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base/+package+/tests
copying build/lib/pecan/scaffolds/base/setup.cfg_tmpl -> build/bdist.linux-aarch64/wheel/pecan/scaffolds/base
copying build/lib/pecan/deploy.py -> build/bdist.linux-aarch64/wheel/pecan
copying build/lib/pecan/decorators.py -> build/bdist.linux-aarch64/wheel/pecan
copying build/lib/pecan/hooks.py -> build/bdist.linux-aarch64/wheel/pecan
creating build/bdist.linux-aarch64/wheel/pecan/compat
copying build/lib/pecan/compat/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/compat
copying build/lib/pecan/templating.py -> build/bdist.linux-aarch64/wheel/pecan
copying build/lib/pecan/extensions.py -> build/bdist.linux-aarch64/wheel/pecan
copying build/lib/pecan/jsonify.py -> build/bdist.linux-aarch64/wheel/pecan
copying build/lib/pecan/__init__.py -> build/bdist.linux-aarch64/wheel/pecan
copying build/lib/pecan/testing.py -> build/bdist.linux-aarch64/wheel/pecan
copying build/lib/pecan/log.py -> build/bdist.linux-aarch64/wheel/pecan
creating build/bdist.linux-aarch64/wheel/pecan/ext
copying build/lib/pecan/ext/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/ext
copying build/lib/pecan/rest.py -> build/bdist.linux-aarch64/wheel/pecan
copying build/lib/pecan/configuration.py -> build/bdist.linux-aarch64/wheel/pecan
copying build/lib/pecan/core.py -> build/bdist.linux-aarch64/wheel/pecan
creating build/bdist.linux-aarch64/wheel/pecan/tests
creating build/bdist.linux-aarch64/wheel/pecan/tests/middleware
copying build/lib/pecan/tests/middleware/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/tests/middleware
copying build/lib/pecan/tests/middleware/test_static.py -> build/bdist.linux-aarch64/wheel/pecan/tests/middleware
copying build/lib/pecan/tests/middleware/test_recursive.py -> build/bdist.linux-aarch64/wheel/pecan/tests/middleware
creating build/bdist.linux-aarch64/wheel/pecan/tests/middleware/static_fixtures
copying build/lib/pecan/tests/middleware/static_fixtures/text.txt -> build/bdist.linux-aarch64/wheel/pecan/tests/middleware/static_fixtures
copying build/lib/pecan/tests/middleware/static_fixtures/self.png -> build/bdist.linux-aarch64/wheel/pecan/tests/middleware/static_fixtures
copying build/lib/pecan/tests/middleware/test_errordocument.py -> build/bdist.linux-aarch64/wheel/pecan/tests/middleware
copying build/lib/pecan/tests/test_rest.py -> build/bdist.linux-aarch64/wheel/pecan/tests
copying build/lib/pecan/tests/test_generic.py -> build/bdist.linux-aarch64/wheel/pecan/tests
copying build/lib/pecan/tests/test_jsonify.py -> build/bdist.linux-aarch64/wheel/pecan/tests
copying build/lib/pecan/tests/test_hooks.py -> build/bdist.linux-aarch64/wheel/pecan/tests
creating build/bdist.linux-aarch64/wheel/pecan/tests/config_fixtures
copying build/lib/pecan/tests/config_fixtures/forcedict.py -> build/bdist.linux-aarch64/wheel/pecan/tests/config_fixtures
copying build/lib/pecan/tests/config_fixtures/empty.py -> build/bdist.linux-aarch64/wheel/pecan/tests/config_fixtures
creating build/bdist.linux-aarch64/wheel/pecan/tests/config_fixtures/bad
copying build/lib/pecan/tests/config_fixtures/bad/importerror.py -> build/bdist.linux-aarch64/wheel/pecan/tests/config_fixtures/bad
copying build/lib/pecan/tests/config_fixtures/bad/module_and_underscore.py -> build/bdist.linux-aarch64/wheel/pecan/tests/config_fixtures/bad
copying build/lib/pecan/tests/config_fixtures/foobar.py -> build/bdist.linux-aarch64/wheel/pecan/tests/config_fixtures
copying build/lib/pecan/tests/config_fixtures/config.py -> build/bdist.linux-aarch64/wheel/pecan/tests/config_fixtures
copying build/lib/pecan/tests/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/tests
copying build/lib/pecan/tests/test_no_thread_locals.py -> build/bdist.linux-aarch64/wheel/pecan/tests
copying build/lib/pecan/tests/test_secure.py -> build/bdist.linux-aarch64/wheel/pecan/tests
copying build/lib/pecan/tests/test_util.py -> build/bdist.linux-aarch64/wheel/pecan/tests
copying build/lib/pecan/tests/test_base.py -> build/bdist.linux-aarch64/wheel/pecan/tests
creating build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/mako.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/form_login_invalid.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/form_login_valid.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/form_name_invalid_custom.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/kajiki.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/genshi.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/genshi_bad.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/form_colors.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/form_name.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/form_colors_valid.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/mako_bad.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/jinja_bad.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/form_name_invalid.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/form_colors_invalid.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/jinja.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/templates/form_name_valid.html -> build/bdist.linux-aarch64/wheel/pecan/tests/templates
copying build/lib/pecan/tests/scaffold_builder.py -> build/bdist.linux-aarch64/wheel/pecan/tests
copying build/lib/pecan/tests/test_scaffolds.py -> build/bdist.linux-aarch64/wheel/pecan/tests
creating build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures
creating build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures/simple
copying build/lib/pecan/tests/scaffold_fixtures/simple/foo -> build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures/simple
creating build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures/simple/bar
copying build/lib/pecan/tests/scaffold_fixtures/simple/bar/spam.txt -> build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures/simple/bar
copying build/lib/pecan/tests/scaffold_fixtures/__init__.py -> build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures
creating build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures/content_sub
creating build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures/content_sub/bar
copying build/lib/pecan/tests/scaffold_fixtures/content_sub/bar/spam.txt_tmpl -> build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures/content_sub/bar
copying build/lib/pecan/tests/scaffold_fixtures/content_sub/foo_tmpl -> build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures/content_sub
creating build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures/file_sub
creating build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures/file_sub/bar_+package+
copying build/lib/pecan/tests/scaffold_fixtures/file_sub/bar_+package+/spam.txt -> build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures/file_sub/bar_+package+
copying build/lib/pecan/tests/scaffold_fixtures/file_sub/foo_+package+ -> build/bdist.linux-aarch64/wheel/pecan/tests/scaffold_fixtures/file_sub
copying build/lib/pecan/tests/test_commands.py -> build/bdist.linux-aarch64/wheel/pecan/tests
copying build/lib/pecan/tests/test_templating.py -> build/bdist.linux-aarch64/wheel/pecan/tests
copying build/lib/pecan/tests/test_conf.py -> build/bdist.linux-aarch64/wheel/pecan/tests
copying build/lib/pecan/util.py -> build/bdist.linux-aarch64/wheel/pecan
running install_egg_info
Copying pecan.egg-info to build/bdist.linux-aarch64/wheel/pecan-1.4.0-py3.8.egg-info
running install_scripts
creating build/bdist.linux-aarch64/wheel/pecan-1.4.0.data
creating build/bdist.linux-aarch64/wheel/pecan-1.4.0.data/scripts
copying build/scripts-3.8/pecan -> build/bdist.linux-aarch64/wheel/pecan-1.4.0.data/scripts
changing mode of build/bdist.linux-aarch64/wheel/pecan-1.4.0.data/scripts/pecan to 755
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-aarch64/wheel/pecan-1.4.0.dist-info/WHEEL
creating 'dist/pecan-1.4.0-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it
adding 'pecan/__init__.py'
adding 'pecan/configuration.py'
adding 'pecan/core.py'
adding 'pecan/decorators.py'
adding 'pecan/deploy.py'
adding 'pecan/extensions.py'
adding 'pecan/hooks.py'
adding 'pecan/jsonify.py'
adding 'pecan/log.py'
adding 'pecan/rest.py'
adding 'pecan/routing.py'
adding 'pecan/secure.py'
adding 'pecan/templating.py'
adding 'pecan/testing.py'
adding 'pecan/util.py'
adding 'pecan/commands/__init__.py'
adding 'pecan/commands/base.py'
adding 'pecan/commands/create.py'
adding 'pecan/commands/serve.py'
adding 'pecan/commands/shell.py'
adding 'pecan/compat/__init__.py'
adding 'pecan/ext/__init__.py'
adding 'pecan/middleware/__init__.py'
adding 'pecan/middleware/debug.py'
adding 'pecan/middleware/errordocument.py'
adding 'pecan/middleware/recursive.py'
adding 'pecan/middleware/static.py'
adding 'pecan/scaffolds/__init__.py'
adding 'pecan/scaffolds/base/MANIFEST.in'
adding 'pecan/scaffolds/base/config.py_tmpl'
adding 'pecan/scaffolds/base/setup.cfg_tmpl'
adding 'pecan/scaffolds/base/setup.py_tmpl'
adding 'pecan/scaffolds/base/+package+/__init__.py'
adding 'pecan/scaffolds/base/+package+/app.py_tmpl'
adding 'pecan/scaffolds/base/+package+/controllers/__init__.py'
adding 'pecan/scaffolds/base/+package+/controllers/root.py'
adding 'pecan/scaffolds/base/+package+/model/__init__.py'
adding 'pecan/scaffolds/base/+package+/templates/error.html'
adding 'pecan/scaffolds/base/+package+/templates/index.html'
adding 'pecan/scaffolds/base/+package+/templates/layout.html'
adding 'pecan/scaffolds/base/+package+/tests/__init__.py_tmpl'
adding 'pecan/scaffolds/base/+package+/tests/config.py_tmpl'
adding 'pecan/scaffolds/base/+package+/tests/test_functional.py_tmpl'
adding 'pecan/scaffolds/base/+package+/tests/test_units.py'
adding 'pecan/scaffolds/base/public/css/style.css'
adding 'pecan/scaffolds/base/public/images/logo.png'
adding 'pecan/scaffolds/rest-api/config.py_tmpl'
adding 'pecan/scaffolds/rest-api/setup.cfg_tmpl'
adding 'pecan/scaffolds/rest-api/setup.py_tmpl'
adding 'pecan/scaffolds/rest-api/+package+/__init__.py'
adding 'pecan/scaffolds/rest-api/+package+/app.py_tmpl'
adding 'pecan/scaffolds/rest-api/+package+/errors.py'
adding 'pecan/scaffolds/rest-api/+package+/controllers/__init__.py'
adding 'pecan/scaffolds/rest-api/+package+/controllers/root.py'
adding 'pecan/scaffolds/rest-api/+package+/model/__init__.py'
adding 'pecan/scaffolds/rest-api/+package+/tests/__init__.py_tmpl'
adding 'pecan/scaffolds/rest-api/+package+/tests/config.py_tmpl'
adding 'pecan/scaffolds/rest-api/+package+/tests/test_functional.py_tmpl'
adding 'pecan/scaffolds/rest-api/+package+/tests/test_units.py'
adding 'pecan/tests/__init__.py'
adding 'pecan/tests/scaffold_builder.py'
adding 'pecan/tests/test_base.py'
adding 'pecan/tests/test_commands.py'
adding 'pecan/tests/test_conf.py'
adding 'pecan/tests/test_generic.py'
adding 'pecan/tests/test_hooks.py'
adding 'pecan/tests/test_jsonify.py'
adding 'pecan/tests/test_no_thread_locals.py'
adding 'pecan/tests/test_rest.py'
adding 'pecan/tests/test_scaffolds.py'
adding 'pecan/tests/test_secure.py'
adding 'pecan/tests/test_templating.py'
adding 'pecan/tests/test_util.py'
adding 'pecan/tests/config_fixtures/config.py'
adding 'pecan/tests/config_fixtures/empty.py'
adding 'pecan/tests/config_fixtures/foobar.py'
adding 'pecan/tests/config_fixtures/forcedict.py'
adding 'pecan/tests/config_fixtures/bad/importerror.py'
adding 'pecan/tests/config_fixtures/bad/module_and_underscore.py'
adding 'pecan/tests/middleware/__init__.py'
adding 'pecan/tests/middleware/test_errordocument.py'
adding 'pecan/tests/middleware/test_recursive.py'
adding 'pecan/tests/middleware/test_static.py'
adding 'pecan/tests/middleware/static_fixtures/self.png'
adding 'pecan/tests/middleware/static_fixtures/text.txt'
adding 'pecan/tests/scaffold_fixtures/__init__.py'
adding 'pecan/tests/scaffold_fixtures/content_sub/foo_tmpl'
adding 'pecan/tests/scaffold_fixtures/content_sub/bar/spam.txt_tmpl'
adding 'pecan/tests/scaffold_fixtures/file_sub/foo_+package+'
adding 'pecan/tests/scaffold_fixtures/file_sub/bar_+package+/spam.txt'
adding 'pecan/tests/scaffold_fixtures/simple/foo'
adding 'pecan/tests/scaffold_fixtures/simple/bar/spam.txt'
adding 'pecan/tests/templates/__init__.py'
adding 'pecan/tests/templates/form_colors.html'
adding 'pecan/tests/templates/form_colors_invalid.html'
adding 'pecan/tests/templates/form_colors_valid.html'
adding 'pecan/tests/templates/form_login_invalid.html'
adding 'pecan/tests/templates/form_login_valid.html'
adding 'pecan/tests/templates/form_name.html'
adding 'pecan/tests/templates/form_name_invalid.html'
adding 'pecan/tests/templates/form_name_invalid_custom.html'
adding 'pecan/tests/templates/form_name_valid.html'
adding 'pecan/tests/templates/genshi.html'
adding 'pecan/tests/templates/genshi_bad.html'
adding 'pecan/tests/templates/jinja.html'
adding 'pecan/tests/templates/jinja_bad.html'
adding 'pecan/tests/templates/kajiki.html'
adding 'pecan/tests/templates/mako.html'
adding 'pecan/tests/templates/mako_bad.html'
adding 'pecan-1.4.0.data/scripts/pecan'
adding 'pecan-1.4.0.dist-info/LICENSE'
adding 'pecan-1.4.0.dist-info/METADATA'
adding 'pecan-1.4.0.dist-info/WHEEL'
adding 'pecan-1.4.0.dist-info/entry_points.txt'
adding 'pecan-1.4.0.dist-info/top_level.txt'
adding 'pecan-1.4.0.dist-info/RECORD'
removing build/bdist.linux-aarch64/wheel
Finished executing setuptoolsBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pipInstallPhase
/build/pecan-1.4.0/dist /build/pecan-1.4.0
Processing ./pecan-1.4.0-py3-none-any.whl
Requirement already satisfied: WebTest>=1.3.1 in /nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages (from pecan==1.4.0) (2.0.32)
Requirement already satisfied: logutils>=0.3 in /nix/store/4bdrnj8qn3kd672d1zv9dz0hmgaydx1s-python3.8-logutils-0.3.5/lib/python3.8/site-packages (from pecan==1.4.0) (0.3.5)
Requirement already satisfied: WebOb>=1.8 in /nix/store/ad0brlpm20a4x9ljkzxsnp6qpq3hncqv-python3.8-WebOb-1.8.7/lib/python3.8/site-packages (from pecan==1.4.0) (1.8.7)
Requirement already satisfied: Mako>=0.4.0 in /nix/store/v4h9zy4cxn7v4zafzk9hv4lir0478jmj-python3.8-Mako-1.1.4/lib/python3.8/site-packages (from pecan==1.4.0) (1.1.4)
Requirement already satisfied: six in /nix/store/wdik30z5143a3r5rpcbm0cmgrjqm9k99-python3.8-six-1.15.0/lib/python3.8/site-packages (from pecan==1.4.0) (1.15.0)
Requirement already satisfied: MarkupSafe>=0.9.2 in /nix/store/4dzi2fq6lri2k4ak5h33xml6jd66xwr9-python3.8-MarkupSafe-1.1.1/lib/python3.8/site-packages (from Mako>=0.4.0->pecan==1.4.0) (1.1.1)
Requirement already satisfied: waitress>=0.8.5 in /nix/store/7a0riawygdc67i91nmgv0wd113n7rnjl-python3.8-waitress-1.4.4/lib/python3.8/site-packages (from WebTest>=1.3.1->pecan==1.4.0) (1.4.4)
Requirement already satisfied: beautifulsoup4 in /nix/store/dpcwpgyr1l2z7ajqdayd5845m96mzb6j-python3.8-beautifulsoup4-4.9.3/lib/python3.8/site-packages (from WebTest>=1.3.1->pecan==1.4.0) (4.9.3)
Requirement already satisfied: soupsieve>1.2 in /nix/store/k8l4n82l5hqaq60fj86jdqmqapc9clny-python3.8-soupsieve-2.0.1/lib/python3.8/site-packages (from beautifulsoup4->WebTest>=1.3.1->pecan==1.4.0) (2.0.1)
Installing collected packages: pecan
Successfully installed pecan-1.4.0
/build/pecan-1.4.0
Finished executing pipInstallPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/dcmpsbl5ia63mrq86qcfd8l35mhz77hx-python3.8-pecan-1.4.0
strip is /nix/store/av448v0ddbmphfjd823zglgw0cv1pn19-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/dcmpsbl5ia63mrq86qcfd8l35mhz77hx-python3.8-pecan-1.4.0/lib /nix/store/dcmpsbl5ia63mrq86qcfd8l35mhz77hx-python3.8-pecan-1.4.0/bin
patching script interpreter paths in /nix/store/dcmpsbl5ia63mrq86qcfd8l35mhz77hx-python3.8-pecan-1.4.0
checking for references to /build/ in /nix/store/dcmpsbl5ia63mrq86qcfd8l35mhz77hx-python3.8-pecan-1.4.0...
Rewriting #!/nix/store/ka21njry2lfly5v3yz37b4r303gccfky-python3-3.8.8/bin/python3.8 to #!/nix/store/ka21njry2lfly5v3yz37b4r303gccfky-python3-3.8.8
wrapping `/nix/store/dcmpsbl5ia63mrq86qcfd8l35mhz77hx-python3.8-pecan-1.4.0/bin/pecan'...
Rewriting #!/nix/store/ka21njry2lfly5v3yz37b4r303gccfky-python3-3.8.8/bin/python3.8 to #!/nix/store/ka21njry2lfly5v3yz37b4r303gccfky-python3-3.8.8
wrapping `/nix/store/dcmpsbl5ia63mrq86qcfd8l35mhz77hx-python3.8-pecan-1.4.0/bin/gunicorn_pecan'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
@nix { "action": "setPhase", "phase": "installCheckPhase" }
running install tests
no Makefile or custom installCheckPhase, doing nothing
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
@nix { "action": "setPhase", "phase": "pytestCheckPhase" }
pytestCheckPhase
Executing pytestCheckPhase
============================= test session starts ==============================
platform linux -- Python 3.8.8, pytest-6.2.2, py-1.9.0, pluggy-0.13.1
rootdir: /build/pecan-1.4.0, configfile: setup.cfg
collecting ...
collecting 0 items
collecting 309 items
collecting 457 items
collected 544 items
pecan/tests/test_base.py ............................................... [ 8%]
........................................................................ [ 21%]
........................................................................ [ 35%]
......s.................. [ 39%]
pecan/tests/test_commands.py .... [ 40%]
pecan/tests/test_conf.py .................................. [ 46%]
pecan/tests/test_generic.py .... [ 47%]
pecan/tests/test_hooks.py .............................................. [ 55%]
..... [ 56%]
pecan/tests/test_jsonify.py .......FF. [ 58%]
pecan/tests/test_no_thread_locals.py ................................... [ 65%]
........................................................................ [ 78%]
............................... [ 84%]
pecan/tests/test_rest.py ............................ [ 89%]
pecan/tests/test_scaffolds.py ...... [ 90%]
pecan/tests/test_secure.py ........................ [ 94%]
pecan/tests/test_templating.py ..... [ 95%]
pecan/tests/test_util.py ....... [ 96%]
pecan/tests/middleware/test_errordocument.py ..... [ 97%]
pecan/tests/middleware/test_recursive.py ..... [ 98%]
pecan/tests/middleware/test_static.py ....... [100%]
=================================== FAILURES ===================================
____________ TestJsonifySQLAlchemyGenericEncoder.test_result_proxy _____________
self = <pecan.tests.test_jsonify.TestJsonifySQLAlchemyGenericEncoder testMethod=test_result_proxy>
def test_result_proxy(self):
> result = encode(self.result_proxy)
pecan/tests/test_jsonify.py:220:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pecan/jsonify.py:133: in encode
return _instance.encode(obj)
/nix/store/ka21njry2lfly5v3yz37b4r303gccfky-python3-3.8.8/lib/python3.8/json/encoder.py:199: in encode
chunks = self.iterencode(o, _one_shot=True)
/nix/store/ka21njry2lfly5v3yz37b4r303gccfky-python3-3.8.8/lib/python3.8/json/encoder.py:257: in iterencode
return _iterencode(o, 0)
pecan/jsonify.py:127: in default
return jsonify(obj)
/nix/store/ka21njry2lfly5v3yz37b4r303gccfky-python3-3.8.8/lib/python3.8/functools.py:875: in wrapper
return dispatch(args[0].__class__)(*args, **kw)
pecan/jsonify.py:122: in jsonify
return _default.default(obj)
pecan/jsonify.py:108: in default
return JSONEncoder.default(self, obj)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pecan.jsonify.GenericJSON object at 0xfffff65576d0>
o = <sqlalchemy.engine.cursor.LegacyCursorResult object at 0xfffff3f79970>
def default(self, o):
"""Implement this method in a subclass such that it returns
a serializable object for ``o``, or calls the base implementation
(to raise a ``TypeError``).
For example, to support arbitrary iterators, you could
implement default like this::
def default(self, o):
try:
iterable = iter(o)
except TypeError:
pass
else:
return list(iterable)
# Let the base class default method raise the TypeError
return JSONEncoder.default(self, o)
"""
> raise TypeError(f'Object of type {o.__class__.__name__} '
f'is not JSON serializable')
E TypeError: Object of type LegacyCursorResult is not JSON serializable
/nix/store/ka21njry2lfly5v3yz37b4r303gccfky-python3-3.8.8/lib/python3.8/json/encoder.py:179: TypeError
______________ TestJsonifySQLAlchemyGenericEncoder.test_row_proxy ______________
self = <pecan.tests.test_jsonify.TestJsonifySQLAlchemyGenericEncoder testMethod=test_row_proxy>
def test_row_proxy(self):
> result = encode(self.row_proxy)
pecan/tests/test_jsonify.py:227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pecan/jsonify.py:133: in encode
return _instance.encode(obj)
/nix/store/ka21njry2lfly5v3yz37b4r303gccfky-python3-3.8.8/lib/python3.8/json/encoder.py:199: in encode
chunks = self.iterencode(o, _one_shot=True)
/nix/store/ka21njry2lfly5v3yz37b4r303gccfky-python3-3.8.8/lib/python3.8/json/encoder.py:257: in iterencode
return _iterencode(o, 0)
pecan/jsonify.py:127: in default
return jsonify(obj)
/nix/store/ka21njry2lfly5v3yz37b4r303gccfky-python3-3.8.8/lib/python3.8/functools.py:875: in wrapper
return dispatch(args[0].__class__)(*args, **kw)
pecan/jsonify.py:122: in jsonify
return _default.default(obj)
pecan/jsonify.py:108: in default
return JSONEncoder.default(self, obj)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pecan.jsonify.GenericJSON object at 0xfffff65576d0>
o = (1, 'Jonathan', 'LaCour')
def default(self, o):
"""Implement this method in a subclass such that it returns
a serializable object for ``o``, or calls the base implementation
(to raise a ``TypeError``).
For example, to support arbitrary iterators, you could
implement default like this::
def default(self, o):
try:
iterable = iter(o)
except TypeError:
pass
else:
return list(iterable)
# Let the base class default method raise the TypeError
return JSONEncoder.default(self, o)
"""
> raise TypeError(f'Object of type {o.__class__.__name__} '
f'is not JSON serializable')
E TypeError: Object of type LegacyRow is not JSON serializable
/nix/store/ka21njry2lfly5v3yz37b4r303gccfky-python3-3.8.8/lib/python3.8/json/encoder.py:179: TypeError
=============================== warnings summary ===============================
pecan/core.py:331
/build/pecan-1.4.0/pecan/core.py:331: DeprecationWarning: invalid escape sequence \*
'''
../../nix/store/v03dvrd1rjhadjb4slc184fnzs8wk64y-python3.8-Genshi-0.7.5/lib/python3.8/site-packages/genshi/template/interpolation.py:34
/nix/store/v03dvrd1rjhadjb4slc184fnzs8wk64y-python3.8-Genshi-0.7.5/lib/python3.8/site-packages/genshi/template/interpolation.py:34: DeprecationWarning: Flags not at the start of the expression '[uU]?[rR]?("""|\\\'\\\'\\' (truncated)
token_re = re.compile('%s|%s(?s)' % (
pecan/routing.py:49
/build/pecan-1.4.0/pecan/routing.py:49: DeprecationWarning: invalid escape sequence \(
'^[0-9a-zA-Z-_$\(\)\.~!,;:*+@=]+$', route
pecan/middleware/debug.py:24
/build/pecan-1.4.0/pecan/middleware/debug.py:24: DeprecationWarning: invalid escape sequence \g
yield self.body_re.sub(b('\g<1>%s' % __CONFIG_HELP__), part)
../../nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: pecan/tests/test_base.py)
class TestApp(object):
../../nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: pecan/tests/test_conf.py)
class TestApp(object):
../../nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: pecan/tests/test_generic.py)
class TestApp(object):
../../nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: pecan/tests/test_hooks.py)
class TestApp(object):
../../nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: pecan/tests/test_jsonify.py)
class TestApp(object):
../../nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: pecan/tests/test_no_thread_locals.py)
class TestApp(object):
../../nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: pecan/tests/test_rest.py)
class TestApp(object):
../../nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: pecan/tests/test_secure.py)
class TestApp(object):
../../nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: pecan/tests/middleware/test_errordocument.py)
class TestApp(object):
../../nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/app.py:89: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: pecan/tests/middleware/test_recursive.py)
class TestApp(object):
pecan/tests/test_base.py::TestEmptyContent::test_empty_body
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/lint.py:201: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
assert isinstance(iterator, collections.Iterable), (
pecan/tests/test_base.py::TestRedirect::test_index
pecan/tests/test_base.py::TestRedirect::test_permanent_redirect
pecan/tests/test_base.py::TestInternalRedirectContext::test_context_does_not_bleed
pecan/tests/test_base.py::TestFileTypeExtensions::test_content_type_guessing_disabled
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/response.py:87: DeprecationWarning: urllib.parse.splittype() is deprecated as of 3.8, use urllib.parse.urlparse() instead
type_, rest = splittype(abslocation)
pecan/tests/test_base.py::TestRedirect::test_index
pecan/tests/test_base.py::TestRedirect::test_permanent_redirect
pecan/tests/test_base.py::TestInternalRedirectContext::test_context_does_not_bleed
pecan/tests/test_base.py::TestFileTypeExtensions::test_content_type_guessing_disabled
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/response.py:88: DeprecationWarning: urllib.parse.splithost() is deprecated as of 3.8, use urllib.parse.urlparse() instead
host, path = splithost(rest)
pecan/tests/test_conf.py::TestConfFromEnv::test_invalid_path
/build/pecan-1.4.0/pecan/tests/test_conf.py:341: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(
pecan/tests/test_conf.py::TestConfFromEnv::test_is_not_set
/build/pecan-1.4.0/pecan/tests/test_conf.py:350: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(
pecan/tests/test_no_thread_locals.py::TestRestController::test_custom_method_type
pecan/tests/test_rest.py::TestRestController::test_basic_rest
/nix/store/zj1q2zafkn2p7x2dq70shdj6z2nznngm-python3.8-webtest-2.0.32/lib/python3.8/site-packages/webtest/lint.py:359: WSGIWarning: Unknown REQUEST_METHOD: 'RESET'
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED pecan/tests/test_jsonify.py::TestJsonifySQLAlchemyGenericEncoder::test_result_proxy
FAILED pecan/tests/test_jsonify.py::TestJsonifySQLAlchemyGenericEncoder::test_row_proxy
============ 2 failed, 541 passed, 1 skipped, 27 warnings in 4.64s =============
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment