pip install -r requirements.txt
Collecting beautifulsoup4==4.9.3
Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
Collecting bs4==0.0.1
Using cached bs4-0.0.1.tar.gz (1.1 kB)
Preparing metadata (setup.py) ... done
Collecting certifi==2020.12.5
Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
Collecting chardet==4.0.0
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting idna==2.10
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting lxml==4.7.1
Using cached lxml-4.7.1.tar.gz (3.2 MB)
Preparing metadata (setup.py) ... done
Collecting python-docx==0.8.11
Using cached python-docx-0.8.11.tar.gz (5.6 MB)
Preparing metadata (setup.py) ... done
Collecting python-gitlab==2.5.0
Using cached python_gitlab-2.5.0-py3-none-any.whl (93 kB)
Collecting requests==2.25.1
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting soupsieve==2.1
Using cached soupsieve-2.1-py3-none-any.whl (32 kB)
Collecting urllib3==1.26.3
Using cached urllib3-1.26.3-py2.py3-none-any.whl (137 kB)
Installing collected packages: certifi, urllib3, soupsieve, lxml, idna, chardet, requests, python-docx, beautifulsoup4, python-gitlab, bs4
DEPRECATION: lxml is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for lxml ... error
error: subprocess-exited-with-error
× Running setup.py install for lxml did not run successfully.
│ exit code: 1
╰─> [148 lines of output]
Building lxml version 4.7.1.
Building without Cython.
Building against libxml2 2.9.13 and libxslt 1.1.35
Building against libxml2/libxslt in the following directory: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib
running install
/Users/podborski/projects/AutomationTools/venv/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.macosx-13-arm64-cpython-311
creating build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/_elementpath.py -> build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/sax.py -> build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/pyclasslookup.py -> build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/__init__.py -> build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/builder.py -> build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/doctestcompare.py -> build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/usedoctest.py -> build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/cssselect.py -> build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/ElementInclude.py -> build/lib.macosx-13-arm64-cpython-311/lxml
creating build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
creating build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/defs.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/clean.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/__init__.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/formfill.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/builder.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
copying src/lxml/html/diff.py -> build/lib.macosx-13-arm64-cpython-311/lxml/html
creating build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/etree_api.h -> build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/lxml.etree.h -> build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.macosx-13-arm64-cpython-311/lxml
copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/__init__.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.macosx-13-arm64-cpython-311/lxml/includes
creating build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources
creating build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources/rng
creating build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources/xsl
creating build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-13-arm64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.macosx-13-arm64-cpython-311
creating build/temp.macosx-13-arm64-cpython-311/src
creating build/temp.macosx-13-arm64-cpython-311/src/lxml
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -DCYTHON_CLINE_IN_TRACEBACK=0 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -Isrc -Isrc/lxml/includes -I/Users/podborski/projects/AutomationTools/venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/lxml/etree.c -o build/temp.macosx-13-arm64-cpython-311/src/lxml/etree.o -w -flat_namespace
src/lxml/etree.c:262403:23: error: no member named 'exc_type' in 'struct _err_stackitem'
while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&
~~~~~~~~ ^
src/lxml/etree.c:262403:53: error: no member named 'exc_type' in 'struct _err_stackitem'
while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&
~~~~~~~~ ^
src/lxml/etree.c:262417:23: error: no member named 'exc_type' in 'struct _err_stackitem'
*type = exc_info->exc_type;
~~~~~~~~ ^
src/lxml/etree.c:262419:21: error: no member named 'exc_traceback' in 'struct _err_stackitem'
*tb = exc_info->exc_traceback;
~~~~~~~~ ^
src/lxml/etree.c:262433:26: error: no member named 'exc_type' in 'struct _err_stackitem'
tmp_type = exc_info->exc_type;
~~~~~~~~ ^
src/lxml/etree.c:262435:24: error: no member named 'exc_traceback' in 'struct _err_stackitem'
tmp_tb = exc_info->exc_traceback;
~~~~~~~~ ^
src/lxml/etree.c:262436:15: error: no member named 'exc_type' in 'struct _err_stackitem'
exc_info->exc_type = type;
~~~~~~~~ ^
src/lxml/etree.c:262438:15: error: no member named 'exc_traceback' in 'struct _err_stackitem'
exc_info->exc_traceback = tb;
~~~~~~~~ ^
src/lxml/etree.c:262520:30: error: no member named 'exc_type' in 'struct _err_stackitem'
tmp_type = exc_info->exc_type;
~~~~~~~~ ^
src/lxml/etree.c:262522:28: error: no member named 'exc_traceback' in 'struct _err_stackitem'
tmp_tb = exc_info->exc_traceback;
~~~~~~~~ ^
src/lxml/etree.c:262523:19: error: no member named 'exc_type' in 'struct _err_stackitem'
exc_info->exc_type = local_type;
~~~~~~~~ ^
src/lxml/etree.c:262525:19: error: no member named 'exc_traceback' in 'struct _err_stackitem'
exc_info->exc_traceback = local_tb;
~~~~~~~~ ^
src/lxml/etree.c:262711:26: error: no member named 'exc_type' in 'struct _err_stackitem'
tmp_type = exc_info->exc_type;
~~~~~~~~ ^
src/lxml/etree.c:262713:24: error: no member named 'exc_traceback' in 'struct _err_stackitem'
tmp_tb = exc_info->exc_traceback;
~~~~~~~~ ^
src/lxml/etree.c:262714:15: error: no member named 'exc_type' in 'struct _err_stackitem'
exc_info->exc_type = *type;
~~~~~~~~ ^
src/lxml/etree.c:262716:15: error: no member named 'exc_traceback' in 'struct _err_stackitem'
exc_info->exc_traceback = *tb;
~~~~~~~~ ^
src/lxml/etree.c:264915:20: error: no member named 'exc_type' in 'struct _err_stackitem'
t = exc_state->exc_type;
~~~~~~~~~ ^
src/lxml/etree.c:264917:21: error: no member named 'exc_traceback' in 'struct _err_stackitem'
tb = exc_state->exc_traceback;
~~~~~~~~~ ^
src/lxml/etree.c:264918:16: error: no member named 'exc_type' in 'struct _err_stackitem'
exc_state->exc_type = NULL;
~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Compile failed: command '/usr/bin/clang' failed with exit code 1
creating var
creating var/folders
creating var/folders/p3
creating var/folders/p3/6y7l96rj0874f8bdn7tdy5740000gn
creating var/folders/p3/6y7l96rj0874f8bdn7tdy5740000gn/T
cc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/include/libxml2 -c /var/folders/p3/6y7l96rj0874f8bdn7tdy5740000gn/T/xmlXPathInitvzad5p3b.c -o var/folders/p3/6y7l96rj0874f8bdn7tdy5740000gn/T/xmlXPathInitvzad5p3b.o
cc var/folders/p3/6y7l96rj0874f8bdn7tdy5740000gn/T/xmlXPathInitvzad5p3b.o -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lxml2 -o a.out
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lxml
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.