italia / spid-saml-check

Tool di verifica implementazione SPID SAML
European Union Public License 1.2
71 stars 59 forks source link

Docker build fallisce con errore "ffi.h: No such file or directory" #209

Closed TechIsFun closed 2 years ago

TechIsFun commented 2 years ago

Step per riprodurre:

  1. effettuare il checkout del repository
  2. eseguire docker build .

Ambiente:

Questo è l'errore che si ottiene:

 => ERROR [3/7] RUN pip3 install spid-sp-test --upgrade --no-cache                                                                                                                                                                       8.4s
------
 > [3/7] RUN pip3 install spid-sp-test --upgrade --no-cache:
#7 1.494 Collecting spid-sp-test
#7 1.729   Downloading https://files.pythonhosted.org/packages/a6/eb/f4eff52921992baf4fe8adeb96b27618821044dc1e471782b606cc1ac7f4/spid_sp_test-1.1.1-py3-none-any.whl (2.5MB)
#7 1.950 Collecting Jinja2>=2.11.3 (from spid-sp-test)
#7 2.008   Downloading https://files.pythonhosted.org/packages/20/9a/e5d9ec41927401e41aea8af6d16e78b5e612bca4699d417f646a9610a076/Jinja2-3.0.3-py3-none-any.whl (133kB)
#7 2.037 Collecting spid-compliant-certificates (from spid-sp-test)
#7 2.075   Downloading https://files.pythonhosted.org/packages/6f/51/710ff07d360dc1930141e2c2fed1125f896bfb3990bcc9dfb823b508cbb1/spid_compliant_certificates-0.3-py3-none-any.whl
#7 2.100 Collecting lxml>=4.6.2 (from spid-sp-test)
#7 2.495   Downloading https://files.pythonhosted.org/packages/01/47/2356c90b168e969c0826369124c7024173a0ccfe04212d96ea357dc5a5c8/lxml-4.7.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.6MB)
#7 2.922 Collecting pysaml2>=6.5.1 (from spid-sp-test)
#7 2.979   Downloading https://files.pythonhosted.org/packages/ce/f8/76e0cdb16c9bdbd00170258320194426c3246c59c54d0fc640b661988bb4/pysaml2-7.1.0-py2.py3-none-any.whl (400kB)
#7 3.043 Collecting xmlschema==1.7.1 (from spid-sp-test)
#7 3.109   Downloading https://files.pythonhosted.org/packages/f0/91/5456f52969fddfc9ad4620fb652853225e604064850d5dfd7ebe779e8b09/xmlschema-1.7.1-py3-none-any.whl (256kB)
#7 3.162 Collecting requests>=2.25.1 (from spid-sp-test)
#7 3.245   Downloading https://files.pythonhosted.org/packages/92/96/144f70b972a9c0eabbd4391ef93ccd49d0f2747f4f6a2a2738e99e5adc65/requests-2.26.0-py2.py3-none-any.whl (62kB)
#7 3.280 Collecting MarkupSafe>=2.0 (from Jinja2>=2.11.3->spid-sp-test)
#7 3.382   Downloading https://files.pythonhosted.org/packages/d7/56/9d9c0dc2b0f5dc342ff9c7df31c523cc122947970b5ea943b2311be0c391/MarkupSafe-2.0.1-cp37-cp37m-manylinux1_x86_64.whl
#7 3.409 Collecting packaging==21.2 (from spid-compliant-certificates->spid-sp-test)
#7 3.470   Downloading https://files.pythonhosted.org/packages/b1/09/464d5df9f9ec1ab5054af6d097df6793e542f4aa426ba3062ec64409cab7/packaging-21.2-py3-none-any.whl (40kB)
#7 3.484 Collecting cryptography==35.0.0 (from spid-compliant-certificates->spid-sp-test)
#7 3.819   Downloading https://files.pythonhosted.org/packages/10/91/90b8d4cd611ac2aa526290ae4b4285aa5ea57ee191c63c2f3d04170d7683/cryptography-35.0.0.tar.gz (559kB)
#7 3.946   Installing build dependencies: started
#7 8.269   Installing build dependencies: finished with status 'error'
#7 8.269   Complete output from command /usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-0nsya7pa --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=40.6.0 wheel "cffi>=1.12; platform_python_implementation != 'PyPy'" setuptools-rust>=0.11.4:
#7 8.269   Collecting setuptools>=40.6.0
#7 8.269     Downloading https://files.pythonhosted.org/packages/75/cd/178028262e067ed10011779e8de4c12821de3dc1598de42920988ebd412d/setuptools-60.1.0-py3-none-any.whl (952kB)
#7 8.269   Collecting wheel
#7 8.269     Downloading https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl
#7 8.269   Collecting cffi>=1.12
#7 8.269     Downloading https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a/cffi-1.15.0.tar.gz (484kB)
#7 8.269   Collecting setuptools-rust>=0.11.4
#7 8.269     Downloading https://files.pythonhosted.org/packages/66/ca/66bdf8f326977098eff28c314c8f825bc28d6986944c590e40ad0f74c5f0/setuptools_rust-1.1.2-py3-none-any.whl
#7 8.269   Collecting pycparser (from cffi>=1.12)
#7 8.269     Downloading https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl (118kB)
#7 8.269   Collecting semantic-version<3,>=2.8.2 (from setuptools-rust>=0.11.4)
#7 8.269     Downloading https://files.pythonhosted.org/packages/a5/15/00ef3b7888a10363b7c402350eda3acf395ff05bebae312d1296e528516a/semantic_version-2.8.5-py2.py3-none-any.whl
#7 8.269   Collecting typing-extensions>=3.7.4.3 (from setuptools-rust>=0.11.4)
#7 8.269     Downloading https://files.pythonhosted.org/packages/05/e4/baf0031e39cf545f0c9edd5b1a2ea12609b7fcba2d58e118b11753d68cf0/typing_extensions-4.0.1-py3-none-any.whl
#7 8.269   Building wheels for collected packages: cffi
#7 8.269     Running setup.py bdist_wheel for cffi: started
#7 8.269     Running setup.py bdist_wheel for cffi: finished with status 'error'
#7 8.269     Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vw420uf2/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-d6qt9_em --python-tag cp37:
#7 8.269     running bdist_wheel
#7 8.269     running build
#7 8.269     running build_py
#7 8.269     creating build
#7 8.269     creating build/lib.linux-x86_64-3.7
#7 8.269     creating build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/__init__.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/cparser.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/error.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/commontypes.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/verifier.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/lock.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/model.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/recompiler.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/api.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/_embedding.h -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.7/cffi
#7 8.269     running build_ext
#7 8.269     building '_cffi_backend' extension
#7 8.269     creating build/temp.linux-x86_64-3.7
#7 8.269     creating build/temp.linux-x86_64-3.7/c
#7 8.269     x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.7/c/_cffi_backend.o
#7 8.269     c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
#7 8.269      #include <ffi.h>
#7 8.269               ^~~~~~~
#7 8.269     compilation terminated.
#7 8.269     error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
#7 8.269
#7 8.269     ----------------------------------------
#7 8.269     Failed building wheel for cffi
#7 8.269     Running setup.py clean for cffi
#7 8.269   Failed to build cffi
#7 8.269   Installing collected packages: setuptools, wheel, pycparser, cffi, semantic-version, typing-extensions, setuptools-rust
#7 8.269     Running setup.py install for cffi: started
#7 8.269       Running setup.py install for cffi: finished with status 'error'
#7 8.269       Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vw420uf2/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-5kzokif8/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-0nsya7pa --compile:
#7 8.269       running install
#7 8.269       running build
#7 8.269       running build_py
#7 8.269       creating build
#7 8.269       creating build/lib.linux-x86_64-3.7
#7 8.269       creating build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/__init__.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/cparser.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/error.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/commontypes.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/verifier.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/lock.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/model.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/recompiler.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/api.py -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/_embedding.h -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.7/cffi
#7 8.269       running build_ext
#7 8.269       building '_cffi_backend' extension
#7 8.269       creating build/temp.linux-x86_64-3.7
#7 8.269       creating build/temp.linux-x86_64-3.7/c
#7 8.269       x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.7/c/_cffi_backend.o
#7 8.269       c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
#7 8.269        #include <ffi.h>
#7 8.269                 ^~~~~~~
#7 8.269       compilation terminated.
#7 8.269       error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
#7 8.269
#7 8.269       ----------------------------------------
#7 8.269   Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vw420uf2/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-5kzokif8/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-0nsya7pa --compile" failed with error code 1 in /tmp/pip-install-vw420uf2/cffi/
#7 8.269
#7 8.269   ----------------------------------------
#7 8.328 Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-0nsya7pa --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=40.6.0 wheel "cffi>=1.12; platform_python_implementation != 'PyPy'" setuptools-rust>=0.11.4" failed with error code 1 in None
------
executor failed running [/bin/sh -c pip3 install spid-sp-test --upgrade --no-cache]: exit code: 1
TechIsFun commented 2 years ago

