Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cassandra-driver for 
openSUSE:Factory checked in at 2024-02-09 23:52:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cassandra-driver (Old)
 and      /work/SRC/openSUSE:Factory/.python-cassandra-driver.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cassandra-driver"

Fri Feb  9 23:52:13 2024 rev:24 rq:1145153 version:3.28.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-cassandra-driver/python-cassandra-driver.changes
  2023-06-26 18:15:44.470376349 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cassandra-driver.new.1815/python-cassandra-driver.changes
        2024-02-09 23:52:39.615699763 +0100
@@ -1,0 +2,5 @@
+Thu Feb  8 09:38:13 UTC 2024 - Markéta Machová <[email protected]>
+
+- Fix tests on Python 3.12
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cassandra-driver.spec ++++++
--- /var/tmp/diff_new_pack.C3Eqor/_old  2024-02-09 23:52:40.423728879 +0100
+++ /var/tmp/diff_new_pack.C3Eqor/_new  2024-02-09 23:52:40.427729024 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cassandra-driver
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -42,12 +42,19 @@
 BuildRequires:  fdupes
 BuildRequires:  libev-devel
 BuildRequires:  python-rpm-macros
+%if 0%{?suse_version} >= 1600
+# The classic "if %%python-base > 3.11" made the build unresolvable (at least 
for me). Sorry for this, feel free to rewrite.
+BuildRequires:  python312-pyasyncore
+%endif
 Requires:       python-Cython
 Requires:       python-geomet >= 0.1
 Requires:       python-six >= 1.9
 Recommends:     python-Twisted
 Recommends:     python-eventlet
 Recommends:     python-gevent
+%if 0%{?python_version_nodots} > 311
+Requires:       python-pyasyncore
+%endif
 %if %{with python2}
 BuildRequires:  python2-futures
 %endif
@@ -73,6 +80,8 @@
 rm -f tests/unit/test_types.py
 # fix hardcoded cython dep
 sed -i -e 's:Cython>=0.20,!=0.25,<0.29:Cython:g' setup.py
+# fix tests on Python 3.12
+sed -i 's/assertRaisesRegexp/assertRaisesRegex/' 
tests/unit/test_response_future.py
 
 %build
 export CFLAGS="%{optflags}"

Reply via email to