Open elvisior opened 3 weeks ago
Same on Linux. Seems to be incompatible with 3.13:
$ uv pip install xmlsec
Resolved 2 packages in 5ms
error: Failed to prepare distributions
Caused by: Failed to fetch wheel: xmlsec==1.3.14
Caused by: Build backend failed to build wheel through `build_wheel()` with exit status: 1
--- stdout:
running bdist_wheel
running build
running build_py
copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-cpython-313/xmlsec
copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-cpython-313/xmlsec
copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-cpython-313/xmlsec
copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-cpython-313/xmlsec
copying src/xmlsec/py.typed -> build/lib.linux-x86_64-cpython-313/xmlsec
running build_ext
building 'xmlsec' extension
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HTTP=1 -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -I/usr/include/xmlse
c1 -I/usr/include/libxml2 -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/extlibs -I/home/adrian/.cache/uv/
builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libxml -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libexslt -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libxslt -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/inclu
de -I/home/adrian/.pyenv/versions/3.13.0/include/python3.13 -c /home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/constants.c -o build/temp.linux-x86_64-cpython-313/home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.g
z/src/constants.o -g -std=c99 -fPIC -fno-strict-aliasing -Wno-error=declaration-after-statement -Werror=implicit-function-declaration -Os
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HTTP=1 -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -I/usr/include/xmlse
c1 -I/usr/include/libxml2 -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/extlibs -I/home/adrian/.cache/uv/
builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libxml -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libexslt -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libxslt -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/inclu
de -I/home/adrian/.pyenv/versions/3.13.0/include/python3.13 -c /home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/ds.c -o build/temp.linux-x86_64-cpython-313/home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/d
s.o -g -std=c99 -fPIC -fno-strict-aliasing -Wno-error=declaration-after-statement -Werror=implicit-function-declaration -Os
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HTTP=1 -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -I/usr/include/xmlse
c1 -I/usr/include/libxml2 -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/extlibs -I/home/adrian/.cache/uv/
builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libxml -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libexslt -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libxslt -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/inclu
de -I/home/adrian/.pyenv/versions/3.13.0/include/python3.13 -c /home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/enc.c -o build/temp.linux-x86_64-cpython-313/home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/
enc.o -g -std=c99 -fPIC -fno-strict-aliasing -Wno-error=declaration-after-statement -Werror=implicit-function-declaration -Os
--- stderr:
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
File "/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
section = defn.get("tool", {})[tool_name]
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/enc.c: In function ‘PyXmlSec_ClearReplacedNodes’:
/home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/enc.c:207:14: error: assignment to ‘struct LxmlElement **’ from incompatible pointer type ‘PyXmlSec_LxmlElementPtr’ {aka ‘struct LxmlElement *’} [-Wincompatible-pointer-types]
207 | elem = PyXmlSec_elementFactory(doc, n);
| ^
error: command '/usr/bin/gcc' failed with exit code 1
---
Apologies, I'm probably doing something wrong but when I try and 'pip install xmlsec' on windows 11 with python 3.13.0 I get the following error: