I recently upgraded my OS and had to rebuild several packages (I use a virtual env) starting from pip itself. However, pandas_ods_reader fails to build now (had it working earlier): copying pandas/tests/io/data/gbq_fake_job.txt -> build/lib.linux-x86_64-cpython-313/pandas/tests/io/data creating build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/fixed_width copying pandas/tests/io/data/fixed_width/fixed_width_format.txt -> build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/fixed_width creating build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/legacy_pickle/1.2.4 copying pandas/tests/io/data/legacy_pickle/1.2.4/empty_frame_v1_2_4-GH#42345.pkl -> build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/legacy_pickle/1.2.4 creating build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/parquet copying pandas/tests/io/data/parquet/simple.parquet -> build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/parquet creating build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/pickle copying pandas/tests/io/data/pickle/test_mi_py27.pkl -> build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/pickle copying pandas/tests/io/data/pickle/test_py27.pkl -> build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/pickle creating build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/xml copying pandas/tests/io/data/xml/baby_names.xml -> build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/xml copying pandas/tests/io/data/xml/books.xml -> build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/xml copying pandas/tests/io/data/xml/cta_rail_lines.kml -> build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/xml copying pandas/tests/io/data/xml/doc_ch_utf.xml -> build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/xml copying pandas/tests/io/data/xml/flatten_doc.xsl -> build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/xml copying pandas/tests/io/data/xml/row_field_output.xsl -> build/lib.linux-x86_64-cpython-313/pandas/tests/io/data/xml copying pandas/io/sas/_sas.pyi -> build/lib.linux-x86_64-cpython-313/pandas/io/sas copying pandas/io/sas/sas.pyx -> build/lib.linux-x86_64-cpython-313/pandas/io/sas creating build/lib.linux-x86_64-cpython-313/pandas/io/formats/templates copying pandas/io/formats/templates/html.tpl -> build/lib.linux-x86_64-cpython-313/pandas/io/formats/templates copying pandas/io/formats/templates/html_style.tpl -> build/lib.linux-x86_64-cpython-313/pandas/io/formats/templates copying pandas/io/formats/templates/html_table.tpl -> build/lib.linux-x86_64-cpython-313/pandas/io/formats/templates copying pandas/io/formats/templates/latex.tpl -> build/lib.linux-x86_64-cpython-313/pandas/io/formats/templates copying pandas/io/formats/templates/latex_longtable.tpl -> build/lib.linux-x86_64-cpython-313/pandas/io/formats/templates copying pandas/io/formats/templates/latex_table.tpl -> build/lib.linux-x86_64-cpython-313/pandas/io/formats/templates copying pandas/io/formats/templates/string.tpl -> build/lib.linux-x86_64-cpython-313/pandas/io/formats/templates UPDATING build/lib.linux-x86_64-cpython-313/pandas/_version.py set build/lib.linux-x86_64-cpython-313/pandas/_version.py to '1.5.3' running build_ext building 'pandas._libs.algos' extension creating build/temp.linux-x86_64-cpython-313/pandas/_libs x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/src/klib -I/tmp/pip-build-env-dcnotb5s/overlay/lib/python3.13/site-packages/numpy/_core/include -I/tmp/pip-build-env-dcnotb5s/overlay/lib/python3.13/site-packages/numpy/_core/include -I/tmp/pip-build-env-dcnotb5s/overlay/lib/python3.13/site-packages/numpy/_core/include -I/tmp/pip-build-env-dcnotb5s/overlay/lib/python3.13/site-packages/numpy/_core/include -I/tmp/pip-build-env-dcnotb5s/overlay/lib/python3.13/site-packages/numpy/_core/include -I/tmp/pip-build-env-dcnotb5s/overlay/lib/python3.13/site-packages/numpy/_core/include -I/tmp/pip-build-env-dcnotb5s/overlay/lib/python3.13/site-packages/numpy/_core/include -I/home/spock/Private/python/include -I/usr/include/python3.13 -c pandas/_libs/algos.c -o build/temp.linux-x86_64-cpython-313/pandas/_libs/algos.o In file included from pandas/_libs/algos.c:809: pandas/_libs/src/klib/khash_python.h: In function ‘kh_complex128_hash_func’: pandas/_libs/src/klib/khash_python.h:140:36: error: request for member ‘real’ in something not a structure or union 140 | return kh_float64_hash_func(val.real)^kh_float64_hash_func(val.imag); | ^ pandas/_libs/src/klib/khash_python.h:140:67: error: request for member ‘imag’ in something not a structure or union ... error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pandas Successfully built ezodf Failed to build lxml pandas ERROR: Failed to build installable wheels for some pyproject.toml based projects (lxml, pandas) This is on Debian Sid. I have the latest python version (3.13.3), C compiler (14.2.0) installed. I have also upgraded pip itself to the latest version, as well all the installed packages. Current versions: Package Version ------------------ ----------- acres 0.3.0 aiofiles 24.1.0 anyio 4.9.0 certifi 2025.4.26 chardet 5.2.0 charset-normalizer 3.4.1 ci-info 0.3.0 click 8.1.8 configobj 5.0.9 configparser 7.2.0 contourpy 1.3.2 cycler 0.12.1 defusedxml 0.7.1 docopt 0.6.2 etelemetry 0.3.1 filelock 3.18.0 fonttools 4.57.0 forex-python 1.8 frontend 0.0.3 h11 0.16.0 httplib2 0.22.0 idna 3.10 isodate 0.7.2 itsdangerous 2.2.0 kiwisolver 1.4.8 looseversion 1.3.0 lxml 5.4.0 matplotlib 3.10.1 networkx 3.4.2 nibabel 5.3.2 nipype 1.10.0 num2words 0.5.14 numpy 2.2.5 odfpy 1.4.1 opencv-python 4.11.0.86 packaging 25.0 pandas 2.2.3 pathlib 1.0.1 pillow 11.2.1 pip 25.1 prov 2.0.1 puremagic 1.28 pydot 3.0.4 PyMuPDF 1.25.5 pyparsing 3.2.3 PyPDF2 3.0.1 pytesseract 0.3.13 python-dateutil 2.9.0.post0 pytz 2025.2 pyxnat 1.6.3 pyzbar 0.1.9 qrcode 8.1 rdflib 7.1.4 reportlab 4.4.0 requests 2.32.3 scipy 1.15.2 simplejson 3.20.1 six 1.17.0 sniffio 1.3.1 starlette 0.46.2 traits 7.0.2 tzdata 2025.2 urllib3 2.4.0 uvicorn 0.34.2 I have code that depends on read_ods method in this module. I need it working as before. Continue reading...