Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyter_console for
openSUSE:Factory checked in at 2022-08-02 22:08:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_console.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_console"
Tue Aug 2 22:08:56 2022 rev:18 rq:992085 version:6.4.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2022-03-13 20:25:39.423689922 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter_console.new.1533/python-jupyter_console.changes
2022-08-02 22:09:28.193820568 +0200
@@ -1,0 +2,8 @@
+Mon Aug 1 18:17:18 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 6.4.4
+ * Use asyncio.create_task and asyncio.get_running_loop with
+ interact().
+ * Drop Python 3.6. #270 (@encukou)
+
+-------------------------------------------------------------------
Old:
----
jupyter_console-6.4.3.tar.gz
New:
----
jupyter_console-6.4.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_console.spec ++++++
--- /var/tmp/diff_new_pack.KiXNcV/_old 2022-08-02 22:09:28.657821905 +0200
+++ /var/tmp/diff_new_pack.KiXNcV/_new 2022-08-02 22:09:28.665821929 +0200
@@ -16,15 +16,14 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
Name: python-jupyter_console
-Version: 6.4.3
+Version: 6.4.4
Release: 0
Summary: Jupyter terminal console
License: BSD-3-Clause
URL: https://github.com/jupyter/jupyter_console
Source0:
https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
+BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -62,8 +61,6 @@
%prep
%setup -q -n jupyter_console-%{version}
-# always build and install with setuptools: it is needed to get the entrypoint
gh#jupyter/jupyter_console#222
-sed -i '/import sys/ a import setuptools' setup.py
%build
%python_build
++++++ jupyter_console-6.4.3.tar.gz -> jupyter_console-6.4.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.3/CHANGELOG.md
new/jupyter_console-6.4.4/CHANGELOG.md
--- old/jupyter_console-6.4.3/CHANGELOG.md 2022-03-07 16:58:42.000000000
+0100
+++ new/jupyter_console-6.4.4/CHANGELOG.md 2022-06-22 17:58:45.000000000
+0200
@@ -2,6 +2,22 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 6.4.4
+
+([Full
Changelog](https://github.com/jupyter/jupyter_console/compare/v6.4.3...18cb350dc05c903d541f30de18fcf53943ec0e3f))
+
+### Merged PRs
+
+- Use asyncio.create_task and asyncio.get_running_loop with interact(). Drop
Python 3.6. [#270](https://github.com/jupyter/jupyter_console/pull/270)
([@encukou](https://github.com/encukou))
+
+### Contributors to this release
+
+([GitHub contributors page for this
release](https://github.com/jupyter/jupyter_console/graphs/contributors?from=2022-03-07&to=2022-06-22&type=c))
+
+[@davidbrochart](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Adavidbrochart+updated%3A2022-03-07..2022-06-22&type=Issues)
|
[@encukou](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Aencukou+updated%3A2022-03-07..2022-06-22&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
## 6.4.3
([Full
Changelog](https://github.com/jupyter/jupyter_console/compare/v6.4.2...6e8f29e0a90804badda75c60c5eb50046544eb49))
@@ -16,8 +32,6 @@
[@davidbrochart](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Adavidbrochart+updated%3A2022-03-06..2022-03-07&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 6.4.2
([Full
Changelog](https://github.com/jupyter/jupyter_console/compare/v6.4.1...b3ff8fcd24fe22dfbd66518dc8e6a646f460a671))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.3/PKG-INFO
new/jupyter_console-6.4.4/PKG-INFO
--- old/jupyter_console-6.4.3/PKG-INFO 2022-03-07 16:59:16.845275400 +0100
+++ new/jupyter_console-6.4.4/PKG-INFO 2022-06-22 17:59:20.743765400 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jupyter_console
-Version: 6.4.3
+Version: 6.4.4
Summary: Jupyter terminal console
Home-page: https://jupyter.org
Author: Jupyter Development Team
@@ -16,14 +16,12 @@
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
-Requires-Python: >=3.6
+Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: test
License-File: LICENSE
An IPython-like terminal frontend for Jupyter kernels in any language.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.3/jupyter_console/_version.py
new/jupyter_console-6.4.4/jupyter_console/_version.py
--- old/jupyter_console-6.4.3/jupyter_console/_version.py 2022-03-07
16:59:00.000000000 +0100
+++ new/jupyter_console-6.4.4/jupyter_console/_version.py 2022-06-22
17:59:04.000000000 +0200
@@ -1,7 +1,7 @@
import re
from typing import List, Union
-__version__ = "6.4.3"
+__version__ = "6.4.4"
# 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/jupyter_console-6.4.3/jupyter_console/ptshell.py
new/jupyter_console-6.4.4/jupyter_console/ptshell.py
--- old/jupyter_console-6.4.3/jupyter_console/ptshell.py 2022-03-07
16:58:42.000000000 +0100
+++ new/jupyter_console-6.4.4/jupyter_console/ptshell.py 2022-06-22
17:58:45.000000000 +0200
@@ -649,31 +649,31 @@
if code:
self.run_cell(code, store_history=True)
+ async def _main_task(self):
+ loop = asyncio.get_running_loop()
+ tasks = [asyncio.create_task(self.interact(loop=loop))]
+
+ if self.include_other_output:
+ # only poll the iopub channel asynchronously if we
+ # wish to include external content
+
tasks.append(asyncio.create_task(self.handle_external_iopub(loop=loop)))
+
+ _, pending = await asyncio.wait(tasks,
return_when=asyncio.FIRST_COMPLETED)
+
+ for task in pending:
+ task.cancel()
+ try:
+ await asyncio.gather(*pending)
+ except asyncio.CancelledError:
+ pass
+
def mainloop(self):
self.keepkernel = not self.own_kernel
- loop = asyncio.get_event_loop()
# An extra layer of protection in case someone mashing Ctrl-C breaks
# out of our internal code.
while True:
try:
- tasks = [self.interact(loop=loop)]
-
- if self.include_other_output:
- # only poll the iopub channel asynchronously if we
- # wish to include external content
- tasks.append(self.handle_external_iopub(loop=loop))
-
- main_task = asyncio.wait(tasks,
return_when=asyncio.FIRST_COMPLETED)
- _, pending = loop.run_until_complete(main_task)
-
- for task in pending:
- task.cancel()
- try:
- loop.run_until_complete(asyncio.gather(*pending))
- except asyncio.CancelledError:
- pass
- loop.stop()
- loop.close()
+ asyncio.run(self._main_task())
break
except KeyboardInterrupt:
print("\nKeyboardInterrupt escaped interact()\n")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_console-6.4.3/jupyter_console.egg-info/PKG-INFO
new/jupyter_console-6.4.4/jupyter_console.egg-info/PKG-INFO
--- old/jupyter_console-6.4.3/jupyter_console.egg-info/PKG-INFO 2022-03-07
16:59:16.000000000 +0100
+++ new/jupyter_console-6.4.4/jupyter_console.egg-info/PKG-INFO 2022-06-22
17:59:20.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jupyter-console
-Version: 6.4.3
+Version: 6.4.4
Summary: Jupyter terminal console
Home-page: https://jupyter.org
Author: Jupyter Development Team
@@ -16,14 +16,12 @@
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
-Requires-Python: >=3.6
+Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: test
License-File: LICENSE
An IPython-like terminal frontend for Jupyter kernels in any language.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.3/mypy.ini
new/jupyter_console-6.4.4/mypy.ini
--- old/jupyter_console-6.4.3/mypy.ini 2022-03-07 16:58:42.000000000 +0100
+++ new/jupyter_console-6.4.4/mypy.ini 2022-06-22 17:58:45.000000000 +0200
@@ -1,4 +1,4 @@
[mypy]
-python_version = 3.6
+python_version = 3.7
ignore_missing_imports = True
follow_imports = silent
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.3/pyproject.toml
new/jupyter_console-6.4.4/pyproject.toml
--- old/jupyter_console-6.4.3/pyproject.toml 2022-03-07 16:59:00.000000000
+0100
+++ new/jupyter_console-6.4.4/pyproject.toml 2022-06-22 17:59:04.000000000
+0200
@@ -9,7 +9,7 @@
ignore = [".mailmap", "*.yml", "*.yaml"]
[tool.tbump.version]
-current = "6.4.3"
+current = "6.4.4"
regex = '''
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
((?P<channel>a|b|rc|.dev)(?P<release>\d+))?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.3/setup.py
new/jupyter_console-6.4.4/setup.py
--- old/jupyter_console-6.4.3/setup.py 2022-03-07 16:58:42.000000000 +0100
+++ new/jupyter_console-6.4.4/setup.py 2022-06-22 17:58:45.000000000 +0200
@@ -9,46 +9,6 @@
# the name of the project
name = 'jupyter_console'
-#-----------------------------------------------------------------------------
-# Minimal Python version sanity check
-#-----------------------------------------------------------------------------
-
-import sys
-
-
-if sys.version_info < (3, 6):
- pip_message = 'This may be due to an out of date pip. Make sure you have
pip >= 9.0.1.'
- try:
- import pip
- pip_version = tuple([int(x) for x in pip.__version__.split('.')[:3]])
- if pip_version < (9, 0, 1) :
- pip_message = 'Your pip version is out of date, please install pip
>= 9.0.1. '\
- 'pip {} detected.'.format(pip.__version__)
- else:
- # pip is new enough - it must be something else
- pip_message = ''
- except Exception:
- pass
-
-
- error = """
-Jupyter_Console 6.2+ supports Python 3.6 and above.
-When using Python 2.7, please install and older version of Jupyter Console
-Python 3.3 and 3.4 were supported up to Jupyter Console 5.x.
-Python 3.5 was supported up to Jupyter Console 6.1.0.
-
-Python {py} detected.
-{pip}
-""".format(py=sys.version_info, pip=pip_message )
-
- print(error, file=sys.stderr)
- sys.exit(1)
-
-
-#-----------------------------------------------------------------------------
-# get on with it
-#-----------------------------------------------------------------------------
-
import os
from setuptools import setup
@@ -82,7 +42,6 @@
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
@@ -97,7 +56,7 @@
extras_require={
'test:sys_platform != "win32"': ['pexpect'],
},
- python_requires='>=3.6',
+ python_requires='>=3.7',
entry_points={
'console_scripts': [
'jupyter-console = jupyter_console.app:main',