Il problema si può risolvere aggiungendo libffi-dev ai pacchetti da installare tramite apt-get. Tuttavia risolto questo problema se ne presenta un altro:

=> ERROR [3/7] RUN pip3 install spid-sp-test --upgrade --no-cache                                                                                                                                                                      17.0s
------
 > [3/7] RUN pip3 install spid-sp-test --upgrade --no-cache:
#7 1.045 Collecting spid-sp-test
#7 1.282   Downloading https://files.pythonhosted.org/packages/a6/eb/f4eff52921992baf4fe8adeb96b27618821044dc1e471782b606cc1ac7f4/spid_sp_test-1.1.1-py3-none-any.whl (2.5MB)
#7 1.496 Collecting lxml>=4.6.2 (from spid-sp-test)
#7 1.879   Downloading https://files.pythonhosted.org/packages/01/47/2356c90b168e969c0826369124c7024173a0ccfe04212d96ea357dc5a5c8/lxml-4.7.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.6MB)
#7 2.267 Collecting spid-compliant-certificates (from spid-sp-test)
#7 2.315   Downloading https://files.pythonhosted.org/packages/6f/51/710ff07d360dc1930141e2c2fed1125f896bfb3990bcc9dfb823b508cbb1/spid_compliant_certificates-0.3-py3-none-any.whl
#7 2.352 Collecting xmlschema==1.7.1 (from spid-sp-test)
#7 2.431   Downloading https://files.pythonhosted.org/packages/f0/91/5456f52969fddfc9ad4620fb652853225e604064850d5dfd7ebe779e8b09/xmlschema-1.7.1-py3-none-any.whl (256kB)
#7 2.487 Collecting requests>=2.25.1 (from spid-sp-test)
#7 2.567   Downloading https://files.pythonhosted.org/packages/92/96/144f70b972a9c0eabbd4391ef93ccd49d0f2747f4f6a2a2738e99e5adc65/requests-2.26.0-py2.py3-none-any.whl (62kB)
#7 2.603 Collecting pysaml2>=6.5.1 (from spid-sp-test)
#7 2.660   Downloading https://files.pythonhosted.org/packages/ce/f8/76e0cdb16c9bdbd00170258320194426c3246c59c54d0fc640b661988bb4/pysaml2-7.1.0-py2.py3-none-any.whl (400kB)
#7 2.726 Collecting Jinja2>=2.11.3 (from spid-sp-test)
#7 2.781   Downloading https://files.pythonhosted.org/packages/20/9a/e5d9ec41927401e41aea8af6d16e78b5e612bca4699d417f646a9610a076/Jinja2-3.0.3-py3-none-any.whl (133kB)
#7 2.811 Collecting ruamel.yaml==0.17.17 (from spid-compliant-certificates->spid-sp-test)
#7 3.249   Downloading https://files.pythonhosted.org/packages/c7/75/729b63cd0de2316c8bb789ff2c557d9732a5aeb900c5539ae74db41ba562/ruamel.yaml-0.17.17-py3-none-any.whl (109kB)
#7 3.282 Collecting iso3166==2.0.2 (from spid-compliant-certificates->spid-sp-test)
#7 3.325   Downloading https://files.pythonhosted.org/packages/32/d8/1fc7d9f5b11b4490c8a9ac9fd79efb466e142468428b71dea42d5756e257/iso3166-2.0.2-py3-none-any.whl
#7 3.341 Collecting packaging==21.2 (from spid-compliant-certificates->spid-sp-test)
#7 3.408   Downloading https://files.pythonhosted.org/packages/b1/09/464d5df9f9ec1ab5054af6d097df6793e542f4aa426ba3062ec64409cab7/packaging-21.2-py3-none-any.whl (40kB)
#7 3.426 Collecting cryptography==35.0.0 (from spid-compliant-certificates->spid-sp-test)
#7 3.782   Downloading https://files.pythonhosted.org/packages/10/91/90b8d4cd611ac2aa526290ae4b4285aa5ea57ee191c63c2f3d04170d7683/cryptography-35.0.0.tar.gz (559kB)
#7 3.908   Installing build dependencies: started
#7 10.07   Installing build dependencies: finished with status 'done'
#7 10.72 Collecting elementpath<3.0.0,>=2.2.2 (from xmlschema==1.7.1->spid-sp-test)
#7 10.80   Downloading https://files.pythonhosted.org/packages/7e/35/55a92f54f018c20e717223a0561bb60bf5053170c86b4b3624368f2da137/elementpath-2.4.0-py3-none-any.whl (163kB)
#7 10.84 Collecting urllib3<1.27,>=1.21.1 (from requests>=2.25.1->spid-sp-test)
#7 10.90   Downloading https://files.pythonhosted.org/packages/af/f4/524415c0744552cce7d8bf3669af78e8a069514405ea4fcbd0cc44733744/urllib3-1.26.7-py2.py3-none-any.whl (138kB)
#7 10.95 Collecting idna<4,>=2.5; python_version >= "3" (from requests>=2.25.1->spid-sp-test)
#7 10.99   Downloading https://files.pythonhosted.org/packages/04/a2/d918dcd22354d8958fe113e1a3630137e0fc8b44859ade3063982eacd2a4/idna-3.3-py3-none-any.whl (61kB)
#7 11.01 Collecting charset-normalizer~=2.0.0; python_version >= "3" (from requests>=2.25.1->spid-sp-test)
#7 11.07   Downloading https://files.pythonhosted.org/packages/47/84/b06f6729fac8108c5fa3e13cde19b0b3de66ba5538c325496dbe39f5ff8e/charset_normalizer-2.0.9-py3-none-any.whl
#7 11.09 Collecting certifi>=2017.4.17 (from requests>=2.25.1->spid-sp-test)
#7 11.14   Downloading https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl (149kB)
#7 11.17 Requirement already satisfied, skipping upgrade: six in /usr/lib/python3/dist-packages (from pysaml2>=6.5.1->spid-sp-test) (1.12.0)
#7 11.17 Collecting importlib-resources; python_version < "3.9" (from pysaml2>=6.5.1->spid-sp-test)
#7 11.25   Downloading https://files.pythonhosted.org/packages/24/1b/33e489669a94da3ef4562938cd306e8fa915e13939d7b8277cb5569cb405/importlib_resources-5.4.0-py3-none-any.whl
#7 11.29 Collecting python-dateutil (from pysaml2>=6.5.1->spid-sp-test)
#7 11.34   Downloading https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl (247kB)
#7 11.37 Collecting pyOpenSSL (from pysaml2>=6.5.1->spid-sp-test)
#7 11.44   Downloading https://files.pythonhosted.org/packages/85/3a/fe3c98435856a1ed798977981f3da82d2685cf9df97e4d9546340d2b83db/pyOpenSSL-21.0.0-py2.py3-none-any.whl (55kB)
#7 11.47 Collecting defusedxml (from pysaml2>=6.5.1->spid-sp-test)
#7 11.51   Downloading https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl
#7 11.54 Collecting pytz (from pysaml2>=6.5.1->spid-sp-test)
#7 11.69   Downloading https://files.pythonhosted.org/packages/d3/e3/d9f046b5d1c94a3aeab15f1f867aa414f8ee9d196fae6865f1d6a0ee1a0b/pytz-2021.3-py2.py3-none-any.whl (503kB)
#7 11.79 Collecting MarkupSafe>=2.0 (from Jinja2>=2.11.3->spid-sp-test)
#7 11.89   Downloading https://files.pythonhosted.org/packages/d7/56/9d9c0dc2b0f5dc342ff9c7df31c523cc122947970b5ea943b2311be0c391/MarkupSafe-2.0.1-cp37-cp37m-manylinux1_x86_64.whl
#7 11.91 Collecting ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.10" (from ruamel.yaml==0.17.17->spid-compliant-certificates->spid-sp-test)
#7 11.97   Downloading https://files.pythonhosted.org/packages/98/8a/ba37489b423916162b086b01c7c18001cf297350694180468e1698085c58/ruamel.yaml.clib-0.2.6-cp37-cp37m-manylinux1_x86_64.whl (546kB)
#7 12.02 Collecting pyparsing<3,>=2.0.2 (from packaging==21.2->spid-compliant-certificates->spid-sp-test)
#7 12.11   Downloading https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl (67kB)
#7 12.13 Collecting cffi>=1.12 (from cryptography==35.0.0->spid-compliant-certificates->spid-sp-test)
#7 12.41   Downloading https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a/cffi-1.15.0.tar.gz (484kB)
#7 12.75 Collecting zipp>=3.1.0; python_version < "3.10" (from importlib-resources; python_version < "3.9"->pysaml2>=6.5.1->spid-sp-test)
#7 12.81   Downloading https://files.pythonhosted.org/packages/bd/df/d4a4974a3e3957fd1c1fa3082366d7fff6e428ddb55f074bf64876f8e8ad/zipp-3.6.0-py3-none-any.whl
#7 12.84 Collecting pycparser (from cffi>=1.12->cryptography==35.0.0->spid-compliant-certificates->spid-sp-test)
#7 12.88   Downloading https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl (118kB)
#7 13.01 Installing collected packages: lxml, ruamel.yaml.clib, ruamel.yaml, urllib3, idna, charset-normalizer, certifi, requests, iso3166, pyparsing, packaging, pycparser, cffi, cryptography, spid-compliant-certificates, elementpath, xmlschema, zipp, importlib-resources, python-dateutil, pyOpenSSL, defusedxml, pytz, pysaml2, MarkupSafe, Jinja2, spid-sp-test
#7 13.42   Running setup.py install for cffi: started
#7 16.07     Running setup.py install for cffi: finished with status 'done'
#7 16.08   Found existing installation: cryptography 2.6.1
#7 16.08     Not uninstalling cryptography at /usr/lib/python3/dist-packages, outside environment /usr
#7 16.08     Can't uninstall 'cryptography'. No files were found to uninstall.
#7 16.08   Running setup.py install for cryptography: started
#7 16.75     Running setup.py install for cryptography: finished with status 'error'
#7 16.75     Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-q1_q407h/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-ze1exr_r/install-record.txt --single-version-externally-managed --compile:
#7 16.75     running install
#7 16.75     /tmp/pip-build-env-ugttm1z4/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
#7 16.75       setuptools.SetuptoolsDeprecationWarning,
#7 16.75     running build
#7 16.75     running build_py
#7 16.75     creating build
#7 16.75     creating build/lib.linux-x86_64-3.7
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography
#7 16.75     copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.7/cryptography
#7 16.75     copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.7/cryptography
#7 16.75     copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.7/cryptography
#7 16.75     copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.7/cryptography
#7 16.75     copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.7/cryptography
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat
#7 16.75     copying src/cryptography/hazmat/_oid.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
#7 16.75     copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings
#7 16.75     copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
#7 16.75     copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
#7 16.75     copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
#7 16.75     copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
#7 16.75     copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
#7 16.75     copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#7 16.75     copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#7 16.75     copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#7 16.75     copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#7 16.75     copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#7 16.75     copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#7 16.75     copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#7 16.75     copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#7 16.75     copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#7 16.75     copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#7 16.75     copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#7 16.75     copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#7 16.75     copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#7 16.75     copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     running egg_info
#7 16.75     no previously-included directories found matching 'docs/_build'
#7 16.75     warning: no previously-included files found matching 'vectors'
#7 16.75     warning: no previously-included files matching '*' found under directory 'vectors'
#7 16.75     warning: no previously-included files matching '*' found under directory '.github'
#7 16.75     warning: no previously-included files found matching 'release.py'
#7 16.75     warning: no previously-included files found matching '.coveragerc'
#7 16.75     warning: no previously-included files found matching 'codecov.yml'
#7 16.75     warning: no previously-included files found matching '.readthedocs.yml'
#7 16.75     warning: no previously-included files found matching 'dev-requirements.txt'
#7 16.75     warning: no previously-included files found matching 'tox.ini'
#7 16.75     warning: no previously-included files found matching 'mypy.ini'
#7 16.75     warning: no previously-included files matching '*' found under directory '.zuul.d'
#7 16.75     warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
#7 16.75     writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
#7 16.75     copying src/cryptography/py.typed -> build/lib.linux-x86_64-3.7/cryptography
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust
#7 16.75     copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust
#7 16.75     copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust
#7 16.75     copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust
#7 16.75     copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust
#7 16.75     running build_ext
#7 16.75
#7 16.75         =============================DEBUG ASSISTANCE=============================
#7 16.75         If you are seeing a compilation error please try the following steps to
#7 16.75         successfully install cryptography:
#7 16.75         1) Upgrade to the latest pip and try again. This will fix errors for most
#7 16.75            users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
#7 16.75         2) Read https://cryptography.io/en/latest/installation/ for specific
#7 16.75            instructions for your platform.
#7 16.75         3) Check our frequently asked questions for more information:
#7 16.75            https://cryptography.io/en/latest/faq/
#7 16.75         4) Ensure you have a recent Rust toolchain installed:
#7 16.75            https://cryptography.io/en/latest/installation/#rust
#7 16.75
#7 16.75         Python: 3.7.3
#7 16.75         platform: Linux-5.10.76-linuxkit-x86_64-with-debian-10.11
#7 16.75         pip: 18.1
#7 16.75         setuptools: 60.1.0
#7 16.75         setuptools_rust: 1.1.2
#7 16.75         =============================DEBUG ASSISTANCE=============================
#7 16.75
#7 16.75     error: can't find Rust compiler
#7 16.75
#7 16.75     If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
#7 16.75
#7 16.75     To update pip, run:
#7 16.75
#7 16.75         pip install --upgrade pip
#7 16.75
#7 16.75     and then retry package installation.
#7 16.75
#7 16.75     If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
#7 16.75
#7 16.75     This package requires Rust >=1.41.0.
#7 16.75
#7 16.75     ----------------------------------------
#7 16.75   Can't roll back cryptography; was not uninstalled
#7 16.85 Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-q1_q407h/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-ze1exr_r/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-q1_q407h/cryptography/
------
executor failed running [/bin/sh -c pip3 install spid-sp-test --upgrade --no-cache]: exit code: 1
TechIsFun commented 2 years ago

