Hello community, here is the log from the commit of package python-boto for openSUSE:Factory checked in at 2019-03-19 09:59:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-boto (Old) and /work/SRC/openSUSE:Factory/.python-boto.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-boto" Tue Mar 19 09:59:19 2019 rev:5 rq:685951 version:2.49.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-boto/python-boto.changes 2019-02-11 21:24:17.631115807 +0100 +++ /work/SRC/openSUSE:Factory/.python-boto.new.28833/python-boto.changes 2019-03-19 09:59:19.508080488 +0100 @@ -1,0 +2,13 @@ +Sat Feb 16 14:24:55 UTC 2019 - John Vandenberg <[email protected]> + +- Fix breakages caused by removing boto.cacerts module which is + imported elsewhere in the package. The file boto/cacerts/cacerts.txt + is removed instead, and boto-no-builtin-certs.patch is trimmed. +- Activate the test suite, adding many build dependencies with versions. + 11 failing Cloudfront signings tests are skipped only on Python 3. +- Add versions to runtime dependencies. +- python-rsa is added as a Recommends as it is needed for Cloudfront. +- python-requests is added as a Recommends as it is needed for Cloudsearch. +- python-requests is added as a Suggests as it is used for contrib ymlmessage. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-boto.spec ++++++ --- /var/tmp/diff_new_pack.YmHd5t/_old 2019-03-19 09:59:20.976079898 +0100 +++ /var/tmp/diff_new_pack.YmHd5t/_new 2019-03-19 09:59:21.016079882 +0100 @@ -29,17 +29,25 @@ Source: https://files.pythonhosted.org/packages/source/b/boto/boto-%{version}.tar.gz Source1: boto.cfg Patch: boto-no-builtin-certs.patch -BuildRequires: %{python_module devel} -BuildRequires: %{python_module paramiko} +BuildRequires: %{python_module PyYAML >= 3.10} +BuildRequires: %{python_module httpretty >= 0.7.0} +BuildRequires: %{python_module mock >= 1.0.1} +BuildRequires: %{python_module nose >= 1.3.3} +BuildRequires: %{python_module paramiko >= 1.10.0} +BuildRequires: %{python_module requests >= 1.2.3} +BuildRequires: %{python_module rsa >= 3.1.4} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module simplejson >= 3.6.5} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros -# Documentation requirement -Requires: python-paramiko +Requires: python-paramiko >= 1.10.0 Requires: python-xml Requires(post): update-alternatives Requires(preun): update-alternatives +Recommends: python-requests >= 1.2.3 +Recommends: python-rsa >= 3.1.4 +Suggests: python-PyYAML >= 3.10 BuildArch: noarch %python_subpackages @@ -100,7 +108,7 @@ %setup -q -n boto-%{version} # remove unwanted shebang sed -i '/^#!/d' boto/{services/bs,services/result,pyami/launch_ami}.py -rm -rf boto/cacerts +rm boto/cacerts/cacerts.txt %patch %build @@ -136,6 +144,19 @@ %python_clone -a %{buildroot}%{_bindir}/taskadmin %python_clone -a %{buildroot}%{_sysconfdir}/boto.cfg +%check +# tests.unit.manage.test_ssh.TestSSHTimeout depends on this +mkdir -p $HOME/.ssh/ +touch $HOME/.ssh/known_hosts + +# Note that the integration tests systematically fail, and there +# are other submodules of tests which are not being run. + +python2 -m nose -v tests/unit +# test_sign_(canned|custom) is 11 tests in tests/unit/cloudfront/test_signed_urls.py +# that all fail. +python3 -m nose -v tests/unit -e 'test_.*(canned|custom)_policy' + %post %{python_install_alternative asadmin bundle_image cfadmin cq cwutil dynamodb_dump dynamodb_load elbadmin fetch_file glacier instance_events kill_instance launch_instance list_instances lss3 mturk pyami_sendmail route53 s3put sdbadmin taskadmin boto.cfg} ++++++ boto-no-builtin-certs.patch ++++++ --- /var/tmp/diff_new_pack.YmHd5t/_old 2019-03-19 09:59:21.352079747 +0100 +++ /var/tmp/diff_new_pack.YmHd5t/_new 2019-03-19 09:59:21.368079740 +0100 @@ -1,14 +1,5 @@ --- setup.py.orig +++ setup.py -@@ -61,7 +61,7 @@ setup(name = "boto", - url = "https://github.com/boto/boto/", - packages = ["boto", "boto.sqs", "boto.s3", "boto.gs", "boto.file", - "boto.ec2", "boto.ec2.cloudwatch", "boto.ec2.autoscale", -- "boto.ec2.elb", "boto.sdb", "boto.cacerts", -+ "boto.ec2.elb", "boto.sdb", - "boto.sdb.db", "boto.sdb.db.manager", - "boto.mturk", "boto.pyami", - "boto.pyami.installers", "boto.pyami.installers.ubuntu", @@ -84,7 +84,6 @@ setup(name = "boto", "boto.cloudhsm", "boto.ec2containerservice", "boto.machinelearning", "boto.vendored.regions"],
