Page MenuHomePhabricator

Python 3.3 fails to install cryptography on Appveyor and job fails
Closed, ResolvedPublic

Description

https://ci.appveyor.com/project/jayvdb/pywikibot-core-hdpnk/build/1.0.1861/job/8qrfc47gy09dyshs#L152

pip install -r requests-requirements.txt
Requirement already satisfied: requests!=2.18.2,>=2.4.1 in c:\projects\pywikibot-core-hdpnk\env\lib\site-packages (from -r requests-requirements.txt (line 1))
Collecting pyOpenSSL!=17.2.0,>=0.14 (from -r requests-requirements.txt (line 5))
  Downloading pyOpenSSL-17.1.0-py2.py3-none-any.whl (53kB)
Collecting cryptography>=1.3.4 (from -r requests-requirements.txt (line 6))
  Downloading cryptography-2.0.3.tar.gz (427kB)
Requirement already satisfied: idna>=2.0.0 in c:\projects\pywikibot-core-hdpnk\env\lib\site-packages (from -r requests-requirements.txt (line 7))
Collecting pycparser!=2.14 (from -r requests-requirements.txt (line 9))
  Downloading pycparser-2.18.tar.gz (245kB)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\projects\pywikibot-core-hdpnk\env\lib\site-packages (from requests!=2.18.2,>=2.4.1->-r requests-requirements.txt (line 1))
Requirement already satisfied: certifi>=2017.4.17 in c:\projects\pywikibot-core-hdpnk\env\lib\site-packages (from requests!=2.18.2,>=2.4.1->-r requests-requirements.txt (line 1))
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\projects\pywikibot-core-hdpnk\env\lib\site-packages (from requests!=2.18.2,>=2.4.1->-r requests-requirements.txt (line 1))
Requirement already satisfied: six>=1.5.2 in c:\projects\pywikibot-core-hdpnk\env\lib\site-packages (from pyOpenSSL!=17.2.0,>=0.14->-r requests-requirements.txt (line 5))
Collecting asn1crypto>=0.21.0 (from cryptography>=1.3.4->-r requests-requirements.txt (line 6))
  Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97kB)
Requirement already satisfied: enum34 in c:\projects\pywikibot-core-hdpnk\env\lib\site-packages (from cryptography>=1.3.4->-r requests-requirements.txt (line 6))
Collecting cffi>=1.7 (from cryptography>=1.3.4->-r requests-requirements.txt (line 6))
  Downloading cffi-1.10.0-cp33-cp33m-win32.whl (148kB)
