Hello community,

here is the log from the commit of package python-aws-sam-translator for 
openSUSE:Factory checked in at 2019-11-24 00:28:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aws-sam-translator (Old)
 and      /work/SRC/openSUSE:Factory/.python-aws-sam-translator.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-aws-sam-translator"

Sun Nov 24 00:28:59 2019 rev:5 rq:750266 version:1.11.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-aws-sam-translator/python-aws-sam-translator.changes
      2019-07-21 11:34:37.540774447 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-aws-sam-translator.new.26869/python-aws-sam-translator.changes
   2019-11-24 00:29:00.187219450 +0100
@@ -1,0 +2,9 @@
+Fri Nov 22 10:13:19 UTC 2019 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Disable tests on SLE-12 as the testsuite is
+  incompatible with Python 3.4
+- Drop patch to support older versions of setuptools as
+  SLE-12 is now shipping with a recent enough version
+  + ast_drop-compatible-releases-operator.patch
+
+-------------------------------------------------------------------

Old:
----
  ast_drop-compatible-releases-operator.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-aws-sam-translator.spec ++++++
--- /var/tmp/diff_new_pack.8KsFuh/_old  2019-11-24 00:29:01.775219615 +0100
+++ /var/tmp/diff_new_pack.8KsFuh/_new  2019-11-24 00:29:01.787219616 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-aws-sam-translator
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,14 @@
 #
 
 
+# Disable tests on SLE-12 due to issues with Python 3.4
+# see: https://github.com/awslabs/serverless-application-model/issues/1255
+%if 0%{?suse_version} < 1500
+%bcond_with test
+%else
+%bcond_without test
+%endif
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-aws-sam-translator
 Version:        1.11.0
@@ -23,9 +31,8 @@
 Summary:        AWS SAM template to AWS CloudFormation template translator
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            https://github.com/awslabs/serverless-application-model
+URL:            https://github.com/awslabs/serverless-application-model
 Source:         
https://github.com/awslabs/serverless-application-model/archive/v%{version}.tar.gz#/serverless-application-model-%{version}.tar.gz
-Patch:          ast_drop-compatible-releases-operator.patch
 %if 0%{?suse_version} < 1500
 BuildRequires:  python
 %endif
@@ -64,7 +71,6 @@
 
 %prep
 %setup -q -n serverless-application-model-%{version}
-%patch -p1
 sed -i -e '1s|#!/usr/bin/env python2|#!/usr/bin/python3|' bin/sam-translate.py
 
 %build
@@ -77,9 +83,11 @@
 mkdir -p %{buildroot}%{_bindir}
 install -D -m 644 bin/sam-translate.py %{buildroot}%{_bindir}/sam-translate
 
+%if %{with test}
 %check
 export LANG=en_US.UTF8
 %pytest
+%endif
 
 %files %{python_files}
 %doc README.md


Reply via email to