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-03-13 20:25:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_console.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_console"
Sun Mar 13 20:25:16 2022 rev:17 rq:961408 version:6.4.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2021-04-15 16:58:45.274801256 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_console.new.25692/python-jupyter_console.changes
2022-03-13 20:25:39.423689922 +0100
@@ -1,0 +2,8 @@
+Sun Mar 13 07:28:36 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 6.4.3
+ * Require jupyter_client>=7.0.0
+ * Don't pass loop to asyncio.wait()
+ * Prepare for use with Jupyter Releaser
+
+-------------------------------------------------------------------
Old:
----
jupyter_console-6.4.0.tar.gz
New:
----
jupyter_console-6.4.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_console.spec ++++++
--- /var/tmp/diff_new_pack.DCsO3D/_old 2022-03-13 20:25:40.007690609 +0100
+++ /var/tmp/diff_new_pack.DCsO3D/_new 2022-03-13 20:25:40.015690618 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter_console
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-jupyter_console
-Version: 6.4.0
+Version: 6.4.3
Release: 0
Summary: Jupyter terminal console
License: BSD-3-Clause
@@ -33,7 +33,7 @@
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module ipykernel}
BuildRequires: %{python_module ipython}
-BuildRequires: %{python_module jupyter-client}
+BuildRequires: %{python_module jupyter-client >= 7}
BuildRequires: %{python_module prompt_toolkit >= 2}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pyzmq}
@@ -41,7 +41,7 @@
Requires: jupyter-jupyter_console = %{version}
Requires: python-ipykernel
Requires: python-ipython
-Requires: python-jupyter-client
+Requires: python-jupyter-client >= 7
Requires: python-prompt_toolkit >= 2
Requires: python-pyzmq
Requires(post): update-alternatives
@@ -84,7 +84,7 @@
%files %{python_files}
%doc CONTRIBUTING.md README.md
-%license COPYING.md
+%license LICENSE
%python_alternative %{_bindir}/jupyter-console
%{python_sitelib}/jupyter_console
%{python_sitelib}/jupyter_console-%{version}*-info
++++++ jupyter_console-6.4.0.tar.gz -> jupyter_console-6.4.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/.bumpversion.cfg
new/jupyter_console-6.4.3/.bumpversion.cfg
--- old/jupyter_console-6.4.0/.bumpversion.cfg 2021-03-24 01:03:14.000000000
+0100
+++ new/jupyter_console-6.4.3/.bumpversion.cfg 1970-01-01 01:00:00.000000000
+0100
@@ -1,18 +0,0 @@
-[bumpversion]
-current_version = 6.4.0
-parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(.(?P<suffix>.+))?
-serialize =
- {major}.{minor}.{patch}.{suffix}
- {major}.{minor}.{patch}
-
-[bumpversion:part:suffix]
-optional_value = final
-values =
- dev
- final
-
-[bumpversion:file:jupyter_console/_version.py]
-parse =
(?P<major>\d+),\s*(?P<minor>\d+),\s*(?P<patch>\d+)(,\s*['"](?P<suffix>\w+)['"])?
-serialize =
- {major}, {minor}, {patch}, '{suffix}'
- {major}, {minor}, {patch}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_console-6.4.0/.github/workflows/python-package.yml
new/jupyter_console-6.4.3/.github/workflows/python-package.yml
--- old/jupyter_console-6.4.0/.github/workflows/python-package.yml
2021-03-24 00:58:51.000000000 +0100
+++ new/jupyter_console-6.4.3/.github/workflows/python-package.yml
1970-01-01 01:00:00.000000000 +0100
@@ -1,37 +0,0 @@
-# This workflow will install Python dependencies, run tests and lint with a
variety of Python versions
-# For more information see:
https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
-
-name: Python package
-
-on:
- push:
- branches: [ master ]
- pull_request:
- branches: [ master ]
-
-jobs:
- build:
-
- runs-on: ubuntu-latest
- strategy:
- matrix:
- python-version: [3.6, 3.7, 3.8]
-
- steps:
- - uses: actions/checkout@v2
- - name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v2
- with:
- python-version: ${{ matrix.python-version }}
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip check-manifest
- pip install pytest pytest-cov
- pip install .
- python -m ipykernel.kernelspec --user
- - name: Test with pytest
- run: |
- pytest --cov jupyter_console
- - name: Check Manifest
- run: |
- check-manifest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/.gitignore
new/jupyter_console-6.4.3/.gitignore
--- old/jupyter_console-6.4.0/.gitignore 2021-03-15 16:18:51.000000000
+0100
+++ new/jupyter_console-6.4.3/.gitignore 1970-01-01 01:00:00.000000000
+0100
@@ -1,19 +0,0 @@
-MANIFEST
-build
-dist
-_build
-docs/gh-pages
-docs/config_options.rst
-*.py[co]
-__pycache__
-*.egg-info
-*~
-*.bak
-.ipynb_checkpoints
-.tox
-.DS_Store
-\#*#
-.#*
-.coverage
-# PyCharm project cache
-.idea
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/CHANGELOG.md
new/jupyter_console-6.4.3/CHANGELOG.md
--- old/jupyter_console-6.4.0/CHANGELOG.md 1970-01-01 01:00:00.000000000
+0100
+++ new/jupyter_console-6.4.3/CHANGELOG.md 2022-03-07 16:58:42.000000000
+0100
@@ -0,0 +1,118 @@
+# Changes in Jupyter Console {#changelog}
+
+<!-- <START NEW CHANGELOG ENTRY> -->
+
+## 6.4.3
+
+([Full
Changelog](https://github.com/jupyter/jupyter_console/compare/v6.4.2...6e8f29e0a90804badda75c60c5eb50046544eb49))
+
+### Merged PRs
+
+- Require jupyter_client>=7.0.0
[#266](https://github.com/jupyter/jupyter_console/pull/266)
([@davidbrochart](https://github.com/davidbrochart))
+
+### Contributors to this release
+
+([GitHub contributors page for this
release](https://github.com/jupyter/jupyter_console/graphs/contributors?from=2022-03-06&to=2022-03-07&type=c))
+
+[@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))
+
+### Merged PRs
+
+- Don't pass loop to asyncio.wait()
[#264](https://github.com/jupyter/jupyter_console/pull/264)
([@davidbrochart](https://github.com/davidbrochart))
+
+### Contributors to this release
+
+([GitHub contributors page for this
release](https://github.com/jupyter/jupyter_console/graphs/contributors?from=2022-03-06&to=2022-03-06&type=c))
+
+[@davidbrochart](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Adavidbrochart+updated%3A2022-03-06..2022-03-06&type=Issues)
+
+## 6.4.1
+
+([Full
Changelog](https://github.com/jupyter/jupyter_console/compare/6.4.0...2d0b6aec59bde7499995d929ded4d23d7bb585f6))
+
+### Merged PRs
+
+- Prepare for use with Jupyter Releaser
[#261](https://github.com/jupyter/jupyter_console/pull/261)
([@davidbrochart](https://github.com/davidbrochart))
+
+### Contributors to this release
+
+([GitHub contributors page for this
release](https://github.com/jupyter/jupyter_console/graphs/contributors?from=2021-03-24&to=2022-03-06&type=c))
+
+[@davidbrochart](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Adavidbrochart+updated%3A2021-03-24..2022-03-06&type=Issues)
|
[@emuccino](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Aemuccino+updated%3A2021-03-24..2022-03-06&type=Issues)
+
+## 6.4.0
+
+## 5.3.0
+
+- Highlight matching parentheses
[#147](https://github.com/jupyter/jupyter_console/pull/147)
+- The config option `JupyterConsoleApp.confirm_exit` replaces
`ZMQTerminalInteractiveShell.confirm_exit`, to avoid redundancy
[#141](https://github.com/jupyter/jupyter_console/pull/141)
+
+## 5.2
+
+- When using a kernel that the console did not start, exiting with Ctrl-D now
leaves it running [#127](https://github.com/jupyter/jupyter_console/pull/127)
+- Added Ctrl-\\ shortcut to quit the console
[#130](https://github.com/jupyter/jupyter_console/pull/130)
+- Input prompt numbers are now updated when another frontend has executed code
in the same kernel [#119](https://github.com/jupyter/jupyter_console/pull/119)
+- Fix setting next input with newer versions of prompt_toolkit
[#123](https://github.com/jupyter/jupyter_console/pull/123)
+- Ensure history entries are unicode, not bytes, on Python 2
[#122](https://github.com/jupyter/jupyter_console/pull/122)
+
+## 5.1
+
+- New `ZMQTerminalInteractiveShell.true_color` config option to use 24-bit
colour
+- New `ZMQTerminalInteractiveShell.confirm_exit` config option to turn off
asking 'are you sure' on exit
+- New `--simple-prompt` flag to explicitly use the fallback mode without
prompt_toolkit
+- Fixed executing an empty input
+- Fixed formatting for code and outputs from other frontends executing code
+- Avoid using functions which will be removed in IPython 6
+
+## 5.0
+
+## 5.0.0
+
+### Interactive Shell architecture
+
+- Disinherit shell class from IPython Interactive Shell. This separates
jupyter_console's `ZMQTerminalInteractiveShell` from IPython's
`TerminalInteractiveShell` and `InteractiveShell` classes
[#68](https://github.com/jupyter/jupyter_console/pull/68)
+- Update SIGINT handler to not use the old interactive API shell
[#80](https://github.com/jupyter/jupyter_console/pull/80)
+
+### Image Handling improvement
+
+- use PIL as default image handler
[#79](https://github.com/jupyter/jupyter_console/pull/79)
+- better indication of whether image data was handled
[#77](https://github.com/jupyter/jupyter_console/pull/77)
+
+### Prompts improvement
+
+- use prompt_toolkit 1.0
[#74](https://github.com/jupyter/jupyter_console/pull/74)
+- don't use prompt_manager
[#75](https://github.com/jupyter/jupyter_console/pull/75)
+- remove `colors_force` flag that have no effects
[#88](https://github.com/jupyter/jupyter_console/pull/88)
+
+## 4.1
+
+## 4.1.1
+
+- fix for readline history
+- don't confuse sys.path with virtualenvs
+
+## 4.1.0
+
+- readline/completion fixes
+- use is_complete messages to determine if input is complete (important for
non-Python kernels)
+- fix: 4.0 was looking for jupyter_console_config in IPython config
directories, not Jupyter
+
+## 4.0
+
+## 4.0.3
+
+- fix `jupyter console --generate-config`
+
+## 4.0.2
+
+- setuptools fixes for Windows
+
+## 4.0.0
+
+- First release as a standalone package.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/COPYING.md
new/jupyter_console-6.4.3/COPYING.md
--- old/jupyter_console-6.4.0/COPYING.md 2015-05-24 21:45:12.000000000
+0200
+++ new/jupyter_console-6.4.3/COPYING.md 1970-01-01 01:00:00.000000000
+0100
@@ -1,60 +0,0 @@
-# Licensing terms
-
-This project is licensed under the terms of the Modified BSD License
-(also known as New or Revised or 3-Clause BSD), as follows:
-
-- Copyright (c) 2001-2015, IPython Development Team
-- Copyright (c) 2015-, Jupyter Development Team
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this
-list of conditions and the following disclaimer.
-
-Redistributions in binary form must reproduce the above copyright notice, this
-list of conditions and the following disclaimer in the documentation and/or
-other materials provided with the distribution.
-
-Neither the name of the Jupyter Development Team nor the names of its
-contributors may be used to endorse or promote products derived from this
-software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-## About the Jupyter Development Team
-
-The Jupyter Development Team is the set of all contributors to the Jupyter
project.
-This includes all of the Jupyter subprojects.
-
-The core team that coordinates development on GitHub can be found here:
-https://github.com/jupyter/.
-
-## Our Copyright Policy
-
-Jupyter uses a shared copyright model. Each contributor maintains copyright
-over their contributions to Jupyter. But, it is important to note that these
-contributions are typically only changes to the repositories. Thus, the Jupyter
-source code, in its entirety is not the copyright of any single person or
-institution. Instead, it is the collective copyright of the entire Jupyter
-Development Team. If individual contributors want to maintain a record of what
-changes/contributions they have specific copyright on, they should indicate
-their copyright in the commit message of the change, when they commit the
-change to one of the Jupyter repositories.
-
-With this in mind, the following banner should be used in any source code file
-to indicate the copyright and license terms:
-
- # Copyright (c) Jupyter Development Team.
- # Distributed under the terms of the Modified BSD License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/LICENSE
new/jupyter_console-6.4.3/LICENSE
--- old/jupyter_console-6.4.0/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/jupyter_console-6.4.3/LICENSE 2022-03-07 16:58:42.000000000 +0100
@@ -0,0 +1,60 @@
+# Licensing terms
+
+This project is licensed under the terms of the Modified BSD License
+(also known as New or Revised or 3-Clause BSD), as follows:
+
+- Copyright (c) 2001-2015, IPython Development Team
+- Copyright (c) 2015-, Jupyter Development Team
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright notice, this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+
+Neither the name of the Jupyter Development Team nor the names of its
+contributors may be used to endorse or promote products derived from this
+software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+## About the Jupyter Development Team
+
+The Jupyter Development Team is the set of all contributors to the Jupyter
project.
+This includes all of the Jupyter subprojects.
+
+The core team that coordinates development on GitHub can be found here:
+https://github.com/jupyter/.
+
+## Our Copyright Policy
+
+Jupyter uses a shared copyright model. Each contributor maintains copyright
+over their contributions to Jupyter. But, it is important to note that these
+contributions are typically only changes to the repositories. Thus, the Jupyter
+source code, in its entirety is not the copyright of any single person or
+institution. Instead, it is the collective copyright of the entire Jupyter
+Development Team. If individual contributors want to maintain a record of what
+changes/contributions they have specific copyright on, they should indicate
+their copyright in the commit message of the change, when they commit the
+change to one of the Jupyter repositories.
+
+With this in mind, the following banner should be used in any source code file
+to indicate the copyright and license terms:
+
+ # Copyright (c) Jupyter Development Team.
+ # Distributed under the terms of the Modified BSD License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/MANIFEST.in
new/jupyter_console-6.4.3/MANIFEST.in
--- old/jupyter_console-6.4.0/MANIFEST.in 2021-03-15 16:18:51.000000000
+0100
+++ new/jupyter_console-6.4.3/MANIFEST.in 2022-03-07 16:58:42.000000000
+0100
@@ -24,7 +24,6 @@
include *.md
include *.yml
-include .bumpversion.cfg
include mypy.ini
include pytest.ini
include .mailmap
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/PKG-INFO
new/jupyter_console-6.4.3/PKG-INFO
--- old/jupyter_console-6.4.0/PKG-INFO 2021-03-24 01:04:09.000000000 +0100
+++ new/jupyter_console-6.4.3/PKG-INFO 2022-03-07 16:59:16.845275400 +0100
@@ -1,12 +1,11 @@
Metadata-Version: 2.1
Name: jupyter_console
-Version: 6.4.0
+Version: 6.4.3
Summary: Jupyter terminal console
Home-page: https://jupyter.org
Author: Jupyter Development Team
Author-email: [email protected]
License: BSD
-Description: An IPython-like terminal frontend for Jupyter kernels in any
language.
Keywords: Interactive,Interpreter,Shell,Web
Platform: Linux
Platform: Mac OS X
@@ -17,5 +16,14 @@
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
+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.0/README.md
new/jupyter_console-6.4.3/README.md
--- old/jupyter_console-6.4.0/README.md 2021-03-15 16:18:51.000000000 +0100
+++ new/jupyter_console-6.4.3/README.md 2022-03-07 16:58:42.000000000 +0100
@@ -43,7 +43,7 @@
## Resources
- [Project Jupyter website](https://jupyter.org)
-- [Documentation for Jupyter
Console](https://jupyter-console.readthedocs.io/en/latest/)
[[PDF](https://media.readthedocs.org/pdf/jupyter-console/latest/jupyter-notebook.pdf)]
+- [Documentation for Jupyter
Console](https://jupyter-console.readthedocs.io/en/latest/)
[[PDF](https://media.readthedocs.org/pdf/jupyter-console/latest/jupyter-console.pdf)]
- [Documentation for Project
Jupyter](https://jupyter.readthedocs.io/en/latest/index.html)
[[PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)]
- [Issues](https://github.com/jupyter/jupyter_console/issues)
- [Technical support - Jupyter Google
Group](https://groups.google.com/forum/#!forum/jupyter)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/RELEASING.md
new/jupyter_console-6.4.3/RELEASING.md
--- old/jupyter_console-6.4.0/RELEASING.md 2021-03-24 00:41:21.000000000
+0100
+++ new/jupyter_console-6.4.3/RELEASING.md 2022-03-07 16:58:42.000000000
+0100
@@ -1,36 +1,32 @@
# Releasing
-## Prerequisites
+## Using `jupyter_releaser`
-- Install `bump2version`
-- Install `twine`
+The recommended way to make a release is to use
[`jupyter_releaser`](https://github.com/jupyter-server/jupyter_releaser#checklist-for-adoption).
-## Push to GitHub
+## Manual Release
-Change from patch to minor or major for appropriate version updates.
+### Prerequisites
+
+- First check that the CHANGELOG.md is up to date for the next release version
+- Install packaging requirements: `pip install tbump build tomlkit==0.7.0`
+
+### Bump version
+
+- `export version=<NEW_VERSION>`
+- `tbump ${version} --no-push`
+
+### Push to GitHub
```bash
-# Commit, test, publish, tag release
-bump2version minor # CHECK FIRST: If the patch version currently set is not
sufficient
-git commit -am "Prepared <release-id>"
-bump2version suffix # Remove the .dev
-git commit -am "Generated release <release-id>"
-git tag <release_version_here>
-git push && git push --tags
+git push upstream && git push upstream --tags
```
-## Push to PyPI
+### Push to PyPI
```bash
rm -rf dist/*
rm -rf build/*
-python setup.py sdist bdist_wheel
-# Double check the dist/* files have the right verison (no `.dev`) and install
the wheel to ensure it's good
-pip install dist/*
+python -m build .
twine upload dist/*
```
-
-## Prep repo for development
-
-- `bumpversion patch # Resets the patch and dev versions`
-- `git commit -am "Resumed patch dev"; git push`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/docs/changelog.rst
new/jupyter_console-6.4.3/docs/changelog.rst
--- old/jupyter_console-6.4.0/docs/changelog.rst 2021-03-15
16:18:51.000000000 +0100
+++ new/jupyter_console-6.4.3/docs/changelog.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1,95 +0,0 @@
-Changes in Jupyter console
-==========================
-
-A summary of changes in Jupyter console releases.
-
-5.3
----
-
-- Highlight matching parentheses. :ghpull:`147`
-- The config option ``JupyterConsoleApp.confirm_exit`` replaces
- ``ZMQTerminalInteractiveShell.confirm_exit``, to avoid redundancy.
- :ghpull:`141`.
-
-5.2
----
-
-- When using a kernel that the console did not start, exiting with Ctrl-D now
- leaves it running. :ghpull:`127`
-- Added Ctrl-\\ shortcut to quit the console. :ghpull:`130`
-- Input prompt numbers are now updated when another frontend has executed
- code in the same kernel. :ghpull:`119`
-- Fix setting next input with newer versions of prompt_toolkit. :ghpull:`123`
-- Ensure history entries are unicode, not bytes, on Python 2. :ghpull:`122`
-
-5.1
----
-
-- New ``ZMQTerminalInteractiveShell.true_color`` config option to use 24-bit
- colour.
-- New ``ZMQTerminalInteractiveShell.confirm_exit`` config option to turn off
- asking 'are you sure' on exit.
-- New ``--simple-prompt`` flag to explicitly use the fallback mode without
- prompt_toolkit.
-- Fixed executing an empty input.
-- Fixed formatting for code and outputs from other frontends executing code.
-- Avoid using functions which will be removed in IPython 6.
-
-5.0
----
-
-5.0.0
-~~~~~
-
-Interactive Shell architecture
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- Disinherit shell class from IPython Interactive Shell (:ghpull:`68`).
- This separates jupyter_console's ``ZMQTerminalInteractiveShell`` from
- IPython's ``TerminalInteractiveShell`` and ``InteractiveShell`` classes.
-- Update SIGINT handler to not use the old interactive API shell. :ghpull:`80`
-
-Image Handling improvement
-^^^^^^^^^^^^^^^^^^^^^^^^^^
-- use PIL as default image handler :ghpull:`79`
-- better indication of whether image data was handled :ghpull:`77`
-
-Prompts improvement
-^^^^^^^^^^^^^^^^^^^
-- use prompt_toolkit 1.0 :ghpull:`74`
-- don't use prompt_manager :ghpull:`75`
-- remove ``colors_force`` flag that have no effects: :ghpull:`88`
-
-4.1
----
-
-4.1.1
-~~~~~
-
-- fix for readline history
-- don't confuse sys.path with virtualenvs
-
-4.1.0
-~~~~~
-
-- readline/completion fixes
-- use is_complete messages to determine if input is complete (important for
non-Python kernels)
-- fix: 4.0 was looking for jupyter_console_config in IPython config
directories, not Jupyter
-
-
-4.0
----
-
-4.0.3
-~~~~~
-
-- fix ``jupyter console --generate-config``
-
-4.0.2
-~~~~~
-
-- setuptools fixes for Windows
-
-4.0.0
-~~~~~
-
-First release as a standalone package.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/docs/conf.py
new/jupyter_console-6.4.3/docs/conf.py
--- old/jupyter_console-6.4.0/docs/conf.py 2021-03-15 16:18:51.000000000
+0100
+++ new/jupyter_console-6.4.3/docs/conf.py 2022-03-07 16:58:42.000000000
+0100
@@ -16,6 +16,7 @@
import sys
import os
import shlex
+import shutil
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
@@ -320,3 +321,9 @@
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# otherwise, readthedocs.org uses their theme by default, so no need to
specify it
+
+
+def setup(app):
+ HERE = os.path.abspath(os.path.dirname(__file__))
+ dest = os.path.join(HERE, 'changelog.md')
+ shutil.copy(os.path.join(HERE, '..', 'CHANGELOG.md'), dest)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/jupyter_console/_version.py
new/jupyter_console-6.4.3/jupyter_console/_version.py
--- old/jupyter_console-6.4.0/jupyter_console/_version.py 2021-03-24
01:03:14.000000000 +0100
+++ new/jupyter_console-6.4.3/jupyter_console/_version.py 2022-03-07
16:59:00.000000000 +0100
@@ -1,10 +1,15 @@
-""" For beta/alpha/rc releases, the version number for a beta is X.Y.ZbN
-**without dots between the last 'micro' number and b**. N is the number of
-the beta released i.e. 1, 2, 3 ...
+import re
+from typing import List, Union
-See PEP 440 https://www.python.org/dev/peps/pep-0440/
-"""
+__version__ = "6.4.3"
-version_info = (6, 4, 0)
-
-__version__ = '.'.join(map(str, version_info[:3])) + ''.join(version_info[3:])
+# Build up version_info tuple for backwards compatibility
+pattern = r'(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)'
+match = re.match(pattern, __version__)
+if match:
+ parts: List[Union[int, str]] = [int(match[part]) for part in ['major',
'minor', 'patch']]
+ if match['rest']:
+ parts.append(match['rest'])
+else:
+ parts = []
+version_info = tuple(parts)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/jupyter_console/completer.py
new/jupyter_console-6.4.3/jupyter_console/completer.py
--- old/jupyter_console-6.4.0/jupyter_console/completer.py 2021-03-15
16:18:51.000000000 +0100
+++ new/jupyter_console-6.4.3/jupyter_console/completer.py 2022-03-07
16:58:42.000000000 +0100
@@ -7,6 +7,9 @@
from traitlets.config import Configurable
from traitlets import Float
+from jupyter_client.utils import run_sync
+
+
class ZMQCompleter(Configurable):
"""Client-side completion machinery.
@@ -31,7 +34,7 @@
cursor_pos=cursor_pos,
)
- msg = self.client.shell_channel.get_msg(timeout=self.timeout)
+ msg = run_sync(self.client.shell_channel.get_msg)(timeout=self.timeout)
if msg['parent_header']['msg_id'] == msg_id:
return msg['content']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/jupyter_console/ptshell.py
new/jupyter_console-6.4.3/jupyter_console/ptshell.py
--- old/jupyter_console-6.4.0/jupyter_console/ptshell.py 2021-03-24
00:58:34.000000000 +0100
+++ new/jupyter_console-6.4.3/jupyter_console/ptshell.py 2022-03-07
16:58:42.000000000 +0100
@@ -76,6 +76,8 @@
from pygments.util import ClassNotFound
from pygments.token import Token
+from jupyter_client.utils import run_sync
+
def ask_yes_no(prompt, default=None, interrupt=None):
"""Asks a question and returns a boolean (y/n) answer.
@@ -661,7 +663,7 @@
# wish to include external content
tasks.append(self.handle_external_iopub(loop=loop))
- main_task = asyncio.wait(tasks, loop=loop,
return_when=asyncio.FIRST_COMPLETED)
+ main_task = asyncio.wait(tasks,
return_when=asyncio.FIRST_COMPLETED)
_, pending = loop.run_until_complete(main_task)
for task in pending:
@@ -705,8 +707,8 @@
return
# flush stale replies, which could have been ignored, due to missed
heartbeats
- while self.client.shell_channel.msg_ready():
- self.client.shell_channel.get_msg()
+ while run_sync(self.client.shell_channel.msg_ready)():
+ run_sync(self.client.shell_channel.get_msg)()
# execute takes 'hidden', which is the inverse of store_hist
msg_id = self.client.execute(cell, not store_history)
@@ -739,7 +741,8 @@
#-----------------
def handle_execute_reply(self, msg_id, timeout=None):
- msg = self.client.shell_channel.get_msg(block=False, timeout=timeout)
+ kwargs = {"timeout": timeout}
+ msg = run_sync(self.client.shell_channel.get_msg)(**kwargs)
if msg["parent_header"].get("msg_id", None) == msg_id:
self.handle_iopub(msg_id)
@@ -778,7 +781,8 @@
## Get the is_complete response:
msg = None
try:
- msg = self.client.shell_channel.get_msg(block=True,
timeout=timeout)
+ kwargs = {"timeout": timeout}
+ msg = run_sync(self.client.shell_channel.get_msg)(**kwargs)
except Empty:
warn('The kernel did not respond to an is_complete_request. '
'Setting `use_kernel_is_complete` to False.')
@@ -834,11 +838,9 @@
async def handle_external_iopub(self, loop=None):
while self.keep_running:
- # we need to check for keep_running from time to time as
- # we are blocking in an executor block which cannot be cancelled.
- poll_result = await loop.run_in_executor(
- None, self.client.iopub_channel.socket.poll, 500)
- if(poll_result):
+ # we need to check for keep_running from time to time
+ poll_result = await self.client.iopub_channel.socket.poll(500)
+ if poll_result:
self.handle_iopub()
def handle_iopub(self, msg_id=''):
@@ -849,8 +851,8 @@
It only displays output that is caused by this session.
"""
- while self.client.iopub_channel.msg_ready():
- sub_msg = self.client.iopub_channel.get_msg()
+ while run_sync(self.client.iopub_channel.msg_ready)():
+ sub_msg = run_sync(self.client.iopub_channel.get_msg)()
msg_type = sub_msg['header']['msg_type']
# Update execution_count in case it changed in another session
@@ -1003,7 +1005,7 @@
def handle_input_request(self, msg_id, timeout=0.1):
""" Method to capture raw_input
"""
- req = self.client.stdin_channel.get_msg(timeout=timeout)
+ req = run_sync(self.client.stdin_channel.get_msg)(timeout=timeout)
# in case any iopub came while we were waiting:
self.handle_iopub(msg_id)
if msg_id == req["parent_header"].get("msg_id"):
@@ -1032,6 +1034,6 @@
# only send stdin reply if there *was not* another request
# or execution finished while we were reading.
- if not (self.client.stdin_channel.msg_ready() or
- self.client.shell_channel.msg_ready()):
+ if not (run_sync(self.client.stdin_channel.msg_ready)() or
+ run_sync(self.client.shell_channel.msg_ready)()):
self.client.input(raw_data)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_console-6.4.0/jupyter_console.egg-info/PKG-INFO
new/jupyter_console-6.4.3/jupyter_console.egg-info/PKG-INFO
--- old/jupyter_console-6.4.0/jupyter_console.egg-info/PKG-INFO 2021-03-24
01:04:08.000000000 +0100
+++ new/jupyter_console-6.4.3/jupyter_console.egg-info/PKG-INFO 2022-03-07
16:59:16.000000000 +0100
@@ -1,12 +1,11 @@
Metadata-Version: 2.1
Name: jupyter-console
-Version: 6.4.0
+Version: 6.4.3
Summary: Jupyter terminal console
Home-page: https://jupyter.org
Author: Jupyter Development Team
Author-email: [email protected]
License: BSD
-Description: An IPython-like terminal frontend for Jupyter kernels in any
language.
Keywords: Interactive,Interpreter,Shell,Web
Platform: Linux
Platform: Mac OS X
@@ -17,5 +16,14 @@
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
+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.0/jupyter_console.egg-info/SOURCES.txt
new/jupyter_console-6.4.3/jupyter_console.egg-info/SOURCES.txt
--- old/jupyter_console-6.4.0/jupyter_console.egg-info/SOURCES.txt
2021-03-24 01:04:08.000000000 +0100
+++ new/jupyter_console-6.4.3/jupyter_console.egg-info/SOURCES.txt
2022-03-07 16:59:16.000000000 +0100
@@ -1,8 +1,7 @@
-.bumpversion.cfg
-.gitignore
.mailmap
+CHANGELOG.md
CONTRIBUTING.md
-COPYING.md
+LICENSE
MANIFEST.in
README.md
RELEASING.md
@@ -12,10 +11,8 @@
readthedocs.yml
setup.cfg
setup.py
-.github/workflows/python-package.yml
docs/Makefile
docs/autogen_config.py
-docs/changelog.rst
docs/conf.py
docs/environment.yml
docs/index.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_console-6.4.0/jupyter_console.egg-info/entry_points.txt
new/jupyter_console-6.4.3/jupyter_console.egg-info/entry_points.txt
--- old/jupyter_console-6.4.0/jupyter_console.egg-info/entry_points.txt
2021-03-24 01:04:08.000000000 +0100
+++ new/jupyter_console-6.4.3/jupyter_console.egg-info/entry_points.txt
2022-03-07 16:59:16.000000000 +0100
@@ -1,3 +1,2 @@
[console_scripts]
jupyter-console = jupyter_console.app:main
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_console-6.4.0/jupyter_console.egg-info/requires.txt
new/jupyter_console-6.4.3/jupyter_console.egg-info/requires.txt
--- old/jupyter_console-6.4.0/jupyter_console.egg-info/requires.txt
2021-03-24 01:04:08.000000000 +0100
+++ new/jupyter_console-6.4.3/jupyter_console.egg-info/requires.txt
2022-03-07 16:59:16.000000000 +0100
@@ -1,4 +1,4 @@
-jupyter_client
+jupyter_client>=7.0.0
ipython
ipykernel
prompt_toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/pyproject.toml
new/jupyter_console-6.4.3/pyproject.toml
--- old/jupyter_console-6.4.0/pyproject.toml 2021-03-15 16:18:51.000000000
+0100
+++ new/jupyter_console-6.4.3/pyproject.toml 2022-03-07 16:59:00.000000000
+0100
@@ -1,3 +1,23 @@
[build-system]
requires = ["setuptools>=40.8.0", "wheel"]
build-backend = "setuptools.build_meta"
+
+[tool.jupyter-releaser]
+skip = ["check-links"]
+
+[tool.check-manifest]
+ignore = [".mailmap", "*.yml", "*.yaml"]
+
+[tool.tbump.version]
+current = "6.4.3"
+regex = '''
+ (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
+ ((?P<channel>a|b|rc|.dev)(?P<release>\d+))?
+'''
+
+[tool.tbump.git]
+message_template = "Bump to {new_version}"
+tag_template = "v{new_version}"
+
+[[tool.tbump.file]]
+src = "jupyter_console/_version.py"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/setup.cfg
new/jupyter_console-6.4.3/setup.cfg
--- old/jupyter_console-6.4.0/setup.cfg 2021-03-24 01:04:09.000000000 +0100
+++ new/jupyter_console-6.4.3/setup.cfg 2022-03-07 16:59:16.849275400 +0100
@@ -3,7 +3,9 @@
ignore = W291, E266, E265, E128, E251, E402, E124, E302, W293, E231, E222,
W503, E126, E121, W391, E226, E127, W504
[metadata]
-license_file = COPYING.md
+name = jupyter_console
+version = attr: jupyter_console._version.__version__
+license_file = LICENSE
[egg_info]
tag_build =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.4.0/setup.py
new/jupyter_console-6.4.3/setup.py
--- old/jupyter_console-6.4.0/setup.py 2021-03-24 00:58:34.000000000 +0100
+++ new/jupyter_console-6.4.3/setup.py 2022-03-07 16:58:42.000000000 +0100
@@ -62,17 +62,13 @@
if os.path.exists(pjoin(d, '__init__.py')):
packages.append(d[len(here)+1:].replace(os.path.sep, '.'))
-version_ns = {}
-with open(pjoin(here, name, '_version.py')) as f:
- exec(f.read(), {}, version_ns)
-
setup_args = dict(
name = name,
- version = version_ns['__version__'],
packages = packages,
description = "Jupyter terminal console",
long_description= "An IPython-like terminal frontend for Jupyter kernels
in any language.",
+ long_description_content_type='text/markdown',
author = 'Jupyter Development Team',
author_email = '[email protected]',
url = 'https://jupyter.org',
@@ -86,9 +82,13 @@
'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',
],
install_requires=[
- 'jupyter_client',
+ 'jupyter_client>=7.0.0',
'ipython',
'ipykernel', # bless IPython kernel for now
'prompt_toolkit>=2.0.0,<3.1.0,!=3.0.0,!=3.0.1',