Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-aws-xray-sdk for 
openSUSE:Factory checked in at 2023-05-28 19:23:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aws-xray-sdk (Old)
 and      /work/SRC/openSUSE:Factory/.python-aws-xray-sdk.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-aws-xray-sdk"

Sun May 28 19:23:34 2023 rev:10 rq:1089353 version:2.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aws-xray-sdk/python-aws-xray-sdk.changes  
2022-10-15 16:41:02.518670250 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-aws-xray-sdk.new.1533/python-aws-xray-sdk.changes
        2023-05-28 19:23:53.137334526 +0200
@@ -1,0 +2,44 @@
+Sat May 20 10:44:00 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 2.12.0
+  * improvement: Default Context Missing Strategy set to Log Error
+    PR372 #372
+  * improvement: Sample app dependency update PR373 #373, PR380
+    #380
+  * bugfix: Fix pynamodb tests for Python < 3.6 PR375 #375
+  * improvement: Simplify setup script PR363 #363
+  * bugfix: Fix deprecation warnings related to asyncio PR364 #364
+  * bugfix: Pin sqlalchemy version to 1.x to fix tests PR381 #381
+  * bugfix: Fix sample app dependencies incompatibility with XRay
+    SDK PR382 #382
+  * bugfix: Start MySQL from GH Actions, upgrade Ubuntu, and remove
+    Python versions for unit tests PR384 #384
+
+-------------------------------------------------------------------
+Wed Feb  1 11:02:11 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 2.11.0
+  * bugfix: Fix TypeError by patching register_default_jsonb from
+    psycopg2 PR350 #350
+  * improvement: Add annotations PR348 #348
+  * bugfix: Use service parameter to match centralized sampling
+    rules PR 353 #353
+  * bugfix: Implement PEP3134 to discover underlying problems with
+    python3 PR355 #355
+  * improvement: Allow list TopicArn for SNS PublishBatch request
+    PR358 #358
+  * bugfix: Version pinning flask-sqlalchemy version to 2.5.1 or
+    less PR360 #360
+  * bugfix: Fix UnboundLocalError when aiohttp server raises a
+    CancelledError PR356 #356
+  * improvement: Instrument httpx >= 0.20 PR357 #357
+  * improvement: [LambdaContext] persist original trace header
+    PR362 #362
+  * bugfix: Run tests against Django 4.x PR361 #361
+  * improvement: Oversampling Mitigation PR366 #366
+- Disable Flask-SQLAlchemy subpackage due to
+  gh#aws/aws-xray-sdk-python#359
+- Add Flask subpackage
+- Fix multibuild packagename for test src.rpm
+
+-------------------------------------------------------------------

Old:
----
  aws-xray-sdk-python-2.10.0-gh.tar.gz

New:
----
  aws-xray-sdk-python-2.12.0-gh.tar.gz

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

Other differences:
------------------
++++++ python-aws-xray-sdk.spec ++++++
--- /var/tmp/diff_new_pack.3i8AsH/_old  2023-05-28 19:23:53.637337502 +0200
+++ /var/tmp/diff_new_pack.3i8AsH/_new  2023-05-28 19:23:53.641337526 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-aws-xray-sdk
+# spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,27 +27,33 @@
 
 %if 0%{?suse_version} >= 1550
 %bcond_with aiobotocore
+# gh#aws/aws-xray-sdk-python#359
+%bcond_with flask_sqlalchemy
 %else
 %bcond_without aiobotocore
+%bcond_without flask_sqlalchemy
 %endif
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
-Name:           python-aws-xray-sdk
-Version:        2.10.0
+Name:           python-aws-xray-sdk%{?psuffix}
+Version:        2.12.0
 Release:        0
 Summary:        The AWS X-Ray SDK for Python
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://github.com/aws/aws-xray-sdk-python
 Source:         
https://github.com/aws/aws-xray-sdk-python/archive/refs/tags/%{version}.tar.gz#/aws-xray-sdk-python-%{version}-gh.tar.gz
-Source9:        %{name}-rpmlintrc
+Source9:        python-aws-xray-sdk-rpmlintrc
+%if 0%{?suse_version} >= 1550
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module wheel}
+%endif
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-botocore >= 1.11.3
 Requires:       python-wrapt
 %ifpython2
+Requires:       python-enum34
 Requires:       python-future
 %endif
 %if %{with test}
@@ -55,7 +61,10 @@
 BuildRequires:  %{python_module WebTest}
 BuildRequires:  %{python_module aws-xray-sdk = %{version}}
 BuildRequires:  %{python_module aws-xray-sdk-Django = %{version}}
+BuildRequires:  %{python_module aws-xray-sdk-Flask = %{version}}
+%if %{with flask_sqlalchemy}
 BuildRequires:  %{python_module aws-xray-sdk-Flask-SQLAlchemy = %{version}}
+%endif
 BuildRequires:  %{python_module aws-xray-sdk-SQLAlchemy = %{version}}
 BuildRequires:  %{python_module aws-xray-sdk-aiohttp = %{version}}
 BuildRequires:  %{python_module aws-xray-sdk-bottle = %{version}}
