Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-quantum-blackbird for
openSUSE:Factory checked in at 2023-03-06 18:56:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-quantum-blackbird (Old)
and /work/SRC/openSUSE:Factory/.python-quantum-blackbird.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-quantum-blackbird"
Mon Mar 6 18:56:29 2023 rev:7 rq:1069587 version:0.5.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-quantum-blackbird/python-quantum-blackbird.changes
2021-06-19 23:03:28.691711820 +0200
+++
/work/SRC/openSUSE:Factory/.python-quantum-blackbird.new.31432/python-quantum-blackbird.changes
2023-03-06 18:56:32.576968279 +0100
@@ -1,0 +2,28 @@
+Mon Mar 6 09:24:19 UTC 2023 - Daniel Garcia <[email protected]>
+
+- Disable numpy 1.24 broken tests, gh#XanaduAI/blackbird#54
+- Remove skip_32bit_divide_scalar_array_test.patch
+- Remove fix-aarch64.patch
+- Update to 0.5.0
+ * Rebuilds the grammar using ANTLR v4.9.2 (#51)
+ * Updates ANTLR v4.9.2 version on the compiling grammar section. (#51)
+- 0.4.0
+ * Remove support for Python 3.5. (#38)
+ * Add support for Python 3.8 and 3.9. (#40)
+ * Add public method to retrieve Blackbird program variables via
+ prog.variables. (#47)
+ * Improve match_template to automatically return matched parameters
+ with their array values, rather than their array names (p0, p1,
+ etc.) (#47)
+ * Remove p-type parameters from prog.parameters since they're only
+ needed there internally and are otherwise stored in
+ prog.variables. This also changes TDM programs to not be templates
+ (prog.is_template now returns False). (#47)
+ * Fix bool or string objects in for-loop iterators not working
+ correctly. (#41)
+ * Update the NumPy scalar types in the Blackbird listener due to
+ being deprecated in NumPy 1.20. (#43)
+ * Add access to the symbolic expression used when creating a
+ RegRefTransform, as a class attribute. (#46)
+
+-------------------------------------------------------------------
Old:
----
blackbird-0.3.0.tar.gz
fix-aarch64.patch
skip_32bit_divide_scalar_array_test.patch
New:
----
blackbird-0.5.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-quantum-blackbird.spec ++++++
--- /var/tmp/diff_new_pack.yEilLe/_old 2023-03-06 18:56:33.128971095 +0100
+++ /var/tmp/diff_new_pack.yEilLe/_new 2023-03-06 18:56:33.136971136 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-quantum-blackbird
#
-# Copyright (c) 2021 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
@@ -19,20 +19,14 @@
%define packagename quantum-blackbird
%define skip_python2 1
%define skip_python36 1
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-quantum-blackbird
-Version: 0.3.0
+Version: 0.5.0
Release: 0
Summary: Quantum assembly language for continuous-variable quantum
computation
License: Apache-2.0
URL: https://github.com/XanaduAI/blackbird
Source:
https://github.com/XanaduAI/blackbird/archive/v%{version}.tar.gz#/blackbird-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM skip_32bit_divide_scalar_array_test.patch
gh#XanaduAI/blackbird#42 [email protected]
-# Skip tests failing on 32bit
-Patch0: skip_32bit_divide_scalar_array_test.patch
-# PATCH-FIX-UPSTREAM - https://github.com/XanaduAI/blackbird/pull/45
-Patch1: fix-aarch64.patch
-BuildRequires: %{python_module antlr4-python3-runtime >= 4.8}
+BuildRequires: %{python_module antlr4-python3-runtime >= 4.9.2}
BuildRequires: %{python_module networkx}
BuildRequires: %{python_module numpy >= 1.16}
BuildRequires: %{python_module pytest}
@@ -41,7 +35,7 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: uuid-devel
-Requires: python-antlr4-python3-runtime >= 4.8
+Requires: python-antlr4-python3-runtime >= 4.9.2
Requires: python-networkx
Requires: python-numpy >= 1.16
Requires: python-sympy
@@ -67,7 +61,9 @@
chmod 644 README.rst
%check
-%pytest
+# Broken tests with numpy 1.24 gh#XanaduAI/blackbird#54
+donttest="scalar_array or test_array_variable_expression"
+%pytest -k "not ($donttest)"
%files %{python_files}
%doc README.rst
++++++ blackbird-0.3.0.tar.gz -> blackbird-0.5.0.tar.gz ++++++
++++ 7369 lines of diff (skipped)