==> Building on nidorino ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-cherrypy ./ PKGBUILD 3,486 100% 0.00kB/s 0:00:00 3,486 100% 0.00kB/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-2.log 620 100% 605.47kB/s 0:00:00 620 100% 605.47kB/s 0:00:00 (xfr#5, to-chk=0/6) sent 3,439 bytes received 161 bytes 2,400.00 bytes/sec total size is 5,325 speedup is 1.48 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root15 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community 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] -> [root15]...done ==> Making package: python-cherrypy 18.8.0-2 (Sat Apr 22 16:03:42 2023) ==> Retrieving sources...  -> Downloading python-cherrypy-18.8.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 604k 0 604k 0 0 838k 0 --:--:-- --:--:-- --:--:-- 838k  -> 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-2 (Sat Apr 22 16:03:53 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 community/python-autocommand 2.2.2-1 0.07 MiB community/python-inflect 6.0.4-1 0.28 MiB community/python-jaraco.classes 3.2.3-1 0.03 MiB community/python-jaraco.context 4.3.0-1 0.03 MiB community/python-jaraco.functools 3.6.0-1 0.05 MiB community/python-jaraco.text 3.11.1-1 0.07 MiB community/python-pydantic 1.10.7-2 5.84 MiB community/python-pytz 2022.7.1-1 0.14 MiB extra/python-six 1.16.0-6 0.09 MiB community/python-tempora 5.2.1-1 0.10 MiB 0.02 MiB community/python-typing_extensions 4.5.0-1 0.23 MiB core/python 3.10.10-1 81.41 MiB community/python-cheroot 9.0.0-3 0.41 MiB 0.09 MiB community/python-jaraco.collections 3.5.2-1 0.09 MiB 0.02 MiB community/python-more-itertools 9.1.1-1 0.50 MiB community/python-portend 3.1.0-1 0.02 MiB community/python-zc.lockfile 3.0.post1-1 0.04 MiB 0.01 MiB Total Download Size: 0.14 MiB Total Installed Size: 89.47 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-cheroot-9.0.0-3-any downloading... python-tempora-5.2.1-1-any downloading... python-jaraco.collections-3.5.2-1-any downloading... python-zc.lockfile-3.0.post1-1-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 (31) New Version Net Change Download Size community/python-apipkg 3.0.1-1 0.04 MiB extra/python-chardet 5.1.0-1 2.49 MiB community/python-exceptiongroup 1.1.1-1 0.09 MiB community/python-fastjsonschema 2.16.3-1 0.20 MiB extra/python-idna 3.4-1 0.67 MiB community/python-iniconfig 2.0.0-2 0.03 MiB extra/python-ordered-set 4.1.0-1 0.06 MiB extra/python-packaging 23.0-1 0.32 MiB extra/python-platformdirs 3.2.0-1 0.14 MiB community/python-pluggy 1.0.0-2 0.10 MiB community/python-psutil 5.9.4-1 2.10 MiB community/python-py 1.11.0-2 0.71 MiB community/python-pyproject-hooks 1.0.0-1 0.07 MiB extra/python-requests 2.28.2-1 0.46 MiB community/python-termcolor 2.2.0-1 0.03 MiB extra/python-tomli 2.0.1-1 0.08 MiB extra/python-trove-classifiers 2023.4.18-1 0.11 MiB extra/python-urllib3 1.26.7-5 0.69 MiB extra/python-validate-pyproject 0.12.2-1 0.22 MiB community/python-build 0.10.0-1 1.08 MiB community/python-installer 0.7.0-1 1.22 MiB community/python-objgraph 3.5.0-7 0.12 MiB 0.03 MiB community/python-path 16.6.0-2 0.20 MiB community/python-pytest 7.3.1-3 2.83 MiB community/python-pytest-forked 1.6.0-1 0.02 MiB 0.01 MiB community/python-pytest-services 2.2.1-7 0.11 MiB 0.03 MiB community/python-pytest-sugar 0.9.7-1 0.06 MiB 0.02 MiB community/python-requests-toolbelt 0.10.1-1 0.38 MiB extra/python-setuptools 1:67.6.1-1 3.34 MiB community/python-setuptools-scm 7.1.0-1 0.27 MiB community/python-wheel 0.40.0-1 0.19 MiB Total Download Size: 0.08 MiB Total Installed Size: 18.43 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-pytest-services-2.2.1-7-any downloading... python-objgraph-3.5.0-7-any downloading... python-pytest-sugar-0.9.7-1-any downloading... python-pytest-forked-1.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-tomli... 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-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-exceptiongroup... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-apipkg... installing python-py... installing python-pytest-forked... installing python-urllib3... Optional dependencies for python-urllib3 python-pysocks: SOCKS support python-brotli: Brotli support python-pyopenssl: security support python-idna: security support [pending] 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.10/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) * Building wheel... /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) 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.10.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-acsm94i7/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.10.10, pytest-7.3.1, 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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d7880>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d7880>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40041e77e0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40041d7880> :241: in _call_with_frames_removed ??? args = ( at 0x40041e77e0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40041d7880>, '__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 0x40041d7880>, 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-310.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 0x40041d7880> __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 0x40041d7880>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004273460> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004273460>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test._test_decorators' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test._test_decorators' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test._test_decorators' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test._test_decorators' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041f94b0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041f94b0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4003deb520, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40041f94b0> :241: in _call_with_frames_removed ??? args = ( at 0x4003deb520, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40041f94b0>, '__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 0x40041f94b0>, 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-310.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 0x40041f94b0> __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 0x40041f94b0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40041f84c0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041f84c0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 37} _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.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test._test_states_demo' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test._test_states_demo' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test._test_states_demo' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004283f10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004283f10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004397cb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004283f10> :241: in _call_with_frames_removed ??? args = ( at 0x4004397cb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004283f10>, '__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 0x4004283f10>, 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-310.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 0x4004283f10> __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 0x4004283f10>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40042834c0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042834c0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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/benchmark.py __________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.benchmark' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.benchmark' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.benchmark' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.benchmark' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d6440>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d6440>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x400439b940, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40041d6440> :241: in _call_with_frames_removed ??? args = ( at 0x400439b940, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40041d6440>, '__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 0x40041d6440>, 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-310.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 0x40041d6440> __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 0x40041d6440>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40041d47f0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d47f0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 55} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.checkerdemo' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.checkerdemo' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.checkerdemo' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.checkerdemo' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044a2590>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044a2590>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004507680, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044a2590> :241: in _call_with_frames_removed ??? args = ( at 0x4004507680, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044a2590>, '__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 0x40044a2590>, 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-310.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 0x40044a2590> __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 0x40044a2590>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40044a1060> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044a1060>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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/helper.py ___________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.helper' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.helper' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.helper' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.helper' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b37f0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b37f0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004398f50, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044b37f0> :241: in _call_with_frames_removed ??? args = ( at 0x4004398f50, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044b37f0>, '__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 0x40044b37f0>, 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-310.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 0x40044b37f0> __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 0x40044b37f0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40044b0ca0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b0ca0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 73} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.logtest' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.logtest' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.logtest' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.logtest' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400453c370>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400453c370>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004274240, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400453c370> :241: in _call_with_frames_removed ??? args = ( at 0x4004274240, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x400453c370>, '__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 0x400453c370>, 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-310.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 0x400453c370> __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 0x400453c370>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400453f430> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400453f430>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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/modfastcgi.py _________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.modfastcgi' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.modfastcgi' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.modfastcgi' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.modfastcgi' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041f8700>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041f8700>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x400433bec0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40041f8700> :241: in _call_with_frames_removed ??? args = ( at 0x400433bec0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40041f8700>, '__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 0x40041f8700>, 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-310.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 0x40041f8700> __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 0x40041f8700>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40041f8790> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041f8790>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 91} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.modfcgid' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.modfcgid' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.modfcgid' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.modfcgid' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d7d60>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d7d60>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4003df5fd0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40041d7d60> :241: in _call_with_frames_removed ??? args = ( at 0x4003df5fd0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40041d7d60>, '__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 0x40041d7d60>, 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-310.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 0x40041d7d60> __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 0x40041d7d60>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40041d6a70> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d6a70>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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/modpy.py ____________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.modpy' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.modpy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.modpy' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.modpy' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b18d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b18d0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004491e70, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044b18d0> :241: in _call_with_frames_removed ??? args = ( at 0x4004491e70, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044b18d0>, '__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 0x40044b18d0>, 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-310.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 0x40044b18d0> __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 0x40044b18d0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40044b0430> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b0430>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 109} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.modwsgi' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.modwsgi' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.modwsgi' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.modwsgi' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004283220>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004283220>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40042683a0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004283220> :241: in _call_with_frames_removed ??? args = ( at 0x40042683a0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004283220>, '__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 0x4004283220>, 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-310.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 0x4004283220> __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 0x4004283220>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004282bc0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004282bc0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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/sessiondemo.py _________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.sessiondemo' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.sessiondemo' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.sessiondemo' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.sessiondemo' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004260550>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004260550>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40044480e0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004260550> :241: in _call_with_frames_removed ??? args = ( at 0x40044480e0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004260550>, '__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 0x4004260550>, 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-310.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 0x4004260550> __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 0x4004260550>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004263ac0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004263ac0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 127} _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.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_auth_basic' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_auth_basic' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_auth_basic' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004281240>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004281240>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004504240, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004281240> :241: in _call_with_frames_removed ??? args = ( at 0x4004504240, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004281240>, '__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 0x4004281240>, 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-310.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 0x4004281240> __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 0x4004281240>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004283790> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004283790>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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/test_auth_basic.py _______________ /usr/lib/python3.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_auth_basic' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_auth_basic' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_auth_basic' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041f84c0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041f84c0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40041d1370, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40041f84c0> :241: in _call_with_frames_removed ??? args = ( at 0x40041d1370, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40041f84c0>, '__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 0x40041f84c0>, 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-310.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 0x40041f84c0> __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 0x40041f84c0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40041f83a0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041f83a0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 145} _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.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_auth_digest' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_auth_digest' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_auth_digest' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d6770>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d6770>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40042687c0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40041d6770> :241: in _call_with_frames_removed ??? args = ( at 0x40042687c0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40041d6770>, '__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 0x40041d6770>, 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-310.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 0x40041d6770> __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 0x40041d6770>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40041d4280> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d4280>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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/test_auth_digest.py ______________ /usr/lib/python3.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_auth_digest' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_auth_digest' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_auth_digest' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d7be0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d7be0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40043b0500, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044d7be0> :241: in _call_with_frames_removed ??? args = ( at 0x40043b0500, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044d7be0>, '__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 0x40044d7be0>, 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-310.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 0x40044d7be0> __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 0x40044d7be0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40044d5750> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d5750>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 163} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_bus' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_bus' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_bus' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_bus' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004271d50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004271d50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40043b4f50, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004271d50> :241: in _call_with_frames_removed ??? args = ( at 0x40043b4f50, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004271d50>, '__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 0x4004271d50>, 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-310.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 0x4004271d50> __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 0x4004271d50>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004272740> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004272740>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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/test_bus.py __________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_bus' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_bus' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_bus' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_bus' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042fde70>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042fde70>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4003dfcd40, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40042fde70> :241: in _call_with_frames_removed ??? args = ( at 0x4003dfcd40, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40042fde70>, '__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 0x40042fde70>, 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-310.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 0x40042fde70> __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 0x40042fde70>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40042fca30> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042fca30>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 181} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_caching' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_caching' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_caching' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_caching' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d47c0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d47c0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40044743a0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40041d47c0> :241: in _call_with_frames_removed ??? args = ( at 0x40044743a0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40041d47c0>, '__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 0x40041d47c0>, 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-310.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 0x40041d47c0> __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 0x40041d47c0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40041d7760> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041d7760>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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/test_caching.py ________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_caching' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_caching' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_caching' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_caching' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042ffd60>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042ffd60>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40045064a0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40042ffd60> :241: in _call_with_frames_removed ??? args = ( at 0x40045064a0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40042ffd60>, '__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 0x40042ffd60>, 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-310.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 0x40042ffd60> __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 0x40042ffd60>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40042fec80> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042fec80>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 199} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_config' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_config' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_config' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_config' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004466e30>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004466e30>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4003df7310, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004466e30> :241: in _call_with_frames_removed ??? args = ( at 0x4003df7310, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004466e30>, '__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 0x4004466e30>, 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-310.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 0x4004466e30> __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 0x4004466e30>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004466380> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004466380>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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/test_config.py _________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_config' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_config' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_config' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_config' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d4100>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d4100>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40043b5160, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044d4100> :241: in _call_with_frames_removed ??? args = ( at 0x40043b5160, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044d4100>, '__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 0x40044d4100>, 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-310.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 0x40044d4100> __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 0x40044d4100>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40044d5090> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d5090>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 217} _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.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_config_server' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_config_server' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_config_server' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b8b20>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b8b20>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40044c0be0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40043b8b20> :241: in _call_with_frames_removed ??? args = ( at 0x40044c0be0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40043b8b20>, '__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 0x40043b8b20>, 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-310.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 0x40043b8b20> __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 0x40043b8b20>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40043b9db0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b9db0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_config_server.py _____________ /usr/lib/python3.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_config_server' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_config_server' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_config_server' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004442710>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004442710>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x400448a290, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004442710> :241: in _call_with_frames_removed ??? args = ( at 0x400448a290, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004442710>, '__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 0x4004442710>, 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-310.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 0x4004442710> __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 0x4004442710>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004440ee0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004440ee0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 235} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_conn' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_conn' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_conn' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_conn' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400453dba0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400453dba0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40043958f0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400453dba0> :241: in _call_with_frames_removed ??? args = ( at 0x40043958f0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x400453dba0>, '__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 0x400453dba0>, 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-310.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 0x400453dba0> __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 0x400453dba0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400453e8f0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400453e8f0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_conn.py __________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_conn' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_conn' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_conn' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_conn' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042fec80>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042fec80>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40042d3e10, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40042fec80> :241: in _call_with_frames_removed ??? args = ( at 0x40042d3e10, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40042fec80>, '__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 0x40042fec80>, 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-310.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 0x40042fec80> __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 0x40042fec80>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40042fd360> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042fd360>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 253} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_core' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_core' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_core' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_core' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004262aa0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004262aa0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004469000, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004262aa0> :241: in _call_with_frames_removed ??? args = ( at 0x4004469000, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004262aa0>, '__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 0x4004262aa0>, 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-310.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 0x4004262aa0> __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 0x4004262aa0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40042836a0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042836a0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_core.py __________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_core' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_core' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_core' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_core' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d7af0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d7af0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004434b30, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044d7af0> :241: in _call_with_frames_removed ??? args = ( at 0x4004434b30, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044d7af0>, '__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 0x40044d7af0>, 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-310.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 0x40044d7af0> __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 0x40044d7af0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40044d49d0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d49d0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 271} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_dynamicobjectmapping' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_dynamicobjectmapping' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_dynamicobjectmapping' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_dynamicobjectmapping' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042ff100>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042ff100>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004491c60, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40042ff100> :241: in _call_with_frames_removed ??? args = ( at 0x4004491c60, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40042ff100>, '__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 0x40042ff100>, 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-310.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 0x40042ff100> __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 0x40042ff100>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40042fd420> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042fd420>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_dynamicobjectmapping.py __________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_dynamicobjectmapping' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_dynamicobjectmapping' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_dynamicobjectmapping' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_dynamicobjectmapping' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40045265c0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40045265c0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40041e42f0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40045265c0> :241: in _call_with_frames_removed ??? args = ( at 0x40041e42f0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40045265c0>, '__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 0x40045265c0>, 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-310.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 0x40045265c0> __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 0x40045265c0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40041f8700> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041f8700>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 289} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_encoding' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_encoding' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_encoding' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_encoding' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004465f00>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004465f00>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004399bb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004465f00> :241: in _call_with_frames_removed ??? args = ( at 0x4004399bb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004465f00>, '__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 0x4004465f00>, 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-310.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 0x4004465f00> __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 0x4004465f00>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004465ab0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004465ab0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_encoding.py ________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_encoding' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_encoding' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_encoding' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_encoding' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042ff190>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042ff190>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004278c90, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40042ff190> :241: in _call_with_frames_removed ??? args = ( at 0x4004278c90, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40042ff190>, '__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 0x40042ff190>, 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-310.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 0x40042ff190> __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 0x40042ff190>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40042ffbe0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042ffbe0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 307} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_etags' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_etags' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_etags' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_etags' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043ba6e0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043ba6e0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40042756e0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40043ba6e0> :241: in _call_with_frames_removed ??? args = ( at 0x40042756e0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40043ba6e0>, '__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 0x40043ba6e0>, 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-310.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 0x40043ba6e0> __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 0x40043ba6e0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40043b82b0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b82b0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_etags.py _________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_etags' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_etags' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_etags' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_etags' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043bd900>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043bd900>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40044d1790, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40043bd900> :241: in _call_with_frames_removed ??? args = ( at 0x40044d1790, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40043bd900>, '__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 0x40043bd900>, 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-310.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 0x40043bd900> __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 0x40043bd900>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40043be7d0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043be7d0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 325} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_http' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_http' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_http' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_http' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b9030>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b9030>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004438df0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044b9030> :241: in _call_with_frames_removed ??? args = ( at 0x4004438df0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044b9030>, '__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 0x40044b9030>, 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-310.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 0x40044b9030> __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 0x40044b9030>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40044b8880> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b8880>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_http.py __________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_http' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_http' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_http' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_http' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004441720>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004441720>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x400427b520, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004441720> :241: in _call_with_frames_removed ??? args = ( at 0x400427b520, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004441720>, '__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 0x4004441720>, 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-310.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 0x4004441720> __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 0x4004441720>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004442590> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004442590>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 343} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_httputil' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_httputil' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_httputil' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_httputil' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b8fd0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b8fd0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40042a8be0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40043b8fd0> :241: in _call_with_frames_removed ??? args = ( at 0x40042a8be0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40043b8fd0>, '__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 0x40043b8fd0>, 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-310.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 0x40043b8fd0> __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 0x40043b8fd0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40043b8790> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b8790>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_httputil.py ________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_httputil' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_httputil' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_httputil' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_httputil' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004706860>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004706860>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x400448b100, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004706860> :241: in _call_with_frames_removed ??? args = ( at 0x400448b100, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004706860>, '__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 0x4004706860>, 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-310.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 0x4004706860> __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 0x4004706860>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004707970> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004707970>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 361} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_iterator' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_iterator' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_iterator' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_iterator' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b8ca0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b8ca0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004338c90, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40043b8ca0> :241: in _call_with_frames_removed ??? args = ( at 0x4004338c90, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40043b8ca0>, '__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 0x40043b8ca0>, 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-310.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 0x40043b8ca0> __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 0x40043b8ca0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004466020> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004466020>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_iterator.py ________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_iterator' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_iterator' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_iterator' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_iterator' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042687f0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042687f0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40044939f0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40042687f0> :241: in _call_with_frames_removed ??? args = ( at 0x40044939f0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40042687f0>, '__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 0x40042687f0>, 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-310.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 0x40042687f0> __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 0x40042687f0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400426b490> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400426b490>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 379} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_json' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_json' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_json' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_json' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044792a0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044792a0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004277470, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044792a0> :241: in _call_with_frames_removed ??? args = ( at 0x4004277470, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044792a0>, '__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 0x40044792a0>, 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-310.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 0x40044792a0> __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 0x40044792a0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400447aec0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400447aec0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_json.py __________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_json' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_json' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_json' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_json' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b1240>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b1240>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40044d24a0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044b1240> :241: in _call_with_frames_removed ??? args = ( at 0x40044d24a0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044b1240>, '__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 0x40044b1240>, 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-310.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 0x40044b1240> __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 0x40044b1240>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40041f8e20> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041f8e20>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 397} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_logging' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_logging' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_logging' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_logging' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004466290>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004466290>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40045049d0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004466290> :241: in _call_with_frames_removed ??? args = ( at 0x40045049d0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004466290>, '__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 0x4004466290>, 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-310.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 0x4004466290> __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 0x4004466290>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004466fe0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004466fe0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_logging.py ________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_logging' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_logging' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_logging' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_logging' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b8a90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b8a90>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004274660, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044b8a90> :241: in _call_with_frames_removed ??? args = ( at 0x4004274660, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044b8a90>, '__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 0x40044b8a90>, 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-310.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 0x40044b8a90> __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 0x40044b8a90>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40044b8fa0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b8fa0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 415} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_mime' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_mime' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_mime' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_mime' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046943a0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046943a0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004397b50, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40046943a0> :241: in _call_with_frames_removed ??? args = ( at 0x4004397b50, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40046943a0>, '__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 0x40046943a0>, 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-310.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 0x40046943a0> __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 0x40046943a0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40046979d0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046979d0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_mime.py __________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_mime' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_mime' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_mime' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_mime' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042693c0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042693c0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004279dc0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40042693c0> :241: in _call_with_frames_removed ??? args = ( at 0x4004279dc0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40042693c0>, '__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 0x40042693c0>, 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-310.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 0x40042693c0> __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 0x40042693c0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400426b940> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400426b940>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 433} _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.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_misc_tools' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_misc_tools' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_misc_tools' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400470f580>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400470f580>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004277d60, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400470f580> :241: in _call_with_frames_removed ??? args = ( at 0x4004277d60, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x400470f580>, '__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 0x400470f580>, 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-310.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 0x400470f580> __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 0x400470f580>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400470e470> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400470e470>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_misc_tools.py _______________ /usr/lib/python3.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_misc_tools' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_misc_tools' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_misc_tools' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004280790>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004280790>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40044d2a20, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004280790> :241: in _call_with_frames_removed ??? args = ( at 0x40044d2a20, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004280790>, '__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 0x4004280790>, 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-310.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 0x4004280790> __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 0x4004280790>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004283a90> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004283a90>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 451} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_native' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_native' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_native' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_native' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400453c700>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400453c700>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40046b6760, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400453c700> :241: in _call_with_frames_removed ??? args = ( at 0x40046b6760, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x400453c700>, '__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 0x400453c700>, 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-310.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 0x400453c700> __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 0x400453c700>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004646440> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004646440>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_native.py _________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_native' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_native' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_native' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_native' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044ba6e0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044ba6e0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004504f50, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044ba6e0> :241: in _call_with_frames_removed ??? args = ( at 0x4004504f50, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044ba6e0>, '__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 0x40044ba6e0>, 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-310.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 0x40044ba6e0> __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 0x40044ba6e0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40044bb040> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044bb040>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 469} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_objectmapping' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_objectmapping' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_objectmapping' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_objectmapping' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004268400>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004268400>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x400466b940, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004268400> :241: in _call_with_frames_removed ??? args = ( at 0x400466b940, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004268400>, '__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 0x4004268400>, 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-310.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 0x4004268400> __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 0x4004268400>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004269360> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004269360>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_objectmapping.py _____________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_objectmapping' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_objectmapping' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_objectmapping' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_objectmapping' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b3fa0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b3fa0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004434030, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044b3fa0> :241: in _call_with_frames_removed ??? args = ( at 0x4004434030, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044b3fa0>, '__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 0x40044b3fa0>, 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-310.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 0x40044b3fa0> __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 0x40044b3fa0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40046b3f70> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046b3f70>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 487} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_params' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_params' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_params' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_params' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004694ee0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004694ee0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x400448be10, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004694ee0> :241: in _call_with_frames_removed ??? args = ( at 0x400448be10, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004694ee0>, '__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 0x4004694ee0>, 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-310.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 0x4004694ee0> __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 0x4004694ee0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004695120> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004695120>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_params.py _________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_params' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_params' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_params' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_params' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046f8160>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046f8160>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4003dfc190, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40046f8160> :241: in _call_with_frames_removed ??? args = ( at 0x4003dfc190, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40046f8160>, '__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 0x40046f8160>, 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-310.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 0x40046f8160> __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 0x40046f8160>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40046f83d0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046f83d0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 505} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_plugins' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_plugins' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_plugins' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_plugins' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004283e20>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004283e20>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004277890, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004283e20> :241: in _call_with_frames_removed ??? args = ( at 0x4004277890, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004283e20>, '__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 0x4004283e20>, 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-310.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 0x4004283e20> __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 0x4004283e20>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004282aa0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004282aa0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_plugins.py ________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_plugins' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_plugins' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_plugins' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_plugins' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400426b2e0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400426b2e0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40043b64a0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400426b2e0> :241: in _call_with_frames_removed ??? args = ( at 0x40043b64a0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x400426b2e0>, '__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 0x400426b2e0>, 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-310.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 0x400426b2e0> __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 0x400426b2e0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40047072b0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40047072b0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 523} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_proxy' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_proxy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_proxy' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_proxy' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044a3040>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044a3040>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004669160, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044a3040> :241: in _call_with_frames_removed ??? args = ( at 0x4004669160, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044a3040>, '__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 0x40044a3040>, 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-310.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 0x40044a3040> __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 0x40044a3040>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004438190> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004438190>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_proxy.py _________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_proxy' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_proxy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_proxy' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_proxy' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004694610>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004694610>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40044352c0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004694610> :241: in _call_with_frames_removed ??? args = ( at 0x40044352c0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004694610>, '__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 0x4004694610>, 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-310.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 0x4004694610> __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 0x4004694610>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004694c10> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004694c10>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 541} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_refleaks' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_refleaks' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_refleaks' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_refleaks' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046fb640>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046fb640>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40043973c0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40046fb640> :241: in _call_with_frames_removed ??? args = ( at 0x40043973c0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40046fb640>, '__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 0x40046fb640>, 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-310.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 0x40046fb640> __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 0x40046fb640>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40046f9b40> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046f9b40>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_refleaks.py ________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_refleaks' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_refleaks' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_refleaks' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_refleaks' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046b28c0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046b28c0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x400469b260, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40046b28c0> :241: in _call_with_frames_removed ??? args = ( at 0x400469b260, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40046b28c0>, '__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 0x40046b28c0>, 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-310.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 0x40046b28c0> __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 0x40046b28c0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40046b3f10> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046b3f10>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 559} _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.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_request_obj' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_request_obj' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_request_obj' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004467b20>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004467b20>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x400448b260, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004467b20> :241: in _call_with_frames_removed ??? args = ( at 0x400448b260, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004467b20>, '__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 0x4004467b20>, 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-310.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 0x4004467b20> __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 0x4004467b20>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004465e70> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004465e70>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_request_obj.py ______________ /usr/lib/python3.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_request_obj' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_request_obj' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_request_obj' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400426b640>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400426b640>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004399bb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400426b640> :241: in _call_with_frames_removed ??? args = ( at 0x4004399bb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x400426b640>, '__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 0x400426b640>, 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-310.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 0x400426b640> __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 0x400426b640>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004439f00> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004439f00>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 577} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_routes' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_routes' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_routes' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_routes' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b9a20>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b9a20>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004669dc0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044b9a20> :241: in _call_with_frames_removed ??? args = ( at 0x4004669dc0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044b9a20>, '__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 0x40044b9a20>, 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-310.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 0x40044b9a20> __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 0x40044b9a20>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40044b92a0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044b92a0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_routes.py _________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_routes' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_routes' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_routes' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_routes' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004650d60>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004650d60>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004477730, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004650d60> :241: in _call_with_frames_removed ??? args = ( at 0x4004477730, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004650d60>, '__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 0x4004650d60>, 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-310.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 0x4004650d60> __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 0x4004650d60>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004653b80> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004653b80>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 595} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_session' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_session' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_session' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_session' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004707a30>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004707a30>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x400427b3c0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004707a30> :241: in _call_with_frames_removed ??? args = ( at 0x400427b3c0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004707a30>, '__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 0x4004707a30>, 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-310.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 0x4004707a30> __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 0x4004707a30>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004272e30> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004272e30>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_session.py ________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_session' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_session' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_session' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_session' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046b2620>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046b2620>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004339fd0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40046b2620> :241: in _call_with_frames_removed ??? args = ( at 0x4004339fd0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40046b2620>, '__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 0x40046b2620>, 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-310.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 0x40046b2620> __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 0x40046b2620>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40046b2140> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046b2140>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 613} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_sessionauthenticate' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_sessionauthenticate' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_sessionauthenticate' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_sessionauthenticate' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40047a7730>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40047a7730>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004436ce0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40047a7730> :241: in _call_with_frames_removed ??? args = ( at 0x4004436ce0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40047a7730>, '__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 0x40047a7730>, 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-310.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 0x40047a7730> __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 0x40047a7730>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40047a5180> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40047a5180>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_sessionauthenticate.py __________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_sessionauthenticate' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_sessionauthenticate' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_sessionauthenticate' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_sessionauthenticate' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004281390>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004281390>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4003dfcea0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004281390> :241: in _call_with_frames_removed ??? args = ( at 0x4003dfcea0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004281390>, '__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 0x4004281390>, 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-310.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 0x4004281390> __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 0x4004281390>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004282f50> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004282f50>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 631} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_states' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_states' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_states' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_states' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042feb30>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042feb30>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40044d3aa0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40042feb30> :241: in _call_with_frames_removed ??? args = ( at 0x40044d3aa0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40042feb30>, '__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 0x40042feb30>, 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-310.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 0x40042feb30> __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 0x40042feb30>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40042fc910> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042fc910>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_states.py _________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_states' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_states' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_states' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_states' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400470d840>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400470d840>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40046b7520, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400470d840> :241: in _call_with_frames_removed ??? args = ( at 0x40046b7520, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x400470d840>, '__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 0x400470d840>, 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-310.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 0x400470d840> __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 0x400470d840>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400470eaa0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400470eaa0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 649} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_static' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_static' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_static' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_static' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b07c0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b07c0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x400469be10, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40043b07c0> :241: in _call_with_frames_removed ??? args = ( at 0x400469be10, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40043b07c0>, '__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 0x40043b07c0>, 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-310.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 0x40043b07c0> __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 0x40043b07c0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40043b2d10> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b2d10>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_static.py _________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_static' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_static' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_static' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_static' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400480a7a0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400480a7a0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40043b7b50, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400480a7a0> :241: in _call_with_frames_removed ??? args = ( at 0x40043b7b50, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x400480a7a0>, '__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 0x400480a7a0>, 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-310.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 0x400480a7a0> __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 0x400480a7a0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004808370> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004808370>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 667} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_tools' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_tools' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_tools' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_tools' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004439f60>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004439f60>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40046b4190, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004439f60> :241: in _call_with_frames_removed ??? args = ( at 0x40046b4190, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004439f60>, '__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 0x4004439f60>, 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-310.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 0x4004439f60> __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 0x4004439f60>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400443a1a0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400443a1a0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_tools.py _________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_tools' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_tools' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_tools' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_tools' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046748e0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40046748e0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004339a50, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40046748e0> :241: in _call_with_frames_removed ??? args = ( at 0x4004339a50, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40046748e0>, '__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 0x40046748e0>, 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-310.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 0x40046748e0> __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 0x40046748e0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004677e50> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004677e50>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 685} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_tutorials' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_tutorials' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_tutorials' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_tutorials' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004650c40>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004650c40>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004399630, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004650c40> :241: in _call_with_frames_removed ??? args = ( at 0x4004399630, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004650c40>, '__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 0x4004650c40>, 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-310.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 0x4004650c40> __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 0x4004650c40>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004650070> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004650070>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_tutorials.py _______________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_tutorials' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_tutorials' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_tutorials' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_tutorials' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041fa530>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40041fa530>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004504d40, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40041fa530> :241: in _call_with_frames_removed ??? args = ( at 0x4004504d40, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40041fa530>, '__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 0x40041fa530>, 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-310.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 0x40041fa530> __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 0x40041fa530>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40044d4070> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d4070>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 703} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_virtualhost' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_virtualhost' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_virtualhost' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_virtualhost' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004272680>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004272680>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004276d90, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004272680> :241: in _call_with_frames_removed ??? args = ( at 0x4004276d90, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004272680>, '__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 0x4004272680>, 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-310.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 0x4004272680> __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 0x4004272680>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400480b4f0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400480b4f0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_virtualhost.py ______________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_virtualhost' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_virtualhost' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_virtualhost' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_virtualhost' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004280b50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004280b50>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x400466b1b0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004280b50> :241: in _call_with_frames_removed ??? args = ( at 0x400466b1b0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004280b50>, '__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 0x4004280b50>, 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-310.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 0x4004280b50> __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 0x4004280b50>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40042801f0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042801f0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 721} _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.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgi_ns' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgi_ns' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgi_ns' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400480a710>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400480a710>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004476810, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400480a710> :241: in _call_with_frames_removed ??? args = ( at 0x4004476810, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x400480a710>, '__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 0x400480a710>, 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-310.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 0x400480a710> __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 0x400480a710>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400480b130> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400480b130>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_wsgi_ns.py ________________ /usr/lib/python3.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgi_ns' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgi_ns' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgi_ns' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400470de40>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400470de40>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004488030, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400470de40> :241: in _call_with_frames_removed ??? args = ( at 0x4004488030, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x400470de40>, '__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 0x400470de40>, 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-310.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 0x400470de40> __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 0x400470de40>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400470e9e0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400470e9e0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 739} _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.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgi_unix_socket' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgi_unix_socket' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgi_unix_socket' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400471bf10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400471bf10>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004395370, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400471bf10> :241: in _call_with_frames_removed ??? args = ( at 0x4004395370, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x400471bf10>, '__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 0x400471bf10>, 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-310.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 0x400471bf10> __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 0x400471bf10>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400471b670> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400471b670>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_wsgi_unix_socket.py ____________ /usr/lib/python3.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgi_unix_socket' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgi_unix_socket' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgi_unix_socket' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042fc0a0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042fc0a0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40047849d0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40042fc0a0> :241: in _call_with_frames_removed ??? args = ( at 0x40047849d0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40042fc0a0>, '__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 0x40042fc0a0>, 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-310.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 0x40042fc0a0> __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 0x40042fc0a0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40042fc820> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40042fc820>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 757} _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.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgi_vhost' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgi_vhost' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgi_vhost' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d7550>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d7550>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004434870, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044d7550> :241: in _call_with_frames_removed ??? args = ( at 0x4004434870, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044d7550>, '__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 0x40044d7550>, 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-310.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 0x40044d7550> __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 0x40044d7550>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40044d4fa0> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044d4fa0>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_wsgi_vhost.py _______________ /usr/lib/python3.10/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 :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgi_vhost' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgi_vhost' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgi_vhost' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004718a30>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004718a30>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004338b30, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x4004718a30> :241: in _call_with_frames_removed ??? args = ( at 0x4004338b30, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x4004718a30>, '__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 0x4004718a30>, 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-310.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 0x4004718a30> __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 0x4004718a30>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400471a050> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400471a050>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 775} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_wsgiapps' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgiapps' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgiapps' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgiapps' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b3640>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b3640>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4003deb520, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40043b3640> :241: in _call_with_frames_removed ??? args = ( at 0x4003deb520, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40043b3640>, '__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 0x40043b3640>, 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-310.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 0x40043b3640> __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 0x40043b3640>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40043b1000> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043b1000>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_wsgiapps.py ________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_wsgiapps' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_wsgiapps' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_wsgiapps' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_wsgiapps' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400467a0b0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400467a0b0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x40044d1bb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x400467a0b0> :241: in _call_with_frames_removed ??? args = ( at 0x40044d1bb0, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x400467a0b0>, '__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 0x400467a0b0>, 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-310.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 0x400467a0b0> __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 0x400467a0b0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4004678730> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4004678730>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 793} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_xmlrpc' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_xmlrpc' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_xmlrpc' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_xmlrpc' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044a3ac0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40044a3ac0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004477100, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40044a3ac0> :241: in _call_with_frames_removed ??? args = ( at 0x4004477100, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40044a3ac0>, '__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 0x40044a3ac0>, 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-310.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 0x40044a3ac0> __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 0x40044a3ac0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x400443bc70> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x400443bc70>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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_xmlrpc.py _________________ /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.test_xmlrpc' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.test_xmlrpc' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.test_xmlrpc' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.test_xmlrpc' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043bfee0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043bfee0>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004276550, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40043bfee0> :241: in _call_with_frames_removed ??? args = ( at 0x4004276550, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40043bfee0>, '__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 0x40043bfee0>, 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-310.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 0x40043bfee0> __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 0x40043bfee0>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40043bc670> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40043bc670>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/site-packages/pkg_resources']) __warningregistry__ = {'version': 811} _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.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'cherrypy.test.webtest' package = None :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test.webtest' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test.webtest' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test.webtest' parent = 'cherrypy.test' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy.test',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy.test' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy.test' :992: in _find_and_load_unlocked ??? import_ = name = 'cherrypy.test' parent = 'cherrypy' path = None :241: in _call_with_frames_removed ??? args = ('cherrypy',) f = kwds = {} :1050: in _gcd_import ??? level = 0 name = 'cherrypy' package = None :1027: in _find_and_load ??? import_ = module = name = 'cherrypy' :1006: in _find_and_load_unlocked ??? import_ = name = 'cherrypy' parent = '' path = None spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40047f5420>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :688: in _load_unlocked ??? module = spec = ModuleSpec(name='cherrypy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40047f5420>, origin='/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py', submodule_search_locations=['/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy']) :883: in exec_module ??? code = at 0x4004504b30, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1> module = self = <_frozen_importlib_external.SourceFileLoader object at 0x40047f5420> :241: in _call_with_frames_removed ??? args = ( at 0x4004504b30, file "/build/python-cherrypy/src/cherrypy-18.8.0/cherrypy/__init__.py", line 1>, {'__builtins__': {'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BlockingIOError': , 'BrokenPipeError': , 'BufferError': , 'BytesWarning': , 'ChildProcessError': , 'ConnectionAbortedError': , 'ConnectionError': , 'ConnectionRefusedError': , 'ConnectionResetError': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EncodingWarning': , 'EnvironmentError': , 'Exception': , '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-310.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 0x40047f5420>, '__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 0x40047f5420>, 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-310.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 0x40047f5420> __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 0x40047f5420>, 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.10/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.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.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.10/site-packages/pkg_resources/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x40047f4790> __name__ = 'pkg_resources' __package__ = 'pkg_resources' __path__ = ['/usr/lib/python3.10/site-packages/pkg_resources'] __spec__ = ModuleSpec(name='pkg_resources', loader=<_frozen_importlib_external.SourceFileLoader object at 0x40047f4790>, origin='/usr/lib/python3.10/site-packages/pkg_resources/__init__.py', submodule_search_locations=['/usr/lib/python3.10/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 = - 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 28.74s ============================== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root15/build receiving incremental file list python-cherrypy-18.8.0-2-riscv64-build.log python-cherrypy-18.8.0-2-riscv64-check.log python-cherrypy-18.8.0-2-riscv64-prepare.log sent 81 bytes received 36,758 bytes 24,559.33 bytes/sec total size is 2,318,958 speedup is 62.95