Building wheels for collected packages: cryptography, pycparser
  Running setup.py bdist_wheel for cryptography: started
  Running setup.py bdist_wheel for cryptography: finished with status 'error'
  Complete output from command c:\projects\pywikibot-core-hdpnk\env\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\appveyor\\appdata\\local\\temp\\1\\pip-build-1i51k0\\cryptography\\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 c:\users\appveyor\appdata\local\temp\1\tmpbsk79apip-wheel- --python-tag cp33:
  _configtest.c
  _cffi_backend.c
  ffi.c
  prep_cif.c
  types.c
  win32.c
     Creating library build\temp.win32-3.3\Release\c\_cffi_backend.lib and object build\temp.win32-3.3\Release\c\_cffi_backend.exp
  
  Installed c:\users\appveyor\appdata\local\temp\1\pip-build-1i51k0\cryptography\.eggs\cffi-1.10.0-py3.3-win32.egg
  Searching for pycparser
  Reading https://pypi.python.org/simple/pycparser/
  Downloading https://pypi.python.org/packages/8c/2d/aad7f16146f4197a11f8e91fb81df177adcc2073d36a17b1491fd09df6ed/pycparser-2.18.tar.gz#md5=72370da54358202a60130e223d488136
  Best match: pycparser 2.18
  Processing pycparser-2.18.tar.gz
  Writing c:\users\appveyor\appdata\local\temp\1\easy_install-_ziith\pycparser-2.18\setup.cfg
  Running pycparser-2.18\setup.py -q bdist_egg --dist-dir c:\users\appveyor\appdata\local\temp\1\easy_install-_ziith\pycparser-2.18\egg-dist-tmp-0y656h
  warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
  warning: no previously-included files matching 'lextab.*' found under directory 'tests'
  warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
  warning: no previously-included files matching 'lextab.*' found under directory 'examples'
  zip_safe flag not set; analyzing archive contents...
  pycparser.ply.__pycache__.lex.cpython-33: module references __file__
  pycparser.ply.__pycache__.lex.cpython-33: module MAY be using inspect.getsourcefile
  pycparser.ply.__pycache__.yacc.cpython-33: module references __file__
  pycparser.ply.__pycache__.yacc.cpython-33: module MAY be using inspect.getsourcefile
  pycparser.ply.__pycache__.yacc.cpython-33: module MAY be using inspect.stack
  pycparser.ply.__pycache__.ygen.cpython-33: module references __file__
  creating c:\users\appveyor\appdata\local\temp\1\pip-build-1i51k0\cryptography\.eggs\pycparser-2.18-py3.3.egg
  Extracting pycparser-2.18-py3.3.egg to c:\users\appveyor\appdata\local\temp\1\pip-build-1i51k0\cryptography\.eggs
  
  Installed c:\users\appveyor\appdata\local\temp\1\pip-build-1i51k0\cryptography\.eggs\pycparser-2.18-py3.3.egg
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win32-3.3
  creating build\lib.win32-3.3\cryptography
  copying src\cryptography\exceptions.py -> build\lib.win32-3.3\cryptography
  copying src\cryptography\fernet.py -> build\lib.win32-3.3\cryptography
  copying src\cryptography\utils.py -> build\lib.win32-3.3\cryptography
  copying src\cryptography\__about__.py -> build\lib.win32-3.3\cryptography
  copying src\cryptography\__init__.py -> build\lib.win32-3.3\cryptography
  creating build\lib.win32-3.3\cryptography\hazmat
  copying src\cryptography\hazmat\__init__.py -> build\lib.win32-3.3\cryptography\hazmat
  creating build\lib.win32-3.3\cryptography\x509
  copying src\cryptography\x509\base.py -> build\lib.win32-3.3\cryptography\x509
  copying src\cryptography\x509\certificate_transparency.py -> build\lib.win32-3.3\cryptography\x509
  copying src\cryptography\x509\extensions.py -> build\lib.win32-3.3\cryptography\x509
  copying src\cryptography\x509\general_name.py -> build\lib.win32-3.3\cryptography\x509
  copying src\cryptography\x509\name.py -> build\lib.win32-3.3\cryptography\x509
  copying src\cryptography\x509\oid.py -> build\lib.win32-3.3\cryptography\x509
  copying src\cryptography\x509\__init__.py -> build\lib.win32-3.3\cryptography\x509
  creating build\lib.win32-3.3\cryptography\hazmat\backends
  copying src\cryptography\hazmat\backends\interfaces.py -> build\lib.win32-3.3\cryptography\hazmat\backends
  copying src\cryptography\hazmat\backends\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\backends
  creating build\lib.win32-3.3\cryptography\hazmat\bindings
  copying src\cryptography\hazmat\bindings\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\bindings
  creating build\lib.win32-3.3\cryptography\hazmat\primitives
  copying src\cryptography\hazmat\primitives\cmac.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
  copying src\cryptography\hazmat\primitives\constant_time.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
  copying src\cryptography\hazmat\primitives\hashes.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
  copying src\cryptography\hazmat\primitives\hmac.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
  copying src\cryptography\hazmat\primitives\interfaces.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
  copying src\cryptography\hazmat\primitives\keywrap.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
  copying src\cryptography\hazmat\primitives\mac.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
  copying src\cryptography\hazmat\primitives\padding.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
  copying src\cryptography\hazmat\primitives\serialization.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
  copying src\cryptography\hazmat\primitives\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
  creating build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\aead.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\backend.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\ciphers.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\cmac.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\decode_asn1.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\dh.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\dsa.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\ec.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\encode_asn1.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\hashes.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\hmac.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\rsa.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\utils.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\x25519.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\x509.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  copying src\cryptography\hazmat\backends\openssl\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
  creating build\lib.win32-3.3\cryptography\hazmat\bindings\openssl
  copying src\cryptography\hazmat\bindings\openssl\binding.py -> build\lib.win32-3.3\cryptography\hazmat\bindings\openssl
  copying src\cryptography\hazmat\bindings\openssl\_conditional.py -> build\lib.win32-3.3\cryptography\hazmat\bindings\openssl
  copying src\cryptography\hazmat\bindings\openssl\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\bindings\openssl
  creating build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
  copying src\cryptography\hazmat\primitives\asymmetric\dh.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
  copying src\cryptography\hazmat\primitives\asymmetric\dsa.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
  copying src\cryptography\hazmat\primitives\asymmetric\ec.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
  copying src\cryptography\hazmat\primitives\asymmetric\padding.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
  copying src\cryptography\hazmat\primitives\asymmetric\rsa.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
  copying src\cryptography\hazmat\primitives\asymmetric\utils.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
  copying src\cryptography\hazmat\primitives\asymmetric\x25519.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
  copying src\cryptography\hazmat\primitives\asymmetric\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
  creating build\lib.win32-3.3\cryptography\hazmat\primitives\ciphers
  copying src\cryptography\hazmat\primitives\ciphers\aead.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\ciphers
  copying src\cryptography\hazmat\primitives\ciphers\algorithms.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\ciphers
  copying src\cryptography\hazmat\primitives\ciphers\base.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\ciphers
  copying src\cryptography\hazmat\primitives\ciphers\modes.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\ciphers
  copying src\cryptography\hazmat\primitives\ciphers\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\ciphers
  creating build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
  copying src\cryptography\hazmat\primitives\kdf\concatkdf.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
  copying src\cryptography\hazmat\primitives\kdf\hkdf.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
  copying src\cryptography\hazmat\primitives\kdf\kbkdf.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
  copying src\cryptography\hazmat\primitives\kdf\pbkdf2.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
  copying src\cryptography\hazmat\primitives\kdf\scrypt.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
  copying src\cryptography\hazmat\primitives\kdf\x963kdf.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
  copying src\cryptography\hazmat\primitives\kdf\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
  creating build\lib.win32-3.3\cryptography\hazmat\primitives\twofactor
  copying src\cryptography\hazmat\primitives\twofactor\hotp.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\twofactor
  copying src\cryptography\hazmat\primitives\twofactor\totp.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\twofactor
  copying src\cryptography\hazmat\primitives\twofactor\utils.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\twofactor
  copying src\cryptography\hazmat\primitives\twofactor\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\twofactor
  running egg_info
  writing top-level names to src\cryptography.egg-info\top_level.txt
  writing requirements to src\cryptography.egg-info\requires.txt
  writing src\cryptography.egg-info\PKG-INFO
  writing dependency_links to src\cryptography.egg-info\dependency_links.txt
  reading manifest file 'src\cryptography.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  no previously-included directories found matching 'docs\_build'
  warning: no previously-included files matching '*' found under directory 'vectors'
  writing manifest file 'src\cryptography.egg-info\SOURCES.txt'
  running build_ext
  generating cffi module 'build\\temp.win32-3.3\\Release\\_padding.c'
  creating build\temp.win32-3.3
  creating build\temp.win32-3.3\Release
  generating cffi module 'build\\temp.win32-3.3\\Release\\_constant_time.c'
  generating cffi module 'build\\temp.win32-3.3\\Release\\_openssl.c'
  building '_openssl' extension
  creating build\temp.win32-3.3\Release\build
  creating build\temp.win32-3.3\Release\build\temp.win32-3.3
  creating build\temp.win32-3.3\Release\build\temp.win32-3.3\Release
  c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ic:\python330\include -Ic:\python330\include /Tcbuild\temp.win32-3.3\Release\_openssl.c /Fobuild\temp.win32-3.3\Release\build\temp.win32-3.3\Release\_openssl.obj
  _openssl.c
  build\temp.win32-3.3\Release\_openssl.c(434) : fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
  error: command '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe"' failed with exit status 2
  
  ----------------------------------------
  Failed building wheel for cryptography
  Running setup.py clean for cryptography
  Running setup.py bdist_wheel for pycparser: started
  Running setup.py bdist_wheel for pycparser: finished with status 'done'
  Stored in directory: C:\Users\appveyor\AppData\Local\pip\Cache\wheels\95\14\9a\5e7b9024459d2a6600aaa64e0ba485325aff7a9ac7489db1b6
