[opensuse-packaging] Python package tries to download dependencies during build
Hi! I'm currently packaging "python-sshtunnel" but I am unable to build the package as the build fails with setuptools trying to download paramiko during install which is not allowed, of course (see below for the fail of the build log). I have already added paramiko to BuildRequires but setuptools still insists on trying to download paramiko. I couldn't find any reference to the download in the python code though. Any ideas? Adrian =============================================================================== [ 6s] using tox.ini: /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/setup.cfg [ 6s] using tox-2.9.1 from /usr/lib/python2.7/site-packages/tox/__init__.pyc [ 6s] GLOB sdist-make: /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/setup.py [ 6s] /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3$ /usr/bin/python2 /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/setup.py sdist --formats=zip --dist-dir /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/dist >/home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/log/tox-0.log [ 6s] python create: /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/python [ 6s] /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox$ /usr/bin/python2 -m virtualenv --python /usr/bin/python2 python >/home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/python/log/python-0.log [ 32s] python inst: /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/dist/sshtunnel-0.1.3.zip [ 32s] WARNING:Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration. [ 32s] /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3$ /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/python/bin/pip install /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/dist/sshtunnel-0.1.3.zip >/home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/python/log/python-1.log [ 41s] ERROR: invocation failed (exit code 1), logfile: /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/python/log/python-1.log [ 41s] ERROR: actionid: python [ 41s] msg: installpkg [ 41s] cmdargs: ['/home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/python/bin/pip', 'install', '/home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/dist/sshtunnel-0.1.3.zip'] [ 41s] [ 41s] Processing ./.tox/dist/sshtunnel-0.1.3.zip [ 41s] Collecting paramiko>=1.15.2 (from sshtunnel==0.1.3) [ 41s] Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fac82ed2e10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/ [ 41s] Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fac82ed26d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/ [ 41s] Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fac82ed2fd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/ [ 41s] Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fac82ed2410>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/ [ 41s] Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fac82ed2c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/ [ 41s] Could not find a version that satisfies the requirement paramiko>=1.15.2 (from sshtunnel==0.1.3) (from versions: ) [ 41s] No matching distribution found for paramiko>=1.15.2 (from sshtunnel==0.1.3) [ 41s] [ 41s] /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3$ /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/python/bin/pip freeze >/home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/python/log/python-2.log [ 41s] python installed: [ 41s] ___________________________________ summary ____________________________________ [ 41s] ERROR: python: InvocationError: /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/python/bin/pip install /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/dist/sshtunnel-0.1.3.zip (see /home/abuild/rpmbuild/BUILD/sshtunnel-0.1.3/.tox/python/log/python-1.log) [ 41s] error: Bad exit status from /var/tmp/rpm-tmp.YQ1y3R (%check) [ 41s] [ 41s] [ 41s] RPM build errors: [ 41s] Bad exit status from /var/tmp/rpm-tmp.YQ1y3R (%check) [ 41s] [ 41s] suse-laptop failed "build python-sshtunnel.spec" at Fri May 4 14:59:01 UTC 2018. [ 41s] The buildroot was: /var/tmp/build-root/openSUSE_Tumbleweed-x86_64 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (6)
-
Dominique Leuenberger / DimStar
-
John Paul Adrian Glaubitz
-
Matthias Bach
-
Neal Gompa
-
Simon Lees
-
Thomas Schraitle