Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ipython for openSUSE:Factory 
checked in at 2022-03-07 19:04:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipython (Old)
 and      /work/SRC/openSUSE:Factory/.python-ipython.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ipython"

Mon Mar  7 19:04:36 2022 rev:29 rq:959669 version:8.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipython/python-ipython.changes    
2022-02-28 19:43:29.513939569 +0100
+++ /work/SRC/openSUSE:Factory/.python-ipython.new.1958/python-ipython.changes  
2022-03-07 19:04:39.441997949 +0100
@@ -1,0 +2,9 @@
+Sat Mar  5 18:25:05 UTC 2022 - Arun Persaud <a...@gmx.de>
+
+- update to version 8.1.1:
+  * Fix an issue with virtualenv and Python 3.8 introduced in 8.1
+  * Revert :ghpull:`13537` (fix an issue with symlinks in virtualenv)
+    that raises an error in Python 3.8, and fixed in a different way
+    in :ghpull:`13559`.
+
+-------------------------------------------------------------------

Old:
----
  ipython-8.1.0.tar.gz

New:
----
  ipython-8.1.1.tar.gz

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

Other differences:
------------------
++++++ python-ipython.spec ++++++
--- /var/tmp/diff_new_pack.C157nW/_old  2022-03-07 19:04:40.037997738 +0100
+++ /var/tmp/diff_new_pack.C157nW/_new  2022-03-07 19:04:40.045997735 +0100
@@ -32,7 +32,7 @@
 %bcond_with libalternatives
 %endif
 Name:           python-ipython%{psuffix}
-Version:        8.1.0
+Version:        8.1.1
 Release:        0
 Summary:        Rich architecture for interactive computing with Python
 License:        BSD-3-Clause


++++++ ipython-8.1.0.tar.gz -> ipython-8.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipython-8.1.0/IPython/core/interactiveshell.py 
new/ipython-8.1.1/IPython/core/interactiveshell.py
--- old/ipython-8.1.0/IPython/core/interactiveshell.py  2022-02-25 
16:05:48.000000000 +0100
+++ new/ipython-8.1.1/IPython/core/interactiveshell.py  2022-03-03 
11:38:42.000000000 +0100
@@ -758,6 +758,33 @@
         # the appropriate time.
         self.display_trap = DisplayTrap(hook=self.displayhook)
 
+    @staticmethod
+    def get_path_links(p: Path):
+        """Gets path links including all symlinks
+
+        Examples
+        --------
+        In [1]: from IPython.core.interactiveshell import InteractiveShell
+
+        In [2]: import sys, pathlib
+
+        In [3]: paths = 
InteractiveShell.get_path_links(pathlib.Path(sys.executable))
+
+        In [4]: len(paths) == len(set(paths))
+        Out[4]: True
+
+        In [5]: bool(paths)
+        Out[5]: True
+        """
+        paths = [p]
+        while p.is_symlink():
+            new_path = Path(os.readlink(p))
+            if not new_path.is_absolute():
+                new_path = p.parent / new_path
+            p = new_path
+            paths.append(p)
+        return paths
+
     def init_virtualenv(self):
         """Add the current virtualenv to sys.path so the user can import 
modules from it.
         This isn't perfect: it doesn't use the Python interpreter with which 
the
@@ -783,13 +810,7 @@
         # stdlib venv may symlink sys.executable, so we can't use realpath.
         # but others can symlink *to* the venv Python, so we can't just use 
sys.executable.
         # So we just check every item in the symlink tree (generally <= 3)
-        paths = [p]
-        while p.is_symlink():
-            new_path = p.readlink()
-            if not new_path.is_absolute():
-                new_path = p.parent / new_path
-            p = new_path
-            paths.append(p)
+        paths = self.get_path_links(p)
 
         # In Cygwin paths like "c:\..." and '\cygdrive\c\...' are possible
         if p_venv.parts[1] == "cygdrive":
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipython-8.1.0/IPython/core/release.py 
new/ipython-8.1.1/IPython/core/release.py
--- old/ipython-8.1.0/IPython/core/release.py   2022-02-25 16:08:21.000000000 
+0100
+++ new/ipython-8.1.1/IPython/core/release.py   2022-03-03 11:48:52.000000000 
+0100
@@ -17,7 +17,7 @@
 # version
 _version_major = 8
 _version_minor = 1
-_version_patch = 0
+_version_patch = 1
 _version_extra = ".dev"
 # _version_extra = "rc1"
 _version_extra = ""  # Uncomment this for full releases
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipython-8.1.0/IPython/utils/_sysinfo.py 
new/ipython-8.1.1/IPython/utils/_sysinfo.py
--- old/ipython-8.1.0/IPython/utils/_sysinfo.py 2022-02-25 16:08:21.000000000 
+0100
+++ new/ipython-8.1.1/IPython/utils/_sysinfo.py 2022-03-03 11:48:52.000000000 
+0100
@@ -1,2 +1,2 @@
 # GENERATED BY setup.py
-commit = u"bd470fe8c"
+commit = u"e9b2ec3bc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipython-8.1.0/PKG-INFO new/ipython-8.1.1/PKG-INFO
--- old/ipython-8.1.0/PKG-INFO  2022-02-25 16:08:21.000000000 +0100
+++ new/ipython-8.1.1/PKG-INFO  2022-03-03 11:48:52.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: ipython
-Version: 8.1.0
+Version: 8.1.1
 Summary: IPython: Productive Interactive Computing
 Home-page: https://ipython.org
 Author: The IPython Development Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipython-8.1.0/docs/source/whatsnew/version8.rst 
new/ipython-8.1.1/docs/source/whatsnew/version8.rst
--- old/ipython-8.1.0/docs/source/whatsnew/version8.rst 2022-02-25 
16:05:54.000000000 +0100
+++ new/ipython-8.1.1/docs/source/whatsnew/version8.rst 2022-03-03 
11:38:34.000000000 +0100
@@ -3,6 +3,16 @@
 ============
 
 
+.. _version 8.1.1:
+   
+IPython 8.1.1
+-------------
+
+Fix an issue with virtualenv and Python 3.8 introduced in 8.1
+
+Revert :ghpull:`13537` (fix an issue with symlinks in virtualenv) that raises 
an
+error in Python 3.8, and fixed in a different way in :ghpull:`13559`.
+
 .. _version 8.1:
 
 IPython 8.1.0
@@ -44,7 +54,7 @@
 
  - internal ``appended_to_syspath`` context manager has been deprecated.
 
- - fix an issue with symlinks in virtualenv :ghpull:`13537`
+ - fix an issue with symlinks in virtualenv :ghpull:`13537` (Reverted in 8.1.1)
 
  - Fix an issue with vim mode, where cursor would not be reset on exit 
:ghpull:`13472`
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipython-8.1.0/ipython.egg-info/PKG-INFO 
new/ipython-8.1.1/ipython.egg-info/PKG-INFO
--- old/ipython-8.1.0/ipython.egg-info/PKG-INFO 2022-02-25 16:08:21.000000000 
+0100
+++ new/ipython-8.1.1/ipython.egg-info/PKG-INFO 2022-03-03 11:48:52.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: ipython
-Version: 8.1.0
+Version: 8.1.1
 Summary: IPython: Productive Interactive Computing
 Home-page: https://ipython.org
 Author: The IPython Development Team

Reply via email to