Il problema si può risolvere aggiungendo libffi-dev ai pacchetti da installare tramite apt-get. Tuttavia risolto questo problema se ne presenta un altro:

=> ERROR [3/7] RUN pip3 install spid-sp-test --upgrade --no-cache                                                                                                                                                                      17.0s
------
 > [3/7] RUN pip3 install spid-sp-test --upgrade --no-cache:
#7 1.045 Collecting spid-sp-test
#7 1.282   Downloading https://files.pythonhosted.org/packages/a6/eb/f4eff52921992baf4fe8adeb96b27618821044dc1e471782b606cc1ac7f4/spid_sp_test-1.1.1-py3-none-any.whl (2.5MB)
#7 1.496 Collecting lxml>=4.6.2 (from spid-sp-test)
#7 1.879   Downloading https://files.pythonhosted.org/packages/01/47/2356c90b168e969c0826369124c7024173a0ccfe04212d96ea357dc5a5c8/lxml-4.7.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.6MB)
#7 2.267 Collecting spid-compliant-certificates (from spid-sp-test)
#7 2.315   Downloading https://files.pythonhosted.org/packages/6f/51/710ff07d360dc1930141e2c2fed1125f896bfb3990bcc9dfb823b508cbb1/spid_compliant_certificates-0.3-py3-none-any.whl
#7 2.352 Collecting xmlschema==1.7.1 (from spid-sp-test)
#7 2.431   Downloading https://files.pythonhosted.org/packages/f0/91/5456f52969fddfc9ad4620fb652853225e604064850d5dfd7ebe779e8b09/xmlschema-1.7.1-py3-none-any.whl (256kB)
#7 2.487 Collecting requests>=2.25.1 (from spid-sp-test)
#7 2.567   Downloading https://files.pythonhosted.org/packages/92/96/144f70b972a9c0eabbd4391ef93ccd49d0f2747f4f6a2a2738e99e5adc65/requests-2.26.0-py2.py3-none-any.whl (62kB)
#7 2.603 Collecting pysaml2>=6.5.1 (from spid-sp-test)
#7 2.660   Downloading https://files.pythonhosted.org/packages/ce/f8/76e0cdb16c9bdbd00170258320194426c3246c59c54d0fc640b661988bb4/pysaml2-7.1.0-py2.py3-none-any.whl (400kB)
#7 2.726 Collecting Jinja2>=2.11.3 (from spid-sp-test)
#7 2.781   Downloading https://files.pythonhosted.org/packages/20/9a/e5d9ec41927401e41aea8af6d16e78b5e612bca4699d417f646a9610a076/Jinja2-3.0.3-py3-none-any.whl (133kB)
#7 2.811 Collecting ruamel.yaml==0.17.17 (from spid-compliant-certificates->spid-sp-test)
#7 3.249   Downloading https://files.pythonhosted.org/packages/c7/75/729b63cd0de2316c8bb789ff2c557d9732a5aeb900c5539ae74db41ba562/ruamel.yaml-0.17.17-py3-none-any.whl (109kB)
#7 3.282 Collecting iso3166==2.0.2 (from spid-compliant-certificates->spid-sp-test)
#7 3.325   Downloading https://files.pythonhosted.org/packages/32/d8/1fc7d9f5b11b4490c8a9ac9fd79efb466e142468428b71dea42d5756e257/iso3166-2.0.2-py3-none-any.whl
#7 3.341 Collecting packaging==21.2 (from spid-compliant-certificates->spid-sp-test)
#7 3.408   Downloading https://files.pythonhosted.org/packages/b1/09/464d5df9f9ec1ab5054af6d097df6793e542f4aa426ba3062ec64409cab7/packaging-21.2-py3-none-any.whl (40kB)
#7 3.426 Collecting cryptography==35.0.0 (from spid-compliant-certificates->spid-sp-test)
#7 3.782   Downloading https://files.pythonhosted.org/packages/10/91/90b8d4cd611ac2aa526290ae4b4285aa5ea57ee191c63c2f3d04170d7683/cryptography-35.0.0.tar.gz (559kB)
#7 3.908   Installing build dependencies: started
#7 10.07   Installing build dependencies: finished with status 'done'
#7 10.72 Collecting elementpath<3.0.0,>=2.2.2 (from xmlschema==1.7.1->spid-sp-test)
#7 10.80   Downloading https://files.pythonhosted.org/packages/7e/35/55a92f54f018c20e717223a0561bb60bf5053170c86b4b3624368f2da137/elementpath-2.4.0-py3-none-any.whl (163kB)
#7 10.84 Collecting urllib3<1.27,>=1.21.1 (from requests>=2.25.1->spid-sp-test)
#7 10.90   Downloading https://files.pythonhosted.org/packages/af/f4/524415c0744552cce7d8bf3669af78e8a069514405ea4fcbd0cc44733744/urllib3-1.26.7-py2.py3-none-any.whl (138kB)
#7 10.95 Collecting idna<4,>=2.5; python_version >= "3" (from requests>=2.25.1->spid-sp-test)
#7 10.99   Downloading https://files.pythonhosted.org/packages/04/a2/d918dcd22354d8958fe113e1a3630137e0fc8b44859ade3063982eacd2a4/idna-3.3-py3-none-any.whl (61kB)
#7 11.01 Collecting charset-normalizer~=2.0.0; python_version >= "3" (from requests>=2.25.1->spid-sp-test)
#7 11.07   Downloading https://files.pythonhosted.org/packages/47/84/b06f6729fac8108c5fa3e13cde19b0b3de66ba5538c325496dbe39f5ff8e/charset_normalizer-2.0.9-py3-none-any.whl
#7 11.09 Collecting certifi>=2017.4.17 (from requests>=2.25.1->spid-sp-test)
#7 11.14   Downloading https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl (149kB)
#7 11.17 Requirement already satisfied, skipping upgrade: six in /usr/lib/python3/dist-packages (from pysaml2>=6.5.1->spid-sp-test) (1.12.0)
#7 11.17 Collecting importlib-resources; python_version < "3.9" (from pysaml2>=6.5.1->spid-sp-test)
#7 11.25   Downloading https://files.pythonhosted.org/packages/24/1b/33e489669a94da3ef4562938cd306e8fa915e13939d7b8277cb5569cb405/importlib_resources-5.4.0-py3-none-any.whl
#7 11.29 Collecting python-dateutil (from pysaml2>=6.5.1->spid-sp-test)
#7 11.34   Downloading https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl (247kB)
#7 11.37 Collecting pyOpenSSL (from pysaml2>=6.5.1->spid-sp-test)
#7 11.44   Downloading https://files.pythonhosted.org/packages/85/3a/fe3c98435856a1ed798977981f3da82d2685cf9df97e4d9546340d2b83db/pyOpenSSL-21.0.0-py2.py3-none-any.whl (55kB)
#7 11.47 Collecting defusedxml (from pysaml2>=6.5.1->spid-sp-test)
#7 11.51   Downloading https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl
#7 11.54 Collecting pytz (from pysaml2>=6.5.1->spid-sp-test)
#7 11.69   Downloading https://files.pythonhosted.org/packages/d3/e3/d9f046b5d1c94a3aeab15f1f867aa414f8ee9d196fae6865f1d6a0ee1a0b/pytz-2021.3-py2.py3-none-any.whl (503kB)
#7 11.79 Collecting MarkupSafe>=2.0 (from Jinja2>=2.11.3->spid-sp-test)
#7 11.89   Downloading https://files.pythonhosted.org/packages/d7/56/9d9c0dc2b0f5dc342ff9c7df31c523cc122947970b5ea943b2311be0c391/MarkupSafe-2.0.1-cp37-cp37m-manylinux1_x86_64.whl
#7 11.91 Collecting ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.10" (from ruamel.yaml==0.17.17->spid-compliant-certificates->spid-sp-test)
#7 11.97   Downloading https://files.pythonhosted.org/packages/98/8a/ba37489b423916162b086b01c7c18001cf297350694180468e1698085c58/ruamel.yaml.clib-0.2.6-cp37-cp37m-manylinux1_x86_64.whl (546kB)
#7 12.02 Collecting pyparsing<3,>=2.0.2 (from packaging==21.2->spid-compliant-certificates->spid-sp-test)
#7 12.11   Downloading https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl (67kB)
#7 12.13 Collecting cffi>=1.12 (from cryptography==35.0.0->spid-compliant-certificates->spid-sp-test)
#7 12.41   Downloading https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a/cffi-1.15.0.tar.gz (484kB)
#7 12.75 Collecting zipp>=3.1.0; python_version < "3.10" (from importlib-resources; python_version < "3.9"->pysaml2>=6.5.1->spid-sp-test)
#7 12.81   Downloading https://files.pythonhosted.org/packages/bd/df/d4a4974a3e3957fd1c1fa3082366d7fff6e428ddb55f074bf64876f8e8ad/zipp-3.6.0-py3-none-any.whl
#7 12.84 Collecting pycparser (from cffi>=1.12->cryptography==35.0.0->spid-compliant-certificates->spid-sp-test)
#7 12.88   Downloading https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl (118kB)
#7 13.01 Installing collected packages: lxml, ruamel.yaml.clib, ruamel.yaml, urllib3, idna, charset-normalizer, certifi, requests, iso3166, pyparsing, packaging, pycparser, cffi, cryptography, spid-compliant-certificates, elementpath, xmlschema, zipp, importlib-resources, python-dateutil, pyOpenSSL, defusedxml, pytz, pysaml2, MarkupSafe, Jinja2, spid-sp-test
#7 13.42   Running setup.py install for cffi: started
#7 16.07     Running setup.py install for cffi: finished with status 'done'
#7 16.08   Found existing installation: cryptography 2.6.1
#7 16.08     Not uninstalling cryptography at /usr/lib/python3/dist-packages, outside environment /usr
#7 16.08     Can't uninstall 'cryptography'. No files were found to uninstall.
#7 16.08   Running setup.py install for cryptography: started
#7 16.75     Running setup.py install for cryptography: finished with status 'error'
#7 16.75     Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-q1_q407h/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-ze1exr_r/install-record.txt --single-version-externally-managed --compile:
#7 16.75     running install
#7 16.75     /tmp/pip-build-env-ugttm1z4/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
#7 16.75       setuptools.SetuptoolsDeprecationWarning,
#7 16.75     running build
#7 16.75     running build_py
#7 16.75     creating build
#7 16.75     creating build/lib.linux-x86_64-3.7
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography
#7 16.75     copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.7/cryptography
#7 16.75     copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.7/cryptography
#7 16.75     copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.7/cryptography
#7 16.75     copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.7/cryptography
#7 16.75     copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.7/cryptography
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat
#7 16.75     copying src/cryptography/hazmat/_oid.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
#7 16.75     copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings
#7 16.75     copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
#7 16.75     copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
#7 16.75     copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
#7 16.75     copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
#7 16.75     copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
#7 16.75     copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#7 16.75     copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#7 16.75     copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#7 16.75     copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#7 16.75     copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#7 16.75     copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#7 16.75     copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#7 16.75     copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#7 16.75     copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#7 16.75     copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#7 16.75     copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#7 16.75     copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#7 16.75     copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#7 16.75     copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#7 16.75     running egg_info
#7 16.75     no previously-included directories found matching 'docs/_build'
#7 16.75     warning: no previously-included files found matching 'vectors'
#7 16.75     warning: no previously-included files matching '*' found under directory 'vectors'
#7 16.75     warning: no previously-included files matching '*' found under directory '.github'
#7 16.75     warning: no previously-included files found matching 'release.py'
#7 16.75     warning: no previously-included files found matching '.coveragerc'
#7 16.75     warning: no previously-included files found matching 'codecov.yml'
#7 16.75     warning: no previously-included files found matching '.readthedocs.yml'
#7 16.75     warning: no previously-included files found matching 'dev-requirements.txt'
#7 16.75     warning: no previously-included files found matching 'tox.ini'
#7 16.75     warning: no previously-included files found matching 'mypy.ini'
#7 16.75     warning: no previously-included files matching '*' found under directory '.zuul.d'
#7 16.75     warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
#7 16.75     writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
#7 16.75     copying src/cryptography/py.typed -> build/lib.linux-x86_64-3.7/cryptography
#7 16.75     creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust
#7 16.75     copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust
#7 16.75     copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust
#7 16.75     copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust
#7 16.75     copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust
#7 16.75     running build_ext
#7 16.75
#7 16.75         =============================DEBUG ASSISTANCE=============================
#7 16.75         If you are seeing a compilation error please try the following steps to
#7 16.75         successfully install cryptography:
#7 16.75         1) Upgrade to the latest pip and try again. This will fix errors for most
#7 16.75            users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
#7 16.75         2) Read https://cryptography.io/en/latest/installation/ for specific
#7 16.75            instructions for your platform.
#7 16.75         3) Check our frequently asked questions for more information:
#7 16.75            https://cryptography.io/en/latest/faq/
#7 16.75         4) Ensure you have a recent Rust toolchain installed:
#7 16.75            https://cryptography.io/en/latest/installation/#rust
#7 16.75
#7 16.75         Python: 3.7.3
#7 16.75         platform: Linux-5.10.76-linuxkit-x86_64-with-debian-10.11
#7 16.75         pip: 18.1
#7 16.75         setuptools: 60.1.0
#7 16.75         setuptools_rust: 1.1.2
#7 16.75         =============================DEBUG ASSISTANCE=============================
#7 16.75
#7 16.75     error: can't find Rust compiler
#7 16.75
#7 16.75     If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
#7 16.75
#7 16.75     To update pip, run:
#7 16.75
#7 16.75         pip install --upgrade pip
#7 16.75
#7 16.75     and then retry package installation.
#7 16.75
#7 16.75     If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
#7 16.75
#7 16.75     This package requires Rust >=1.41.0.
#7 16.75
#7 16.75     ----------------------------------------
#7 16.75   Can't roll back cryptography; was not uninstalled
#7 16.85 Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-q1_q407h/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-ze1exr_r/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-q1_q407h/cryptography/
------
executor failed running [/bin/sh -c pip3 install spid-sp-test --upgrade --no-cache]: exit code: 1

Una soluzione è aggiungere il comando RUN pip3 install --upgrade pip prima di RUN pip3 install spid-sp-test --upgrade --no-cache

damikael commented 2 years ago

Fixed with #210