==> Building on luxio ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,400 40% 0.00kB/s 0:00:00 3,486 100% 1.99MB/s 0:00:00 (xfr#1, to-chk=4/6) disable-broken-ServerStateTests.test_2_KeyboardInterrupt.patch 617 100% 602.54kB/s 0:00:00 617 100% 602.54kB/s 0:00:00 (xfr#2, to-chk=3/6) disable-broken-testCombinedTools.patch 571 100% 557.62kB/s 0:00:00 571 100% 557.62kB/s 0:00:00 (xfr#3, to-chk=2/6) disable-sessiontest-file_concurrency.patch 456 100% 445.31kB/s 0:00:00 456 100% 445.31kB/s 0:00:00 (xfr#4, to-chk=1/6) python-cherrypy-18.8.0-3.log 682 100% 666.02kB/s 0:00:00 682 100% 666.02kB/s 0:00:00 (xfr#5, to-chk=0/6) sent 1,200 bytes received 162 bytes 908.00 bytes/sec total size is 5,322 speedup is 3.91 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root25 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root25]...done ==> Making package: python-cherrypy 18.8.0-3 (Sun Jul 9 18:17:17 2023) ==> Retrieving sources...  -> Found python-cherrypy-18.8.0.tar.gz  -> Found disable-sessiontest-file_concurrency.patch  -> Found disable-broken-testCombinedTools.patch  -> Found disable-broken-ServerStateTests.test_2_KeyboardInterrupt.patch ==> Validating source files with sha512sums... python-cherrypy-18.8.0.tar.gz ... Passed disable-sessiontest-file_concurrency.patch ... Passed disable-broken-testCombinedTools.patch ... Passed disable-broken-ServerStateTests.test_2_KeyboardInterrupt.patch ... Passed ==> Making package: python-cherrypy 18.8.0-3 (Sun Jul 9 18:17:25 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (18) New Version Net Change Download Size core/libnsl 2.0.0-3 0.06 MiB extra/python-autocommand 2.2.2-4 0.08 MiB extra/python-inflect 6.1.0-1 0.38 MiB extra/python-jaraco.classes 3.2.3-3 0.03 MiB extra/python-jaraco.context 4.3.0-3 0.04 MiB extra/python-jaraco.functools 3.8.0-1 0.07 MiB extra/python-jaraco.text 3.11.1-3 0.09 MiB extra/python-pydantic 1.10.9-1 6.57 MiB extra/python-pytz 2023.3-1 0.17 MiB extra/python-six 1.16.0-8 0.12 MiB extra/python-tempora 5.2.2-2 0.13 MiB 0.03 MiB extra/python-typing_extensions 4.7.0-1 0.37 MiB core/python 3.11.3-1 104.68 MiB extra/python-cheroot 9.0.0-5 0.56 MiB 0.11 MiB extra/python-jaraco.collections 3.5.2-3 0.11 MiB 0.02 MiB extra/python-more-itertools 9.1.1-4 0.61 MiB extra/python-portend 3.1.0-3 0.03 MiB 0.01 MiB extra/python-zc.lockfile 3.0.post1-2 0.05 MiB 0.01 MiB Total Download Size: 0.19 MiB Total Installed Size: 114.16 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-cheroot-9.0.0-5-any downloading... python-tempora-5.2.2-2-any downloading... python-jaraco.collections-3.5.2-3-any downloading... python-zc.lockfile-3.0.post1-2-any downloading... python-portend-3.1.0-3-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-typing_extensions... installing python-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation installing python-inflect... installing python-jaraco.text... installing python-six... installing python-cheroot... Optional dependencies for python-cheroot python-pyopenssl: for SSL and certificate handling within cheroot installing python-pytz... installing python-tempora... installing python-portend... installing python-jaraco.classes... installing python-jaraco.collections... installing python-zc.lockfile... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (30) New Version Net Change Download Size extra/python-apipkg 3.0.1-3 0.05 MiB extra/python-chardet 5.1.0-3 3.02 MiB extra/python-fastjsonschema 2.17.1-1 0.29 MiB extra/python-idna 3.4-3 0.71 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-packaging 23.1-1 0.47 MiB extra/python-platformdirs 3.5.1-1 0.20 MiB extra/python-pluggy 1.0.0-4 0.13 MiB extra/python-psutil 5.9.5-1 3.35 MiB extra/python-py 1.11.0-4 1.05 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-requests 2.28.2-4 0.61 MiB extra/python-termcolor 2.3.0-1 0.03 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-trove-classifiers 2023.7.6-1 0.11 MiB extra/python-urllib3 1.26.15-1 1.30 MiB extra/python-validate-pyproject 0.13-1 0.29 MiB extra/python-build 0.10.0-4 0.68 MiB extra/python-installer 0.7.0-3 0.82 MiB extra/python-objgraph 3.6.0-1 0.16 MiB 0.03 MiB extra/python-path 16.6.0-3 0.26 MiB extra/python-pytest 7.4.0-1 4.01 MiB extra/python-pytest-forked 1.6.0-2 0.02 MiB extra/python-pytest-services 2.2.1-9 0.15 MiB 0.03 MiB extra/python-pytest-sugar 0.9.7-2 0.09 MiB extra/python-requests-toolbelt 1.0.0-1 0.46 MiB extra/python-setuptools 1:67.7.0-1 4.68 MiB extra/python-setuptools-scm 7.1.0-4 0.36 MiB extra/python-wheel 0.40.0-3 0.28 MiB Total Download Size: 0.07 MiB Total Installed Size: 23.89 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-pytest-services-2.2.1-9-any downloading... python-objgraph-3.6.0-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation installing python-installer... installing python-ordered-set... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-setuptools-scm... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-objgraph... installing python-path... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-apipkg... installing python-py... Optional dependencies for python-py python-pytest: for py.test module [installed] installing python-pytest-forked... installing python-urllib3... Optional dependencies for python-urllib3 python-brotli: Brotli support python-certifi: security support python-cryptography: security support python-idna: security support [pending] python-pyopenssl: security support python-pysocks: SOCKS support installing python-chardet... installing python-idna... installing python-requests... Optional dependencies for python-requests python-pysocks: SOCKS proxy support installing python-psutil... installing python-pytest-services... installing python-termcolor... installing python-pytest-sugar... installing python-requests-toolbelt... [?25h==> Retrieving sources...  -> Found python-cherrypy-18.8.0.tar.gz  -> Found disable-sessiontest-file_concurrency.patch  -> Found disable-broken-testCombinedTools.patch  -> Found disable-broken-ServerStateTests.test_2_KeyboardInterrupt.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-cherrypy-18.8.0.tar.gz with bsdtar ==> Starting prepare()... Applying patch disable-sessiontest-file_concurrency.patch patching file cherrypy/test/test_session.py Applying patch disable-broken-testCombinedTools.patch patching file cherrypy/test/test_tools.py Hunk #1 succeeded at 354 (offset 10 lines). Applying patch disable-broken-ServerStateTests.test_2_KeyboardInterrupt.patch patching file cherrypy/test/test_states.py Hunk #1 succeeded at 163 (offset 1 line). ==> Starting build()... * Getting build dependencies for wheel... /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. By 2023-Oct-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) * Building wheel... /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. By 2023-Oct-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/cherrypy copying cherrypy/__init__.py -> build/lib/cherrypy copying cherrypy/__main__.py -> build/lib/cherrypy copying cherrypy/_cpchecker.py -> build/lib/cherrypy copying cherrypy/_cpcompat.py -> build/lib/cherrypy copying cherrypy/_cpconfig.py -> build/lib/cherrypy copying cherrypy/_cpdispatch.py -> build/lib/cherrypy copying cherrypy/_cperror.py -> build/lib/cherrypy copying cherrypy/_cplogging.py -> build/lib/cherrypy copying cherrypy/_cpmodpy.py -> build/lib/cherrypy copying cherrypy/_cpnative_server.py -> build/lib/cherrypy copying cherrypy/_cpreqbody.py -> build/lib/cherrypy copying cherrypy/_cprequest.py -> build/lib/cherrypy copying cherrypy/_cpserver.py -> build/lib/cherrypy copying cherrypy/_cptools.py -> build/lib/cherrypy copying cherrypy/_cptree.py -> build/lib/cherrypy copying cherrypy/_cpwsgi.py -> build/lib/cherrypy copying cherrypy/_cpwsgi_server.py -> build/lib/cherrypy copying cherrypy/_helper.py -> build/lib/cherrypy copying cherrypy/_json.py -> build/lib/cherrypy copying cherrypy/daemon.py -> build/lib/cherrypy creating build/lib/cherrypy/lib copying cherrypy/lib/__init__.py -> build/lib/cherrypy/lib copying cherrypy/lib/auth_basic.py -> build/lib/cherrypy/lib copying cherrypy/lib/auth_digest.py -> build/lib/cherrypy/lib copying cherrypy/lib/caching.py -> build/lib/cherrypy/lib copying cherrypy/lib/covercp.py -> build/lib/cherrypy/lib copying cherrypy/lib/cpstats.py -> build/lib/cherrypy/lib copying cherrypy/lib/cptools.py -> build/lib/cherrypy/lib copying cherrypy/lib/encoding.py -> build/lib/cherrypy/lib copying cherrypy/lib/gctools.py -> build/lib/cherrypy/lib copying cherrypy/lib/httputil.py -> build/lib/cherrypy/lib copying cherrypy/lib/jsontools.py -> build/lib/cherrypy/lib copying cherrypy/lib/locking.py -> build/lib/cherrypy/lib copying cherrypy/lib/profiler.py -> build/lib/cherrypy/lib copying cherrypy/lib/reprconf.py -> build/lib/cherrypy/lib copying cherrypy/lib/sessions.py -> build/lib/cherrypy/lib copying cherrypy/lib/static.py -> build/lib/cherrypy/lib copying cherrypy/lib/xmlrpcutil.py -> build/lib/cherrypy/lib creating build/lib/cherrypy/tutorial copying cherrypy/tutorial/__init__.py -> build/lib/cherrypy/tutorial copying cherrypy/tutorial/tut01_helloworld.py -> build/lib/cherrypy/tutorial copying cherrypy/tutorial/tut02_expose_methods.py -> build/lib/cherrypy/tutorial copying cherrypy/tutorial/tut03_get_and_post.py -> build/lib/cherrypy/tutorial copying cherrypy/tutorial/tut04_complex_site.py -> build/lib/cherrypy/tutorial copying cherrypy/tutorial/tut05_derived_objects.py -> build/lib/cherrypy/tutorial copying cherrypy/tutorial/tut06_default_method.py -> build/lib/cherrypy/tutorial copying cherrypy/tutorial/tut07_sessions.py -> build/lib/cherrypy/tutorial copying cherrypy/tutorial/tut08_generators_and_yield.py -> build/lib/cherrypy/tutorial copying cherrypy/tutorial/tut09_files.py -> build/lib/cherrypy/tutorial copying cherrypy/tutorial/tut10_http_errors.py -> build/lib/cherrypy/tutorial creating build/lib/cherrypy/test copying cherrypy/test/__init__.py -> build/lib/cherrypy/test copying cherrypy/test/_test_decorators.py -> build/lib/cherrypy/test copying cherrypy/test/_test_states_demo.py -> build/lib/cherrypy/test copying cherrypy/test/benchmark.py -> build/lib/cherrypy/test copying cherrypy/test/checkerdemo.py -> build/lib/cherrypy/test copying cherrypy/test/helper.py -> build/lib/cherrypy/test copying cherrypy/test/logtest.py -> build/lib/cherrypy/test copying cherrypy/test/modfastcgi.py -> build/lib/cherrypy/test copying cherrypy/test/modfcgid.py -> build/lib/cherrypy/test copying cherrypy/test/modpy.py -> build/lib/cherrypy/test copying cherrypy/test/modwsgi.py -> build/lib/cherrypy/test copying cherrypy/test/sessiondemo.py -> build/lib/cherrypy/test copying cherrypy/test/test_auth_basic.py -> build/lib/cherrypy/test copying cherrypy/test/test_auth_digest.py -> build/lib/cherrypy/test copying cherrypy/test/test_bus.py -> build/lib/cherrypy/test copying cherrypy/test/test_caching.py -> build/lib/cherrypy/test copying cherrypy/test/test_config.py -> build/lib/cherrypy/test copying cherrypy/test/test_config_server.py -> build/lib/cherrypy/test copying cherrypy/test/test_conn.py -> build/lib/cherrypy/test copying cherrypy/test/test_core.py -> build/lib/cherrypy/test copying cherrypy/test/test_dynamicobjectmapping.py -> build/lib/cherrypy/test copying cherrypy/test/test_encoding.py -> build/lib/cherrypy/test copying cherrypy/test/test_etags.py -> build/lib/cherrypy/test copying cherrypy/test/test_http.py -> build/lib/cherrypy/test copying cherrypy/test/test_httputil.py -> build/lib/cherrypy/test copying cherrypy/test/test_iterator.py -> build/lib/cherrypy/test copying cherrypy/test/test_json.py -> build/lib/cherrypy/test copying cherrypy/test/test_logging.py -> build/lib/cherrypy/test copying cherrypy/test/test_mime.py -> build/lib/cherrypy/test copying cherrypy/test/test_misc_tools.py -> build/lib/cherrypy/test copying cherrypy/test/test_native.py -> build/lib/cherrypy/test copying cherrypy/test/test_objectmapping.py -> build/lib/cherrypy/test copying cherrypy/test/test_params.py -> build/lib/cherrypy/test copying cherrypy/test/test_plugins.py -> build/lib/cherrypy/test copying cherrypy/test/test_proxy.py -> build/lib/cherrypy/test copying cherrypy/test/test_refleaks.py -> build/lib/cherrypy/test copying cherrypy/test/test_request_obj.py -> build/lib/cherrypy/test copying cherrypy/test/test_routes.py -> build/lib/cherrypy/test copying cherrypy/test/test_sessionauthenticate.py -> build/lib/cherrypy/test copying cherrypy/test/test_static.py -> build/lib/cherrypy/test copying cherrypy/test/test_tutorials.py -> build/lib/cherrypy/test copying cherrypy/test/test_virtualhost.py -> build/lib/cherrypy/test copying cherrypy/test/test_wsgi_ns.py -> build/lib/cherrypy/test copying cherrypy/test/test_wsgi_unix_socket.py -> build/lib/cherrypy/test copying cherrypy/test/test_wsgi_vhost.py -> build/lib/cherrypy/test copying cherrypy/test/test_wsgiapps.py -> build/lib/cherrypy/test copying cherrypy/test/test_xmlrpc.py -> build/lib/cherrypy/test copying cherrypy/test/webtest.py -> build/lib/cherrypy/test copying cherrypy/test/test_session.py -> build/lib/cherrypy/test copying cherrypy/test/test_tools.py -> build/lib/cherrypy/test copying cherrypy/test/test_states.py -> build/lib/cherrypy/test creating build/lib/cherrypy/process copying cherrypy/process/__init__.py -> build/lib/cherrypy/process copying cherrypy/process/plugins.py -> build/lib/cherrypy/process copying cherrypy/process/servers.py -> build/lib/cherrypy/process copying cherrypy/process/win32.py -> build/lib/cherrypy/process copying cherrypy/process/wspbus.py -> build/lib/cherrypy/process creating build/lib/cherrypy/scaffold copying cherrypy/scaffold/__init__.py -> build/lib/cherrypy/scaffold running egg_info creating CherryPy.egg-info writing CherryPy.egg-info/PKG-INFO writing dependency_links to CherryPy.egg-info/dependency_links.txt writing entry points to CherryPy.egg-info/entry_points.txt writing requirements to CherryPy.egg-info/requires.txt writing top-level names to CherryPy.egg-info/top_level.txt writing manifest file 'CherryPy.egg-info/SOURCES.txt' reading manifest file 'CherryPy.egg-info/SOURCES.txt' adding license file 'LICENSE.md' writing manifest file 'CherryPy.egg-info/SOURCES.txt' installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/__init__.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/__main__.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cpchecker.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cpcompat.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cpconfig.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cpdispatch.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cperror.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cplogging.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cpmodpy.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cpnative_server.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cpreqbody.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cprequest.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cpserver.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cptools.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cptree.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cpwsgi.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_cpwsgi_server.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_helper.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/_json.py -> build/bdist.linux-riscv64/wheel/cherrypy copying build/lib/cherrypy/daemon.py -> build/bdist.linux-riscv64/wheel/cherrypy creating build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/__init__.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/auth_basic.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/auth_digest.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/caching.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/covercp.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/cpstats.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/cptools.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/encoding.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/gctools.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/httputil.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/jsontools.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/locking.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/profiler.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/reprconf.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/sessions.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/static.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib copying build/lib/cherrypy/lib/xmlrpcutil.py -> build/bdist.linux-riscv64/wheel/cherrypy/lib creating build/bdist.linux-riscv64/wheel/cherrypy/tutorial copying build/lib/cherrypy/tutorial/__init__.py -> build/bdist.linux-riscv64/wheel/cherrypy/tutorial copying build/lib/cherrypy/tutorial/tut01_helloworld.py -> build/bdist.linux-riscv64/wheel/cherrypy/tutorial copying build/lib/cherrypy/tutorial/tut02_expose_methods.py -> build/bdist.linux-riscv64/wheel/cherrypy/tutorial copying build/lib/cherrypy/tutorial/tut03_get_and_post.py -> build/bdist.linux-riscv64/wheel/cherrypy/tutorial copying build/lib/cherrypy/tutorial/tut04_complex_site.py -> build/bdist.linux-riscv64/wheel/cherrypy/tutorial copying build/lib/cherrypy/tutorial/tut05_derived_objects.py -> build/bdist.linux-riscv64/wheel/cherrypy/tutorial copying build/lib/cherrypy/tutorial/tut06_default_method.py -> build/bdist.linux-riscv64/wheel/cherrypy/tutorial copying build/lib/cherrypy/tutorial/tut07_sessions.py -> build/bdist.linux-riscv64/wheel/cherrypy/tutorial copying build/lib/cherrypy/tutorial/tut08_generators_and_yield.py -> build/bdist.linux-riscv64/wheel/cherrypy/tutorial copying build/lib/cherrypy/tutorial/tut09_files.py -> build/bdist.linux-riscv64/wheel/cherrypy/tutorial copying build/lib/cherrypy/tutorial/tut10_http_errors.py -> build/bdist.linux-riscv64/wheel/cherrypy/tutorial creating build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/__init__.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/_test_decorators.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/_test_states_demo.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/benchmark.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/checkerdemo.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/helper.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/logtest.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/modfastcgi.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/modfcgid.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/modpy.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/modwsgi.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/sessiondemo.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_auth_basic.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_auth_digest.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_bus.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_caching.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_config.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_config_server.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_conn.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_core.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_dynamicobjectmapping.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_encoding.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_etags.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_http.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_httputil.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_iterator.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_json.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_logging.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_mime.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_misc_tools.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_native.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_objectmapping.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_params.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_plugins.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_proxy.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_refleaks.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_request_obj.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_routes.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_sessionauthenticate.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_static.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_tutorials.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_virtualhost.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_wsgi_ns.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_wsgi_unix_socket.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_wsgi_vhost.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_wsgiapps.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_xmlrpc.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/webtest.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_session.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_tools.py -> build/bdist.linux-riscv64/wheel/cherrypy/test copying build/lib/cherrypy/test/test_states.py -> build/bdist.linux-riscv64/wheel/cherrypy/test creating build/bdist.linux-riscv64/wheel/cherrypy/process copying build/lib/cherrypy/process/__init__.py -> build/bdist.linux-riscv64/wheel/cherrypy/process copying build/lib/cherrypy/process/plugins.py -> build/bdist.linux-riscv64/wheel/cherrypy/process copying build/lib/cherrypy/process/servers.py -> build/bdist.linux-riscv64/wheel/cherrypy/process copying build/lib/cherrypy/process/win32.py -> build/bdist.linux-riscv64/wheel/cherrypy/process copying build/lib/cherrypy/process/wspbus.py -> build/bdist.linux-riscv64/wheel/cherrypy/process creating build/bdist.linux-riscv64/wheel/cherrypy/scaffold copying build/lib/cherrypy/scaffold/__init__.py -> build/bdist.linux-riscv64/wheel/cherrypy/scaffold running install_egg_info Copying CherryPy.egg-info to build/bdist.linux-riscv64/wheel/CherryPy-18.8.0-py3.11.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/CherryPy-18.8.0.dist-info/WHEEL creating '/build/python-cherrypy/src/cherrypy-18.8.0/dist/.tmp-_4fwf8sv/CherryPy-18.8.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'cherrypy/__init__.py' adding 'cherrypy/__main__.py' adding 'cherrypy/_cpchecker.py' adding 'cherrypy/_cpcompat.py' adding 'cherrypy/_cpconfig.py' adding 'cherrypy/_cpdispatch.py' adding 'cherrypy/_cperror.py' adding 'cherrypy/_cplogging.py' adding 'cherrypy/_cpmodpy.py' adding 'cherrypy/_cpnative_server.py' adding 'cherrypy/_cpreqbody.py' adding 'cherrypy/_cprequest.py' adding 'cherrypy/_cpserver.py' adding 'cherrypy/_cptools.py' adding 'cherrypy/_cptree.py' adding 'cherrypy/_cpwsgi.py' adding 'cherrypy/_cpwsgi_server.py' adding 'cherrypy/_helper.py' adding 'cherrypy/_json.py' adding 'cherrypy/daemon.py' adding 'cherrypy/lib/__init__.py' adding 'cherrypy/lib/auth_basic.py' adding 'cherrypy/lib/auth_digest.py' adding 'cherrypy/lib/caching.py' adding 'cherrypy/lib/covercp.py' adding 'cherrypy/lib/cpstats.py' adding 'cherrypy/lib/cptools.py' adding 'cherrypy/lib/encoding.py' adding 'cherrypy/lib/gctools.py' adding 'cherrypy/lib/httputil.py' adding 'cherrypy/lib/jsontools.py' adding 'cherrypy/lib/locking.py' adding 'cherrypy/lib/profiler.py' adding 'cherrypy/lib/reprconf.py' adding 'cherrypy/lib/sessions.py' adding 'cherrypy/lib/static.py' adding 'cherrypy/lib/xmlrpcutil.py' adding 'cherrypy/process/__init__.py' adding 'cherrypy/process/plugins.py' adding 'cherrypy/process/servers.py' adding 'cherrypy/process/win32.py' adding 'cherrypy/process/wspbus.py' adding 'cherrypy/scaffold/__init__.py' adding 'cherrypy/test/__init__.py' adding 'cherrypy/test/_test_decorators.py' adding 'cherrypy/test/_test_states_demo.py' adding 'cherrypy/test/benchmark.py' adding 'cherrypy/test/checkerdemo.py' adding 'cherrypy/test/helper.py' adding 'cherrypy/test/logtest.py' adding 'cherrypy/test/modfastcgi.py' adding 'cherrypy/test/modfcgid.py' adding 'cherrypy/test/modpy.py' adding 'cherrypy/test/modwsgi.py' adding 'cherrypy/test/sessiondemo.py' adding 'cherrypy/test/test_auth_basic.py' adding 'cherrypy/test/test_auth_digest.py' adding 'cherrypy/test/test_bus.py' adding 'cherrypy/test/test_caching.py' adding 'cherrypy/test/test_config.py' adding 'cherrypy/test/test_config_server.py' adding 'cherrypy/test/test_conn.py' adding 'cherrypy/test/test_core.py' adding 'cherrypy/test/test_dynamicobjectmapping.py' adding 'cherrypy/test/test_encoding.py' adding 'cherrypy/test/test_etags.py' adding 'cherrypy/test/test_http.py' adding 'cherrypy/test/test_httputil.py' adding 'cherrypy/test/test_iterator.py' adding 'cherrypy/test/test_json.py' adding 'cherrypy/test/test_logging.py' adding 'cherrypy/test/test_mime.py' adding 'cherrypy/test/test_misc_tools.py' adding 'cherrypy/test/test_native.py' adding 'cherrypy/test/test_objectmapping.py' adding 'cherrypy/test/test_params.py' adding 'cherrypy/test/test_plugins.py' adding 'cherrypy/test/test_proxy.py' adding 'cherrypy/test/test_refleaks.py' adding 'cherrypy/test/test_request_obj.py' adding 'cherrypy/test/test_routes.py' adding 'cherrypy/test/test_session.py' adding 'cherrypy/test/test_sessionauthenticate.py' adding 'cherrypy/test/test_states.py' adding 'cherrypy/test/test_static.py' adding 'cherrypy/test/test_tools.py' adding 'cherrypy/test/test_tutorials.py' adding 'cherrypy/test/test_virtualhost.py' adding 'cherrypy/test/test_wsgi_ns.py' adding 'cherrypy/test/test_wsgi_unix_socket.py' adding 'cherrypy/test/test_wsgi_vhost.py' adding 'cherrypy/test/test_wsgiapps.py' adding 'cherrypy/test/test_xmlrpc.py' adding 'cherrypy/test/webtest.py' adding 'cherrypy/tutorial/__init__.py' adding 'cherrypy/tutorial/tut01_helloworld.py' adding 'cherrypy/tutorial/tut02_expose_methods.py' adding 'cherrypy/tutorial/tut03_get_and_post.py' adding 'cherrypy/tutorial/tut04_complex_site.py' adding 'cherrypy/tutorial/tut05_derived_objects.py' adding 'cherrypy/tutorial/tut06_default_method.py' adding 'cherrypy/tutorial/tut07_sessions.py' adding 'cherrypy/tutorial/tut08_generators_and_yield.py' adding 'cherrypy/tutorial/tut09_files.py' adding 'cherrypy/tutorial/tut10_http_errors.py' adding 'CherryPy-18.8.0.dist-info/LICENSE.md' adding 'CherryPy-18.8.0.dist-info/METADATA' adding 'CherryPy-18.8.0.dist-info/WHEEL' adding 'CherryPy-18.8.0.dist-info/entry_points.txt' adding 'CherryPy-18.8.0.dist-info/top_level.txt' adding 'CherryPy-18.8.0.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built CherryPy-18.8.0-py2.py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.4.0, pluggy-1.0.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-cherrypy/src/cherrypy-18.8.0 configfile: pytest.ini testpaths: cherrypy/test/ plugins: forked-1.6.0, services-2.2.1, sugar-0.9.7 collecting ... collected 0 items / 89 errors ==================================== ERRORS ==================================== __________________ ERROR collecting cherrypy/test/__init__.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.028811554991989397 excinfo = func = . at 0x4004aac180> precise_start = 130513.465750645 precise_stop = 130513.4945622 reraise = None result = None start = 1688919467.3615577 stop = 1688919467.3903744 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test' names = ['cherrypy', 'test'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/__init__.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/__init__.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004a4cd10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004a4cd10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x4000609320, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004a4cd10> :241: in _call_with_frames_removed ??? args = ( at 0x4000609320, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004a4cd10>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004a4cd10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004a4cd10> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004a4cd10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004a4d6d0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004a4d6d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 28} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ______________ ERROR collecting cherrypy/test/_test_decorators.py ______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004395607000333257 excinfo = func = . at 0x40041562a0> precise_start = 130513.96403153 precise_stop = 130513.968427137 reraise = None result = None start = 1688919467.8598385 stop = 1688919467.8642378 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test._test_decorators' names = ['cherrypy', 'test', '_test_decorators'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/_test_decorators.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/_test_decorators.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test._test_decorators' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test._test_decorators' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test._test_decorators' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test._test_decorators' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004e20950>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004e20950>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x400067abb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004e20950> :241: in _call_with_frames_removed ??? args = ( at 0x400067abb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004e20950>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004e20950>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004e20950> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004e20950>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004cf6ed0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004cf6ed0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 46} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _____________ ERROR collecting cherrypy/test/_test_states_demo.py ______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004310856995289214 excinfo = func = . at 0x4004b23240> precise_start = 130514.275838767 precise_stop = 130514.280149624 reraise = None result = None start = 1688919468.171643 stop = 1688919468.175961 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test._test_states_demo' names = ['cherrypy', 'test', '_test_states_demo'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/_test_states_demo.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/_test_states_demo.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test._test_states_demo' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test._test_states_demo' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test._test_states_demo' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test._test_states_demo' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d49a10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d49a10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40007621a0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004d49a10> :241: in _call_with_frames_removed ??? args = ( at 0x40007621a0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004d49a10>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d49a10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004d49a10> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d49a10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004d4a610> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d4a610>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 64} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _________________ ERROR collecting cherrypy/test/benchmark.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.00451686599990353 excinfo = func = . at 0x4004b23ec0> precise_start = 130514.611825044 precise_stop = 130514.61634191 reraise = None result = None start = 1688919468.5076292 stop = 1688919468.5121539 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.benchmark' names = ['cherrypy', 'test', 'benchmark'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/benchmark.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/benchmark.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.benchmark' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.benchmark' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.benchmark' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.benchmark' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004445490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004445490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x400067abb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004445490> :241: in _call_with_frames_removed ??? args = ( at 0x400067abb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004445490>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004445490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004445490> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004445490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400443fa90> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400443fa90>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 82} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ________________ ERROR collecting cherrypy/test/checkerdemo.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0041019130003405735 excinfo = func = . at 0x4004ac6c00> precise_start = 130514.919179736 precise_stop = 130514.923281649 reraise = None result = None start = 1688919468.814985 stop = 1688919468.8190932 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.checkerdemo' names = ['cherrypy', 'test', 'checkerdemo'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/checkerdemo.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/checkerdemo.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.checkerdemo' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.checkerdemo' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.checkerdemo' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.checkerdemo' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d5c990>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d5c990>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004d5c990> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004d5c990>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d5c990>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004d5c990> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d5c990>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004d5d150> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d5d150>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 100} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ___________________ ERROR collecting cherrypy/test/helper.py ___________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004112794005777687 excinfo = func = . at 0x4004a5f880> precise_start = 130515.224540685 precise_stop = 130515.228653479 reraise = None result = None start = 1688919469.1203458 stop = 1688919469.1245122 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.helper' names = ['cherrypy', 'test', 'helper'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/helper.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/helper.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.helper' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.helper' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.helper' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.helper' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004cc8150>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004cc8150>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40006fcbf0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004cc8150> :241: in _call_with_frames_removed ??? args = ( at 0x40006fcbf0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004cc8150>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004cc8150>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004cc8150> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004cc8150>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004cc89d0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004cc89d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 118} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = __________________ ERROR collecting cherrypy/test/logtest.py ___________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0044446190004237 excinfo = func = . at 0x4004ac6980> precise_start = 130515.551972065 precise_stop = 130515.556416684 reraise = None result = None start = 1688919469.4477763 stop = 1688919469.4522278 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.logtest' names = ['cherrypy', 'test', 'logtest'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/logtest.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/logtest.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.logtest' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.logtest' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.logtest' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.logtest' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca00d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca00d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004ca00d0> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004ca00d0>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca00d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004ca00d0> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca00d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004ca0990> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca0990>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 136} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _________________ ERROR collecting cherrypy/test/modfastcgi.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004098616991541348 excinfo = func = . at 0x4004ac4ae0> precise_start = 130515.861211775 precise_stop = 130515.865310392 reraise = None result = None start = 1688919469.757017 stop = 1688919469.7611208 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.modfastcgi' names = ['cherrypy', 'test', 'modfastcgi'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/modfastcgi.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/modfastcgi.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.modfastcgi' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.modfastcgi' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.modfastcgi' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.modfastcgi' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400548cd90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400548cd90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x4000601430, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400548cd90> :241: in _call_with_frames_removed ??? args = ( at 0x4000601430, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x400548cd90>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400548cd90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400548cd90> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400548cd90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400548d5d0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400548d5d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 154} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = __________________ ERROR collecting cherrypy/test/modfcgid.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.00423786899773404 excinfo = func = . at 0x4004b22200> precise_start = 130516.196285781 precise_stop = 130516.20052365 reraise = None result = None start = 1688919470.0920904 stop = 1688919470.0963347 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.modfcgid' names = ['cherrypy', 'test', 'modfcgid'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/modfcgid.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/modfcgid.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.modfcgid' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.modfcgid' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.modfcgid' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.modfcgid' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004adc490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004adc490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x400062e000, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004adc490> :241: in _call_with_frames_removed ??? args = ( at 0x400062e000, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004adc490>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004adc490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004adc490> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004adc490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004ce8750> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ce8750>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 172} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ___________________ ERROR collecting cherrypy/test/modpy.py ____________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004411538000567816 excinfo = func = . at 0x4004a5f6a0> precise_start = 130516.511164876 precise_stop = 130516.515576414 reraise = None result = None start = 1688919470.4069695 stop = 1688919470.4113872 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.modpy' names = ['cherrypy', 'test', 'modpy'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/modpy.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/modpy.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.modpy' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.modpy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.modpy' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.modpy' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca4210>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca4210>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40006a9990, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004ca4210> :241: in _call_with_frames_removed ??? args = ( at 0x40006a9990, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004ca4210>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca4210>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004ca4210> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca4210>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004ca4950> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca4950>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 190} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = __________________ ERROR collecting cherrypy/test/modwsgi.py ___________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004404715000418946 excinfo = func = . at 0x4004ac4ae0> precise_start = 130516.848000086 precise_stop = 130516.852404801 reraise = None result = None start = 1688919470.743805 stop = 1688919470.7482152 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.modwsgi' names = ['cherrypy', 'test', 'modwsgi'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/modwsgi.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/modwsgi.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.modwsgi' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.modwsgi' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.modwsgi' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.modwsgi' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ceaa50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ceaa50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004ceaa50> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004ceaa50>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ceaa50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004ceaa50> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ceaa50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004cea150> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004cea150>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 208} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ________________ ERROR collecting cherrypy/test/sessiondemo.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004096201999345794 excinfo = func = . at 0x4004a5fce0> precise_start = 130517.161220581 precise_stop = 130517.165316783 reraise = None result = None start = 1688919471.0570264 stop = 1688919471.0611272 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.sessiondemo' names = ['cherrypy', 'test', 'sessiondemo'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/sessiondemo.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/sessiondemo.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.sessiondemo' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.sessiondemo' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.sessiondemo' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.sessiondemo' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004c3cc90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004c3cc90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005e2250, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004c3cc90> :241: in _call_with_frames_removed ??? args = ( at 0x40005e2250, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004c3cc90>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004c3cc90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004c3cc90> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004c3cc90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004c3d1d0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004c3d1d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 226} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ______________ ERROR collecting cherrypy/test/test_auth_basic.py _______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004146958002820611 excinfo = func = . at 0x4004be98a0> precise_start = 130517.47410435 precise_stop = 130517.478251308 reraise = None result = None start = 1688919471.3699095 stop = 1688919471.374062 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_auth_basic' names = ['cherrypy', 'test', 'test_auth_basic'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_auth_basic.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_auth_basic.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_auth_basic' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_auth_basic' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_auth_basic' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_auth_basic' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d05f90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d05f90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x4000626720, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004d05f90> :241: in _call_with_frames_removed ??? args = ( at 0x4000626720, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004d05f90>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d05f90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004d05f90> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d05f90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004d04910> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d04910>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 244} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ______________ ERROR collecting cherrypy/test/test_auth_basic.py _______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.00418384799559135 excinfo = func = . at 0x4004a5fce0> precise_start = 130517.809720859 precise_stop = 130517.813904707 reraise = None result = None start = 1688919471.7055259 stop = 1688919471.7097154 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() __class__ = self = /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") has_nose = True self = /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() obj = None self = /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() self = /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) importmode = 'prepend' self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_auth_basic' names = ['cherrypy', 'test', 'test_auth_basic'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_auth_basic.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_auth_basic.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_auth_basic' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_auth_basic' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_auth_basic' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_auth_basic' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004c80690>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004c80690>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004c80690> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004c80690>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004c80690>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004c80690> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004c80690>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004c804d0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004c804d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 262} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ______________ ERROR collecting cherrypy/test/test_auth_digest.py ______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.00432095599535387 excinfo = func = . at 0x4004beb380> precise_start = 130518.338607275 precise_stop = 130518.342928231 reraise = None result = None start = 1688919472.2344124 stop = 1688919472.2387393 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_auth_digest' names = ['cherrypy', 'test', 'test_auth_digest'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_auth_digest.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_auth_digest.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_auth_digest' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_auth_digest' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_auth_digest' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_auth_digest' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f1d3d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f1d3d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x400062c2e0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004f1d3d0> :241: in _call_with_frames_removed ??? args = ( at 0x400062c2e0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004f1d3d0>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f1d3d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004f1d3d0> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f1d3d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004f1c9d0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f1c9d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 280} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ______________ ERROR collecting cherrypy/test/test_auth_digest.py ______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004127250998863019 excinfo = func = . at 0x4004bea5c0> precise_start = 130518.674938874 precise_stop = 130518.679066125 reraise = None result = None start = 1688919472.5707438 stop = 1688919472.5748768 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() __class__ = self = /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") has_nose = True self = /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() obj = None self = /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() self = /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) importmode = 'prepend' self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_auth_digest' names = ['cherrypy', 'test', 'test_auth_digest'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_auth_digest.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_auth_digest.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_auth_digest' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_auth_digest' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_auth_digest' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_auth_digest' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f0d1d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f0d1d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004f0d1d0> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004f0d1d0>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f0d1d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004f0d1d0> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f0d1d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004f0cc50> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f0cc50>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 298} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = __________________ ERROR collecting cherrypy/test/test_bus.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004405234998557717 excinfo = func = . at 0x4004b23380> precise_start = 130519.207328092 precise_stop = 130519.211733327 reraise = None result = None start = 1688919473.103133 stop = 1688919473.1075447 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_bus' names = ['cherrypy', 'test', 'test_bus'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_bus.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_bus.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_bus' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_bus' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_bus' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_bus' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f717d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f717d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005f0d00, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004f717d0> :241: in _call_with_frames_removed ??? args = ( at 0x40005f0d00, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004f717d0>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f717d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004f717d0> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f717d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004f71d10> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f71d10>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 316} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = __________________ ERROR collecting cherrypy/test/test_bus.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004307570998207666 excinfo = func = . at 0x4004beba60> precise_start = 130519.547063225 precise_stop = 130519.551370796 reraise = None result = None start = 1688919473.442868 stop = 1688919473.447182 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() __class__ = self = /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") has_nose = True self = /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() obj = None self = /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() self = /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) importmode = 'prepend' self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_bus' names = ['cherrypy', 'test', 'test_bus'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_bus.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_bus.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_bus' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_bus' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_bus' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_bus' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004bc1650>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004bc1650>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004bc1650> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004bc1650>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004bc1650>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004bc1650> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004bc1650>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004bc1350> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004bc1350>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 334} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ________________ ERROR collecting cherrypy/test/test_caching.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004121409001527354 excinfo = func = . at 0x4004b22c00> precise_start = 130520.073183648 precise_stop = 130520.077305057 reraise = None result = None start = 1688919473.9689891 stop = 1688919473.9731157 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_caching' names = ['cherrypy', 'test', 'test_caching'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_caching.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_caching.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_caching' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_caching' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_caching' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_caching' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f9c110>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f9c110>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40006ac780, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004f9c110> :241: in _call_with_frames_removed ??? args = ( at 0x40006ac780, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004f9c110>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f9c110>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004f9c110> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f9c110>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004f9c850> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f9c850>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 352} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ________________ ERROR collecting cherrypy/test/test_caching.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004111861999263056 excinfo = func = . at 0x4004b23100> precise_start = 130520.406303272 precise_stop = 130520.410415134 reraise = None result = None start = 1688919474.3021085 stop = 1688919474.306226 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() __class__ = self = /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") has_nose = True self = /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() obj = None self = /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() self = /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) importmode = 'prepend' self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_caching' names = ['cherrypy', 'test', 'test_caching'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_caching.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_caching.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_caching' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_caching' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_caching' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_caching' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004da0490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004da0490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004da0490> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004da0490>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004da0490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004da0490> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004da0490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004da1250> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004da1250>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 370} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ________________ ERROR collecting cherrypy/test/test_config.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004181191994575784 excinfo = func = . at 0x4004be8f40> precise_start = 130520.931980117 precise_stop = 130520.936161309 reraise = None result = None start = 1688919474.827785 stop = 1688919474.8319721 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_config' names = ['cherrypy', 'test', 'test_config'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_config.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_config.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_config' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_config' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_config' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_config' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400443dc10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400443dc10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x400067ebe0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400443dc10> :241: in _call_with_frames_removed ??? args = ( at 0x400067ebe0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x400443dc10>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400443dc10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400443dc10> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400443dc10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40053973d0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40053973d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 388} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = ________________ ERROR collecting cherrypy/test/test_config.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004573231999529526 excinfo = func = . at 0x4004b22a20> precise_start = 130521.27232508 precise_stop = 130521.276898312 reraise = None result = None start = 1688919475.1681297 stop = 1688919475.1727087 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() __class__ = self = /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") has_nose = True self = /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() obj = None self = /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() self = /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) importmode = 'prepend' self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_config' names = ['cherrypy', 'test', 'test_config'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_config.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_config.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_config' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_config' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_config' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_config' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004da0a90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004da0a90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004da0a90> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004da0a90>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004da0a90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004da0a90> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004da0a90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004da1e10> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004da1e10>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 406} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _____________ ERROR collecting cherrypy/test/test_config_server.py _____________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004244091993314214 excinfo = func = . at 0x4004be9580> precise_start = 130521.807557501 precise_stop = 130521.811801593 reraise = None result = None start = 1688919475.7033627 stop = 1688919475.7076125 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_config_server' names = ['cherrypy', 'test', 'test_config_server'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_config_server.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_config_server.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_config_server' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_config_server' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_config_server' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_config_server' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400500c7d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400500c7d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x400067abb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400500c7d0> :241: in _call_with_frames_removed ??? args = ( at 0x400067abb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x400500c7d0>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400500c7d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400500c7d0> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400500c7d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400500d110> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400500d110>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 424} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _____________ ERROR collecting cherrypy/test/test_config_server.py _____________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004617867001798004 excinfo = func = . at 0x4004b23380> precise_start = 130522.156023484 precise_stop = 130522.160641351 reraise = None result = None start = 1688919476.0518281 stop = 1688919476.0564525 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() __class__ = self = /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") has_nose = True self = /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() obj = None self = /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() self = /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) importmode = 'prepend' self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_config_server' names = ['cherrypy', 'test', 'test_config_server'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_config_server.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_config_server.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_config_server' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_config_server' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_config_server' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_config_server' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca7010>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca7010>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004ca7010> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004ca7010>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca7010>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004ca7010> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca7010>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004ca4dd0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ca4dd0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 442} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _________________ ERROR collecting cherrypy/test/test_conn.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004394144008983858 excinfo = func = . at 0x4004be8ae0> precise_start = 130522.700263468 precise_stop = 130522.704657612 reraise = None result = None start = 1688919476.5960681 stop = 1688919476.600468 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_conn' names = ['cherrypy', 'test', 'test_conn'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_conn.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_conn.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_conn' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_conn' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_conn' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_conn' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400540d990>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400540d990>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005f6db0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400540d990> :241: in _call_with_frames_removed ??? args = ( at 0x40005f6db0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x400540d990>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400540d990>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400540d990> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400540d990>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400540c4d0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400540c4d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 460} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _________________ ERROR collecting cherrypy/test/test_conn.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004647512992960401 excinfo = func = . at 0x4004beac00> precise_start = 130523.052419846 precise_stop = 130523.057067359 reraise = None result = None start = 1688919476.9482243 stop = 1688919476.9528782 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() __class__ = self = /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") has_nose = True self = /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() obj = None self = /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() self = /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) importmode = 'prepend' self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_conn' names = ['cherrypy', 'test', 'test_conn'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_conn.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_conn.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_conn' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_conn' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_conn' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_conn' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ce6d50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ce6d50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004ce6d50> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004ce6d50>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ce6d50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004ce6d50> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004ce6d50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400543dc50> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400543dc50>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 478} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _________________ ERROR collecting cherrypy/test/test_core.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004487261001486331 excinfo = func = . at 0x4004b6b9c0> precise_start = 130523.584088651 precise_stop = 130523.588575912 reraise = None result = None start = 1688919477.4798932 stop = 1688919477.4843872 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_core' names = ['cherrypy', 'test', 'test_core'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_core.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_core.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_core' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_core' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_core' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_core' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f28490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f28490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x400067abb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004f28490> :241: in _call_with_frames_removed ??? args = ( at 0x400067abb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004f28490>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f28490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004f28490> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f28490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004f28950> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f28950>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 496} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _________________ ERROR collecting cherrypy/test/test_core.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.00483299299958162 excinfo = func = . at 0x4004be8fe0> precise_start = 130523.942836872 precise_stop = 130523.947669865 reraise = None result = None start = 1688919477.8386412 stop = 1688919477.8434808 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() __class__ = self = /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") has_nose = True self = /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() obj = None self = /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() self = /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) importmode = 'prepend' self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_core' names = ['cherrypy', 'test', 'test_core'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_core.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_core.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_core' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_core' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_core' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_core' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d41c90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d41c90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004d41c90> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004d41c90>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d41c90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004d41c90> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d41c90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004d42410> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004d42410>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 514} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _________ ERROR collecting cherrypy/test/test_dynamicobjectmapping.py __________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004510143000516109 excinfo = func = . at 0x4004b6b6a0> precise_start = 130524.476603457 precise_stop = 130524.4811136 reraise = None result = None start = 1688919478.3724082 stop = 1688919478.3769243 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_dynamicobjectmapping' names = ['cherrypy', 'test', 'test_dynamicobjectmapping'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_dynamicobjectmapping.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_dynamicobjectmapping.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_dynamicobjectmapping' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_dynamicobjectmapping' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_dynamicobjectmapping' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_dynamicobjectmapping' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4005220490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4005220490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x4000629a60, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4005220490> :241: in _call_with_frames_removed ??? args = ( at 0x4000629a60, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4005220490>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4005220490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4005220490> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4005220490>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4005220f10> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4005220f10>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 532} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _________ ERROR collecting cherrypy/test/test_dynamicobjectmapping.py __________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004509732010774314 excinfo = func = . at 0x4004b6bce0> precise_start = 130524.802779956 precise_stop = 130524.807289688 reraise = None result = None start = 1688919478.6985843 stop = 1688919478.7031004 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() __class__ = self = /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") has_nose = True self = /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() obj = None self = /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() self = /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) importmode = 'prepend' self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_dynamicobjectmapping' names = ['cherrypy', 'test', 'test_dynamicobjectmapping'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_dynamicobjectmapping.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_dynamicobjectmapping.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_dynamicobjectmapping' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_dynamicobjectmapping' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_dynamicobjectmapping' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_dynamicobjectmapping' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004cd5910>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004cd5910>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40007de450, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004cd5910> :241: in _call_with_frames_removed ??? args = ( at 0x40007de450, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004cd5910>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004cd5910>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004cd5910> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004cd5910>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004cd4790> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004cd4790>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 550} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _______________ ERROR collecting cherrypy/test/test_encoding.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004620079998858273 excinfo = func = . at 0x4004b698a0> precise_start = 130525.367073263 precise_stop = 130525.371693343 reraise = None result = None start = 1688919479.2628775 stop = 1688919479.2675042 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_encoding' names = ['cherrypy', 'test', 'test_encoding'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_encoding.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_encoding.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_encoding' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_encoding' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_encoding' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_encoding' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f3b3d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f3b3d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004f3b3d0> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004f3b3d0>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f3b3d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004f3b3d0> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f3b3d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004f3a250> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f3a250>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 568} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _______________ ERROR collecting cherrypy/test/test_encoding.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004470899002626538 excinfo = func = . at 0x4004beba60> precise_start = 130525.690433325 precise_stop = 130525.694904224 reraise = None result = None start = 1688919479.586238 stop = 1688919479.5907152 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() __class__ = self = /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") has_nose = True self = /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() obj = None self = /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() self = /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) importmode = 'prepend' self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_encoding' names = ['cherrypy', 'test', 'test_encoding'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_encoding.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_encoding.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_encoding' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_encoding' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_encoding' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_encoding' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4005488b90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4005488b90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40006ea1b0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4005488b90> :241: in _call_with_frames_removed ??? args = ( at 0x40006ea1b0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4005488b90>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4005488b90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4005488b90> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4005488b90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4005394a90> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4005394a90>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 586} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _________________ ERROR collecting cherrypy/test/test_etags.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004570798002532683 excinfo = func = . at 0x4004beaac0> precise_start = 130526.244677784 precise_stop = 130526.249248582 reraise = None result = None start = 1688919480.1404817 stop = 1688919480.1450593 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_etags' names = ['cherrypy', 'test', 'test_etags'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_etags.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_etags.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_etags' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_etags' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_etags' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_etags' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004feb450>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004feb450>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004feb450> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004feb450>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004feb450>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004feb450> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004feb450>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004fea550> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004fea550>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 604} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _________________ ERROR collecting cherrypy/test/test_etags.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.00442785800260026 excinfo = func = . at 0x4004b6bce0> precise_start = 130526.568824882 precise_stop = 130526.57325274 reraise = None result = None start = 1688919480.4646294 stop = 1688919480.4690635 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() __class__ = self = /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") has_nose = True self = /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() obj = None self = /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() self = /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) importmode = 'prepend' self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_etags' names = ['cherrypy', 'test', 'test_etags'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_etags.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_etags.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_etags' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_etags' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_etags' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_etags' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004a4cb10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004a4cb10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40006ff800, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004a4cb10> :241: in _call_with_frames_removed ??? args = ( at 0x40006ff800, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x4004a4cb10>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004a4cb10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004a4cb10> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004a4cb10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004a4cbd0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004a4cbd0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 622} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _________________ ERROR collecting cherrypy/test/test_http.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004599552004947327 excinfo = func = . at 0x4004b6b2e0> precise_start = 130527.135426005 precise_stop = 130527.140025557 reraise = None result = None start = 1688919481.0312307 stop = 1688919481.0358365 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/doctest.py:547: in collect module = import_path( MockAwareDocTestFinder = .MockAwareDocTestFinder'> doctest = self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_http' names = ['cherrypy', 'test', 'test_http'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_http.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_http.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_http' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_http' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_http' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_http' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40053c1e50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40053c1e50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40053c1e50> :241: in _call_with_frames_removed ??? args = ( at 0x40005ff460, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n', '__file__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x40053c1e50>, '__name__': 'cherrypy', '__package__': 'cherrypy', '__path__': ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'], '__spec__': ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40053c1e50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'])}) f = kwds = {} cherrypy/__init__.py:60: in import pkg_resources __builtins__ = __cached__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc' __doc__ = ('CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are written as\n' 'a tree of classes and methods, where each branch in the tree corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which receives\n" 'GET and POST params as keyword arguments, and returns or yields the (HTML)\n' "body of the response. The special method name 'index' is used for paths\n" "that end in a slash, and the special method name 'default' is used to\n" 'handle multiple paths via a single handler. This layer also includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It provides\n' 'information about the current request and response, plus the application\n' 'and server environment, via a (default) set of top-level objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to construct\n" 'the default components which are available at higher layers. You can think\n' "of the default components as the 'reference implementation' for CherryPy.\n" 'Megaframeworks (and advanced users) may replace the default components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n' ' * Engine API\n' ' * Request API\n' ' * Server API\n' ' * WSGI API\n' '\n' "These API's are described in the `CherryPy specification\n" '`_.\n') __file__ = '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40053c1e50> __name__ = 'cherrypy' __package__ = 'cherrypy' __path__ = ['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy'] __spec__ = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40053c1e50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API WRITE_SUPPORT = True __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc' __doc__ = ('\n' 'Package resource API\n' '--------------------\n' '\n' 'A resource is a logical file contained within a package, or a logical\n' 'subdirectory thereof. The package resource API expects resource names\n' 'to have their path parts separated with ``/``, *not* whatever the local\n' 'path separator is. Do not use os.path operations to manipulate resource\n' 'names being passed into the API.\n' '\n' 'The package resource API is designed to work with normal filesystem ' 'packages,\n' '.egg files, and unpacked .egg files. It can also work in a limited way ' 'with\n' '.zip files and with custom PEP 302 loaders that support the ``get_data()``\n' 'method.\n' '\n' 'This module is deprecated. Users are directed to\n' '`importlib.resources ' '`_\n' 'and\n' '`importlib.metadata ' '`_\n' 'instead.\n') __file__ = '/usr/lib/python3.11/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40053c3610> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.11/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40053c3610>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 640} _distribution_finders = None _imp = _namespace_handlers = None _namespace_packages = None add_activation_listener = None cleanup_resources = None collections = drop_comment = email = errno = functools = get_importer = importlib = importlib_machinery = inspect = io = isdir = iter_entry_points = None join_continuation = mkdir = ntpath = operator = os = os_open = packaging = pkgutil = platform = platformdirs = plistlib = posixpath = re = rename = require = None resource_dir = None resource_exists = None resource_filename = None resource_isdir = None resource_listdir = None resource_stream = None resource_string = None resources_stream = None set_extraction_path = None split = stat = sys = tempfile = textwrap = time = types = unlink = utime = warnings = working_set = None yield_lines = zipfile = zipimport = _________________ ERROR collecting cherrypy/test/test_http.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004309224008466117 excinfo = func = . at 0x4004be9580> precise_start = 130527.462091146 precise_stop = 130527.46640037 reraise = None result = None start = 1688919481.3578959 stop = 1688919481.362211 when = 'collect' /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") collector = /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() __class__ = self = /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") has_nose = True self = /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() obj = None self = /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() self = /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) importmode = 'prepend' self = /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'cherrypy.test.test_http' names = ['cherrypy', 'test', 'test_http'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_http.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_http.py') pkg_path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy') pkg_root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') root = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_http' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_http' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_http' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_http' parent = 'cherrypy.test' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' parent_spec = None path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1206: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy' :1149: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' parent_spec = None path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f5cf90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :690: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004f5cf90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :940: in exec_module ??? code = at 0x40006ea1b0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004f5cf90> :241: in _call_with_frames_removed ??? args = ( at 0x40006ea1b0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BaseExceptionGroup': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , 'ExceptionGroup': , 'False': False, 'FileExistsError': , 'FileNotFoundError': , 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'InterruptedError': , 'IsADirectoryError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'ModuleNotFoundError': , 'NameError': , 'None': None, 'NotADirectoryError': , 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'PermissionError': , 'ProcessLookupError': , 'RecursionError': , 'ReferenceError': , 'ResourceWarning': , 'RuntimeError': , 'RuntimeWarning': , 'StopAsyncIteration': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'TimeoutError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , '__build_class__': , '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other ' 'objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis " "represents `...' in slices.", '__import__': , '__loader__': , '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=, origin='built-in'), 'abs': , 'aiter': , 'all': , 'anext': , 'any': , 'ascii': , 'bin': , 'bool': , 'breakpoint': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'exec': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'vars': , 'zip': }, '__cached__': '/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__pycache__/__init__.cpython-311.pyc', '__doc__': 'CherryPy is a pythonic, object-oriented HTTP framework.\n' '\n' 'CherryPy consists of not one, but four separate API layers.\n' '\n' 'The APPLICATION LAYER is the simplest. CherryPy applications are ' 'written as\n' 'a tree of classes and methods, where each branch in the tree ' 'corresponds to\n' "a branch in the URL path. Each method is a 'page handler', which " 'receives\n' 'GET and POST params as keyword arguments, and returns or yields ' 'the (HTML)\n' "body of the response. The special method name 'index' is used " 'for paths\n' "that end in a slash, and the special method name 'default' is " 'used to\n' 'handle multiple paths via a single handler. This layer also ' 'includes:\n' '\n' " * the 'exposed' attribute (and cherrypy.expose)\n" ' * cherrypy.quickstart()\n' ' * _cp_config attributes\n' ' * cherrypy.tools (including cherrypy.session)\n' ' * cherrypy.url()\n' '\n' 'The ENVIRONMENT LAYER is used by developers at all levels. It ' 'provides\n' 'information about the current request and response, plus the ' 'application\n' 'and server environment, via a (default) set of top-level ' 'objects:\n' '\n' ' * cherrypy.request\n' ' * cherrypy.response\n' ' * cherrypy.engine\n' ' * cherrypy.server\n' ' * cherrypy.tree\n' ' * cherrypy.config\n' ' * cherrypy.thread_data\n' ' * cherrypy.log\n' ' * cherrypy.HTTPError, NotFound, and HTTPRedirect\n' ' * cherrypy.lib\n' '\n' 'The EXTENSION LAYER allows advanced users to construct and share ' 'their own\n' 'plugins. It consists of:\n' '\n' ' * Hook API\n' ' * Tool API\n' ' * Toolbox API\n' ' * Dispatch API\n' ' * Config Namespace API\n' '\n' "Finally, there is the CORE LAYER, which uses the core API's to " 'construct\n' 'the default components which are available at higher layers. You ' 'can think\n' "of the default components as the 'reference implementation' for " 'CherryPy.\n' 'Megaframeworks (and advanced users) may replace the default ' 'components\n' "with customized or extended components. The core API's are:\n" '\n' ' * Application API\n'