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 2023-03-21 17:40:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old) and /work/SRC/openSUSE:Factory/.python-jupyter_console.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_console" Tue Mar 21 17:40:35 2023 rev:19 rq:1072975 version:6.6.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes 2022-08-02 22:09:28.193820568 +0200 +++ /work/SRC/openSUSE:Factory/.python-jupyter_console.new.31432/python-jupyter_console.changes 2023-03-21 17:40:36.697567277 +0100 @@ -1,0 +2,14 @@ +Sun Mar 19 18:23:43 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 6.6.3 + * Fix handle_external_iopub again #286 (@blink1073) +- Release 6.6.2 + * Fix handle_external_iopub #285 (@blink1073) +- Release 6.6.0 + * Switch to hatch backend #281 (@blink1073) +- Release 6.5.1 + * Fix completion handling #278 (@blink1073) +- Release 6.5.0 + * Fix client 7 and 8 compat #276 (@blink1073) + +------------------------------------------------------------------- Old: ---- jupyter_console-6.4.4.tar.gz New: ---- jupyter_console-6.6.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyter_console.spec ++++++ --- /var/tmp/diff_new_pack.p8m0om/_old 2023-03-21 17:40:37.329570300 +0100 +++ /var/tmp/diff_new_pack.p8m0om/_new 2023-03-21 17:40:37.333570319 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-jupyter_console # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,32 +17,39 @@ Name: python-jupyter_console -Version: 6.4.4 +Version: 6.6.3 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: %{python_module hatchling >= 1.5} +BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module Pygments} BuildRequires: %{python_module flaky} -BuildRequires: %{python_module ipykernel} +BuildRequires: %{python_module ipykernel >= 6.14} BuildRequires: %{python_module ipython} BuildRequires: %{python_module jupyter-client >= 7} -BuildRequires: %{python_module prompt_toolkit >= 2} +BuildRequires: %{python_module jupyter-core >= 5.1} +BuildRequires: %{python_module pexpect} +BuildRequires: %{python_module prompt_toolkit >= 3.0.30} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module pyzmq} +BuildRequires: %{python_module pyzmq >= 17} +BuildRequires: %{python_module traitlets >= 5.4} # /SECTION Requires: jupyter-jupyter_console = %{version} -Requires: python-ipykernel +Requires: python-Pygments +Requires: python-ipykernel >= 6.14 Requires: python-ipython Requires: python-jupyter-client >= 7 -Requires: python-prompt_toolkit >= 2 -Requires: python-pyzmq +Requires: python-prompt_toolkit >= 3.0.30 +Requires: python-pyzmq >= 17 +Requires: python-traitlets >= 5.4 +Requires: ((python-jupyter-core >= 4.12 with python-jupyter-core < 5.0) or python-jupyter-core >= 5.1) Requires(post): update-alternatives Requires(postun):update-alternatives Provides: python-jupyter-console = %{version}-%{release} @@ -63,10 +70,10 @@ %setup -q -n jupyter_console-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/jupyter-console %python_expand %fdupes %{buildroot}%{$python_sitelib} ++++++ jupyter_console-6.4.4.tar.gz -> jupyter_console-6.6.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/.github/workflows/python-package.yml new/jupyter_console-6.6.3/.github/workflows/python-package.yml --- old/jupyter_console-6.4.4/.github/workflows/python-package.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/jupyter_console-6.6.3/.github/workflows/python-package.yml 2020-02-02 01:00:00.000000000 +0100 @@ -0,0 +1,95 @@ +# 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: [ main ] + pull_request: + branches: [ main ] + +defaults: + run: + shell: bash -eux {0} + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + fail-fast: false + + 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-cov + pip install ".[test]" + python -m ipykernel.kernelspec --user + - name: Test with pytest + run: | + pytest --cov jupyter_console || pytest jupyter_console --lf + + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - name: Linting + run: | + pip install Flake8-pyproject mypy + mypy jupyter_console + flake8 jupyter_console + + check_release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + - uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + + check_links: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1 + + test_minimum_versions: + name: Test Minimum Versions + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v3 + - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + with: + dependency_type: minimum + - name: Run the unit tests + run: | + pip install ".[test]" + pytest || pytest --lf + + tests_check: # This job does nothing and is only used for the branch protection + if: always() + needs: + - build + - lint + - check_release + - check_links + - test_minimum_versions + runs-on: ubuntu-latest + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/.gitignore new/jupyter_console-6.6.3/.gitignore --- old/jupyter_console-6.4.4/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/jupyter_console-6.6.3/.gitignore 2020-02-02 01:00:00.000000000 +0100 @@ -0,0 +1,20 @@ +MANIFEST +build +dist +_build +docs/gh-pages +docs/config_options.rst +docs/changelog.md +*.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.4/.readthedocs.yaml new/jupyter_console-6.6.3/.readthedocs.yaml --- old/jupyter_console-6.4.4/.readthedocs.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/jupyter_console-6.6.3/.readthedocs.yaml 2020-02-02 01:00:00.000000000 +0100 @@ -0,0 +1,9 @@ +conda: + file: docs/environment.yml +python: + version: 3 + setup_py_install: true + pip install: true +formats: + - epub + - pdf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/CHANGELOG.md new/jupyter_console-6.6.3/CHANGELOG.md --- old/jupyter_console-6.4.4/CHANGELOG.md 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100 @@ -2,6 +2,94 @@ <!-- <START NEW CHANGELOG ENTRY> --> +## 6.6.3 + +([Full Changelog](https://github.com/jupyter/jupyter_console/compare/v6.6.2...2c444cbd51c4a4ae8b2bd81b654687bb1fefa802)) + +### Bugs fixed + +- Fix handle_external_iopub again [#286](https://github.com/jupyter/jupyter_console/pull/286) ([@blink1073](https://github.com/blink1073)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/jupyter/jupyter_console/graphs/contributors?from=2023-02-27&to=2023-03-06&type=c)) + +[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Ablink1073+updated%3A2023-02-27..2023-03-06&type=Issues) + +<!-- <END NEW CHANGELOG ENTRY> --> + +## 6.6.2 + +([Full Changelog](https://github.com/jupyter/jupyter_console/compare/v6.6.1...27b0ffeb4e71f317bcd1ad2d3af41e0458bd05d4)) + +### Bugs fixed + +- Fix handle_external_iopub [#285](https://github.com/jupyter/jupyter_console/pull/285) ([@blink1073](https://github.com/blink1073)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/jupyter/jupyter_console/graphs/contributors?from=2023-02-21&to=2023-02-27&type=c)) + +[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Ablink1073+updated%3A2023-02-21..2023-02-27&type=Issues) + +## 6.6.1 + +([Full Changelog](https://github.com/jupyter/jupyter_console/compare/v6.6.0...0108eacfd6b7ff8bf6c6ef4d8d95a53df86d430b)) + +### Maintenance and upkeep improvements + +- More build system cleanup [#282](https://github.com/jupyter/jupyter_console/pull/282) ([@blink1073](https://github.com/blink1073)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/jupyter/jupyter_console/graphs/contributors?from=2023-02-20&to=2023-02-21&type=c)) + +[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Ablink1073+updated%3A2023-02-20..2023-02-21&type=Issues) + +## 6.6.0 + +([Full Changelog](https://github.com/jupyter/jupyter_console/compare/v6.5.1...7a6bbfecac9c34e9a6b26eae6c018cee7622b403)) + +### Maintenance and upkeep improvements + +- Switch to hatch backend [#281](https://github.com/jupyter/jupyter_console/pull/281) ([@blink1073](https://github.com/blink1073)) +- Add flaky [#280](https://github.com/jupyter/jupyter_console/pull/280) ([@blink1073](https://github.com/blink1073)) +- Clean up license [#279](https://github.com/jupyter/jupyter_console/pull/279) ([@dcsaba89](https://github.com/dcsaba89)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/jupyter/jupyter_console/graphs/contributors?from=2023-02-13&to=2023-02-20&type=c)) + +[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Ablink1073+updated%3A2023-02-13..2023-02-20&type=Issues) | [@dcsaba89](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Adcsaba89+updated%3A2023-02-13..2023-02-20&type=Issues) + +## 6.5.1 + +([Full Changelog](https://github.com/jupyter/jupyter_console/compare/v6.5.0...25fe1d530cefe22596fc2aa9694cdcded14c0af3)) + +### Bugs fixed + +- Fix completion handling [#278](https://github.com/jupyter/jupyter_console/pull/278) ([@blink1073](https://github.com/blink1073)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/jupyter/jupyter_console/graphs/contributors?from=2023-02-09&to=2023-02-13&type=c)) + +[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Ablink1073+updated%3A2023-02-09..2023-02-13&type=Issues) + +## 6.5.0 + +([Full Changelog](https://github.com/jupyter/jupyter_console/compare/v6.4.4...7bcb1c61c709d033d5b24ecaea3cc6161ff69f5a)) + +### Bugs fixed + +- Fix client 7 and 8 compat [#276](https://github.com/jupyter/jupyter_console/pull/276) ([@blink1073](https://github.com/blink1073)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/jupyter/jupyter_console/graphs/contributors?from=2022-06-22&to=2023-02-09&type=c)) + +[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_console+involves%3Ablink1073+updated%3A2022-06-22..2023-02-09&type=Issues) + ## 6.4.4 ([Full Changelog](https://github.com/jupyter/jupyter_console/compare/v6.4.3...18cb350dc05c903d541f30de18fcf53943ec0e3f)) @@ -16,8 +104,6 @@ [@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)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/LICENSE new/jupyter_console-6.6.3/LICENSE --- old/jupyter_console-6.4.4/LICENSE 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/LICENSE 2020-02-02 01:00:00.000000000 +0100 @@ -1,7 +1,4 @@ -# 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: +BSD 3-Clause License - Copyright (c) 2001-2015, IPython Development Team - Copyright (c) 2015-, Jupyter Development Team @@ -11,50 +8,24 @@ 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. +1. 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 +2. 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. + +3. Neither the name of the copyright holder 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 HOLDER 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.4/MANIFEST.in new/jupyter_console-6.6.3/MANIFEST.in --- old/jupyter_console-6.4.4/MANIFEST.in 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/MANIFEST.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,29 +0,0 @@ -include COPYING.md -include CONTRIBUTING.md -include README.md - -# Documentation -graft docs -graft scripts -exclude docs/\#* - -# Examples -graft examples - -# docs subdirs we want to skip -prune docs/build -prune docs/gh-pages -prune docs/dist - -# Patterns to exclude from any directory -global-exclude *~ -global-exclude *.pyc -global-exclude *.pyo -global-exclude .git -global-exclude .ipynb_checkpoints - -include *.md -include *.yml -include mypy.ini -include pytest.ini -include .mailmap diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/PKG-INFO new/jupyter_console-6.6.3/PKG-INFO --- old/jupyter_console-6.4.4/PKG-INFO 2022-06-22 17:59:20.743765400 +0200 +++ new/jupyter_console-6.6.3/PKG-INFO 2020-02-02 01:00:00.000000000 +0100 @@ -1,27 +1,142 @@ Metadata-Version: 2.1 -Name: jupyter_console -Version: 6.4.4 +Name: jupyter-console +Version: 6.6.3 Summary: Jupyter terminal console -Home-page: https://jupyter.org -Author: Jupyter Development Team -Author-email: jupy...@googlegroups.com -License: BSD +Project-URL: Homepage, https://jupyter.org +Author-email: Jupyter Development Team <jupy...@googlegroups.com> +License: BSD 3-Clause License + + - 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: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + 2. 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. + + 3. Neither the name of the copyright holder 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 HOLDER 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. +License-File: LICENSE Keywords: Interactive,Interpreter,Shell,Web -Platform: Linux -Platform: Mac OS X -Platform: Windows Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: System Administrators Classifier: Intended Audience :: Science/Research +Classifier: Intended Audience :: System Administrators Classifier: License :: OSI Approved :: BSD License Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Requires-Python: >=3.7 -Description-Content-Type: text/markdown +Requires-Dist: ipykernel>=6.14 +Requires-Dist: ipython +Requires-Dist: jupyter-client>=7.0.0 +Requires-Dist: jupyter-core!=5.0.*,>=4.12 +Requires-Dist: prompt-toolkit>=3.0.30 +Requires-Dist: pygments +Requires-Dist: pyzmq>=17 +Requires-Dist: traitlets>=5.4 Provides-Extra: test -License-File: LICENSE +Requires-Dist: flaky; extra == 'test' +Requires-Dist: pexpect; extra == 'test' +Requires-Dist: pytest; extra == 'test' +Description-Content-Type: text/markdown + +# Jupyter Console +[![Build Status](https://travis-ci.org/jupyter/jupyter_console.svg?branch=master)](https://travis-ci.org/jupyter/jupyter_console) +[![Documentation Status](http://readthedocs.org/projects/jupyter-console/badge/?version=latest)](https://jupyter-console.readthedocs.io/en/latest/?badge=latest) + +A terminal-based console frontend for Jupyter kernels. +This code is based on the single-process IPython terminal. + +Install with pip: + + pip install jupyter-console + +Install with conda: + + conda install -c conda-forge jupyter_console + +Start: + + jupyter console + +Help: + + jupyter console -h + +Jupyter Console allows for console-based interaction with non-python +Jupyter kernels such as IJulia, IRKernel. + +To start the console with a particular kernel, ask for it by name:: + + jupyter console --kernel=julia-0.4 + +A list of available kernels can be seen with:: + + jupyter kernelspec list + + +### Release build: + +```bash +$ pip install pep517 +$ python -m pep517.build . +``` + + +## 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-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) + +## 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: -An IPython-like terminal frontend for Jupyter kernels in any language. +``` +# 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.4/README.md new/jupyter_console-6.6.3/README.md --- old/jupyter_console-6.4.4/README.md 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/README.md 2020-02-02 01:00:00.000000000 +0100 @@ -47,3 +47,31 @@ - [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) + +## 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.4/RELEASING.md new/jupyter_console-6.6.3/RELEASING.md --- old/jupyter_console-6.4.4/RELEASING.md 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/RELEASING.md 2020-02-02 01:00:00.000000000 +0100 @@ -9,12 +9,12 @@ ### 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` +- Install packaging requirements: `pip install hatch twine` ### Bump version - `export version=<NEW_VERSION>` -- `tbump ${version} --no-push` +- `hatch version ${version}` ### Push to GitHub @@ -27,6 +27,6 @@ ```bash rm -rf dist/* rm -rf build/* -python -m build . +hatch build . twine upload dist/* ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/docs/conf.py new/jupyter_console-6.6.3/docs/conf.py --- old/jupyter_console-6.4.4/docs/conf.py 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/docs/conf.py 2020-02-02 01:00:00.000000000 +0100 @@ -17,6 +17,7 @@ import os import shlex import shutil +from typing import Dict # 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 @@ -74,7 +75,7 @@ # built documents. # -version_ns = {} +version_ns: Dict = {} version_py = os.path.join('..', 'jupyter_console', '_version.py') with open(version_py) as f: exec(compile(f.read(), version_py, 'exec'), version_ns) @@ -229,7 +230,7 @@ # -- Options for LaTeX output --------------------------------------------- -latex_elements = { +#latex_elements = { # The paper size ('letterpaper' or 'a4paper'). #'papersize': 'letterpaper', @@ -241,7 +242,7 @@ # Latex figure (float) alignment #'figure_align': 'htbp', -} +#} # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console/__init__.py new/jupyter_console-6.6.3/jupyter_console/__init__.py --- old/jupyter_console-6.4.4/jupyter_console/__init__.py 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console/__init__.py 2020-02-02 01:00:00.000000000 +0100 @@ -1,3 +1,3 @@ """Jupyter terminal console""" -from ._version import version_info, __version__ +from ._version import version_info, __version__ # noqa diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console/_version.py new/jupyter_console-6.6.3/jupyter_console/_version.py --- old/jupyter_console-6.4.4/jupyter_console/_version.py 2022-06-22 17:59:04.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console/_version.py 2020-02-02 01:00:00.000000000 +0100 @@ -1,7 +1,7 @@ import re from typing import List, Union -__version__ = "6.4.4" +__version__ = "6.6.3" # 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.4/jupyter_console/app.py new/jupyter_console-6.6.3/jupyter_console/app.py --- old/jupyter_console-6.4.4/jupyter_console/app.py 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console/app.py 2020-02-02 01:00:00.000000000 +0100 @@ -63,7 +63,7 @@ #----------------------------------------------------------------------------- -class ZMQTerminalIPythonApp(JupyterApp, JupyterConsoleApp): +class ZMQTerminalIPythonApp(JupyterApp, JupyterConsoleApp): # type:ignore[misc] name = "jupyter-console" version = __version__ """Start a terminal frontend to the IPython zmq kernel.""" @@ -85,9 +85,9 @@ """ examples = _examples - classes = [ZMQTerminalInteractiveShell] + JupyterConsoleApp.classes - flags = Dict(flags) - aliases = Dict(aliases) + classes = [ZMQTerminalInteractiveShell] + JupyterConsoleApp.classes # type:ignore[operator] + flags = Dict(flags) # type:ignore[assignment] + aliases = Dict(aliases) # type:ignore[assignment] frontend_aliases = Any(frontend_aliases) frontend_flags = Any(frontend_flags) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console/completer.py new/jupyter_console-6.6.3/jupyter_console/completer.py --- old/jupyter_console-6.4.4/jupyter_console/completer.py 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console/completer.py 2020-02-02 01:00:00.000000000 +0100 @@ -7,7 +7,7 @@ from traitlets.config import Configurable from traitlets import Float -from jupyter_client.utils import run_sync +from jupyter_console.utils import run_sync class ZMQCompleter(Configurable): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console/ptshell.py new/jupyter_console-6.6.3/jupyter_console/ptshell.py --- old/jupyter_console-6.4.4/jupyter_console/ptshell.py 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console/ptshell.py 2020-02-02 01:00:00.000000000 +0100 @@ -76,7 +76,7 @@ from pygments.util import ClassNotFound from pygments.token import Token -from jupyter_client.utils import run_sync +from jupyter_console.utils import run_sync, ensure_async def ask_yes_no(prompt, default=None, interrupt=None): @@ -316,7 +316,7 @@ ), default_value="multicolumn", ).tag(config=True) - + prompt_includes_vi_mode = Bool(True, help="Display the current vi mode (when using vi editing mode)." ).tag(config=True) @@ -374,7 +374,7 @@ and self.prompt_includes_vi_mode): return '['+str(self.pt_cli.app.vi_state.input_mode)[3:6]+'] ' return '' - + def get_prompt_tokens(self, ec=None): if ec is None: ec = self.execution_count @@ -839,9 +839,10 @@ async def handle_external_iopub(self, loop=None): while self.keep_running: # we need to check for keep_running from time to time - poll_result = await self.client.iopub_channel.socket.poll(500) + poll_result = await ensure_async(self.client.iopub_channel.socket.poll(0)) if poll_result: self.handle_iopub() + await asyncio.sleep(0.5) def handle_iopub(self, msg_id=''): """Process messages on the IOPub channel diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console/tests/test_console.py new/jupyter_console-6.6.3/jupyter_console/tests/test_console.py --- old/jupyter_console-6.4.4/jupyter_console/tests/test_console.py 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console/tests/test_console.py 2020-02-02 01:00:00.000000000 +0100 @@ -9,13 +9,17 @@ import tempfile from subprocess import check_output +from flaky import flaky import pytest from traitlets.tests.utils import check_help_all_output -@pytest.mark.xfail -@pytest.mark.skipif(sys.platform == "win32", reason="skip on windows") +should_skip = sys.platform == "win32" or sys.version_info < (3,8) or sys.version_info[:2] == (3, 10) # noqa + + +@flaky +@pytest.mark.skipif(should_skip, reason="not supported") def test_console_starts(): """test that `jupyter console` starts a terminal""" p, pexpect, t = start_console() @@ -28,7 +32,9 @@ """jupyter console --help-all works""" check_help_all_output('jupyter_console') -@pytest.mark.xfail + +@flaky +@pytest.mark.skipif(should_skip, reason="not supported") def test_display_text(): "Ensure display protocol plain/text key is supported" # equivalent of: @@ -68,12 +74,17 @@ except IOError: pytest.skip("Couldn't find command %s" % cmd) - # timeout after one minute - t = 60 + # timeout after two minutes + t = 120 p.expect(r"In \[\d+\]", timeout=t) return p, pexpect, t +def test_multiprocessing(): + p, pexpect, t = start_console() + p.sendline('') + + def test_generate_config(): """jupyter console --generate-config works""" td = tempfile.mkdtemp() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console/tests/writetofile.py new/jupyter_console-6.6.3/jupyter_console/tests/writetofile.py --- old/jupyter_console-6.4.4/jupyter_console/tests/writetofile.py 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console/tests/writetofile.py 2020-02-02 01:00:00.000000000 +0100 @@ -2,7 +2,7 @@ # Copyright (C) 2012 The IPython Development Team # # Distributed under the terms of the BSD License. The full license is in -# the file COPYING, distributed as part of this software. +# the file LICENSE, distributed as part of this software. #----------------------------------------------------------------------------- """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console/utils.py new/jupyter_console-6.6.3/jupyter_console/utils.py --- old/jupyter_console-6.4.4/jupyter_console/utils.py 1970-01-01 01:00:00.000000000 +0100 +++ new/jupyter_console-6.6.3/jupyter_console/utils.py 2020-02-02 01:00:00.000000000 +0100 @@ -0,0 +1,25 @@ +import inspect +import typing as t +from jupyter_core.utils import run_sync as _run_sync, ensure_async # noqa + + +T = t.TypeVar("T") + + +def run_sync(coro: t.Callable[..., t.Union[T, t.Awaitable[T]]]) -> t.Callable[..., T]: + """Wraps coroutine in a function that blocks until it has executed. + + Parameters + ---------- + coro : coroutine-function + The coroutine-function to be executed. + + Returns + ------- + result : + Whatever the coroutine-function returns. + """ + if not inspect.iscoroutinefunction(coro): + return t.cast(t.Callable[..., T], coro) + return _run_sync(coro) + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console/zmqhistory.py new/jupyter_console-6.6.3/jupyter_console/zmqhistory.py --- old/jupyter_console-6.4.4/jupyter_console/zmqhistory.py 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console/zmqhistory.py 2020-02-02 01:00:00.000000000 +0100 @@ -1,21 +1,22 @@ """ ZMQ Kernel History accessor and manager. """ -#----------------------------------------------------------------------------- +# ----------------------------------------------------------------------------- # Copyright (C) 2010-2011 The IPython Development Team. # # Distributed under the terms of the BSD License. # -# The full license is in the file COPYING.txt, distributed with this software. -#----------------------------------------------------------------------------- +# The full license is in the file LICENSE, distributed with this software. +# ----------------------------------------------------------------------------- -#----------------------------------------------------------------------------- +# ----------------------------------------------------------------------------- # Imports -#----------------------------------------------------------------------------- +# ----------------------------------------------------------------------------- from IPython.core.history import HistoryAccessorBase from traitlets import Dict, List from queue import Empty # Py 3 + class ZMQHistoryManager(HistoryAccessorBase): """History accessor and manager for ZMQ-based kernels""" input_hist_parsed = List([""]) @@ -44,7 +45,7 @@ """ history = [] if hasattr(self.client, "history"): - ## In tests, KernelClient may not have a history method + # In tests, KernelClient may not have a history method msg_id = self.client.history(raw=raw, output=output, hist_access_type=hist_access_type, **kwargs) @@ -69,7 +70,7 @@ raw=raw, search_raw=search_raw, output=output, n=n, unique=unique) - def get_range(self, session, start=1, stop=None, raw=True,output=False): + def get_range(self, session, start=1, stop=None, raw=True, output=False): return self._load_history(hist_access_type='range', raw=raw, output=output, start=start, stop=stop, session=session) @@ -89,4 +90,3 @@ Nothing to do for ZMQ-based histories. """ pass - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console.egg-info/PKG-INFO new/jupyter_console-6.6.3/jupyter_console.egg-info/PKG-INFO --- old/jupyter_console-6.4.4/jupyter_console.egg-info/PKG-INFO 2022-06-22 17:59:20.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console.egg-info/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 @@ -1,27 +0,0 @@ -Metadata-Version: 2.1 -Name: jupyter-console -Version: 6.4.4 -Summary: Jupyter terminal console -Home-page: https://jupyter.org -Author: Jupyter Development Team -Author-email: jupy...@googlegroups.com -License: BSD -Keywords: Interactive,Interpreter,Shell,Web -Platform: Linux -Platform: Mac OS X -Platform: Windows -Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: System Administrators -Classifier: Intended Audience :: Science/Research -Classifier: License :: OSI Approved :: BSD License -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.7 -Classifier: Programming Language :: Python :: 3.8 -Classifier: Programming Language :: Python :: 3.9 -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.4/jupyter_console.egg-info/SOURCES.txt new/jupyter_console-6.6.3/jupyter_console.egg-info/SOURCES.txt --- old/jupyter_console-6.4.4/jupyter_console.egg-info/SOURCES.txt 2022-06-22 17:59:20.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console.egg-info/SOURCES.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,40 +0,0 @@ -.mailmap -CHANGELOG.md -CONTRIBUTING.md -LICENSE -MANIFEST.in -README.md -RELEASING.md -mypy.ini -pyproject.toml -pytest.ini -readthedocs.yml -setup.cfg -setup.py -docs/Makefile -docs/autogen_config.py -docs/conf.py -docs/environment.yml -docs/index.rst -docs/make.bat -docs/release.rst -docs/requirements.txt -jupyter_console/__init__.py -jupyter_console/__main__.py -jupyter_console/_version.py -jupyter_console/app.py -jupyter_console/completer.py -jupyter_console/ptshell.py -jupyter_console/zmqhistory.py -jupyter_console.egg-info/PKG-INFO -jupyter_console.egg-info/SOURCES.txt -jupyter_console.egg-info/dependency_links.txt -jupyter_console.egg-info/entry_points.txt -jupyter_console.egg-info/requires.txt -jupyter_console.egg-info/top_level.txt -jupyter_console/tests/__init__.py -jupyter_console/tests/conftest.py -jupyter_console/tests/test_console.py -jupyter_console/tests/test_image_handler.py -jupyter_console/tests/writetofile.py -scripts/jupyter-console \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console.egg-info/dependency_links.txt new/jupyter_console-6.6.3/jupyter_console.egg-info/dependency_links.txt --- old/jupyter_console-6.4.4/jupyter_console.egg-info/dependency_links.txt 2022-06-22 17:59:20.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console.egg-info/dependency_links.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console.egg-info/entry_points.txt new/jupyter_console-6.6.3/jupyter_console.egg-info/entry_points.txt --- old/jupyter_console-6.4.4/jupyter_console.egg-info/entry_points.txt 2022-06-22 17:59:20.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console.egg-info/entry_points.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -[console_scripts] -jupyter-console = jupyter_console.app:main diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console.egg-info/requires.txt new/jupyter_console-6.6.3/jupyter_console.egg-info/requires.txt --- old/jupyter_console-6.4.4/jupyter_console.egg-info/requires.txt 2022-06-22 17:59:20.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console.egg-info/requires.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,8 +0,0 @@ -jupyter_client>=7.0.0 -ipython -ipykernel -prompt_toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 -pygments - -[test:sys_platform != "win32"] -pexpect diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/jupyter_console.egg-info/top_level.txt new/jupyter_console-6.6.3/jupyter_console.egg-info/top_level.txt --- old/jupyter_console-6.4.4/jupyter_console.egg-info/top_level.txt 2022-06-22 17:59:20.000000000 +0200 +++ new/jupyter_console-6.6.3/jupyter_console.egg-info/top_level.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -jupyter_console diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/mypy.ini new/jupyter_console-6.6.3/mypy.ini --- old/jupyter_console-6.4.4/mypy.ini 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/mypy.ini 1970-01-01 01:00:00.000000000 +0100 @@ -1,4 +0,0 @@ -[mypy] -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.4/pyproject.toml new/jupyter_console-6.6.3/pyproject.toml --- old/jupyter_console-6.4.4/pyproject.toml 2022-06-22 17:59:04.000000000 +0200 +++ new/jupyter_console-6.6.3/pyproject.toml 2020-02-02 01:00:00.000000000 +0100 @@ -1,23 +1,71 @@ [build-system] -requires = ["setuptools>=40.8.0", "wheel"] -build-backend = "setuptools.build_meta" +requires = ["hatchling>=1.5"] +build-backend = "hatchling.build" -[tool.jupyter-releaser] -skip = ["check-links"] +[project] +name = "jupyter-console" +dynamic = ["version"] +description = "Jupyter terminal console" +readme = "README.md" +license = { file= "LICENSE" } +requires-python = ">=3.7" +authors = [ + { name = "Jupyter Development Team", email = "jupy...@googlegroups.com" }, +] +keywords = [ + "Interactive", + "Interpreter", + "Shell", + "Web", +] +classifiers = [ + "Intended Audience :: Developers", + "Intended Audience :: Science/Research", + "Intended Audience :: System Administrators", + "License :: OSI Approved :: BSD License", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +dependencies = [ + "ipykernel>=6.14", + "ipython", + "jupyter_client>=7.0.0", + "jupyter_core>=4.12,!=5.0.*", + "prompt_toolkit>=3.0.30", + "pygments", + "pyzmq>=17", + "traitlets>=5.4", +] -[tool.check-manifest] -ignore = [".mailmap", "*.yml", "*.yaml"] +[project.optional-dependencies] +test = [ + "pexpect", + "pytest", + "flaky", +] -[tool.tbump.version] -current = "6.4.4" -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}" +[project.scripts] +jupyter-console = "jupyter_console.app:main" -[[tool.tbump.file]] -src = "jupyter_console/_version.py" +[project.urls] +Homepage = "https://jupyter.org" + +[tool.hatch.version] +path = "jupyter_console/_version.py" + +[tool.pytest.ini_options] +addopts = "--durations=10" + +[tool.flake8] +max-line-length = "99" +ignore = "W291, E266, E265, E128, E251, E402, E124, E302, W293, E231, E222, W503, E126, E121, W391, E226, E127, W504" + +[tool.mypy] +python_version = "3.8" +ignore_missing_imports = true +follow_imports = "silent" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/pytest.ini new/jupyter_console-6.6.3/pytest.ini --- old/jupyter_console-6.4.4/pytest.ini 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/pytest.ini 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -[pytest] -addopts = --durations=10 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/readthedocs.yml new/jupyter_console-6.6.3/readthedocs.yml --- old/jupyter_console-6.4.4/readthedocs.yml 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/readthedocs.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -conda: - file: docs/environment.yml -python: - version: 3 - setup_py_install: true - pip install: true -formats: - - epub - - pdf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/setup.cfg new/jupyter_console-6.6.3/setup.cfg --- old/jupyter_console-6.4.4/setup.cfg 2022-06-22 17:59:20.743765400 +0200 +++ new/jupyter_console-6.6.3/setup.cfg 1970-01-01 01:00:00.000000000 +0100 @@ -1,13 +0,0 @@ -[flake8] -max-line-length = 99 -ignore = W291, E266, E265, E128, E251, E402, E124, E302, W293, E231, E222, W503, E126, E121, W391, E226, E127, W504 - -[metadata] -name = jupyter_console -version = attr: jupyter_console._version.__version__ -license_file = LICENSE - -[egg_info] -tag_build = -tag_date = 0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_console-6.4.4/setup.py new/jupyter_console-6.6.3/setup.py --- old/jupyter_console-6.4.4/setup.py 2022-06-22 17:58:45.000000000 +0200 +++ new/jupyter_console-6.6.3/setup.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,69 +0,0 @@ -#!/usr/bin/env python -# coding: utf-8 - -# Copyright (c) Jupyter Development Team. -# Distributed under the terms of the Modified BSD License. - -from __future__ import print_function - -# the name of the project -name = 'jupyter_console' - -import os - -from setuptools import setup - -pjoin = os.path.join -here = os.path.abspath(os.path.dirname(__file__)) -pkg_root = pjoin(here, name) - -packages = [] -for d, _, _ in os.walk(pjoin(here, name)): - if os.path.exists(pjoin(d, '__init__.py')): - packages.append(d[len(here)+1:].replace(os.path.sep, '.')) - - -setup_args = dict( - name = name, - 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 = 'jupy...@googlegroups.com', - url = 'https://jupyter.org', - license = 'BSD', - platforms = "Linux, Mac OS X, Windows", - keywords = ['Interactive', 'Interpreter', 'Shell', 'Web'], - classifiers = [ - 'Intended Audience :: Developers', - 'Intended Audience :: System Administrators', - 'Intended Audience :: Science/Research', - 'License :: OSI Approved :: BSD License', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - ], - install_requires=[ - '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', - 'pygments', - ], - extras_require={ - 'test:sys_platform != "win32"': ['pexpect'], - }, - python_requires='>=3.7', - entry_points={ - 'console_scripts': [ - 'jupyter-console = jupyter_console.app:main', - ] - } -) - - -if __name__ == '__main__': - setup(**setup_args)