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
Describe the bug quickumls cannot be installed on Python 3.12 (default on Ubuntu 24.04 LTS) due to leveldb
To Reproduce
Deploy a venv for Python 3.12
pip install quickumls
Wheel compilation for leveldb fails with the following error:
leveldb_object.cc: In function ‘int pyleveldb_str_eq(PyObject*, const char*)’:
leveldb_object.cc:795:33: error: ‘PyUnicode_AS_UNICODE’ was not declared in this scope; did you mean ‘PyUnicode_AsUCS4’?
795 | Py_UNICODE* c = PyUnicode_AS_UNICODE(p);
| ^~~~~~~~~~~~~~~~~~~~
| PyUnicode_AsUCS4
**Environment **
OS: Ubuntu 24.04
QuickUMLS version: 1.4
UMLS version: N/A
Additional context
It sounds unlikely that py-leveldb will ever receive a fix. Its maintenance looks inactive. It could be worth swapping the leveldb dependency to something else like plyvel which looks maintained and has wheels for the latest versions of Python.
The text was updated successfully, but these errors were encountered:
ghisvail
added a commit
to ghisvail/QuickUMLS
that referenced
this issue
Aug 12, 2024
Rationales:
- quickumls fails to install on Python 3.12 due to py-leveldb
- py-leveldb looks unmaintained and is unlikely to receive support for Python 3.12
- plyvel provides a suitable replacement and is compatible with Python 3.12 onwards
ClosesGeorgetown-IR-Lab#98
Rationales:
- quickumls fails to install on Python 3.12 due to py-leveldb
- py-leveldb looks unmaintained and is unlikely to receive support for Python 3.12
- plyvel provides a suitable replacement and is compatible with Python 3.12 onwards
ClosesGeorgetown-IR-Lab#98
Describe the bug
quickumls
cannot be installed on Python 3.12 (default on Ubuntu 24.04 LTS) due toleveldb
To Reproduce
Deploy a venv for Python 3.12
pip install quickumls
Wheel compilation for
leveldb
fails with the following error:**Environment **
Additional context
It sounds unlikely that
py-leveldb
will ever receive a fix. Its maintenance looks inactive. It could be worth swapping theleveldb
dependency to something else likeplyvel
which looks maintained and has wheels for the latest versions of Python.The text was updated successfully, but these errors were encountered: