Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spyder for openSUSE:Factory checked 
in at 2021-02-15 23:20:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spyder (Old)
 and      /work/SRC/openSUSE:Factory/.spyder.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spyder"

Mon Feb 15 23:20:54 2021 rev:14 rq:872593 version:4.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/spyder/spyder.changes    2021-01-15 
19:47:33.246140254 +0100
+++ /work/SRC/openSUSE:Factory/.spyder.new.28504/spyder.changes 2021-02-15 
23:23:09.768010788 +0100
@@ -1,0 +2,6 @@
+Mon Feb 15 15:54:20 UTC 2021 - Ben Greiner <[email protected]>
+
+- Add spyder-pr14514-fix-pandas120.patch to work with pandas 1.2
+  gh#spyder-ide/spyder/14514 
+
+-------------------------------------------------------------------

New:
----
  spyder-pr14514-fix-pandas120.patch

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

Other differences:
------------------
++++++ spyder.spec ++++++
--- /var/tmp/diff_new_pack.V7uFiV/_old  2021-02-15 23:23:10.448011803 +0100
+++ /var/tmp/diff_new_pack.V7uFiV/_new  2021-02-15 23:23:10.452011809 +0100
@@ -25,6 +25,8 @@
 Group:          Development/Languages/Python
 URL:            https://www.spyder-ide.org/
 Source:         
https://github.com/spyder-ide/spyder/archive/v%{version}.tar.gz#/spyder-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM spyder-pr14514-fix-pandas120.patch -- 
gh#spyder-ide/spyder/14514
+Patch0:         
https://github.com/spyder-ide/spyder/pull/14514.patch#/spyder-pr14514-fix-pandas120.patch
 Source1:        spyder-rpmlintrc
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++++++ spyder-pr14514-fix-pandas120.patch ++++++
>From ac21be7a426f21de4247df9af15584f13ddfe06d Mon Sep 17 00:00:00 2001
From: dalthviz <[email protected]>
Date: Tue, 29 Dec 2020 18:44:32 -0500
Subject: [PATCH] CollectionsEditor: Fix test compatibility with Pandas 1.2.0

---
 .../variableexplorer/widgets/tests/test_collectioneditor.py      | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/spyder/plugins/variableexplorer/widgets/tests/test_collectioneditor.py 
b/spyder/plugins/variableexplorer/widgets/tests/test_collectioneditor.py
index 76d17a8d9a..c240330dc2 100644
--- a/spyder/plugins/variableexplorer/widgets/tests/test_collectioneditor.py
+++ b/spyder/plugins/variableexplorer/widgets/tests/test_collectioneditor.py
@@ -725,6 +725,7 @@ def test_set_nonsettable_objects(nonsettable_objects_data):
     """
     for test_obj, expected_obj, keys in nonsettable_objects_data:
         col_model = CollectionsModel(None, test_obj)
+        col_model.load_all()
         indicies = [col_model.get_index_from_key(key) for key in keys]
         for idx in indicies:
             assert not col_model.set_value(idx, "2")

Reply via email to