You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After creating and activating a venv and installing poetry, I'm trying to execute make test in docs folder.
Output:
make test
poetry install
Installing dependencies from lock file
Package operations: 60 installs, 3 updates, 0 removals
- Downgrading certifi (2025.4.26 -> 2025.1.31)
- Installing markupsafe (3.0.2)
- Downgrading charset-normalizer (3.4.2 -> 3.4.1)
- Installing mdurl (0.1.2)
- Installing jinja2 (3.1.6)
- Installing docutils (0.21.2)
- Installing alabaster (0.7.16)
- Installing babel (2.17.0)
- Installing imagesize (1.4.1)
- Installing markdown-it-py (3.0.0)
- Installing pygments (2.19.1)
- Downgrading requests (2.32.4 -> 2.32.3)
- Installing snowballstemmer (2.2.0)
- Installing sphinxcontrib-applehelp (2.0.0)
- Installing sphinxcontrib-devhelp (2.0.0)
- Installing sphinxcontrib-htmlhelp (2.1.0)
- Installing sphinxcontrib-jsmath (1.0.1)
- Installing sphinxcontrib-qthelp (2.0.0)
- Installing sphinxcontrib-serializinghtml (2.0.0)
- Installing mdit-py-plugins (0.4.2)
- Installing pyyaml (6.0.2)
- Installing sphinx (7.4.7)
- Installing myst-parser (4.0.1)
- Installing setuptools (78.1.1)
- Installing typing-extensions (4.13.2)
- Installing soupsieve (2.7)
- Installing beartype (0.20.2)
- Installing click (8.1.8)
- Installing rich (14.0.0)
- Installing aenum (2.2.6)
- Installing beautifulsoup4 (4.13.4)
- Installing colorama (0.4.6)
- Installing dnspython (2.7.0)
- Installing commonmark (0.9.1)
- Installing greenlet (3.2.1)
- Installing isodate (0.7.2)
- Installing sphinx-collapse (0.1.3)
- Installing sphinx-copybutton (0.5.2)
- Installing sphinx-notfound-page (1.1.0)
- Installing sphinx-substitution-extensions (2025.2.19)
- Installing sphinxcontrib-mermaid (1.0.0)
- Installing sphinx-tabs (3.4.7)
- Installing six (1.17.0)
- Installing starlette (0.46.2)
- Installing tornado (4.5.3)
- Installing typer (0.15.2)
- Installing uvicorn (0.34.2)
- Installing watchfiles (1.0.5)
- Installing websockets (15.0.1)
- Installing zope-event (5.0)
- Installing zope-interface (7.2)
- Installing sphinx-scylladb-theme (1.8.6)
- Installing eventlet (0.33.3)
- Installing futures (2.2.0)
- Installing geomet (0.2.1.post1)
- Installing gevent (23.9.1): Failed
PEP517 build of a dependency failed
Backend subprocess exited when trying to invoke get_requires_for_build_wheel
| Command '['/tmp/tmpn_qtkp6h/.venv/bin/python', '/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py', 'get_requires_for_build_wheel', '/tmp/tmpxr6pk2ro']' returned non-zero exit status 1.
|
| Compiling src/gevent/resolver/cares.pyx because it changed.
| [1/1] Cythonizing src/gevent/resolver/cares.pyx
| performance hint: src/gevent/libev/corecext.pyx:1357:0: Exception check on '_syserr_cb' will always require the GIL to be acquired.
| Possible solutions:
| 1. Declare '_syserr_cb' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
| 2. Use an 'int' return type on '_syserr_cb' to allow an error code to be returned.
|
| Error compiling Cython file:
| ------------------------------------------------------------
| ...
| cdef tuple integer_types
|
| if sys.version_info[0] >= 3:
| integer_types = int,
| else:
| integer_types = (int, long)
| ^
| ------------------------------------------------------------
|
| src/gevent/libev/corecext.pyx:69:26: undeclared name not builtin: long
| Compiling src/gevent/libev/corecext.pyx because it changed.
| [1/1] Cythonizing src/gevent/libev/corecext.pyx
| Traceback (most recent call last):
| File "/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
| main()
| ~~~~^^
| File "/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
| json_out["return_val"] = hook(**hook_input["kwargs"])
| ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
| File "/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
| return hook(config_settings)
| File "/tmp/tmpn_qtkp6h/.venv/lib/python3.13/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
| return self._get_build_requires(config_settings, requirements=[])
| ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/tmp/tmpn_qtkp6h/.venv/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
| self.run_setup()
| ~~~~~~~~~~~~~~^^
| File "/tmp/tmpn_qtkp6h/.venv/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
| exec(code, locals())
| ~~~~^^^^^^^^^^^^^^^^
| File "<string>", line 54, in <module>
| File "/tmp/tmpkyjmvsv3/gevent-23.9.1/_setuputils.py", line 249, in cythonize1
| new_ext = cythonize(
| ~~~~~~~~~^
| [ext],
| ^^^^^^
| ...<46 lines>...
| # cache="build/cycache",
| ^^^^^^^^^^^^^^^^^^^^^^^^
| )[0]
| ^
| File "/tmp/tmpn_qtkp6h/.venv/lib64/python3.13/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
| cythonize_one(*args)
| ~~~~~~~~~~~~~^^^^^^^
| File "/tmp/tmpn_qtkp6h/.venv/lib64/python3.13/site-packages/Cython/Build/Dependencies.py", line 1298, in cythonize_one
| raise CompileError(None, pyx_file)
| Cython.Compiler.Errors.CompileError: src/gevent/libev/corecext.pyx
Note: This error originates from the build backend, and is likely not a problem with poetry but one of the following issues with gevent (23.9.1)
- not supporting PEP 517 builds
- not specifying PEP 517 build requirements correctly
- the build requirements are incompatible with your operating system or Python version
- the build requirements are missing system dependencies (eg: compilers, libraries, headers).
You can verify this by running pip wheel --no-cache-dir --use-pep517 "gevent (==23.9.1)".
- Installing gremlinpython (3.4.7)
- Installing sphinx-sitemap (2.6.0)
- Installing recommonmark (0.7.1)
- Installing redirects-cli (0.1.3)
- Installing scales (1.0.9)
- Installing sphinx-autobuild (2024.10.3)
- Installing sphinx-multiversion-scylla (0.3.2)
make: *** [Makefile:27: setup] Error 1
It looks like the gevent issue fixed in #481 is maybe also relevant for x86?
After pinning gevent version, this error goes away, but I get other:
make test
poetry install
Installing dependencies from lock file
Package operations: 1 install, 1 update, 0 removals
- Downgrading sphinx-substitution-extensions (2025.2.19 -> 2025.1.2)
- Installing gevent (24.11.1)
poetry run sphinx-build -b dirhtml -d _build/doctrees -j auto . -W --keep-going _build/dirhtml
Running Sphinx v7.4.7
loading translations [en]... done
Converting `source_suffix = ['.rst', '.md']` to `source_suffix = {'.rst': 'restructuredtext', '.md': 'restructuredtext'}`.
loading pickled environment... failed: '_options'
done
building [mo]: targets for 0 po files that are out of date
writing output...
building [dirhtml]: targets for 104 source files that are out of date
updating environment: [new config] 104 added, 0 changed, 0 removed
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
reading sources... [ 8%] .venv/lib/python3.9/site-packages/httpcore-1.0.9.dist-info/licenses/LICENSE .. .venv/lib64/python3.9/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
reading sources... [ 15%] CHANGELOG .. api/cassandra/cqlengine/connection
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
reading sources... [ 23%] api/cassandra/cqlengine/management .. api/cassandra/io/asyncorereactor
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
reading sources... [ 31%] api/cassandra/io/eventletreactor .. api/cassandra/pool
reading sources... [ 38%] api/cassandra/protocol .. cqlengine/faq
reading sources... [ 46%] cqlengine/models .. getting-started
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
reading sources... [ 54%] index .. scylla-cloud-serverless
reading sources... [ 62%] scylla-specific .. venv/lib/python3.13/site-packages/httpcore-1.0.9.dist-info/licenses/LICENSE
reading sources... [ 69%] venv/lib/python3.13/site-packages/httpx-0.28.1.dist-info/licenses/LICENSE .. venv/lib/python3.13/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/greplin/scales/__init__.py:158: SyntaxWarning: "is not" with 'str' literal. Did you mean "!="?
if subContext is not '':
reading sources... [ 77%] venv/lib/python3.13/site-packages/soupsieve-2.7.dist-info/licenses/LICENSE .. venv/lib/python3.13/site-packages/sphinxcontrib_mermaid-1.0.0.dist-info/LICENSE
reading sources... [ 85%] venv/lib/python3.13/site-packages/starlette-0.46.2.dist-info/licenses/LICENSE .. venv/lib64/python3.13/site-packages/idna-3.10.dist-info/LICENSE
reading sources... [ 92%] venv/lib64/python3.13/site-packages/imagesize-1.4.1.dist-info/LICENSE .. venv/lib64/python3.13/site-packages/sphinx-7.4.7.dist-info/LICENSE
reading sources... [100%] venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/base .. venv/lib64/python3.13/site-packages/uvicorn-0.34.2.dist-info/licenses/LICENSE
WARNING: Document name contains underscores: .venv/lib/python3.9/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS
WARNING: Document name contains underscores: .venv/lib64/python3.9/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinx-7.4.7.dist-info/LICENSE.rst:55: WARNING: Inline literal start-string without end-string.
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/base.rst:3: ERROR: Error in "currentmodule" directive:
maximum 1 argument(s) allowed, 3 supplied.
.. currentmodule:: {{ module }}
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/class.rst:3: ERROR: Error in "currentmodule" directive:
maximum 1 argument(s) allowed, 3 supplied.
.. currentmodule:: {{ module }}
WARNING: invalid signature for autoclass ('{{ objname }}')
WARNING: don't know which module to import for autodocumenting '{{ objname }}' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
WARNING: invalid signature for automodule ('{{ fullname }}')
WARNING: don't know which module to import for autodocumenting '{{ fullname }}' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst:53: ERROR: Unknown directive type "autosummary".
.. autosummary::
:toctree:
:recursive:
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst:56: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst:58: WARNING: Definition list ends without a blank line; unexpected unindent.
WARNING: Document name contains underscores: venv/lib/python3.13/site-packages/sphinx_autobuild-2024.10.3.dist-info/LICENSE
WARNING: Document name contains underscores: venv/lib/python3.13/site-packages/sphinx_collapse-0.1.3.dist-info/LICENSE
WARNING: Document name contains underscores: venv/lib/python3.13/site-packages/sphinxcontrib_mermaid-1.0.0.dist-info/LICENSE
WARNING: Document name contains underscores: venv/lib64/python3.13/site-packages/mdit_py_plugins/container/README
WARNING: Document name contains underscores: venv/lib64/python3.13/site-packages/mdit_py_plugins/deflist/README
WARNING: Document name contains underscores: venv/lib64/python3.13/site-packages/mdit_py_plugins/texmath/README
WARNING: Document name contains underscores: venv/lib64/python3.13/site-packages/redirects_cli-0.1.3.dist-info/LICENSE
WARNING: Document name contains underscores: venv/lib64/python3.13/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx-7.4.7.dist-info/LICENSE.rst:55: WARNING: Inline literal start-string without end-string.
WARNING: Document name contains underscores: venv/lib/python3.13/site-packages/mdit_py_plugins/container/README
WARNING: Document name contains underscores: venv/lib/python3.13/site-packages/mdit_py_plugins/deflist/README
WARNING: Document name contains underscores: venv/lib/python3.13/site-packages/mdit_py_plugins/texmath/README
WARNING: Document name contains underscores: venv/lib/python3.13/site-packages/redirects_cli-0.1.3.dist-info/LICENSE
WARNING: Document name contains underscores: venv/lib/python3.13/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/base.rst:3: ERROR: Error in "currentmodule" directive:
maximum 1 argument(s) allowed, 3 supplied.
.. currentmodule:: {{ module }}
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/class.rst:3: ERROR: Error in "currentmodule" directive:
maximum 1 argument(s) allowed, 3 supplied.
.. currentmodule:: {{ module }}
WARNING: invalid signature for autoclass ('{{ objname }}')
WARNING: don't know which module to import for autodocumenting '{{ objname }}' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
WARNING: invalid signature for automodule ('{{ fullname }}')
WARNING: don't know which module to import for autodocumenting '{{ fullname }}' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst:53: ERROR: Unknown directive type "autosummary".
.. autosummary::
:toctree:
:recursive:
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst:56: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst:58: WARNING: Definition list ends without a blank line; unexpected unindent.
WARNING: Document name contains underscores: venv/lib64/python3.13/site-packages/sphinx_autobuild-2024.10.3.dist-info/LICENSE
WARNING: Document name contains underscores: venv/lib64/python3.13/site-packages/sphinx_collapse-0.1.3.dist-info/LICENSE
WARNING: Document name contains underscores: venv/lib64/python3.13/site-packages/sphinxcontrib_mermaid-1.0.0.dist-info/LICENSE
WARNING: autodoc: failed to import class 'asyncorereactor.AsyncoreConnection' from module 'cassandra.io'; the following exception was raised:
Traceback (most recent call last):
File "/home/karolbaryla/repos/python-driver/cassandra/io/asyncorereactor.py", line 34, in <module>
import asyncore
ModuleNotFoundError: No module named 'asyncore'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
return importlib.import_module(modname)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/home/karolbaryla/repos/python-driver/cassandra/io/asyncorereactor.py", line 36, in <module>
raise DependencyException(
...<3 lines>...
)
cassandra.DependencyException: Unable to import asyncore module. Note that this module has been removed in Python 3.12 so when using the driver with this version (or anything newer) you will need to use one of the other event loop implementations.
WARNING: autodoc: failed to import class 'eventletreactor.EventletConnection' from module 'cassandra.io'; the following exception was raised:
Traceback (most recent call last):
File "/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx/ext/autodoc/importer.py", line 143, in import_module
return importlib.import_module(modname)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/home/karolbaryla/repos/python-driver/cassandra/io/eventletreactor.py", line 18, in <module>
import eventlet
File "/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/eventlet/__init__.py", line 17, in <module>
from eventlet import convenience
File "/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/eventlet/convenience.py", line 7, in <module>
from eventlet.green import socket
File "/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/eventlet/green/socket.py", line 21, in <module>
from eventlet.support import greendns
File "/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/eventlet/support/greendns.py", line 45, in <module>
from eventlet.green import ssl
File "/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/eventlet/green/ssl.py", line 25, in <module>
_original_wrap_socket = __ssl.wrap_socket
^^^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/karolbaryla/repos/python-driver/docs/.venv/lib/python3.9/site-packages/httpcore-1.0.9.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/.venv/lib/python3.9/site-packages/httpx-0.28.1.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/.venv/lib/python3.9/site-packages/idna-3.10.dist-info/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/.venv/lib/python3.9/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/.venv/lib64/python3.9/site-packages/httpcore-1.0.9.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/.venv/lib64/python3.9/site-packages/httpx-0.28.1.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/.venv/lib64/python3.9/site-packages/idna-3.10.dist-info/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/.venv/lib64/python3.9/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/alabaster-0.7.16.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/futures-2.2.0.dist-info/DESCRIPTION.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/geomet-0.2.1.post1.dist-info/DESCRIPTION.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/httpcore-1.0.9.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/httpx-0.28.1.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/idna-3.10.dist-info/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/imagesize-1.4.1.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/mdit_py_plugins/container/README.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/mdit_py_plugins/deflist/README.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/mdit_py_plugins/texmath/README.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/redirects_cli-0.1.3.dist-info/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/soupsieve-2.7.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinx-7.4.7.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/base.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/class.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinx_autobuild-2024.10.3.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinx_collapse-0.1.3.dist-info/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/sphinxcontrib_mermaid-1.0.0.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/starlette-0.46.2.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/uvicorn-0.34.2.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/alabaster-0.7.16.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/futures-2.2.0.dist-info/DESCRIPTION.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/geomet-0.2.1.post1.dist-info/DESCRIPTION.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/httpcore-1.0.9.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/httpx-0.28.1.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/idna-3.10.dist-info/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/imagesize-1.4.1.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/mdit_py_plugins/container/README.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/mdit_py_plugins/deflist/README.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/mdit_py_plugins/texmath/README.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/redirects_cli-0.1.3.dist-info/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/soupsieve-2.7.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx-7.4.7.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/base.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/class.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx_autobuild-2024.10.3.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx_collapse-0.1.3.dist-info/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinxcontrib_mermaid-1.0.0.dist-info/LICENSE.rst: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/starlette-0.46.2.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/uvicorn-0.34.2.dist-info/licenses/LICENSE.md: WARNING: document isn't included in any toctree
done
preparing documents... done
copying assets...
copying static files... Copying the source path /home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx/themes/basic/static/doctools.js to /home/karolbaryla/repos/python-driver/docs/_build/dirhtml/_static/doctools.js will overwrite data, as a file already exists at the destination path and the content does not match.
Copying the source path /home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx/themes/basic/static/searchtools.js to /home/karolbaryla/repos/python-driver/docs/_build/dirhtml/_static/searchtools.js will overwrite data, as a file already exists at the destination path and the content does not match.
Copying the source path /home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx_scylladb_theme/static/css/main.css to /home/karolbaryla/repos/python-driver/docs/_build/dirhtml/_static/css/main.css will overwrite data, as a file already exists at the destination path and the content does not match.
Copying the source path /home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx_scylladb_theme/static/js/main.bundle.js to /home/karolbaryla/repos/python-driver/docs/_build/dirhtml/_static/js/main.bundle.js will overwrite data, as a file already exists at the destination path and the content does not match.
Copying the source path /home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx_scylladb_theme/static/js/main.bundle.js.LICENSE.txt to /home/karolbaryla/repos/python-driver/docs/_build/dirhtml/_static/js/main.bundle.js.LICENSE.txt will overwrite data, as a file already exists at the destination path and the content does not match.
Copying the source path /home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/sphinx_scylladb_theme/static/js/runtime.bundle.js to /home/karolbaryla/repos/python-driver/docs/_build/dirhtml/_static/js/runtime.bundle.js will overwrite data, as a file already exists at the destination path and the content does not match.
done
copying extra files... done
copying assets: done
writing output... [ 8%] .venv/lib/python3.9/site-packages/httpx-0.28.1.dist-info/licenses/LICENSE .. api/cassandra
/home/karolbaryla/repos/python-driver/docs/venv/lib/python3.13/site-packages/mdit_py_plugins/texmath/README.md:135: WARNING: None:any reference target not found: ./license.txt
writing output... [ 17%] api/cassandra/auth .. api/cassandra/cqlengine/query
writing output... [ 25%] api/cassandra/cqlengine/usertype .. api/cassandra/io/twistedreactor
/home/karolbaryla/repos/python-driver/docs/venv/lib64/python3.13/site-packages/mdit_py_plugins/texmath/README.md:135: WARNING: None:any reference target not found: ./license.txt
writing output... [ 33%] api/cassandra/metadata .. api/index
writing output... [ 42%] cqlengine/batches .. execution-profiles
writing output... [ 50%] faq .. scylla-cloud
writing output... [ 58%] scylla-cloud-serverless .. venv/lib/python3.13/site-packages/httpcore-1.0.9.dist-info/licenses/LICENSE
writing output... [ 67%] venv/lib/python3.13/site-packages/httpx-0.28.1.dist-info/licenses/LICENSE .. venv/lib/python3.13/site-packages/soupsieve-2.7.dist-info/licenses/LICENSE
writing output... [ 75%] venv/lib/python3.13/site-packages/sphinx-7.4.7.dist-info/LICENSE .. venv/lib/python3.13/site-packages/uvicorn-0.34.2.dist-info/licenses/LICENSE
writing output... [ 83%] venv/lib64/python3.13/site-packages/alabaster-0.7.16.dist-info/LICENSE .. venv/lib64/python3.13/site-packages/mdit_py_plugins/deflist/README
writing output... [ 92%] venv/lib64/python3.13/site-packages/mdit_py_plugins/texmath/README .. venv/lib64/python3.13/site-packages/sphinx_autobuild-2024.10.3.dist-info/LICENSE
writing output... [100%] venv/lib64/python3.13/site-packages/sphinx_collapse-0.1.3.dist-info/LICENSE .. venv/lib64/python3.13/site-packages/uvicorn-0.34.2.dist-info/licenses/LICENSE
generating indices... py-modindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
sphinx-sitemap: sitemap.xml was generated for URL https://python-driver.docs.scylladb.com in /home/karolbaryla/repos/python-driver/docs/_build/dirhtml/sitemap.xml
build finished with problems, 94 warnings.
make: *** [Makefile:91: test] Error 1
This one I have no idea about.
The text was updated successfully, but these errors were encountered:
After creating and activating a venv and installing poetry, I'm trying to execute
make test
indocs
folder.Output:
It looks like the gevent issue fixed in #481 is maybe also relevant for x86?
After pinning gevent version, this error goes away, but I get other:
This one I have no idea about.
The text was updated successfully, but these errors were encountered: