Hello community, here is the log from the commit of package python-boto for openSUSE:Leap:15.2 checked in at 2020-05-29 18:49:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-boto (Old) and /work/SRC/openSUSE:Leap:15.2/.python-boto.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-boto" Fri May 29 18:49:18 2020 rev:19 rq:810251 version:2.49.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-boto/python-boto.changes 2020-05-06 20:40:22.752643774 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.python-boto.new.3606/python-boto.changes 2020-05-29 18:49:30.384259366 +0200 @@ -1,0 +2,31 @@ +Tue May 19 10:32:08 UTC 2020 - John Paul Adrian Glaubitz <[email protected]> + +- Update in SLE-15 (bsc#1171769) + +------------------------------------------------------------------- +Tue Jan 14 10:59:17 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix build under python3.8 by skipping more tests + that break with that release (upstream is dead so not worth + spending the time fixing them) + +------------------------------------------------------------------- +Fri Sep 13 17:17:46 UTC 2019 - John Vandenberg <[email protected]> + +- Skip the tests for the flavors not being built +- Remove old comment + +------------------------------------------------------------------- +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.MoixvD/_old 2020-05-29 18:49:30.760260445 +0200 +++ /var/tmp/diff_new_pack.MoixvD/_new 2020-05-29 18:49:30.760260445 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-boto # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -# Tests fail due to missing test directory -%bcond_without tests + Name: python-boto Version: 2.49.0 Release: 0 @@ -29,17 +28,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 +107,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 +143,17 @@ %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 + +# test_sign_(canned|custom) is 11 tests in tests/unit/cloudfront/test_signed_urls.py +# that all fail. +# test_constructor test_hmac - fail on py 3.8 (just tests not the code) +# test_item_lookup - cgi.escape is no longer present on py 3.8 +%python_exec -m nose -v tests/unit -e 'test_.*(canned|custom)_policy|test_hmac|test_constructor|test_item_lookup' + %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.MoixvD/_old 2020-05-29 18:49:30.788260525 +0200 +++ /var/tmp/diff_new_pack.MoixvD/_new 2020-05-29 18:49:30.792260537 +0200 @@ -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"],
