Hi,
looking at https://build.opensuse.org/request/show/704092 I get
really unhappy feeling. I really we should try harder to build
from the upstream tarball. We should do all building from the
upstream unprocessed sources and do all building ourselves to
have it under control.
Yes, it is possible that some parts of the sources are
questionable legally, but then the only sane thing to do is to
remove that in %prep part (or even provide a modified tarball as
Source).
Any comments?
Best,
Matěj
--
https://matej.ceplovi.cz/blog/, Jabber: mcepl(a)ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
Therefore, faithful Christian, seek truth, hear truth, learn
truth, love truth, speak truth, hold truth, defend truth until
death: because truth will free you from sin, from devil, from the
death of soul and finally from the death eternal, which is a
separation from God's mercy.
-- Master John Hus, Explanation of Credo, 1412
Over the next year we are going to start seeing more and more
upstreams that are dependencies for a lot of other packages drop
python2 support. Some have already done it (sympy, matplotlib,
django), others have plans in place to do it over the next few months
(numpy, pandas), while others will randomly drop python2 support with
little or no warning. We probably should decide on a real policy now
how to handle this.
I see two main approaches:
1. Keep a python2-foo package that sticks with the last python2
compatible version.
2. Switch all packages that have a hard dependency on it to also be
python3 only.
Up to this point this has been handled somewhat arbitrarily on a
case-by-case basis. So for example we keep a python2-matplotlib, but
not python2-astropy.
I think we would benefit from having a clear policy on how to handle
this. Does anyone have an opinion on what it should be?
Personally, since according to upstream at least we should be
transitioning to python3-only, I would favor dropping all python2-foo
packages and having packages that depend on python3-only packages be
python3-only, with special exceptions possible on a case-by-case
basis.
--
To unsubscribe, e-mail: opensuse-python+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-python+owner(a)opensuse.org
Non-integrated packages in devel:languages:python:
devel:languages:python/python-dephell
devel:languages:python/python-dephell-archive
devel:languages:python/python-dephell-discover
devel:languages:python/python-dephell-licenses
devel:languages:python/python-dephell-links
devel:languages:python/python-dephell-markers
devel:languages:python/python-dephell-pythons
devel:languages:python/python-dephell-shells
devel:languages:python/python-dephell-specifier
devel:languages:python/python-dephell-venvs
devel:languages:python/python-geolib
Packages with diff in devel:languages:python:
Non-integrated packages in devel:languages:python:avocado:
devel:languages:python:avocado/python-Fabric3
devel:languages:python:avocado/python-typed-ast
Packages with diff in devel:languages:python:avocado:
Non-integrated packages in devel:languages:python:aws:
Packages with diff in devel:languages:python:aws:
Non-integrated packages in devel:languages:python:azure:
Packages with diff in devel:languages:python:azure:
Non-integrated packages in devel:languages:python:certbot:
Packages with diff in devel:languages:python:certbot:
Non-integrated packages in devel:languages:python:django:
devel:languages:python:django/python-django-minio-storage
devel:languages:python:django/python-swapper
Packages with diff in devel:languages:python:django:
Non-integrated packages in devel:languages:python:Factory:
devel:languages:python:Factory/pypy2
devel:languages:python:Factory/pypy3
Packages with diff in devel:languages:python:Factory:
devel:languages:python:Factory/python3
Non-integrated packages in devel:languages:python:flask:
Packages with diff in devel:languages:python:flask:
Non-integrated packages in devel:languages:python:jupyter:
Packages with diff in devel:languages:python:jupyter:
Non-integrated packages in devel:languages:python:numeric:
devel:languages:python:numeric/python-slycot
Packages with diff in devel:languages:python:numeric:
devel:languages:python:numeric/python-espressopp
Non-integrated packages in devel:languages:python:pyramid:
Packages with diff in devel:languages:python:pyramid:
Non-integrated packages in devel:languages:python:pytest:
Packages with diff in devel:languages:python:pytest:
devel:languages:python:pytest/python-pytest-xdist
--
To unsubscribe, e-mail: opensuse-python+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-python+owner(a)opensuse.org
Hi!
I have just packaged the accompanying package for the Python Oracle Cloud SDK [1],
oci-cli [2], which contains command line utilities.
Like with the python-oci-sdk package before, I'm running into problems when trying
to run the testsuite. I have looked at the embedded tox.ini for figuring out the
test command, but just running "%pytest -s []" wouldn't work. $pytest alone fails,
too.
Any suggestions?
Thanks,
Adrian
> [1] https://build.opensuse.org/package/show/Cloud:Tools/python-oci-sdk
> [2] https://build.opensuse.org/package/show/home:glaubitz:branches:Cloud:Tools/…
Non-integrated packages in devel:languages:python:
devel:languages:python/python-dephell
devel:languages:python/python-dephell-archive
devel:languages:python/python-dephell-discover
devel:languages:python/python-dephell-licenses
devel:languages:python/python-dephell-links
devel:languages:python/python-dephell-markers
devel:languages:python/python-dephell-pythons
devel:languages:python/python-dephell-shells
devel:languages:python/python-dephell-specifier
devel:languages:python/python-dephell-venvs
Packages with diff in devel:languages:python:
devel:languages:python/mypy
Non-integrated packages in devel:languages:python:avocado:
devel:languages:python:avocado/python-Fabric3
devel:languages:python:avocado/python-typed-ast
Packages with diff in devel:languages:python:avocado:
Non-integrated packages in devel:languages:python:aws:
Packages with diff in devel:languages:python:aws:
Non-integrated packages in devel:languages:python:azure:
Packages with diff in devel:languages:python:azure:
Non-integrated packages in devel:languages:python:certbot:
Packages with diff in devel:languages:python:certbot:
Non-integrated packages in devel:languages:python:django:
devel:languages:python:django/python-django-minio-storage
Packages with diff in devel:languages:python:django:
Non-integrated packages in devel:languages:python:Factory:
devel:languages:python:Factory/pypy2
devel:languages:python:Factory/pypy3
Packages with diff in devel:languages:python:Factory:
Non-integrated packages in devel:languages:python:flask:
Packages with diff in devel:languages:python:flask:
Non-integrated packages in devel:languages:python:jupyter:
Packages with diff in devel:languages:python:jupyter:
Non-integrated packages in devel:languages:python:numeric:
Packages with diff in devel:languages:python:numeric:
devel:languages:python:numeric/python-espressopp
Non-integrated packages in devel:languages:python:pyramid:
Packages with diff in devel:languages:python:pyramid:
Non-integrated packages in devel:languages:python:pytest:
Packages with diff in devel:languages:python:pytest:
devel:languages:python:pytest/python-pytest-xdist
--
To unsubscribe, e-mail: opensuse-python+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-python+owner(a)opensuse.org
Hi!
I have managed to get the testsuite to run and pass for the python-oci-sdk package
mentioned earlier this week on this list [1], but now I have run into the strange
situation that the Python2 subpackage contains the compiled code for Python3:
[ 151s] python2-oci-sdk.noarch: W: python-bytecode-wrong-magic-value /usr/lib/python2.7/site-packages/oci/work_requests/models/__pycache__/work_request_resource.cpython-37.pyc expected 62211 (2.7), found 3394 (3.7)
[ 151s] python2-oci-sdk.noarch: W: python-bytecode-wrong-magic-value /usr/lib/python2.7/site-packages/oci/work_requests/models/__pycache__/work_request_summary.cpython-37.pyc expected 62211 (2.7), found 3394 (3.7)
Does anyone have a clue what might have caused this? I haven't seen this before.
Thanks,
Adrian
> [1] https://build.opensuse.org/package/show/home:glaubitz:branches:devel:langua…
Hi!
I'm currently working on the Python SDK for Oracle's Cloud platform [1].
The package comes with a testsuite which currently fails as it tries to download
dependencies for a Python environment (see below). I have therefore currently disabled
the testsuite but would naturally like to enable it.
Can anyone give me a hint how to prevent tox from creating a Python environment and
install the build dependencies and just run the tests in the rpmbuild build environment?
Thanks,
Adrian
> [1] https://build.opensuse.org/package/show/home:glaubitz:branches:devel:langua…
[ 55s] py27 create: /home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/.tox/py27
[ 56s] py27 installdeps: -r/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt
[ 64s] ERROR: invocation failed (exit code 1), logfile: /home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/.tox/py27/log/py27-1.log
[ 64s] ================================== log start ===================================
[ 64s] Collecting certifi (from -r /home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt (line 1))
[ 64s] Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9692332fd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/certifi/
[ 64s] Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9692332d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/certifi/
[ 64s] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f969229b0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/certifi/
[ 64s] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f969229b210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/certifi/
[ 64s] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f969229b350>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/certifi/
[ 64s] Could not find a version that satisfies the requirement certifi (from -r /home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt (line 1)) (from versions: )
[ 64s] No matching distribution found for certifi (from -r /home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt (line 1))
[ 64s]
[ 64s] =================================== log end ====================================
[ 64s] ERROR: could not install deps [-r/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt]; v = InvocationError('/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/.tox/py27/bin/python -m pip install -r/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt', 1)
[ 64s] py37 create: /home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/.tox/py37
[ 66s] py37 installdeps: -r/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt
[ 74s] ERROR: invocation failed (exit code 1), logfile: /home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/.tox/py37/log/py37-1.log
[ 74s] ================================== log start ===================================
[ 74s] Collecting certifi (from -r /home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt (line 1))
[ 74s] Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f1fd49160f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/certifi/
[ 74s] Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f1fd4916780>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/certifi/
[ 74s] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f1fd4916978>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/certifi/
[ 74s] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f1fd48fb198>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/certifi/
[ 74s] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f1fd48fb780>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/certifi/
[ 74s] Could not find a version that satisfies the requirement certifi (from -r /home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt (line 1)) (from versions: )
[ 74s] No matching distribution found for certifi (from -r /home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt (line 1))
[ 74s]
[ 74s] =================================== log end ====================================
[ 74s] ERROR: could not install deps [-r/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt]; v = InvocationError('/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/.tox/py37/bin/python -m pip install -r/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt', 1)
[ 74s] flake8 create: /home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/.tox/flake8
[ 77s] flake8 installdeps: flake8
[ 84s] ERROR: invocation failed (exit code 1), logfile: /home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/.tox/flake8/log/flake8-1.log
[ 84s] ================================== log start ===================================
[ 84s] Collecting flake8
[ 84s] Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fef87bf41d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/flake8/
[ 84s] Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fef87bf45f8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/flake8/
[ 84s] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fef87bf4470>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/flake8/
[ 84s] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fef87bf4320>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/flake8/
[ 84s] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fef87bf4358>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/flake8/
[ 84s] Could not find a version that satisfies the requirement flake8 (from versions: )
[ 84s] No matching distribution found for flake8
[ 84s]
[ 84s] =================================== log end ====================================
[ 84s] ERROR: could not install deps [flake8]; v = InvocationError('/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/.tox/flake8/bin/python -m pip install flake8', 1)
[ 84s] ___________________________________ summary ____________________________________
[ 84s] ERROR: py27: could not install deps [-r/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt]; v = InvocationError('/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/.tox/py27/bin/python -m pip install -r/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt', 1)
[ 84s] ERROR: py37: could not install deps [-r/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt]; v = InvocationError('/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/.tox/py37/bin/python -m pip install -r/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/requirements.txt', 1)
[ 84s] ERROR: flake8: could not install deps [flake8]; v = InvocationError('/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.2.13/.tox/flake8/bin/python -m pip install flake8', 1)
[ 84s] error: Bad exit status from /var/tmp/rpm-tmp.7h7QVX (%check)
[ 84s]
[ 84s]
[ 84s] RPM build errors:
[ 84s] Bad exit status from /var/tmp/rpm-tmp.7h7QVX (%check)
[ 84s]
[ 84s] suse-laptop failed "build python-oci-sdk.spec" at Tue Jun 18 12:39:10 UTC 2019.
[ 84s]
Non-integrated packages in devel:languages:python:
devel:languages:python/python-dephell
devel:languages:python/python-dephell-archive
devel:languages:python/python-dephell-discover
devel:languages:python/python-dephell-licenses
devel:languages:python/python-dephell-links
devel:languages:python/python-dephell-markers
devel:languages:python/python-dephell-pythons
devel:languages:python/python-dephell-shells
devel:languages:python/python-dephell-specifier
devel:languages:python/python-dephell-venvs
Packages with diff in devel:languages:python:
devel:languages:python/python-passivetotal
devel:languages:python/python-purl
devel:languages:python/python-pygame
devel:languages:python/python-textile
Non-integrated packages in devel:languages:python:avocado:
devel:languages:python:avocado/python-Fabric3
devel:languages:python:avocado/python-typed-ast
Packages with diff in devel:languages:python:avocado:
Non-integrated packages in devel:languages:python:aws:
Packages with diff in devel:languages:python:aws:
Non-integrated packages in devel:languages:python:azure:
Packages with diff in devel:languages:python:azure:
Non-integrated packages in devel:languages:python:certbot:
Packages with diff in devel:languages:python:certbot:
Non-integrated packages in devel:languages:python:django:
Packages with diff in devel:languages:python:django:
Non-integrated packages in devel:languages:python:Factory:
devel:languages:python:Factory/pypy2
devel:languages:python:Factory/pypy3
Packages with diff in devel:languages:python:Factory:
Non-integrated packages in devel:languages:python:flask:
Packages with diff in devel:languages:python:flask:
Non-integrated packages in devel:languages:python:jupyter:
Packages with diff in devel:languages:python:jupyter:
Non-integrated packages in devel:languages:python:numeric:
Packages with diff in devel:languages:python:numeric:
devel:languages:python:numeric/python-espressopp
Non-integrated packages in devel:languages:python:pyramid:
Packages with diff in devel:languages:python:pyramid:
Non-integrated packages in devel:languages:python:pytest:
Packages with diff in devel:languages:python:pytest:
devel:languages:python:pytest/python-pytest-xdist
--
To unsubscribe, e-mail: opensuse-python+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-python+owner(a)opensuse.org