==> 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' ' * 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 0x4004f5cf90>, '__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 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'])}) 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 0x4004f5cf90> __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 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']) /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 0x4004f5c890> __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 0x4004f5c890>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 658} _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_httputil.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004228562000207603 excinfo = func = . at 0x4004b698a0> precise_start = 130528.013291538 precise_stop = 130528.0175201 reraise = None result = None start = 1688919481.9090965 stop = 1688919481.913331 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_httputil' names = ['cherrypy', 'test', 'test_httputil'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_httputil.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_httputil.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_httputil' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_httputil' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_httputil' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_httputil' 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 0x4004ff6a90>, 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 0x4004ff6a90>, 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 0x4004ff6a90> :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 0x4004ff6a90>, '__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 0x4004ff6a90>, 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 0x4004ff6a90> __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 0x4004ff6a90>, 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 0x4004ff5a10> __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 0x4004ff5a10>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 676} _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_httputil.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004011101002106443 excinfo = func = . at 0x4004b68180> precise_start = 130528.325215745 precise_stop = 130528.329226846 reraise = None result = None start = 1688919482.2210217 stop = 1688919482.2250373 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_httputil' names = ['cherrypy', 'test', 'test_httputil'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_httputil.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_httputil.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_httputil' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_httputil' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_httputil' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_httputil' 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 0x4004ef5350>, 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 0x4004ef5350>, 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 0x40005981f0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004ef5350> :241: in _call_with_frames_removed ??? args = ( at 0x40005981f0, 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 0x4004ef5350>, '__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 0x4004ef5350>, 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 0x4004ef5350> __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 0x4004ef5350>, 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 0x4004ef43d0> __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 0x4004ef43d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 694} _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_iterator.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004228421996231191 excinfo = func = . at 0x4004b69440> precise_start = 130528.876016042 precise_stop = 130528.880244464 reraise = None result = None start = 1688919482.771821 stop = 1688919482.776055 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_iterator' names = ['cherrypy', 'test', 'test_iterator'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_iterator.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_iterator.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_iterator' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_iterator' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_iterator' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_iterator' 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 0x4004fe8cd0>, 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 0x4004fe8cd0>, 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 0x4004fe8cd0> :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 0x4004fe8cd0>, '__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 0x4004fe8cd0>, 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 0x4004fe8cd0> __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 0x4004fe8cd0>, 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 0x4004fe8d10> __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 0x4004fe8d10>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 712} _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_iterator.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004168277999269776 excinfo = func = . at 0x4004ed22a0> precise_start = 130529.192209357 precise_stop = 130529.196377635 reraise = None result = None start = 1688919483.088015 stop = 1688919483.0921881 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_iterator' names = ['cherrypy', 'test', 'test_iterator'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_iterator.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_iterator.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_iterator' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_iterator' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_iterator' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_iterator' 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 0x4004d47390>, 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 0x4004d47390>, 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 0x4004d47390> :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 0x4004d47390>, '__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 0x4004d47390>, 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 0x4004d47390> __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 0x4004d47390>, 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 0x4004d47b10> __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 0x4004d47b10>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 730} _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_json.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004256785003235564 excinfo = func = . at 0x4004b68180> precise_start = 130529.741689002 precise_stop = 130529.745945787 reraise = None result = None start = 1688919483.6374936 stop = 1688919483.6417568 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_json' names = ['cherrypy', 'test', 'test_json'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_json.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_json.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_json' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_json' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_json' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_json' 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 0x4004ce8890>, 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 0x4004ce8890>, 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 0x4004ce8890> :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 0x4004ce8890>, '__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 0x4004ce8890>, 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 0x4004ce8890> __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 0x4004ce8890>, 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 0x40053ac590> __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 0x40053ac590>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 748} _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_json.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004251345002558082 excinfo = func = . at 0x4004ed2c00> precise_start = 130530.056701637 precise_stop = 130530.060952982 reraise = None result = None start = 1688919483.9525063 stop = 1688919483.9567637 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_json' names = ['cherrypy', 'test', 'test_json'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_json.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_json.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_json' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_json' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_json' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_json' 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 0x4004d89c10>, 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 0x4004d89c10>, 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 0x4004d89c10> :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 0x4004d89c10>, '__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 0x4004d89c10>, 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 0x4004d89c10> __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 0x4004d89c10>, 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 0x4004d88690> __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 0x4004d88690>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 766} _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_logging.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004556550004053861 excinfo = func = . at 0x4004ed3100> precise_start = 130530.613748847 precise_stop = 130530.618305397 reraise = None result = None start = 1688919484.5095537 stop = 1688919484.514116 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_logging' names = ['cherrypy', 'test', 'test_logging'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_logging.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_logging.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_logging' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_logging' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_logging' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_logging' 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 0x4004ce9b10>, 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 0x4004ce9b10>, 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 0x4004ce9b10> :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 0x4004ce9b10>, '__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 0x4004ce9b10>, 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 0x4004ce9b10> __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 0x4004ce9b10>, 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 0x4004cebbd0> __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 0x4004cebbd0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 784} _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_logging.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.003993669000919908 excinfo = func = . at 0x4004ed27a0> precise_start = 130530.927243116 precise_stop = 130530.931236785 reraise = None result = None start = 1688919484.823049 stop = 1688919484.8270473 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_logging' names = ['cherrypy', 'test', 'test_logging'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_logging.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_logging.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_logging' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_logging' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_logging' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_logging' 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 0x4004f73c90>, 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 0x4004f73c90>, 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 0x4004f73c90> :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 0x4004f73c90>, '__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 0x4004f73c90>, 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 0x4004f73c90> __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 0x4004f73c90>, 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 0x4004f71550> __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 0x4004f71550>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 802} _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_mime.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0045423539995681494 excinfo = func = . at 0x4004ed0ae0> precise_start = 130531.482638217 precise_stop = 130531.487180571 reraise = None result = None start = 1688919485.378443 stop = 1688919485.3829916 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_mime' names = ['cherrypy', 'test', 'test_mime'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_mime.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_mime.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_mime' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_mime' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_mime' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_mime' 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 0x40051e3750>, 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 0x40051e3750>, 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 0x40051e3750> :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 0x40051e3750>, '__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 0x40051e3750>, 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 0x40051e3750> __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 0x40051e3750>, 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 0x40051e1f50> __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 0x40051e1f50>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 820} _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_mime.py __________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004078188008861616 excinfo = func = . at 0x4004ed39c0> precise_start = 130531.79674891 precise_stop = 130531.800827098 reraise = None result = None start = 1688919485.6925547 stop = 1688919485.6966374 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_mime' names = ['cherrypy', 'test', 'test_mime'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_mime.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_mime.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_mime' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_mime' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_mime' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_mime' 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 0x40053eb890>, 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 0x40053eb890>, 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 0x40006abbe0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40053eb890> :241: in _call_with_frames_removed ??? args = ( at 0x40006abbe0, 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 0x40053eb890>, '__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 0x40053eb890>, 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 0x40053eb890> __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 0x40053eb890>, 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 0x40053ea390> __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 0x40053ea390>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 838} _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_misc_tools.py _______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0044761989993276075 excinfo = func = . at 0x4004ed19e0> precise_start = 130532.352561169 precise_stop = 130532.357037368 reraise = None result = None start = 1688919486.2483664 stop = 1688919486.252848 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_misc_tools' names = ['cherrypy', 'test', 'test_misc_tools'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_misc_tools.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_misc_tools.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_misc_tools' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_misc_tools' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_misc_tools' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_misc_tools' 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 0x4004b44150>, 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 0x4004b44150>, 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 0x4004b44150> :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 0x4004b44150>, '__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 0x4004b44150>, 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 0x4004b44150> __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 0x4004b44150>, 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 0x4004c82010> __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 0x4004c82010>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 856} _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_misc_tools.py _______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004090652000741102 excinfo = func = . at 0x4004ed1300> precise_start = 130532.667833274 precise_stop = 130532.671923926 reraise = None result = None start = 1688919486.5636387 stop = 1688919486.5677345 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_misc_tools' names = ['cherrypy', 'test', 'test_misc_tools'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_misc_tools.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_misc_tools.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_misc_tools' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_misc_tools' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_misc_tools' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_misc_tools' 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 0x4004fd74d0>, 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 0x4004fd74d0>, 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 0x4004fd74d0> :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 0x4004fd74d0>, '__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 0x4004fd74d0>, 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 0x4004fd74d0> __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 0x4004fd74d0>, 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 0x4004fd6650> __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 0x4004fd6650>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 874} _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_native.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004495765999308787 excinfo = func = . at 0x4004ed0a40> precise_start = 130533.241410836 precise_stop = 130533.245906602 reraise = None result = None start = 1688919487.1372151 stop = 1688919487.141717 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_native' names = ['cherrypy', 'test', 'test_native'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_native.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_native.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_native' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_native' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_native' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_native' 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 0x40053ace90>, 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 0x40053ace90>, 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 0x40053ace90> :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 0x40053ace90>, '__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 0x40053ace90>, 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 0x40053ace90> __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 0x40053ace90>, 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 0x40053ae3d0> __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 0x40053ae3d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 892} _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_native.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.007092768995789811 excinfo = func = . at 0x4004ed0540> precise_start = 130533.931334231 precise_stop = 130533.938427 reraise = None result = None start = 1688919487.8271208 stop = 1688919487.8342404 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_native' names = ['cherrypy', 'test', 'test_native'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_native.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_native.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_native' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_native' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_native' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_native' 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 0x400528c390>, 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 0x400528c390>, 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 0x400528c390> :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 0x400528c390>, '__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 0x400528c390>, 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 0x400528c390> __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 0x400528c390>, 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 0x40053b59d0> __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 0x40053b59d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 910} _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_objectmapping.py _____________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004378726007416844 excinfo = func = . at 0x4004b90860> precise_start = 130535.517519665 precise_stop = 130535.521898391 reraise = None result = None start = 1688919489.413324 stop = 1688919489.417709 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_objectmapping' names = ['cherrypy', 'test', 'test_objectmapping'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_objectmapping.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_objectmapping.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_objectmapping' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_objectmapping' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_objectmapping' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_objectmapping' 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 0x4005259490>, 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 0x4005259490>, 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 0x4000900880, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4005259490> :241: in _call_with_frames_removed ??? args = ( at 0x4000900880, 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 0x4005259490>, '__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 0x4005259490>, 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 0x4005259490> __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 0x4005259490>, 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 0x400525bd90> __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 0x400525bd90>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 928} _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_objectmapping.py _____________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004238089008140378 excinfo = func = . at 0x4004ed1440> precise_start = 130535.853464904 precise_stop = 130535.857702993 reraise = None result = None start = 1688919489.7492695 stop = 1688919489.7535138 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_objectmapping' names = ['cherrypy', 'test', 'test_objectmapping'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_objectmapping.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_objectmapping.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_objectmapping' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_objectmapping' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_objectmapping' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_objectmapping' 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 0x4004c99c90>, 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 0x4004c99c90>, 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 0x40007415b0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004c99c90> :241: in _call_with_frames_removed ??? args = ( at 0x40007415b0, 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 0x4004c99c90>, '__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 0x4004c99c90>, 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 0x4004c99c90> __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 0x4004c99c90>, 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 0x4004c98b50> __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 0x4004c98b50>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 946} _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_params.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0042918010003631935 excinfo = func = . at 0x4004b93ba0> precise_start = 130536.379685084 precise_stop = 130536.383976885 reraise = None result = None start = 1688919490.2754903 stop = 1688919490.2797875 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_params' names = ['cherrypy', 'test', 'test_params'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_params.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_params.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_params' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_params' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_params' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_params' 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 0x4004cda610>, 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 0x4004cda610>, 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 0x4004cda610> :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 0x4004cda610>, '__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 0x4004cda610>, 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 0x4004cda610> __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 0x4004cda610>, 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 0x4004cda650> __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 0x4004cda650>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 964} _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_params.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004440832010004669 excinfo = func = . at 0x4004b92b60> precise_start = 130536.720855956 precise_stop = 130536.725296788 reraise = None result = None start = 1688919490.6166606 stop = 1688919490.6211078 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_params' names = ['cherrypy', 'test', 'test_params'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_params.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_params.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_params' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_params' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_params' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_params' 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 0x4004f5de90>, 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 0x4004f5de90>, 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 0x4004f5de90> :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 0x4004f5de90>, '__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 0x4004f5de90>, 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 0x4004f5de90> __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 0x4004f5de90>, 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 0x4004f5c8d0> __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 0x4004f5c8d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 982} _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_plugins.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004537754997727461 excinfo = func = . at 0x4004b91a80> precise_start = 130537.258290855 precise_stop = 130537.26282861 reraise = None result = None start = 1688919491.1540952 stop = 1688919491.1586394 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_plugins' names = ['cherrypy', 'test', 'test_plugins'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_plugins.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_plugins.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_plugins' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_plugins' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_plugins' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_plugins' 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 0x4004ceb650>, 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 0x4004ceb650>, 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 0x40007a71f0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004ceb650> :241: in _call_with_frames_removed ??? args = ( at 0x40007a71f0, 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 0x4004ceb650>, '__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 0x4004ceb650>, 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 0x4004ceb650> __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 0x4004ceb650>, 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 0x4004ceb290> __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 0x4004ceb290>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1000} _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_plugins.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004479826005990617 excinfo = func = . at 0x4004b902c0> precise_start = 130537.606481417 precise_stop = 130537.610961243 reraise = None result = None start = 1688919491.5022855 stop = 1688919491.506772 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_plugins' names = ['cherrypy', 'test', 'test_plugins'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_plugins.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_plugins.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_plugins' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_plugins' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_plugins' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_plugins' 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 0x40051f3250>, 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 0x40051f3250>, 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 0x40051f3250> :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 0x40051f3250>, '__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 0x40051f3250>, 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 0x40051f3250> __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 0x40051f3250>, 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 0x40051f2d50> __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 0x40051f2d50>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1018} _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_proxy.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0043733750062529 excinfo = func = . at 0x4004b92ac0> precise_start = 130538.139265557 precise_stop = 130538.143638932 reraise = None result = None start = 1688919492.0350707 stop = 1688919492.039451 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_proxy' names = ['cherrypy', 'test', 'test_proxy'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_proxy.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_proxy.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_proxy' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_proxy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_proxy' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_proxy' 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 0x40053ae550>, 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 0x40053ae550>, 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 0x40053ae550> :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 0x40053ae550>, '__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 0x40053ae550>, 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 0x40053ae550> __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 0x40053ae550>, 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 0x40053ad6d0> __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 0x40053ad6d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1036} _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_proxy.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.00457235099747777 excinfo = func = . at 0x4004b913a0> precise_start = 130538.482508431 precise_stop = 130538.487080782 reraise = None result = None start = 1688919492.378312 stop = 1688919492.3828924 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_proxy' names = ['cherrypy', 'test', 'test_proxy'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_proxy.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_proxy.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_proxy' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_proxy' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_proxy' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_proxy' 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 0x4005258210>, 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 0x4005258210>, 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 0x4005258210> :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 0x4005258210>, '__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 0x4005258210>, 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 0x4005258210> __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 0x4005258210>, 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 0x4005259290> __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 0x4005259290>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1054} _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_refleaks.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0042339820065535605 excinfo = func = . at 0x4004b93920> precise_start = 130539.008930812 precise_stop = 130539.013164794 reraise = None result = None start = 1688919492.9047358 stop = 1688919492.9089754 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_refleaks' names = ['cherrypy', 'test', 'test_refleaks'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_refleaks.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_refleaks.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_refleaks' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_refleaks' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_refleaks' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_refleaks' 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 0x40054b3bd0>, 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 0x40054b3bd0>, 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 0x40054b3bd0> :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 0x40054b3bd0>, '__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 0x40054b3bd0>, 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 0x40054b3bd0> __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 0x40054b3bd0>, 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 0x40054b3390> __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 0x40054b3390>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1072} _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_refleaks.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004428849992109463 excinfo = func = . at 0x4004ed2340> precise_start = 130539.349565202 precise_stop = 130539.353994052 reraise = None result = None start = 1688919493.2453704 stop = 1688919493.2498047 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_refleaks' names = ['cherrypy', 'test', 'test_refleaks'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_refleaks.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_refleaks.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_refleaks' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_refleaks' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_refleaks' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_refleaks' 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 0x400500e850>, 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 0x400500e850>, 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 0x400500e850> :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 0x400500e850>, '__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 0x400500e850>, 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 0x400500e850> __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 0x400500e850>, 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 0x400500f7d0> __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 0x400500f7d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1090} _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_request_obj.py ______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004211799998302013 excinfo = func = . at 0x4004d03060> precise_start = 130539.881862854 precise_stop = 130539.886074654 reraise = None result = None start = 1688919493.777668 stop = 1688919493.7818854 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_request_obj' names = ['cherrypy', 'test', 'test_request_obj'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_request_obj.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_request_obj.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_request_obj' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_request_obj' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_request_obj' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_request_obj' 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 0x40051f3690>, 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 0x40051f3690>, 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 0x40051f3690> :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 0x40051f3690>, '__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 0x40051f3690>, 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 0x40051f3690> __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 0x40051f3690>, 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 0x40051f0250> __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 0x40051f0250>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1108} _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_request_obj.py ______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004392061004182324 excinfo = func = . at 0x4004b90ea0> precise_start = 130540.222319087 precise_stop = 130540.226711148 reraise = None result = None start = 1688919494.1181235 stop = 1688919494.1225219 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_request_obj' names = ['cherrypy', 'test', 'test_request_obj'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_request_obj.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_request_obj.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_request_obj' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_request_obj' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_request_obj' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_request_obj' 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 0x4004cf2450>, 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 0x4004cf2450>, 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 0x4004cf2450> :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 0x4004cf2450>, '__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 0x4004cf2450>, 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 0x4004cf2450> __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 0x4004cf2450>, 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 0x4004cf3150> __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 0x4004cf3150>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1126} _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_routes.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004209445993183181 excinfo = func = . at 0x4004d02de0> precise_start = 130540.751489756 precise_stop = 130540.755699202 reraise = None result = None start = 1688919494.6472948 stop = 1688919494.6515102 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_routes' names = ['cherrypy', 'test', 'test_routes'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_routes.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_routes.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_routes' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_routes' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_routes' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_routes' 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 0x400552d0d0>, 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 0x400552d0d0>, 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 0x40007f31d0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400552d0d0> :241: in _call_with_frames_removed ??? args = ( at 0x40007f31d0, 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 0x400552d0d0>, '__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 0x400552d0d0>, 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 0x400552d0d0> __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 0x400552d0d0>, 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 0x400552d610> __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 0x400552d610>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1144} _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_routes.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004382552011520602 excinfo = func = . at 0x4004d00900> precise_start = 130541.093312299 precise_stop = 130541.097694851 reraise = None result = None start = 1688919494.9891174 stop = 1688919494.9935052 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_routes' names = ['cherrypy', 'test', 'test_routes'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_routes.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_routes.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_routes' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_routes' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_routes' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_routes' 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 0x4004cda6d0>, 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 0x4004cda6d0>, 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 0x4004cda6d0> :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 0x4004cda6d0>, '__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 0x4004cda6d0>, 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 0x4004cda6d0> __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 0x4004cda6d0>, 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 0x4004cda390> __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 0x4004cda390>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1162} _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_session.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004325886009610258 excinfo = func = . at 0x4004b90c20> precise_start = 130541.623609394 precise_stop = 130541.62793528 reraise = None result = None start = 1688919495.5194144 stop = 1688919495.5237463 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_session' names = ['cherrypy', 'test', 'test_session'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_session.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_session.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_session' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_session' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_session' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_session' 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 0x4004dd3750>, 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 0x4004dd3750>, 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 0x400090e9b0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004dd3750> :241: in _call_with_frames_removed ??? args = ( at 0x400090e9b0, 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 0x4004dd3750>, '__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 0x4004dd3750>, 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 0x4004dd3750> __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 0x4004dd3750>, 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 0x4004dd32d0> __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 0x4004dd32d0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1180} _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_session.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004413069997099228 excinfo = func = . at 0x4004d03880> precise_start = 130541.967525489 precise_stop = 130541.971938559 reraise = None result = None start = 1688919495.8633306 stop = 1688919495.8677495 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_session' names = ['cherrypy', 'test', 'test_session'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_session.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_session.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_session' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_session' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_session' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_session' 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 0x400528c450>, 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 0x400528c450>, 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 0x400528c450> :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 0x400528c450>, '__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 0x400528c450>, 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 0x400528c450> __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 0x400528c450>, 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 0x400528e490> __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 0x400528e490>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1198} _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_sessionauthenticate.py __________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004466601007152349 excinfo = func = . at 0x4004b92ac0> precise_start = 130542.49783008 precise_stop = 130542.502296681 reraise = None result = None start = 1688919496.3936348 stop = 1688919496.3981073 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_sessionauthenticate' names = ['cherrypy', 'test', 'test_sessionauthenticate'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_sessionauthenticate.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_sessionauthenticate.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_sessionauthenticate' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_sessionauthenticate' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_sessionauthenticate' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_sessionauthenticate' 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 0x4004fb8e50>, 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 0x4004fb8e50>, 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 0x4004fb8e50> :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 0x4004fb8e50>, '__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 0x4004fb8e50>, 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 0x4004fb8e50> __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 0x4004fb8e50>, 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 0x4004fb9ad0> __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 0x4004fb9ad0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1216} _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_sessionauthenticate.py __________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004118825003388338 excinfo = func = . at 0x4004c18e00> precise_start = 130542.816125131 precise_stop = 130542.820243956 reraise = None result = None start = 1688919496.7119305 stop = 1688919496.7160544 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_sessionauthenticate' names = ['cherrypy', 'test', 'test_sessionauthenticate'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_sessionauthenticate.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_sessionauthenticate.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_sessionauthenticate' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_sessionauthenticate' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_sessionauthenticate' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_sessionauthenticate' 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 0x4004cead90>, 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 0x4004cead90>, 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 0x40008f37c0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004cead90> :241: in _call_with_frames_removed ??? args = ( at 0x40008f37c0, 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 0x4004cead90>, '__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 0x4004cead90>, 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 0x4004cead90> __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 0x4004cead90>, 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 0x4004ceb010> __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 0x4004ceb010>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1234} _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.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004256724991137162 excinfo = func = . at 0x4004b90c20> precise_start = 130543.368793525 precise_stop = 130543.37305025 reraise = None result = None start = 1688919497.2645984 stop = 1688919497.2688608 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' names = ['cherrypy', 'test', 'test_states'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_states.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_states.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' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_states' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_states' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_states' 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 0x40054e7050>, 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 0x40054e7050>, 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 0x40054e7050> :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 0x40054e7050>, '__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 0x40054e7050>, 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 0x40054e7050> __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 0x40054e7050>, 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 0x40054e6410> __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 0x40054e6410>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1252} _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.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0041434119921177626 excinfo = func = . at 0x4004b91a80> precise_start = 130543.68515144 precise_stop = 130543.689294852 reraise = None result = None start = 1688919497.5809567 stop = 1688919497.5851057 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_states' names = ['cherrypy', 'test', 'test_states'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_states.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_states.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' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_states' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_states' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_states' 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 0x4004da0410>, 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 0x4004da0410>, 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 0x4000934870, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004da0410> :241: in _call_with_frames_removed ??? args = ( at 0x4000934870, 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 0x4004da0410>, '__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 0x4004da0410>, 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 0x4004da0410> __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 0x4004da0410>, 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 0x4004da2050> __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 0x4004da2050>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1270} _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_static.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004236807988490909 excinfo = func = . at 0x4004b90c20> precise_start = 130544.234411811 precise_stop = 130544.238648619 reraise = None result = None start = 1688919498.1302166 stop = 1688919498.1344595 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_static' names = ['cherrypy', 'test', 'test_static'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_static.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_static.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_static' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_static' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_static' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_static' 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 0x40054b2e50>, 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 0x40054b2e50>, 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 0x40054b2e50> :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 0x40054b2e50>, '__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 0x40054b2e50>, 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 0x40054b2e50> __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 0x40054b2e50>, 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 0x40054b0410> __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 0x40054b0410>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1288} _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_static.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004353828000603244 excinfo = func = . at 0x4004c1a2a0> precise_start = 130544.5506129 precise_stop = 130544.554966728 reraise = None result = None start = 1688919498.4464173 stop = 1688919498.4507778 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_static' names = ['cherrypy', 'test', 'test_static'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_static.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_static.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_static' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_static' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_static' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_static' 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 0x400521d010>, 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 0x400521d010>, 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 0x4000933d30, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400521d010> :241: in _call_with_frames_removed ??? args = ( at 0x4000933d30, 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 0x400521d010>, '__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 0x400521d010>, 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 0x400521d010> __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 0x400521d010>, 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 0x400521e610> __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 0x400521e610>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1306} _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_tools.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004587600007653236 excinfo = func = . at 0x4004b90c20> precise_start = 130545.102678325 precise_stop = 130545.107265925 reraise = None result = None start = 1688919498.9984827 stop = 1688919499.0030768 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_tools' names = ['cherrypy', 'test', 'test_tools'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_tools.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_tools.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_tools' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_tools' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_tools' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_tools' 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 0x4004acae10>, 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 0x4004acae10>, 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 0x4004acae10> :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 0x4004acae10>, '__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 0x4004acae10>, 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 0x4004acae10> __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 0x4004acae10>, 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 0x4004acac50> __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 0x4004acac50>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1324} _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_tools.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0041244849999202415 excinfo = func = . at 0x4004c1bb00> precise_start = 130545.414290103 precise_stop = 130545.418414588 reraise = None result = None start = 1688919499.310095 stop = 1688919499.3142252 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_tools' names = ['cherrypy', 'test', 'test_tools'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_tools.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_tools.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_tools' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_tools' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_tools' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_tools' 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 0x4004c42b50>, 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 0x4004c42b50>, 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 0x4000849600, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004c42b50> :241: in _call_with_frames_removed ??? args = ( at 0x4000849600, 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 0x4004c42b50>, '__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 0x4004c42b50>, 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 0x4004c42b50> __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 0x4004c42b50>, 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 0x4004c41cd0> __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 0x4004c41cd0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1342} _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_tutorials.py _______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004215006993035786 excinfo = func = . at 0x4004c1b6a0> precise_start = 130545.962090607 precise_stop = 130545.966305614 reraise = None result = None start = 1688919499.8578956 stop = 1688919499.8621166 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_tutorials' names = ['cherrypy', 'test', 'test_tutorials'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_tutorials.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_tutorials.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_tutorials' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_tutorials' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_tutorials' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_tutorials' 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 0x400526ccd0>, 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 0x400526ccd0>, 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 0x400526ccd0> :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 0x400526ccd0>, '__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 0x400526ccd0>, 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 0x400526ccd0> __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 0x400526ccd0>, 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 0x400526dbd0> __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 0x400526dbd0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1360} _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_tutorials.py _______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004041207997943275 excinfo = func = . at 0x4004c19f80> precise_start = 130546.273519839 precise_stop = 130546.277561047 reraise = None result = None start = 1688919500.169325 stop = 1688919500.1733713 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_tutorials' names = ['cherrypy', 'test', 'test_tutorials'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_tutorials.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_tutorials.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_tutorials' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_tutorials' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_tutorials' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_tutorials' 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 0x40007a63e0, 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 0x40007a63e0, 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 0x4004cd5bd0> __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 0x4004cd5bd0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1378} _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_virtualhost.py ______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004157028000918217 excinfo = func = . at 0x4004c1b380> precise_start = 130546.825480857 precise_stop = 130546.829637885 reraise = None result = None start = 1688919500.7212853 stop = 1688919500.7254488 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_virtualhost' names = ['cherrypy', 'test', 'test_virtualhost'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_virtualhost.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_virtualhost.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_virtualhost' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_virtualhost' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_virtualhost' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_virtualhost' 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 0x400527d650>, 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 0x400527d650>, 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 0x400527d650> :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 0x400527d650>, '__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 0x400527d650>, 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 0x400527d650> __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 0x400527d650>, 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 0x400527f110> __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 0x400527f110>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1396} _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_virtualhost.py ______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004157857998507097 excinfo = func = . at 0x4004c18220> precise_start = 130547.137446342 precise_stop = 130547.1416042 reraise = None result = None start = 1688919501.0332515 stop = 1688919501.037415 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_virtualhost' names = ['cherrypy', 'test', 'test_virtualhost'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_virtualhost.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_virtualhost.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_virtualhost' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_virtualhost' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_virtualhost' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_virtualhost' 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 0x4004fd5010>, 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 0x4004fd5010>, 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 0x4000933d30, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004fd5010> :241: in _call_with_frames_removed ??? args = ( at 0x4000933d30, 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 0x4004fd5010>, '__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 0x4004fd5010>, 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 0x4004fd5010> __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 0x4004fd5010>, 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 0x4004fd5ed0> __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 0x4004fd5ed0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1414} _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_wsgi_ns.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004218904010485858 excinfo = func = . at 0x4004c1b420> precise_start = 130547.687395783 precise_stop = 130547.691614687 reraise = None result = None start = 1688919501.5832007 stop = 1688919501.5874252 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_wsgi_ns' names = ['cherrypy', 'test', 'test_wsgi_ns'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgi_ns.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgi_ns.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_wsgi_ns' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgi_ns' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgi_ns' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgi_ns' 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 0x4004d4a9d0>, 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 0x4004d4a9d0>, 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 0x4004d4a9d0> :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 0x4004d4a9d0>, '__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 0x4004d4a9d0>, 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 0x4004d4a9d0> __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 0x4004d4a9d0>, 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 0x4004d49310> __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 0x4004d49310>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1432} _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_wsgi_ns.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0040006119961617514 excinfo = func = . at 0x4004c1ab60> precise_start = 130547.997428178 precise_stop = 130548.00142879 reraise = None result = None start = 1688919501.8932343 stop = 1688919501.8972394 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_wsgi_ns' names = ['cherrypy', 'test', 'test_wsgi_ns'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgi_ns.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgi_ns.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_wsgi_ns' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgi_ns' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgi_ns' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgi_ns' 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 0x4004cc6710>, 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 0x4004cc6710>, 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 0x4004cc6710> :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 0x4004cc6710>, '__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 0x4004cc6710>, 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 0x4004cc6710> __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 0x4004cc6710>, 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 0x4004cc6f50> __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 0x4004cc6f50>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1450} _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_wsgi_unix_socket.py ____________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004667941000661813 excinfo = func = . at 0x4004c1bb00> precise_start = 130548.551902421 precise_stop = 130548.556570362 reraise = None result = None start = 1688919502.4477067 stop = 1688919502.4523811 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_wsgi_unix_socket' names = ['cherrypy', 'test', 'test_wsgi_unix_socket'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgi_unix_socket.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgi_unix_socket.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_wsgi_unix_socket' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgi_unix_socket' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgi_unix_socket' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgi_unix_socket' 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 0x4004cc6290>, 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 0x4004cc6290>, 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 0x4004cc6290> :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 0x4004cc6290>, '__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 0x4004cc6290>, 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 0x4004cc6290> __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 0x4004cc6290>, 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 0x4004c4c810> __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 0x4004c4c810>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1468} _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_wsgi_unix_socket.py ____________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.00400673299736809 excinfo = func = . at 0x4004c1b420> precise_start = 130548.863135262 precise_stop = 130548.867141995 reraise = None result = None start = 1688919502.758941 stop = 1688919502.7629528 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_wsgi_unix_socket' names = ['cherrypy', 'test', 'test_wsgi_unix_socket'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgi_unix_socket.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgi_unix_socket.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_wsgi_unix_socket' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgi_unix_socket' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgi_unix_socket' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgi_unix_socket' 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 0x40054e7e50>, 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 0x40054e7e50>, 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 0x4000933d30, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40054e7e50> :241: in _call_with_frames_removed ??? args = ( at 0x4000933d30, 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 0x40054e7e50>, '__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 0x40054e7e50>, 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 0x40054e7e50> __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 0x40054e7e50>, 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 0x40054e4110> __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 0x40054e4110>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1486} _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_wsgi_vhost.py _______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004483633005293086 excinfo = func = . at 0x4004c19da0> precise_start = 130549.414479737 precise_stop = 130549.41896337 reraise = None result = None start = 1688919503.3102849 stop = 1688919503.314774 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_wsgi_vhost' names = ['cherrypy', 'test', 'test_wsgi_vhost'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgi_vhost.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgi_vhost.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_wsgi_vhost' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgi_vhost' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgi_vhost' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgi_vhost' 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 0x40055838d0>, 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 0x40055838d0>, 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 0x40055838d0> :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 0x40055838d0>, '__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 0x40055838d0>, 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 0x40055838d0> __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 0x40055838d0>, 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 0x4005583f10> __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 0x4005583f10>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1504} _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_wsgi_vhost.py _______________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004118173004826531 excinfo = func = . at 0x4004ebb4c0> precise_start = 130549.728069327 precise_stop = 130549.7321875 reraise = None result = None start = 1688919503.623875 stop = 1688919503.6279984 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_wsgi_vhost' names = ['cherrypy', 'test', 'test_wsgi_vhost'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgi_vhost.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgi_vhost.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_wsgi_vhost' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgi_vhost' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgi_vhost' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgi_vhost' 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 0x40054cd650>, 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 0x40054cd650>, 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 0x40007f31d0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40054cd650> :241: in _call_with_frames_removed ??? args = ( at 0x40007f31d0, 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 0x40054cd650>, '__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 0x40054cd650>, 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 0x40054cd650> __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 0x40054cd650>, 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 0x40054cfb10> __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 0x40054cfb10>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1522} _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_wsgiapps.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0042926419991999865 excinfo = func = . at 0x4004c19da0> precise_start = 130550.26606281 precise_stop = 130550.270355452 reraise = None result = None start = 1688919504.1618679 stop = 1688919504.166166 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_wsgiapps' names = ['cherrypy', 'test', 'test_wsgiapps'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgiapps.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgiapps.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_wsgiapps' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgiapps' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgiapps' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgiapps' 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 0x4004cf4a90>, 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 0x4004cf4a90>, 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 0x4004cf4a90> :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 0x4004cf4a90>, '__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 0x4004cf4a90>, 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 0x4004cf4a90> __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 0x4004cf4a90>, 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 0x4004cf5650> __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 0x4004cf5650>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1540} _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_wsgiapps.py ________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004268638003850356 excinfo = func = . at 0x4004eb9ee0> precise_start = 130550.577086586 precise_stop = 130550.581355224 reraise = None result = None start = 1688919504.4728913 stop = 1688919504.477166 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_wsgiapps' names = ['cherrypy', 'test', 'test_wsgiapps'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgiapps.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_wsgiapps.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_wsgiapps' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgiapps' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgiapps' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgiapps' 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 0x4004ce9910>, 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 0x4004ce9910>, 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 0x4000933d30, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004ce9910> :241: in _call_with_frames_removed ??? args = ( at 0x4000933d30, 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 0x4004ce9910>, '__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 0x4004ce9910>, 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 0x4004ce9910> __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 0x4004ce9910>, 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 0x4004ce9410> __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 0x4004ce9410>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1558} _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_xmlrpc.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0043449520017020404 excinfo = func = . at 0x4004eb89a0> precise_start = 130551.112813872 precise_stop = 130551.117158824 reraise = None result = None start = 1688919505.0086188 stop = 1688919505.0129695 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_xmlrpc' names = ['cherrypy', 'test', 'test_xmlrpc'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_xmlrpc.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_xmlrpc.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_xmlrpc' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_xmlrpc' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_xmlrpc' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_xmlrpc' 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 0x400528ff90>, 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 0x400528ff90>, 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 0x400528ff90> :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 0x400528ff90>, '__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 0x400528ff90>, 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 0x400528ff90> __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 0x400528ff90>, 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 0x400528d290> __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 0x400528d290>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1576} _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_xmlrpc.py _________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.0038999319949653 excinfo = func = . at 0x4004c1bb00> precise_start = 130551.412697591 precise_stop = 130551.416597523 reraise = None result = None start = 1688919505.3085032 stop = 1688919505.312408 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_xmlrpc' names = ['cherrypy', 'test', 'test_xmlrpc'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_xmlrpc.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/test_xmlrpc.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_xmlrpc' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_xmlrpc' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_xmlrpc' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_xmlrpc' 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 0x4004d7f290>, 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 0x4004d7f290>, 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 0x400061cbf0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004d7f290> :241: in _call_with_frames_removed ??? args = ( at 0x400061cbf0, 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 0x4004d7f290>, '__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 0x4004d7f290>, 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 0x4004d7f290> __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 0x4004d7f290>, 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 0x4004d7eed0> __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 0x4004d7eed0>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1594} _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/webtest.py ___________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() cls = duration = 0.004062218009494245 excinfo = func = . at 0x4004df1d00> precise_start = 130551.917802474 precise_stop = 130551.921864692 reraise = None result = None start = 1688919505.813608 stop = 1688919505.8176756 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.webtest' names = ['cherrypy', 'test', 'webtest'] p = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/webtest.py') path = PosixPath('/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/test/webtest.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.webtest' package = None :1206: in _gcd_import ??? level = 0 name = 'cherrypy.test.webtest' package = None :1178: in _find_and_load ??? import_ = module = name = 'cherrypy.test.webtest' :1128: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.webtest' 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 0x400580d290>, 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 0x400580d290>, 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 0x4000a8b2e0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400580d290> :241: in _call_with_frames_removed ??? args = ( at 0x4000a8b2e0, 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 0x400580d290>, '__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 0x400580d290>, 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 0x400580d290> __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 0x400580d290>, 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 0x400580d590> __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 0x400580d590>, origin='/usr/lib/python3.11/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/pkg_resources']) __warningregistry__ = {'version': 1612} _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 = - generated xml file: /build/python-cherrypy/src/cherrypy-18.8.0/.test-results/pytest/results.xml - =========================== short test summary info ============================ ERROR cherrypy/test/__init__.py - DeprecationWarning: pkg_resources is deprec... ERROR cherrypy/test/_test_decorators.py - DeprecationWarning: pkg_resources i... ERROR cherrypy/test/_test_states_demo.py - DeprecationWarning: pkg_resources ... ERROR cherrypy/test/benchmark.py - DeprecationWarning: pkg_resources is depre... ERROR cherrypy/test/checkerdemo.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/helper.py - DeprecationWarning: pkg_resources is deprecat... ERROR cherrypy/test/logtest.py - DeprecationWarning: pkg_resources is depreca... ERROR cherrypy/test/modfastcgi.py - DeprecationWarning: pkg_resources is depr... ERROR cherrypy/test/modfcgid.py - DeprecationWarning: pkg_resources is deprec... ERROR cherrypy/test/modpy.py - DeprecationWarning: pkg_resources is deprecate... ERROR cherrypy/test/modwsgi.py - DeprecationWarning: pkg_resources is depreca... ERROR cherrypy/test/sessiondemo.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_auth_basic.py - DeprecationWarning: pkg_resources is... ERROR cherrypy/test/test_auth_basic.py - DeprecationWarning: pkg_resources is... ERROR cherrypy/test/test_auth_digest.py - DeprecationWarning: pkg_resources i... ERROR cherrypy/test/test_auth_digest.py - DeprecationWarning: pkg_resources i... ERROR cherrypy/test/test_bus.py - DeprecationWarning: pkg_resources is deprec... ERROR cherrypy/test/test_bus.py - DeprecationWarning: pkg_resources is deprec... ERROR cherrypy/test/test_caching.py - DeprecationWarning: pkg_resources is de... ERROR cherrypy/test/test_caching.py - DeprecationWarning: pkg_resources is de... ERROR cherrypy/test/test_config.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_config.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_config_server.py - DeprecationWarning: pkg_resources... ERROR cherrypy/test/test_config_server.py - DeprecationWarning: pkg_resources... ERROR cherrypy/test/test_conn.py - DeprecationWarning: pkg_resources is depre... ERROR cherrypy/test/test_conn.py - DeprecationWarning: pkg_resources is depre... ERROR cherrypy/test/test_core.py - DeprecationWarning: pkg_resources is depre... ERROR cherrypy/test/test_core.py - DeprecationWarning: pkg_resources is depre... ERROR cherrypy/test/test_dynamicobjectmapping.py - DeprecationWarning: pkg_re... ERROR cherrypy/test/test_dynamicobjectmapping.py - DeprecationWarning: pkg_re... ERROR cherrypy/test/test_encoding.py - DeprecationWarning: pkg_resources is d... ERROR cherrypy/test/test_encoding.py - DeprecationWarning: pkg_resources is d... ERROR cherrypy/test/test_etags.py - DeprecationWarning: pkg_resources is depr... ERROR cherrypy/test/test_etags.py - DeprecationWarning: pkg_resources is depr... ERROR cherrypy/test/test_http.py - DeprecationWarning: pkg_resources is depre... ERROR cherrypy/test/test_http.py - DeprecationWarning: pkg_resources is depre... ERROR cherrypy/test/test_httputil.py - DeprecationWarning: pkg_resources is d... ERROR cherrypy/test/test_httputil.py - DeprecationWarning: pkg_resources is d... ERROR cherrypy/test/test_iterator.py - DeprecationWarning: pkg_resources is d... ERROR cherrypy/test/test_iterator.py - DeprecationWarning: pkg_resources is d... ERROR cherrypy/test/test_json.py - DeprecationWarning: pkg_resources is depre... ERROR cherrypy/test/test_json.py - DeprecationWarning: pkg_resources is depre... ERROR cherrypy/test/test_logging.py - DeprecationWarning: pkg_resources is de... ERROR cherrypy/test/test_logging.py - DeprecationWarning: pkg_resources is de... ERROR cherrypy/test/test_mime.py - DeprecationWarning: pkg_resources is depre... ERROR cherrypy/test/test_mime.py - DeprecationWarning: pkg_resources is depre... ERROR cherrypy/test/test_misc_tools.py - DeprecationWarning: pkg_resources is... ERROR cherrypy/test/test_misc_tools.py - DeprecationWarning: pkg_resources is... ERROR cherrypy/test/test_native.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_native.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_objectmapping.py - DeprecationWarning: pkg_resources... ERROR cherrypy/test/test_objectmapping.py - DeprecationWarning: pkg_resources... ERROR cherrypy/test/test_params.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_params.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_plugins.py - DeprecationWarning: pkg_resources is de... ERROR cherrypy/test/test_plugins.py - DeprecationWarning: pkg_resources is de... ERROR cherrypy/test/test_proxy.py - DeprecationWarning: pkg_resources is depr... ERROR cherrypy/test/test_proxy.py - DeprecationWarning: pkg_resources is depr... ERROR cherrypy/test/test_refleaks.py - DeprecationWarning: pkg_resources is d... ERROR cherrypy/test/test_refleaks.py - DeprecationWarning: pkg_resources is d... ERROR cherrypy/test/test_request_obj.py - DeprecationWarning: pkg_resources i... ERROR cherrypy/test/test_request_obj.py - DeprecationWarning: pkg_resources i... ERROR cherrypy/test/test_routes.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_routes.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_session.py - DeprecationWarning: pkg_resources is de... ERROR cherrypy/test/test_session.py - DeprecationWarning: pkg_resources is de... ERROR cherrypy/test/test_sessionauthenticate.py - DeprecationWarning: pkg_res... ERROR cherrypy/test/test_sessionauthenticate.py - DeprecationWarning: pkg_res... ERROR cherrypy/test/test_states.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_states.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_static.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_static.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_tools.py - DeprecationWarning: pkg_resources is depr... ERROR cherrypy/test/test_tools.py - DeprecationWarning: pkg_resources is depr... ERROR cherrypy/test/test_tutorials.py - DeprecationWarning: pkg_resources is ... ERROR cherrypy/test/test_tutorials.py - DeprecationWarning: pkg_resources is ... ERROR cherrypy/test/test_virtualhost.py - DeprecationWarning: pkg_resources i... ERROR cherrypy/test/test_virtualhost.py - DeprecationWarning: pkg_resources i... ERROR cherrypy/test/test_wsgi_ns.py - DeprecationWarning: pkg_resources is de... ERROR cherrypy/test/test_wsgi_ns.py - DeprecationWarning: pkg_resources is de... ERROR cherrypy/test/test_wsgi_unix_socket.py - DeprecationWarning: pkg_resour... ERROR cherrypy/test/test_wsgi_unix_socket.py - DeprecationWarning: pkg_resour... ERROR cherrypy/test/test_wsgi_vhost.py - DeprecationWarning: pkg_resources is... ERROR cherrypy/test/test_wsgi_vhost.py - DeprecationWarning: pkg_resources is... ERROR cherrypy/test/test_wsgiapps.py - DeprecationWarning: pkg_resources is d... ERROR cherrypy/test/test_wsgiapps.py - DeprecationWarning: pkg_resources is d... ERROR cherrypy/test/test_xmlrpc.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/test_xmlrpc.py - DeprecationWarning: pkg_resources is dep... ERROR cherrypy/test/webtest.py - DeprecationWarning: pkg_resources is depreca... !!!!!!!!!!!!!!!!!!! Interrupted: 89 errors during collection !!!!!!!!!!!!!!!!!!! ============================= 89 errors in 39.33s ============================== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root25/build receiving incremental file list python-cherrypy-18.8.0-3-riscv64-build.log python-cherrypy-18.8.0-3-riscv64-check.log python-cherrypy-18.8.0-3-riscv64-prepare.log sent 81 bytes received 57,127 bytes 22,883.20 bytes/sec total size is 2,519,219 speedup is 44.04