Hello community,

here is the log from the commit of package python-jedi for openSUSE:Factory 
checked in at 2020-03-08 22:22:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jedi (Old)
 and      /work/SRC/openSUSE:Factory/.python-jedi.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jedi"

Sun Mar  8 22:22:40 2020 rev:20 rq:782093 version:0.16.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jedi/python-jedi.changes  2020-02-06 
13:19:33.680682128 +0100
+++ /work/SRC/openSUSE:Factory/.python-jedi.new.26092/python-jedi.changes       
2020-03-08 22:22:46.420026973 +0100
@@ -1,0 +2,5 @@
+Fri Mar  6 11:55:48 UTC 2020 - Ondřej Súkup <mimi...@gmail.com>
+
+- add typing.patch - fix test_sys_getwindowsversion with new parso 
+
+-------------------------------------------------------------------

New:
----
  typing.patch

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

Other differences:
------------------
++++++ python-jedi.spec ++++++
--- /var/tmp/diff_new_pack.mS7yQt/_old  2020-03-08 22:22:48.400028195 +0100
+++ /var/tmp/diff_new_pack.mS7yQt/_new  2020-03-08 22:22:48.400028195 +0100
@@ -27,6 +27,7 @@
 Source0:        
https://files.pythonhosted.org/packages/source/j/jedi/jedi-%{version}.tar.gz
 Patch0:         unbundle.patch
 Patch1:         delete.patch
+Patch2:         typing.patch
 BuildRequires:  %{python_module parso >= 0.5.0}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -56,6 +57,7 @@
 %setup -q -n jedi-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 rm -Rf jedi/third_party
 
 %build

++++++ typing.patch ++++++
Index: jedi-0.16.0/test/test_inference/test_gradual/test_typeshed.py
===================================================================
--- jedi-0.16.0.orig/test/test_inference/test_gradual/test_typeshed.py
+++ jedi-0.16.0/test/test_inference/test_gradual/test_typeshed.py
@@ -116,10 +116,10 @@ def test_sys_getwindowsversion(Script, e
     # This should only exist on Windows, but type inference should happen
     # everywhere.
     definitions = Script('import sys; sys.getwindowsversion().major').infer()
+    def_, = definitions
     if environment.version_info.major == 2:
-        assert not definitions
+        assert def_.name == 'Any'
     else:
-        def_, = definitions
         assert def_.name == 'int'
 
 

Reply via email to