Successfully built pycparser
Failed to build cryptography
Installing collected packages: asn1crypto, pycparser, cffi, cryptography, pyOpenSSL
  Running setup.py install for cryptography: started
    Running setup.py install for cryptography: finished with status 'error'
    Complete output from command c:\projects\pywikibot-core-hdpnk\env\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\appveyor\\appdata\\local\\temp\\1\\pip-build-1i51k0\\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 c:\users\appveyor\appdata\local\temp\1\pip-qazgur-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\projects\pywikibot-core-hdpnk\env\include\site\python3.3\cryptography:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.3
    creating build\lib.win32-3.3\cryptography
    copying src\cryptography\exceptions.py -> build\lib.win32-3.3\cryptography
    copying src\cryptography\fernet.py -> build\lib.win32-3.3\cryptography
    copying src\cryptography\utils.py -> build\lib.win32-3.3\cryptography
    copying src\cryptography\__about__.py -> build\lib.win32-3.3\cryptography
    copying src\cryptography\__init__.py -> build\lib.win32-3.3\cryptography
    creating build\lib.win32-3.3\cryptography\hazmat
    copying src\cryptography\hazmat\__init__.py -> build\lib.win32-3.3\cryptography\hazmat
    creating build\lib.win32-3.3\cryptography\x509
    copying src\cryptography\x509\base.py -> build\lib.win32-3.3\cryptography\x509
    copying src\cryptography\x509\certificate_transparency.py -> build\lib.win32-3.3\cryptography\x509
    copying src\cryptography\x509\extensions.py -> build\lib.win32-3.3\cryptography\x509
    copying src\cryptography\x509\general_name.py -> build\lib.win32-3.3\cryptography\x509
    copying src\cryptography\x509\name.py -> build\lib.win32-3.3\cryptography\x509
    copying src\cryptography\x509\oid.py -> build\lib.win32-3.3\cryptography\x509
    copying src\cryptography\x509\__init__.py -> build\lib.win32-3.3\cryptography\x509
    creating build\lib.win32-3.3\cryptography\hazmat\backends
    copying src\cryptography\hazmat\backends\interfaces.py -> build\lib.win32-3.3\cryptography\hazmat\backends
    copying src\cryptography\hazmat\backends\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\backends
    creating build\lib.win32-3.3\cryptography\hazmat\bindings
    copying src\cryptography\hazmat\bindings\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\bindings
    creating build\lib.win32-3.3\cryptography\hazmat\primitives
    copying src\cryptography\hazmat\primitives\cmac.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
    copying src\cryptography\hazmat\primitives\constant_time.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
    copying src\cryptography\hazmat\primitives\hashes.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
    copying src\cryptography\hazmat\primitives\hmac.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
    copying src\cryptography\hazmat\primitives\interfaces.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
    copying src\cryptography\hazmat\primitives\keywrap.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
    copying src\cryptography\hazmat\primitives\mac.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
    copying src\cryptography\hazmat\primitives\padding.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
    copying src\cryptography\hazmat\primitives\serialization.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
    copying src\cryptography\hazmat\primitives\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\primitives
    creating build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\aead.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\backend.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\ciphers.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\cmac.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\decode_asn1.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\dh.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\dsa.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\ec.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\encode_asn1.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\hashes.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\hmac.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\rsa.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\utils.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\x25519.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\x509.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    copying src\cryptography\hazmat\backends\openssl\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\backends\openssl
    creating build\lib.win32-3.3\cryptography\hazmat\bindings\openssl
    copying src\cryptography\hazmat\bindings\openssl\binding.py -> build\lib.win32-3.3\cryptography\hazmat\bindings\openssl
    copying src\cryptography\hazmat\bindings\openssl\_conditional.py -> build\lib.win32-3.3\cryptography\hazmat\bindings\openssl
    copying src\cryptography\hazmat\bindings\openssl\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\bindings\openssl
    creating build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
    copying src\cryptography\hazmat\primitives\asymmetric\dh.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
    copying src\cryptography\hazmat\primitives\asymmetric\dsa.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
    copying src\cryptography\hazmat\primitives\asymmetric\ec.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
    copying src\cryptography\hazmat\primitives\asymmetric\padding.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
    copying src\cryptography\hazmat\primitives\asymmetric\rsa.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
    copying src\cryptography\hazmat\primitives\asymmetric\utils.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
    copying src\cryptography\hazmat\primitives\asymmetric\x25519.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
    copying src\cryptography\hazmat\primitives\asymmetric\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\asymmetric
    creating build\lib.win32-3.3\cryptography\hazmat\primitives\ciphers
    copying src\cryptography\hazmat\primitives\ciphers\aead.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\ciphers
    copying src\cryptography\hazmat\primitives\ciphers\algorithms.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\ciphers
    copying src\cryptography\hazmat\primitives\ciphers\base.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\ciphers
    copying src\cryptography\hazmat\primitives\ciphers\modes.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\ciphers
    copying src\cryptography\hazmat\primitives\ciphers\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\ciphers
    creating build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
    copying src\cryptography\hazmat\primitives\kdf\concatkdf.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
    copying src\cryptography\hazmat\primitives\kdf\hkdf.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
    copying src\cryptography\hazmat\primitives\kdf\kbkdf.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
    copying src\cryptography\hazmat\primitives\kdf\pbkdf2.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
    copying src\cryptography\hazmat\primitives\kdf\scrypt.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
    copying src\cryptography\hazmat\primitives\kdf\x963kdf.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
    copying src\cryptography\hazmat\primitives\kdf\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\kdf
    creating build\lib.win32-3.3\cryptography\hazmat\primitives\twofactor
    copying src\cryptography\hazmat\primitives\twofactor\hotp.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\twofactor
    copying src\cryptography\hazmat\primitives\twofactor\totp.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\twofactor
    copying src\cryptography\hazmat\primitives\twofactor\utils.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\twofactor
    copying src\cryptography\hazmat\primitives\twofactor\__init__.py -> build\lib.win32-3.3\cryptography\hazmat\primitives\twofactor
    running egg_info
    writing src\cryptography.egg-info\PKG-INFO
    writing requirements to src\cryptography.egg-info\requires.txt
    writing top-level names to src\cryptography.egg-info\top_level.txt
    writing dependency_links to src\cryptography.egg-info\dependency_links.txt
    reading manifest file 'src\cryptography.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    no previously-included directories found matching 'docs\_build'
    warning: no previously-included files matching '*' found under directory 'vectors'
    writing manifest file 'src\cryptography.egg-info\SOURCES.txt'
    running build_ext
    generating cffi module 'build\\temp.win32-3.3\\Release\\_padding.c'
    creating build\temp.win32-3.3
    creating build\temp.win32-3.3\Release
    generating cffi module 'build\\temp.win32-3.3\\Release\\_constant_time.c'
    generating cffi module 'build\\temp.win32-3.3\\Release\\_openssl.c'
    building '_openssl' extension
    creating build\temp.win32-3.3\Release\build
    creating build\temp.win32-3.3\Release\build\temp.win32-3.3
    creating build\temp.win32-3.3\Release\build\temp.win32-3.3\Release
    c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ic:\python330\include -Ic:\python330\include /Tcbuild\temp.win32-3.3\Release\_openssl.c /Fobuild\temp.win32-3.3\Release\build\temp.win32-3.3\Release\_openssl.obj
    _openssl.c
    build\temp.win32-3.3\Release\_openssl.c(434) : fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
    error: command '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe"' failed with exit status 2
    
    ----------------------------------------
