Closed TechIsFun closed 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
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
Fixed with #210
Step per riprodurre:
docker build .
Ambiente:
Questo è l'errore che si ottiene: