Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ipykernel for
openSUSE:Factory checked in at 2023-01-24 19:41:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipykernel (Old)
and /work/SRC/openSUSE:Factory/.python-ipykernel.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipykernel"
Tue Jan 24 19:41:56 2023 rev:34 rq:1060266 version:6.20.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipykernel/python-ipykernel.changes
2023-01-15 17:58:08.510194261 +0100
+++
/work/SRC/openSUSE:Factory/.python-ipykernel.new.32243/python-ipykernel.changes
2023-01-24 20:31:54.004237819 +0100
@@ -1,0 +2,6 @@
+Sun Jan 22 12:56:21 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to 6.20.2
+ * Fix Exception in OutStream.close() #1076 (@ilyasher)
+
+-------------------------------------------------------------------
Old:
----
ipykernel-6.20.1.tar.gz
New:
----
ipykernel-6.20.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ipykernel.spec ++++++
--- /var/tmp/diff_new_pack.B6BMxA/_old 2023-01-24 20:31:54.488240380 +0100
+++ /var/tmp/diff_new_pack.B6BMxA/_new 2023-01-24 20:31:54.492240401 +0100
@@ -17,7 +17,7 @@
Name: python-ipykernel
-Version: 6.20.1
+Version: 6.20.2
Release: 0
Summary: IPython Kernel for Jupyter
License: BSD-3-Clause
++++++ ipykernel-6.20.1.tar.gz -> ipykernel-6.20.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ipykernel-6.20.1/CHANGELOG.md
new/ipykernel-6.20.2/CHANGELOG.md
--- old/ipykernel-6.20.1/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
+++ new/ipykernel-6.20.2/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
@@ -2,6 +2,22 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 6.20.2
+
+([Full
Changelog](https://github.com/ipython/ipykernel/compare/v6.20.1...203ee2bce0b506257bd561d082e983330d1ebd14))
+
+### Bugs fixed
+
+- Fix Exception in OutStream.close()
[#1076](https://github.com/ipython/ipykernel/pull/1076)
([@ilyasher](https://github.com/ilyasher))
+
+### Contributors to this release
+
+([GitHub contributors page for this
release](https://github.com/ipython/ipykernel/graphs/contributors?from=2023-01-09&to=2023-01-16&type=c))
+
+[@ilyasher](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Ailyasher+updated%3A2023-01-09..2023-01-16&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
## 6.20.1
([Full
Changelog](https://github.com/ipython/ipykernel/compare/v6.20.0...5f07abc22a1c75672f7bee129505f19c954a7c36))
@@ -25,8 +41,6 @@
[@blink1073](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Ablink1073+updated%3A2022-12-26..2023-01-09&type=Issues)
|
[@ccordoba12](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Accordoba12+updated%3A2022-12-26..2023-01-09&type=Issues)
|
[@pre-commit-ci](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Apre-commit-ci+updated%3A2022-12-26..2023-01-09&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 6.20.0
([Full
Changelog](https://github.com/ipython/ipykernel/compare/v6.19.4...fbea757e117c1d3b0da29a40b4abcf3133a310f4))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ipykernel-6.20.1/PKG-INFO
new/ipykernel-6.20.2/PKG-INFO
--- old/ipykernel-6.20.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/ipykernel-6.20.2/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: ipykernel
-Version: 6.20.1
+Version: 6.20.2
Summary: IPython Kernel for Jupyter
Project-URL: Homepage, https://ipython.org
Author-email: IPython Development Team <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ipykernel-6.20.1/ipykernel/_version.py
new/ipykernel-6.20.2/ipykernel/_version.py
--- old/ipykernel-6.20.1/ipykernel/_version.py 2020-02-02 01:00:00.000000000
+0100
+++ new/ipykernel-6.20.2/ipykernel/_version.py 2020-02-02 01:00:00.000000000
+0100
@@ -5,7 +5,7 @@
from typing import List
# Version string must appear intact for hatch versioning
-__version__ = "6.20.1"
+__version__ = "6.20.2"
# Build up version_info tuple for backwards compatibility
pattern = r"(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ipykernel-6.20.1/ipykernel/iostream.py
new/ipykernel-6.20.2/ipykernel/iostream.py
--- old/ipykernel-6.20.1/ipykernel/iostream.py 2020-02-02 01:00:00.000000000
+0100
+++ new/ipykernel-6.20.2/ipykernel/iostream.py 2020-02-02 01:00:00.000000000
+0100
@@ -401,6 +401,7 @@
self._buffer = StringIO()
self.echo = None
self._isatty = bool(isatty)
+ self._should_watch = False
if (
watchfd
@@ -449,7 +450,7 @@
def close(self):
"""Close the stream."""
- if sys.platform.startswith("linux") or
sys.platform.startswith("darwin"):
+ if self._should_watch:
self._should_watch = False
self.watch_fd_thread.join()
if self._exc:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ipykernel-6.20.1/ipykernel/tests/test_io.py
new/ipykernel-6.20.2/ipykernel/tests/test_io.py
--- old/ipykernel-6.20.1/ipykernel/tests/test_io.py 2020-02-02
01:00:00.000000000 +0100
+++ new/ipykernel-6.20.2/ipykernel/tests/test_io.py 2020-02-02
01:00:00.000000000 +0100
@@ -98,6 +98,9 @@
stream = OutStream(session, pub, "stdout")
stream = OutStream(session, thread, "stdout", pipe=object())
+ stream = OutStream(session, thread, "stdout", watchfd=False)
+ stream.close()
+
stream = OutStream(session, thread, "stdout", isatty=True,
echo=io.StringIO())
with pytest.raises(io.UnsupportedOperation):
stream.fileno()