Command "c:\projects\pywikibot-core-hdpnk\env\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\appveyor\\appdata\\local\\temp\\1\\pip-build-1i51k0\\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 c:\users\appveyor\appdata\local\temp\1\pip-qazgur-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\projects\pywikibot-core-hdpnk\env\include\site\python3.3\cryptography" failed with error code 1 in c:\users\appveyor\appdata\local\temp\1\pip-build-1i51k0\cryptography\
Command exited with code 1

Event Timeline

Dalba created this task.Sep 14 2017, 3:50 AM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptSep 14 2017, 3:50 AM
Dalba claimed this task.Sep 14 2017, 4:06 AM
This comment was removed by Dalba.
Dalba added a comment.Sep 14 2017, 7:12 AM

cryptography has dropped support for Python 3.3 in version 2.0 (2017-07-17). Fixing the version to <2.0 for py3.3 should resolve this issue.

Change 377959 had a related patch set uploaded (by Dalba; owner: Dalba):
[pywikibot/core@master] dev-requests-requirements.txt: Require cryptography<2.0 for Python 3.3

https://gerrit.wikimedia.org/r/377959

Xqt closed this task as Resolved.Sep 14 2017, 9:26 AM
Xqt triaged this task as High priority.

Change 377959 merged by jenkins-bot:
[pywikibot/core@master] dev-requests-requirements.txt: Require cryptography<2.0 for Python 3.3

https://gerrit.wikimedia.org/r/377959

Change 384321 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Require cryptography<2.0 for Python 3.3

https://gerrit.wikimedia.org/r/384321