René's URL Explorer Experiment


Title: Error installing xmlsec==1.3.13 on poetry · Issue #337 · xmlsec/python-xmlsec · GitHub

Open Graph Title: Error installing xmlsec==1.3.13 on poetry · Issue #337 · xmlsec/python-xmlsec

X Title: Error installing xmlsec==1.3.13 on poetry · Issue #337 · xmlsec/python-xmlsec

Description: I'm running a project using poetry to isolate and manage dependencies. The python version that I'm using on poetry is 3.9.20, as projet subdependencies require that version of python When running poetry install, I'm receiving an error wh...

Open Graph Description: I'm running a project using poetry to isolate and manage dependencies. The python version that I'm using on poetry is 3.9.20, as projet subdependencies require that version of python When running p...

X Description: I'm running a project using poetry to isolate and manage dependencies. The python version that I'm using on poetry is 3.9.20, as projet subdependencies require that version of python When r...

Opengraph URL: https://github.com/xmlsec/python-xmlsec/issues/337

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error installing xmlsec==1.3.13 on poetry","articleBody":"I'm running a project using poetry to isolate and manage dependencies.\nThe python version that I'm using on poetry is 3.9.20, as projet subdependencies require that version of python\n\nWhen running poetry install, I'm receiving an error while installing xmlsec on version 1.3.13:\n```\n- Installing xmlsec (1.3.13): Failed\n\n  ChefBuildError\n\n  Backend subprocess exited when trying to invoke build_wheel\n\n  WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'\n  Traceback (most recent call last):\n    File \"/tmp/tmp3rr37sfq/.venv/lib/python3.9/site-packages/setuptools_scm/_integration/pyproject_reading.py\", line 36, in read_pyproject\n      section = defn.get(\"tool\", {})[tool_name]\n  KeyError: 'setuptools_scm'\n  running bdist_wheel\n  running build\n  running build_py\n  creating build/lib.linux-x86_64-cpython-39/xmlsec\n  copying src/xmlsec/__init__.pyi -\u003e build/lib.linux-x86_64-cpython-39/xmlsec\n  copying src/xmlsec/constants.pyi -\u003e build/lib.linux-x86_64-cpython-39/xmlsec\n  copying src/xmlsec/template.pyi -\u003e build/lib.linux-x86_64-cpython-39/xmlsec\n  copying src/xmlsec/tree.pyi -\u003e build/lib.linux-x86_64-cpython-39/xmlsec\n  copying src/xmlsec/py.typed -\u003e build/lib.linux-x86_64-cpython-39/xmlsec\n  running build_ext\n  building 'xmlsec' extension\n  creating build/temp.linux-x86_64-cpython-39/tmp/tmp1wtqzv7k/xmlsec-1.3.13/src\n  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -fPIC -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HTTP=1 -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_RIPEMD160=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.13 -I/usr/include/xmlsec1 -I/usr/include/libxml2 -I/tmp/tmp3rr37sfq/.venv/lib/python3.9/site-packages/lxml/includes -I/tmp/tmp3rr37sfq/.venv/lib/python3.9/site-packages/lxml -I/tmp/tmp3rr37sfq/.venv/lib/python3.9/site-packages/lxml/includes/libxml -I/tmp/tmp3rr37sfq/.venv/lib/python3.9/site-packages/lxml/includes/extlibs -I/tmp/tmp3rr37sfq/.venv/lib/python3.9/site-packages/lxml/includes/libexslt -I/tmp/tmp3rr37sfq/.venv/lib/python3.9/site-packages/lxml/includes/libxslt -I/tmp/tmp3rr37sfq/.venv/include -I/home/gbaraujosouza/.pyenv/versions/3.9.20/include/python3.9 -c /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c -o build/temp.linux-x86_64-cpython-39/tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.o -g -std=c99 -fPIC -fno-strict-aliasing -Wno-error=declaration-after-statement -Werror=implicit-function-declaration -Os\n  In file included from /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c:10:\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c: In function ‘PyXmlSec_ConstantsModule_Init’:\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c:304:51: error: ‘xmlSecSoap11Ns’ undeclared (first use in this function); did you mean ‘xmlSecEnc11Ns’?\n    304 |     tmp = PyUnicode_FromString((const char*)(JOIN(xmlSec, name))); \\\n        |                                                   ^~~~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/common.h:21:23: note: in definition of macro ‘DO_JOIN2’\n     21 | #define DO_JOIN2(X,Y) X##Y\n        |                       ^\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/common.h:19:19: note: in expansion of macro ‘DO_JOIN1’\n     19 | #define JOIN(X,Y) DO_JOIN1(X,Y)\n        |                   ^~~~~~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c:304:46: note: in expansion of macro ‘JOIN’\n    304 |     tmp = PyUnicode_FromString((const char*)(JOIN(xmlSec, name))); \\\n        |                                              ^~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c:319:5: note: in expansion of macro ‘PYXMLSEC_ADD_NS_CONSTANT’\n    319 |     PYXMLSEC_ADD_NS_CONSTANT(Soap11Ns, \"SOAP11\");\n        |     ^~~~~~~~~~~~~~~~~~~~~~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c:304:51: note: each undeclared identifier is reported only once for each function it appears in\n    304 |     tmp = PyUnicode_FromString((const char*)(JOIN(xmlSec, name))); \\\n        |                                                   ^~~~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/common.h:21:23: note: in definition of macro ‘DO_JOIN2’\n     21 | #define DO_JOIN2(X,Y) X##Y\n        |                       ^\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/common.h:19:19: note: in expansion of macro ‘DO_JOIN1’\n     19 | #define JOIN(X,Y) DO_JOIN1(X,Y)\n        |                   ^~~~~~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c:304:46: note: in expansion of macro ‘JOIN’\n    304 |     tmp = PyUnicode_FromString((const char*)(JOIN(xmlSec, name))); \\\n        |                                              ^~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c:319:5: note: in expansion of macro ‘PYXMLSEC_ADD_NS_CONSTANT’\n    319 |     PYXMLSEC_ADD_NS_CONSTANT(Soap11Ns, \"SOAP11\");\n        |     ^~~~~~~~~~~~~~~~~~~~~~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c:304:51: error: ‘xmlSecSoap12Ns’ undeclared (first use in this function); did you mean ‘xmlSecXPath2Ns’?\n    304 |     tmp = PyUnicode_FromString((const char*)(JOIN(xmlSec, name))); \\\n        |                                                   ^~~~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/common.h:21:23: note: in definition of macro ‘DO_JOIN2’\n     21 | #define DO_JOIN2(X,Y) X##Y\n        |                       ^\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/common.h:19:19: note: in expansion of macro ‘DO_JOIN1’\n     19 | #define JOIN(X,Y) DO_JOIN1(X,Y)\n        |                   ^~~~~~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c:304:46: note: in expansion of macro ‘JOIN’\n    304 |     tmp = PyUnicode_FromString((const char*)(JOIN(xmlSec, name))); \\\n        |                                              ^~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c:320:5: note: in expansion of macro ‘PYXMLSEC_ADD_NS_CONSTANT’\n    320 |     PYXMLSEC_ADD_NS_CONSTANT(Soap12Ns, \"SOAP12\");\n        |     ^~~~~~~~~~~~~~~~~~~~~~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c:433:31: error: ‘xmlSecKeyDataEcdsaId’ undeclared (first use in this function); did you mean ‘xmlSecKeyDataDsaId’?\n    433 |     tmp = PyXmlSec_KeyDataNew(xmlSec ## name ## Id); \\\n        |                               ^~~~~~\n  /tmp/tmp1wtqzv7k/xmlsec-1.3.13/src/constants.c:450:5: note: in expansion of macro ‘PYXMLSEC_ADD_KEYDATA_CONSTANT’\n    450 |     PYXMLSEC_ADD_KEYDATA_CONSTANT(KeyDataEcdsa, \"ECDSA\")\n        |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n  error: command '/usr/bin/gcc' failed with exit code 1\n\n\n  at ~/.local/share/pypoetry/venv/lib/python3.9/site-packages/poetry/installation/chef.py:164 in _prepare\n      160│\n      161│                 error = ChefBuildError(\"\\n\\n\".join(message_parts))\n      162│\n      163│             if error is not None:\n    → 164│                 raise error from None\n      165│\n      166│             return path\n      167│\n      168│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -\u003e Path:\n``` \n\nI'm using arch (btw ☝️🤓) and found solutions to other distros like Ubuntu in here: [https://stackoverflow.com/questions/638 … ip-command](https://stackoverflow.com/questions/63859803/cant-install-xmlsec-using-pip-command)\nAnd also solution to users that uses homebrew (which is not my case) in here: [https://stackoverflow.com/questions/760 … 8#76018398](https://stackoverflow.com/questions/76005401/cant-install-xmlsec-via-pip/76018398#76018398)\n\nIt was reported a similar issue in [this post](https://bbs.archlinux.org/viewtopic.php?id=266798) but without poetry and using an old version of python(2.7)\nI tried to install the dependencies mentioned and follow the sugestions on the thread, but still no solution.","author":{"url":"https://github.com/GbAraujoSouza","@type":"Person","name":"GbAraujoSouza"},"datePublished":"2025-01-22T22:43:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/337/python-xmlsec/issues/337"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7fc1de7f-f63e-93e0-1570-783b38b414c7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDC30:23E3D6:86795F:BA5B5E:696A7FD9
html-safe-nonce21a1660138ed8611eee64f701dbdba64514b3a1a28ddf0d5abe84b803117337a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzMwOjIzRTNENjo4Njc5NUY6QkE1QjVFOjY5NkE3RkQ5IiwidmlzaXRvcl9pZCI6IjUzMzU5MDg0OTk0Nzg3MDgxODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacda0b7752a66418e77e6ee8d52881cde8523c2572055ee761ef2c4fd1d85c329c
hovercard-subject-tagissue:2805493637
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/xmlsec/python-xmlsec/337/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fc2c9807724f6cc96824e7fd6fc25aa90ce2c7ad9b78b6cce632c738929ec06c/xmlsec/python-xmlsec/issues/337
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fc2c9807724f6cc96824e7fd6fc25aa90ce2c7ad9b78b6cce632c738929ec06c/xmlsec/python-xmlsec/issues/337
og:image:altI'm running a project using poetry to isolate and manage dependencies. The python version that I'm using on poetry is 3.9.20, as projet subdependencies require that version of python When running p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameGbAraujoSouza
hostnamegithub.com
expected-hostnamegithub.com
None913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377
turbo-cache-controlno-preview
go-importgithub.com/xmlsec/python-xmlsec git https://github.com/xmlsec/python-xmlsec.git
octolytics-dimension-user_id111647685
octolytics-dimension-user_loginxmlsec
octolytics-dimension-repository_id27934955
octolytics-dimension-repository_nwoxmlsec/python-xmlsec
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27934955
octolytics-dimension-repository_network_root_nwoxmlsec/python-xmlsec
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5998c30593994bf2589055aef7b22d368a499367
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/xmlsec/python-xmlsec/issues/337#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fxmlsec%2Fpython-xmlsec%2Fissues%2F337
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fxmlsec%2Fpython-xmlsec%2Fissues%2F337
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=xmlsec%2Fpython-xmlsec
Reloadhttps://github.com/xmlsec/python-xmlsec/issues/337
Reloadhttps://github.com/xmlsec/python-xmlsec/issues/337
Reloadhttps://github.com/xmlsec/python-xmlsec/issues/337
xmlsec https://github.com/xmlsec
python-xmlsechttps://github.com/xmlsec/python-xmlsec
Notifications https://github.com/login?return_to=%2Fxmlsec%2Fpython-xmlsec
Fork 105 https://github.com/login?return_to=%2Fxmlsec%2Fpython-xmlsec
Star 104 https://github.com/login?return_to=%2Fxmlsec%2Fpython-xmlsec
Code https://github.com/xmlsec/python-xmlsec
Issues 29 https://github.com/xmlsec/python-xmlsec/issues
Pull requests 3 https://github.com/xmlsec/python-xmlsec/pulls
Actions https://github.com/xmlsec/python-xmlsec/actions
Projects 0 https://github.com/xmlsec/python-xmlsec/projects
Wiki https://github.com/xmlsec/python-xmlsec/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/xmlsec/python-xmlsec/security
Please reload this pagehttps://github.com/xmlsec/python-xmlsec/issues/337
Insights https://github.com/xmlsec/python-xmlsec/pulse
Code https://github.com/xmlsec/python-xmlsec
Issues https://github.com/xmlsec/python-xmlsec/issues
Pull requests https://github.com/xmlsec/python-xmlsec/pulls
Actions https://github.com/xmlsec/python-xmlsec/actions
Projects https://github.com/xmlsec/python-xmlsec/projects
Wiki https://github.com/xmlsec/python-xmlsec/wiki
Security https://github.com/xmlsec/python-xmlsec/security
Insights https://github.com/xmlsec/python-xmlsec/pulse
New issuehttps://github.com/login?return_to=https://github.com/xmlsec/python-xmlsec/issues/337
New issuehttps://github.com/login?return_to=https://github.com/xmlsec/python-xmlsec/issues/337
Error installing xmlsec==1.3.13 on poetryhttps://github.com/xmlsec/python-xmlsec/issues/337#top
https://github.com/GbAraujoSouza
https://github.com/GbAraujoSouza
GbAraujoSouzahttps://github.com/GbAraujoSouza
on Jan 22, 2025https://github.com/xmlsec/python-xmlsec/issues/337#issue-2805493637
https://stackoverflow.com/questions/638 … ip-commandhttps://stackoverflow.com/questions/63859803/cant-install-xmlsec-using-pip-command
https://stackoverflow.com/questions/760 … 8#76018398https://stackoverflow.com/questions/76005401/cant-install-xmlsec-via-pip/76018398#76018398
this posthttps://bbs.archlinux.org/viewtopic.php?id=266798
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.