@@ -94,6 +103,7 @@
 Group:          Metapackages
 Requires:       %{name} = %{version}
 Recommends:     %{name}-Django = %{version}
+Recommends:     %{name}-Flask = %{version}
 Recommends:     %{name}-Flask-SQLAlchemy = %{version}
 Recommends:     %{name}-SQLAlchemy = %{version}
 Recommends:     %{name}-aiobotocore = %{version}
@@ -109,7 +119,7 @@
 The AWS X-Ray SDK for Python enables Python developers to record and
 emit information from within their applications to the AWS X-Ray service.
 
-This package pulls in all available backends for %{name}.
+This package pulls in all available backends for %{name} as recommended 
packages.
 
 %package        Django
 Summary:        Django backend for the AWS X-Ray Python SDK
@@ -123,25 +133,40 @@
 
 This package provides the Django backend for %{name}.
 
+%package        Flask
+Summary:        Flaks backend for the AWS X-Ray Python SDK
+Group:          Development/Languages/Python
+Requires:       %{name} = %{version}
+Requires:       python-Flask >= 0.10
+
+%description    Flask
+The AWS X-Ray SDK for Python enables Python developers to record and
+emit information from within their applications to the AWS X-Ray service.
+
+This package provides the Flask backend for %{name}.
+
+%if %{with flask_sqlalchemy}
 %package        Flask-SQLAlchemy
 Summary:        Flask-SQLAlchemy backend for the AWS X-Ray Python SDK
 Group:          Development/Languages/Python
 Requires:       %{name} = %{version}
 Requires:       %{name}-SQLAlchemy = %{version}
-Requires:       python-Flask-SQLAlchemy
-Requires:       python-SQLAlchemy
+Requires:       python-Flask >= 0.10
+Requires:       python-Flask-SQLAlchemy < 3.0
+Requires:       python-SQLAlchemy < 2
 
 %description    Flask-SQLAlchemy
 The AWS X-Ray SDK for Python enables Python developers to record and
 emit information from within their applications to the AWS X-Ray service.
 
 This package provides the Flask-SQLAlchemy backend for %{name}.
+%endif
 
 %package        SQLAlchemy
 Summary:        SQLAlchemy backend for the AWS X-Ray Python SDK
 Group:          Development/Languages/Python
 Requires:       %{name} = %{version}
-Requires:       python-SQLAlchemy
+Requires:       python-SQLAlchemy < 2
 
 %description    SQLAlchemy
 The AWS X-Ray SDK for Python enables Python developers to record and
@@ -250,10 +275,18 @@
 
 %if !%{with test}
 %build
+%if 0%{?suse_version} >= 1550
+%pyproject_wheel
+%else
 %python_build
+%endif
 
 %install
+%if 0%{?suse_version} >= 1550
+%pyproject_install
+%else
 %python_install
+%endif
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
 
@@ -282,8 +315,13 @@
 # no connection to httpbin.org
 ignore_tests+=" --ignore tests/ext/httplib/test_httplib.py"
 ignore_tests+=" --ignore tests/ext/requests/test_requests.py"
+ignore_tests+=" --ignore tests/ext/httpx"
 # tests by connecting to live aws hosts
 ignore_tests+=" --ignore tests/ext/pynamodb/test_pynamodb.py"
+# gh#aws/aws-xray-sdk-python#359
+%if !%{with flask_sqlalchemy}
+ignore_tests+=" --ignore tests/ext/flask_sqlalchemy/test_query.py"
+%endif
 # https://github.com/aws/aws-xray-sdk-python/issues/321
 python310_donttest=("-k" "not test_localstorage_isolation")
 %pytest $ignore_tests "${$python_donttest[@]}"
@@ -299,6 +337,7 @@
 %exclude %{python_sitelib}/aws_xray_sdk/ext/aiobotocore/
 %exclude %{python_sitelib}/aws_xray_sdk/ext/bottle/
 %exclude %{python_sitelib}/aws_xray_sdk/ext/django/
+%exclude %{python_sitelib}/aws_xray_sdk/ext/flask/
 %exclude %{python_sitelib}/aws_xray_sdk/ext/flask_sqlalchemy/
 %exclude %{python_sitelib}/aws_xray_sdk/ext/mysql/
 %exclude %{python_sitelib}/aws_xray_sdk/ext/psycopg2/
@@ -314,9 +353,15 @@
 %license LICENSE
 %{python_sitelib}/aws_xray_sdk/ext/django/
 
+%files %{python_files Flask}
+%license LICENSE
+%{python_sitelib}/aws_xray_sdk/ext/flask/
+
+%if %{with flask_sqlalchemy}
 %files %{python_files Flask-SQLAlchemy}
 %license LICENSE
 %{python_sitelib}/aws_xray_sdk/ext/flask_sqlalchemy/
+%endif
 
 %files %{python_files SQLAlchemy}
 %license LICENSE

++++++ aws-xray-sdk-python-2.10.0-gh.tar.gz -> 
aws-xray-sdk-python-2.12.0-gh.tar.gz ++++++
++++ 2457 lines of diff (skipped)

Reply via email to