Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ipykernel for 
openSUSE:Factory checked in at 2022-10-23 16:33:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipykernel (Old)
 and      /work/SRC/openSUSE:Factory/.python-ipykernel.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ipykernel"

Sun Oct 23 16:33:05 2022 rev:29 rq:1030494 version:6.16.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipykernel/python-ipykernel.changes        
2022-10-01 17:42:25.429590061 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ipykernel.new.2275/python-ipykernel.changes  
    2022-10-23 16:33:19.879289942 +0200
@@ -1,0 +2,10 @@
+Sat Oct 22 03:37:06 UTC 2022 - Arun Persaud <a...@gmx.de>
+
+- update to version 6.16.1:
+  * Bugs fixed
+    + PR: Destroy tk app to avoid memory leak #1008 (@impact27)
+  * Maintenance and upkeep improvements
+    + Maintenance cleanup #1006 (@blink1073)
+    + Ignore warnings in prereleases test #1002 (@blink1073)
+
+-------------------------------------------------------------------

Old:
----
  ipykernel-6.16.0.tar.gz

New:
----
  ipykernel-6.16.1.tar.gz

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

Other differences:
------------------
++++++ python-ipykernel.spec ++++++
--- /var/tmp/diff_new_pack.0EP77g/_old  2022-10-23 16:33:20.363291131 +0200
+++ /var/tmp/diff_new_pack.0EP77g/_new  2022-10-23 16:33:20.367291141 +0200
@@ -16,10 +16,8 @@
 #
 
 
-%{?!python_module:%define python_module() python3-%{**}}
-%define         skip_python2 1
 Name:           python-ipykernel
-Version:        6.16.0
+Version:        6.16.1
 Release:        0
 Summary:        IPython Kernel for Jupyter
 License:        BSD-3-Clause

++++++ ipykernel-6.16.0.tar.gz -> ipykernel-6.16.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/.flake8 new/ipykernel-6.16.1/.flake8
--- old/ipykernel-6.16.0/.flake8        2020-02-02 01:00:00.000000000 +0100
+++ new/ipykernel-6.16.1/.flake8        1970-01-01 01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-[flake8]
-ignore = E501, W503, E402
-builtins = c, get_config
-exclude =
-    .cache,
-    .github,
-    docs,
-    setup.py
-enable-extensions = G
-extend-ignore =
-    G001, G002, G004, G200, G201, G202,
-    # black adds spaces around ':'
-    E203,
-per-file-ignores =
-    # B011: Do not call assert False since python -O removes these calls
-    # F841 local variable 'foo' is assigned to but never used
-    ipykernel/tests/*: B011, F841
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/.github/workflows/check-release.yml 
new/ipykernel-6.16.1/.github/workflows/check-release.yml
--- old/ipykernel-6.16.0/.github/workflows/check-release.yml    2020-02-02 
01:00:00.000000000 +0100
+++ new/ipykernel-6.16.1/.github/workflows/check-release.yml    2020-02-02 
01:00:00.000000000 +0100
@@ -11,30 +11,9 @@
 jobs:
   check_release:
     runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        group: [check_release, link_check]
-      fail-fast: false
     steps:
-      - name: Checkout
-        uses: actions/checkout@v2
-
-      - name: Checkout
-        uses: actions/checkout@v2
-
-      - name: Base Setup
-        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
-
-      - name: Install Dependencies
-        run: |
-          pip install -e .
-
-      - name: Check Release
-        if: ${{ matrix.group == 'check_release' }}
-        uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1
+      - uses: actions/checkout@v2
+      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+      - uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
         with:
           token: ${{ secrets.GITHUB_TOKEN }}
-
-      - name: Run Link Check
-        if: ${{ matrix.group == 'link_check' }}
-        uses: jupyter-server/jupyter_releaser/.github/actions/check-links@v1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/.github/workflows/ci.yml 
new/ipykernel-6.16.1/.github/workflows/ci.yml
--- old/ipykernel-6.16.0/.github/workflows/ci.yml       2020-02-02 
01:00:00.000000000 +0100
+++ new/ipykernel-6.16.1/.github/workflows/ci.yml       2020-02-02 
01:00:00.000000000 +0100
@@ -11,7 +11,7 @@
 
 defaults:
   run:
-    shell: bash
+    shell: bash -eux {0}
 
 jobs:
   build:
@@ -26,6 +26,8 @@
             python-version: "3.9"
           - os: ubuntu-latest
             python-version: "pypy-3.7"
+          - os: ubuntu-latest
+            python-version: "3.11-dev"
           - os: macos-latest
             python-version: "3.8"
     steps:
@@ -63,18 +65,18 @@
         timeout-minutes: 15
         if: ${{ !startsWith( matrix.python-version, 'pypy' ) && 
!startsWith(matrix.os, 'windows') }}
         run: |
-          cmd="python -m pytest -vv --cov ipykernel --cov-branch --cov-report 
term-missing:skip-covered"
-          $cmd || $cmd --lf
+          hatch run cov:test || hatch run test:test --lf
 
       - name: Run the tests on pypy and windows
         timeout-minutes: 15
         if: ${{ startsWith( matrix.python-version, 'pypy' ) || 
startsWith(matrix.os, 'windows') }}
         run: |
-          cmd="python -m pytest -vv"
-          $cmd || $cmd --lf
+          pip install -e ".[test]"
+          pytest -vv || pytest -vv --lf
 
       - name: Coverage
         run: |
+          pip install codecov
           codecov
 
       - name: Check Launcher
@@ -82,57 +84,19 @@
           cd $HOME
           python -m ipykernel_launcher --help
 
-  pre-commit:
-    name: pre-commit
+  pre_commit:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
-      - uses: actions/setup-python@v2
-      - uses: pre-commit/action@v2.0.0
-        with:
-          extra_args: --all-files --hook-stage=manual
-      - name: Help message if pre-commit fail
-        if: ${{ failure() }}
-        run: |
-          echo "You can install pre-commit hooks to automatically run 
formatting"
-          echo "on each commit with:"
-          echo "    pre-commit install"
-          echo "or you can run by hand on staged files with"
-          echo "    pre-commit run"
-          echo "or after-the-fact on already committed files with"
-          echo "    pre-commit run --all-files --hook-stage=manual"
+      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+      - uses: jupyterlab/maintainer-tools/.github/actions/pre-commit@v1
 
   test_docs:
-    runs-on: ${{ matrix.os }}
-    strategy:
-      fail-fast: false
-      matrix:
-        os: [ubuntu-latest]
-        python-version: ["3.9"]
-        exclude:
-          - os: windows-latest
-            python-version: pypy-3.7
+    runs-on: ubuntu-latest
     steps:
-      - name: Checkout
-        uses: actions/checkout@v2
-
-      - name: Base Setup
-        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
-
-      - name: Build the docs
-        run: |
-          cd docs
-          pip install -r requirements.txt
-          make html SPHINXOPTS="-W"
-
-      - name: Install the Python dependencies
-        run: |
-          pip install  .
-          pip install velin
-
-      - name: Check Docstrings
-        run: |
-          velin . --check --compact
+      - uses: actions/checkout@v2
+      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+      - run: hatch run docs:build
 
   test_without_debugpy:
     runs-on: ${{ matrix.os }}
@@ -159,9 +123,7 @@
 
       - name: Run the tests
         timeout-minutes: 10
-        run: |
-          cmd="python -m pytest -vv"
-          $cmd || $cmd --lf
+        run: hatch run test:test
 
   test_miniumum_versions:
     name: Test Minimum Versions
@@ -177,8 +139,7 @@
         uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1
       - name: Run the unit tests
         run: |
-          cmd="python -m pytest -vv -W default"
-          $cmd || $cmd --lf
+          pytest -vv -W default || pytest -vv -W default --lf
 
   test_prereleases:
     name: Test Prereleases
@@ -198,8 +159,7 @@
           pip check
       - name: Run the tests
         run: |
-          cmd="python -m pytest -vv"
-          $cmd || $cmd --lf
+          pytest -vv -W default || pytest -vv -W default --lf
 
   make_sdist:
     name: Make SDist
@@ -207,16 +167,8 @@
     timeout-minutes: 20
     steps:
       - uses: actions/checkout@v2
-      - name: Base Setup
-        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
-      - name: Build SDist
-        run: |
-          pip install build
-          python -m build --sdist
-      - uses: actions/upload-artifact@v2
-        with:
-          name: "sdist"
-          path: dist/*.tar.gz
+      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+      - uses: jupyterlab/maintainer-tools/.github/actions/make-sdist@v1
 
   test_sdist:
     runs-on: ubuntu-latest
@@ -224,20 +176,30 @@
     name: Install from SDist and Test
     timeout-minutes: 20
     steps:
-      - name: Base Setup
-        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
-      - name: Download sdist
-        uses: actions/download-artifact@v2
-      - name: Install From SDist
-        run: |
-          set -ex
-          cd sdist
-          mkdir test
-          tar --strip-components=1 -zxvf *.tar.gz -C ./test
-          cd test
-          pip install .[test]
-      - name: Run Test
-        run: |
-          cd sdist/test
-          cmd="python -m pytest -vv"
-          $cmd || $cmd --lf
+      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+      - uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1
+
+  link_check:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+      - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1
+
+  tests_check: # This job does nothing and is only used for the branch 
protection
+    if: always()
+    needs:
+      - build
+      - test_docs
+      - test_without_debugpy
+      - test_miniumum_versions
+      - pre_commit
+      - test_prereleases
+      - link_check
+      - test_sdist
+    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/ipykernel-6.16.0/.pre-commit-config.yaml 
new/ipykernel-6.16.1/.pre-commit-config.yaml
--- old/ipykernel-6.16.0/.pre-commit-config.yaml        2020-02-02 
01:00:00.000000000 +0100
+++ new/ipykernel-6.16.1/.pre-commit-config.yaml        2020-02-02 
01:00:00.000000000 +0100
@@ -17,11 +17,17 @@
       - id: trailing-whitespace
 
   - repo: https://github.com/psf/black
-    rev: 22.8.0
+    rev: 22.10.0
     hooks:
       - id: black
         args: ["--line-length", "100"]
 
+  - repo: https://github.com/Carreau/velin
+    rev: 0.0.12
+    hooks:
+      - id: velin
+        args: ["ipykernel"]
+
   - repo: https://github.com/PyCQA/isort
     rev: 5.10.1
     hooks:
@@ -29,10 +35,16 @@
         files: \.py$
         args: [--profile=black]
 
-  - repo: https://github.com/pre-commit/mirrors-prettier
-    rev: v3.0.0-alpha.0
+  - repo: https://github.com/abravalheri/validate-pyproject
+    rev: v0.10.1
+    hooks:
+      - id: validate-pyproject
+        stages: [manual]
+
+  - repo: https://github.com/executablebooks/mdformat
+    rev: 0.7.16
     hooks:
-      - id: prettier
+      - id: mdformat
 
   - repo: https://github.com/PyCQA/doc8
     rev: v1.0.0
@@ -42,7 +54,7 @@
         stages: [manual]
 
   - repo: https://github.com/pre-commit/mirrors-mypy
-    rev: v0.971
+    rev: v0.982
     hooks:
       - id: mypy
         exclude: "ipykernel.*tests"
@@ -51,16 +63,17 @@
           [tornado, jupyter_client, pytest, traitlets, jupyter_core]
         stages: [manual]
 
-  - repo: https://github.com/pycqa/flake8
-    rev: 5.0.4
+  - repo: https://github.com/john-hen/Flake8-pyproject
+    rev: 1.1.0.post0
     hooks:
-      - id: flake8
+      - id: Flake8-pyproject
+        alias: flake8
         additional_dependencies:
           ["flake8-bugbear==22.6.22", "flake8-implicit-str-concat==0.2.0"]
         stages: [manual]
 
   - repo: https://github.com/pre-commit/mirrors-eslint
-    rev: v8.23.1
+    rev: v8.25.0
     hooks:
       - id: eslint
         stages: [manual]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/.readthedocs.yaml 
new/ipykernel-6.16.1/.readthedocs.yaml
--- old/ipykernel-6.16.0/.readthedocs.yaml      1970-01-01 01:00:00.000000000 
+0100
+++ new/ipykernel-6.16.1/.readthedocs.yaml      2020-02-02 01:00:00.000000000 
+0100
@@ -0,0 +1,11 @@
+version: 2
+sphinx:
+  configuration: docs/conf.py
+python:
+  version: 3.8
+  install:
+    # install itself with pip install .
+    - method: pip
+      path: .
+      extra_requirements:
+        - docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/CHANGELOG.md 
new/ipykernel-6.16.1/CHANGELOG.md
--- old/ipykernel-6.16.0/CHANGELOG.md   2020-02-02 01:00:00.000000000 +0100
+++ new/ipykernel-6.16.1/CHANGELOG.md   2020-02-02 01:00:00.000000000 +0100
@@ -2,6 +2,27 @@
 
 <!-- <START NEW CHANGELOG ENTRY> -->
 
+## 6.16.1
+
+([Full 
Changelog](https://github.com/ipython/ipykernel/compare/v6.16.0...632a1ba3892bed707e1ee19fe1344e92475e19c9))
+
+### Bugs fixed
+
+- PR: Destroy tk app to avoid memory leak 
[#1008](https://github.com/ipython/ipykernel/pull/1008) 
([@impact27](https://github.com/impact27))
+
+### Maintenance and upkeep improvements
+
+- Maintenance cleanup [#1006](https://github.com/ipython/ipykernel/pull/1006) 
([@blink1073](https://github.com/blink1073))
+- Ignore warnings in prereleases test 
[#1002](https://github.com/ipython/ipykernel/pull/1002) 
([@blink1073](https://github.com/blink1073))
+
+### Contributors to this release
+
+([GitHub contributors page for this 
release](https://github.com/ipython/ipykernel/graphs/contributors?from=2022-09-26&to=2022-10-20&type=c))
+
+[@blink1073](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Ablink1073+updated%3A2022-09-26..2022-10-20&type=Issues)
 | 
[@impact27](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Aimpact27+updated%3A2022-09-26..2022-10-20&type=Issues)
 | 
[@pre-commit-ci](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Apre-commit-ci+updated%3A2022-09-26..2022-10-20&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
 ## 6.16.0
 
 ([Full 
Changelog](https://github.com/ipython/ipykernel/compare/v6.15.3...92292ad9d844e594e9c97f7f391149023e58de9e))
@@ -18,8 +39,6 @@
 
 
[@blink1073](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Ablink1073+updated%3A2022-09-13..2022-09-26&type=Issues)
 | 
[@pre-commit-ci](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Apre-commit-ci+updated%3A2022-09-13..2022-09-26&type=Issues)
 
-<!-- <END NEW CHANGELOG ENTRY> -->
-
 ## 6.15.3
 
 ([Full 
Changelog](https://github.com/ipython/ipykernel/compare/v6.15.2...861b1242a7601f1608707ed8bbfb6e801914cb4a))
@@ -31,10 +50,10 @@
 
 ### Maintenance and upkeep improvements
 
-- [pre-commit.ci] pre-commit autoupdate 
[#989](https://github.com/ipython/ipykernel/pull/989) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
-- [pre-commit.ci] pre-commit autoupdate 
[#985](https://github.com/ipython/ipykernel/pull/985) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#989](https://github.com/ipython/ipykernel/pull/989) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#985](https://github.com/ipython/ipykernel/pull/985) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
 - Add python logo in svg format 
[#984](https://github.com/ipython/ipykernel/pull/984) 
([@steff456](https://github.com/steff456))
-- [pre-commit.ci] pre-commit autoupdate 
[#982](https://github.com/ipython/ipykernel/pull/982) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#982](https://github.com/ipython/ipykernel/pull/982) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
 
 ### Contributors to this release
 
@@ -52,13 +71,13 @@
 
 ### Maintenance and upkeep improvements
 
-- [pre-commit.ci] pre-commit autoupdate 
[#978](https://github.com/ipython/ipykernel/pull/978) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
-- [pre-commit.ci] pre-commit autoupdate 
[#977](https://github.com/ipython/ipykernel/pull/977) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
-- [pre-commit.ci] pre-commit autoupdate 
[#976](https://github.com/ipython/ipykernel/pull/976) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
-- [pre-commit.ci] pre-commit autoupdate 
[#974](https://github.com/ipython/ipykernel/pull/974) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
-- [pre-commit.ci] pre-commit autoupdate 
[#971](https://github.com/ipython/ipykernel/pull/971) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
-- [pre-commit.ci] pre-commit autoupdate 
[#968](https://github.com/ipython/ipykernel/pull/968) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
-- [pre-commit.ci] pre-commit autoupdate 
[#966](https://github.com/ipython/ipykernel/pull/966) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#978](https://github.com/ipython/ipykernel/pull/978) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#977](https://github.com/ipython/ipykernel/pull/977) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#976](https://github.com/ipython/ipykernel/pull/976) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#974](https://github.com/ipython/ipykernel/pull/974) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#971](https://github.com/ipython/ipykernel/pull/971) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#968](https://github.com/ipython/ipykernel/pull/968) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#966](https://github.com/ipython/ipykernel/pull/966) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
 
 ### Contributors to this release
 
@@ -76,9 +95,9 @@
 
 ### Maintenance and upkeep improvements
 
-- [pre-commit.ci] pre-commit autoupdate 
[#962](https://github.com/ipython/ipykernel/pull/962) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
-- [pre-commit.ci] pre-commit autoupdate 
[#961](https://github.com/ipython/ipykernel/pull/961) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
-- [pre-commit.ci] pre-commit autoupdate 
[#960](https://github.com/ipython/ipykernel/pull/960) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#962](https://github.com/ipython/ipykernel/pull/962) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#961](https://github.com/ipython/ipykernel/pull/961) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#960](https://github.com/ipython/ipykernel/pull/960) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
 
 ### Contributors to this release
 
@@ -98,7 +117,7 @@
 
 - Back to top-level tornado IOLoop 
[#958](https://github.com/ipython/ipykernel/pull/958) 
([@minrk](https://github.com/minrk))
 - Explicitly require pyzmq >= 17 
[#957](https://github.com/ipython/ipykernel/pull/957) 
([@minrk](https://github.com/minrk))
-- [pre-commit.ci] pre-commit autoupdate 
[#954](https://github.com/ipython/ipykernel/pull/954) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#954](https://github.com/ipython/ipykernel/pull/954) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
 
 ### Contributors to this release
 
@@ -122,7 +141,7 @@
 ### Maintenance and upkeep improvements
 
 - Fix sphinx 5.0 support [#951](https://github.com/ipython/ipykernel/pull/951) 
([@blink1073](https://github.com/blink1073))
-- [pre-commit.ci] pre-commit autoupdate 
[#950](https://github.com/ipython/ipykernel/pull/950) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#950](https://github.com/ipython/ipykernel/pull/950) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
 
 ### Contributors to this release
 
@@ -141,18 +160,18 @@
 
 ### Maintenance and upkeep improvements
 
-- [pre-commit.ci] pre-commit autoupdate 
[#945](https://github.com/ipython/ipykernel/pull/945) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#945](https://github.com/ipython/ipykernel/pull/945) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
 - Clean up typings [#939](https://github.com/ipython/ipykernel/pull/939) 
([@blink1073](https://github.com/blink1073))
-- [pre-commit.ci] pre-commit autoupdate 
[#938](https://github.com/ipython/ipykernel/pull/938) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#938](https://github.com/ipython/ipykernel/pull/938) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
 - Clean up types [#933](https://github.com/ipython/ipykernel/pull/933) 
([@blink1073](https://github.com/blink1073))
-- [pre-commit.ci] pre-commit autoupdate 
[#932](https://github.com/ipython/ipykernel/pull/932) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#932](https://github.com/ipython/ipykernel/pull/932) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
 - Switch to hatch backend 
[#931](https://github.com/ipython/ipykernel/pull/931) 
([@blink1073](https://github.com/blink1073))
-- [pre-commit.ci] pre-commit autoupdate 
[#928](https://github.com/ipython/ipykernel/pull/928) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
-- [pre-commit.ci] pre-commit autoupdate 
[#926](https://github.com/ipython/ipykernel/pull/926) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#928](https://github.com/ipython/ipykernel/pull/928) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#926](https://github.com/ipython/ipykernel/pull/926) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
 - Allow enforce PR label workflow to add labels 
[#921](https://github.com/ipython/ipykernel/pull/921) 
([@blink1073](https://github.com/blink1073))
-- [pre-commit.ci] pre-commit autoupdate 
[#920](https://github.com/ipython/ipykernel/pull/920) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
-- [pre-commit.ci] pre-commit autoupdate 
[#919](https://github.com/ipython/ipykernel/pull/919) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
-- [pre-commit.ci] pre-commit autoupdate 
[#917](https://github.com/ipython/ipykernel/pull/917) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#920](https://github.com/ipython/ipykernel/pull/920) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#919](https://github.com/ipython/ipykernel/pull/919) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#917](https://github.com/ipython/ipykernel/pull/917) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
 
 ### Contributors to this release
 
@@ -177,7 +196,7 @@
 - Add basic mypy support [#913](https://github.com/ipython/ipykernel/pull/913) 
([@blink1073](https://github.com/blink1073))
 - Clean up pre-commit [#911](https://github.com/ipython/ipykernel/pull/911) 
([@blink1073](https://github.com/blink1073))
 - Update setup.py [#909](https://github.com/ipython/ipykernel/pull/909) 
([@tlinhart](https://github.com/tlinhart))
-- [pre-commit.ci] pre-commit autoupdate 
[#906](https://github.com/ipython/ipykernel/pull/906) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
+- \[pre-commit.ci\] pre-commit autoupdate 
[#906](https://github.com/ipython/ipykernel/pull/906) 
([@pre-commit-ci](https://github.com/pre-commit-ci))
 
 ### Contributors to this release
 
@@ -595,7 +614,7 @@
 
 - Add watchfd keyword to InProcessKernel OutStream initialization 
[#727](https://github.com/ipython/ipykernel/pull/727) 
([@rayosborn](https://github.com/rayosborn))
 - Fix typo in eventloops.py 
[#711](https://github.com/ipython/ipykernel/pull/711) 
([@selasley](https://github.com/selasley))
-- [bugfix] fix in setup.py (comma before appnope) 
[#709](https://github.com/ipython/ipykernel/pull/709) 
([@jstriebel](https://github.com/jstriebel))
+- \[bugfix\] fix in setup.py (comma before appnope) 
[#709](https://github.com/ipython/ipykernel/pull/709) 
([@jstriebel](https://github.com/jstriebel))
 
 ### Maintenance and upkeep improvements
 
@@ -790,8 +809,8 @@
 
 ### 5.4.2
 
-- Revert \"Fix stop_on_error_timeout blocking other messages in
-  queue\". [#570](https://github.com/ipython/ipykernel/pull/570)
+- Revert "Fix stop_on_error_timeout blocking other messages in
+  queue". [#570](https://github.com/ipython/ipykernel/pull/570)
 
 ### 5.4.1
 
@@ -805,7 +824,7 @@
 - Add github actions, bail on asyncio patch for tornado 6.1.
   [#564](https://github.com/ipython/ipykernel/pull/564)
 - Start testing on Python 3.9. 
[#551](https://github.com/ipython/ipykernel/pull/551)
-- Fix stack levels for ipykernel\'s deprecation warnings and stop
+- Fix stack levels for ipykernel's deprecation warnings and stop
   using some deprecated APIs. 
[#547](https://github.com/ipython/ipykernel/pull/547)
 - Add env parameter to kernel installation 
[#541](https://github.com/ipython/ipykernel/pull/541)
 - Fix stop_on_error_timeout blocking other messages in queue.
@@ -831,7 +850,7 @@
 
 ### 5.3.1
 
-- Fix \#520: run post_execute and post_run_cell on async cells
+- Fix #520: run post_execute and post_run_cell on async cells
   [#521](https://github.com/ipython/ipykernel/pull/521)
 - Fix exception causes in zmqshell.py 
[#516](https://github.com/ipython/ipykernel/pull/516)
 - Make pdb on Windows interruptible 
[#490](https://github.com/ipython/ipykernel/pull/490)
@@ -893,7 +912,7 @@
   shutdown ([#433](https://github.com/ipython/ipykernel/pull/433), 
[#435](https://github.com/ipython/ipykernel/pull/435))
 - Fix `Heartbeat._bind_socket` to return on the first bind 
([#431](https://github.com/ipython/ipykernel/pull/431))
 - Moved `InProcessKernelClient.flush` to `DummySocket` 
([#437](https://github.com/ipython/ipykernel/pull/437))
-- Don\'t redirect stdout if nose machinery is not present 
([#427](https://github.com/ipython/ipykernel/pull/427))
+- Don't redirect stdout if nose machinery is not present 
([#427](https://github.com/ipython/ipykernel/pull/427))
 - Rename `_asyncio.py` to
   `_asyncio_utils.py` to avoid name conflicts on Python
   3.6+ ([#426](https://github.com/ipython/ipykernel/pull/426))
@@ -940,8 +959,8 @@
 
 [5.0.0 on GitHub](https://github.com/ipython/ipykernel/milestones/5.0)
 
-- Drop support for Python 2. `ipykernel` 5.0 requires Python \>= 3.4
-- Add support for IPython\'s asynchronous code execution
+- Drop support for Python 2. `ipykernel` 5.0 requires Python >= 3.4
+- Add support for IPython's asynchronous code execution
   [#323](https://github.com/ipython/ipykernel/pull/323)
 - Update release process in `CONTRIBUTING.md` 
[#339](https://github.com/ipython/ipykernel/pull/339)
 
@@ -1037,31 +1056,31 @@
 - Support new `transient` key in
   `display_data` messages spec for `publish`.
   For a display data message, `transient` contains data
-  that shouldn\'t be persisted to files or documents. Add a
+  that shouldn't be persisted to files or documents. Add a
   `display_id` to this `transient` dict by
   `display(obj, display_id=\...)`
 
 - Add `ipykernel_launcher` module which removes the
   current working directory from `sys.path` before
   launching the kernel. This helps to reduce the cases where the
-  kernel won\'t start because there\'s a `random.py` (or
+  kernel won't start because there's a `random.py` (or
   similar) module in the current working directory.
 
 - Add busy/idle messages on IOPub during processing of aborted
   requests
 
 - Add active event loop setting to GUI, which enables the correct
-  response to IPython\'s `is_event_loop_running_xxx`
+  response to IPython's `is_event_loop_running_xxx`
 
-- Include IPython kernelspec in wheels to reduce reliance on \"native
-  kernel spec\" in jupyter_client
+- Include IPython kernelspec in wheels to reduce reliance on "native
+  kernel spec" in jupyter_client
 
 - Modify `OutStream` to inherit from
   `TextIOBase` instead of object to improve API support
   and error reporting
 
-- Fix IPython kernel death messages at start, such as \"Kernel
-  Restarting\...\" and \"Kernel appears to have died\", when
+- Fix IPython kernel death messages at start, such as "Kernel
+  Restarting..." and "Kernel appears to have died", when
   parent-poller handles PID 1
 
 - Various bugfixes
@@ -1113,7 +1132,7 @@
 
 - Use
   
[MPLBACKEND](http://matplotlib.org/devel/coding_guide.html?highlight=mplbackend#developing-a-new-backend)
-  environment variable to tell matplotlib \>= 1.5 use use the inline
+  environment variable to tell matplotlib >= 1.5 use use the inline
   backend by default. This is only done if MPLBACKEND is not already
   set and no backend has been explicitly loaded, so setting
   `MPLBACKEND=Qt4Agg` or calling `%matplotlib notebook` or
@@ -1124,7 +1143,7 @@
   `ipython kernel install`.
 - Allow Comm (Widget) messages to be sent from background threads.
 - Select inline matplotlib backend by default if `%matplotlib` magic
-  or `matplotlib.use()` are not called explicitly (for matplotlib \>=
+  or `matplotlib.use()` are not called explicitly (for matplotlib >=
   1.5).
 - Fix some longstanding minor deviations from the message protocol
   (missing status: ok in a few replies, connect_reply format).
@@ -1149,9 +1168,12 @@
 - Publish all IO in a thread, via `IOPubThread`. This solves the problem of 
requiring
   `sys.stdout.flush` to be called in
   the notebook to produce output promptly during long-running cells.
+
 - Remove references to outdated IPython guiref in kernel banner.
+
 - Patch faulthandler to use `sys.__stderr__` instead of forwarded
   `sys.stderr`, which has no fileno when forwarded.
+
 - Deprecate some vestiges of the Big Split:
 
   - `ipykernel.find_connection_file`
@@ -1167,7 +1189,7 @@
 
 [4.2.2 on GitHub](https://github.com/ipython/ipykernel/milestones/4.2.2)
 
-- Don\'t show interactive debugging info when kernel crashes
+- Don't show interactive debugging info when kernel crashes
 - Fix handling of numerical types in json_clean
 - Testing fixes for output capturing
 
@@ -1175,7 +1197,7 @@
 
 [4.2.1 on GitHub](https://github.com/ipython/ipykernel/milestones/4.2.1)
 
-- Fix default display name back to \"Python X\" instead of \"pythonX\"
+- Fix default display name back to "Python X" instead of "pythonX"
 
 ### 4.2.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/CONTRIBUTING.md 
new/ipykernel-6.16.1/CONTRIBUTING.md
--- old/ipykernel-6.16.0/CONTRIBUTING.md        2020-02-02 01:00:00.000000000 
+0100
+++ new/ipykernel-6.16.1/CONTRIBUTING.md        2020-02-02 01:00:00.000000000 
+0100
@@ -25,12 +25,16 @@
 the pre-commit hook should take care of how it should look.
 To install `pre-commit`, run the following::
 
-    pip install pre-commit
-    pre-commit install
+```
+pip install pre-commit
+pre-commit install
+```
 
 You can invoke the pre-commit hook by hand at any time with::
 
-    pre-commit run
+```
+pre-commit run
+```
 
 which should run any autoformatting on your code
 and tell you about any errors it couldn't fix automatically.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/COPYING.md 
new/ipykernel-6.16.1/COPYING.md
--- old/ipykernel-6.16.0/COPYING.md     2020-02-02 01:00:00.000000000 +0100
+++ new/ipykernel-6.16.1/COPYING.md     2020-02-02 01:00:00.000000000 +0100
@@ -55,5 +55,7 @@
 With this in mind, the following banner should be used in any source code file
 to indicate the copyright and license terms:
 
-    # Copyright (c) IPython Development Team.
-    # Distributed under the terms of the Modified BSD License.
+```
+# Copyright (c) IPython Development Team.
+# Distributed under the terms of the Modified BSD License.
+```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/PKG-INFO 
new/ipykernel-6.16.1/PKG-INFO
--- old/ipykernel-6.16.0/PKG-INFO       2020-02-02 01:00:00.000000000 +0100
+++ new/ipykernel-6.16.1/PKG-INFO       2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: ipykernel
-Version: 6.16.0
+Version: 6.16.1
 Summary: IPython Kernel for Jupyter
 Project-URL: Homepage, https://ipython.org
 Author-email: IPython Development Team <ipython-...@scipy.org>
@@ -61,8 +61,10 @@
         With this in mind, the following banner should be used in any source 
code file
         to indicate the copyright and license terms:
         
-            # Copyright (c) IPython Development Team.
-            # Distributed under the terms of the Modified BSD License.
+        ```
+        # Copyright (c) IPython Development Team.
+        # Distributed under the terms of the Modified BSD License.
+        ```
 License-File: COPYING.md
 Keywords: Interactive,Interpreter,Shell,Web
 Classifier: Intended Audience :: Developers
@@ -87,13 +89,18 @@
 Requires-Dist: pyzmq>=17
 Requires-Dist: tornado>=6.1
 Requires-Dist: traitlets>=5.1.0
+Provides-Extra: docs
+Requires-Dist: myst-parser; extra == 'docs'
+Requires-Dist: pydata-sphinx-theme; extra == 'docs'
+Requires-Dist: sphinx; extra == 'docs'
+Requires-Dist: sphinxcontrib-github-alt; extra == 'docs'
 Provides-Extra: test
 Requires-Dist: flaky; extra == 'test'
 Requires-Dist: ipyparallel; extra == 'test'
 Requires-Dist: pre-commit; extra == 'test'
 Requires-Dist: pytest-cov; extra == 'test'
 Requires-Dist: pytest-timeout; extra == 'test'
-Requires-Dist: pytest>=6.0; extra == 'test'
+Requires-Dist: pytest>=7.0; extra == 'test'
 Description-Content-Type: text/markdown
 
 # IPython Kernel for Jupyter
@@ -103,8 +110,8 @@
 ## Installation from source
 
 1. `git clone`
-2. `cd ipykernel`
-3. `pip install -e ".[test]"`
+1. `cd ipykernel`
+1. `pip install -e ".[test]"`
 
 After that, all normal `ipython` commands will use this newly-installed 
version of the kernel.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/README.md 
new/ipykernel-6.16.1/README.md
--- old/ipykernel-6.16.0/README.md      2020-02-02 01:00:00.000000000 +0100
+++ new/ipykernel-6.16.1/README.md      2020-02-02 01:00:00.000000000 +0100
@@ -5,8 +5,8 @@
 ## Installation from source
 
 1. `git clone`
-2. `cd ipykernel`
-3. `pip install -e ".[test]"`
+1. `cd ipykernel`
+1. `pip install -e ".[test]"`
 
 After that, all normal `ipython` commands will use this newly-installed 
version of the kernel.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/docs/conf.py 
new/ipykernel-6.16.1/docs/conf.py
--- old/ipykernel-6.16.0/docs/conf.py   2020-02-02 01:00:00.000000000 +0100
+++ new/ipykernel-6.16.1/docs/conf.py   2020-02-02 01:00:00.000000000 +0100
@@ -122,7 +122,7 @@
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
-# html_theme = 'alabaster'
+html_theme = "pydata_sphinx_theme"
 
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/docs/requirements.txt 
new/ipykernel-6.16.1/docs/requirements.txt
--- old/ipykernel-6.16.0/docs/requirements.txt  2020-02-02 01:00:00.000000000 
+0100
+++ new/ipykernel-6.16.1/docs/requirements.txt  1970-01-01 01:00:00.000000000 
+0100
@@ -1,2 +0,0 @@
-myst_parser
-sphinxcontrib_github_alt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/ipykernel/_version.py 
new/ipykernel-6.16.1/ipykernel/_version.py
--- old/ipykernel-6.16.0/ipykernel/_version.py  2020-02-02 01:00:00.000000000 
+0100
+++ new/ipykernel-6.16.1/ipykernel/_version.py  2020-02-02 01:00:00.000000000 
+0100
@@ -5,7 +5,7 @@
 from typing import List
 
 # Version string must appear intact for hatch versioning
-__version__ = "6.16.0"
+__version__ = "6.16.1"
 
 # Build up version_info tuple for backwards compatibility
 pattern = r"(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/ipykernel/connect.py 
new/ipykernel-6.16.1/ipykernel/connect.py
--- old/ipykernel-6.16.0/ipykernel/connect.py   2020-02-02 01:00:00.000000000 
+0100
+++ new/ipykernel-6.16.1/ipykernel/connect.py   2020-02-02 01:00:00.000000000 
+0100
@@ -57,6 +57,7 @@
 
         If unspecified, the connection file for the currently running
         IPython Kernel will be used, which is only allowed from inside a 
kernel.
+
     unpack : bool [default: False]
         if True, return the unpacked dict, otherwise just the string contents
         of the file.
@@ -95,6 +96,7 @@
 
         If unspecified, the connection file for the currently running
         IPython Kernel will be used, which is only allowed from inside a 
kernel.
+
     argv : list [optional]
         Any extra args to be passed to the console.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/ipykernel/eventloops.py 
new/ipykernel-6.16.1/ipykernel/eventloops.py
--- old/ipykernel-6.16.0/ipykernel/eventloops.py        2020-02-02 
01:00:00.000000000 +0100
+++ new/ipykernel-6.16.1/ipykernel/eventloops.py        2020-02-02 
01:00:00.000000000 +0100
@@ -247,6 +247,8 @@
             if stream.flush(limit=1):
                 app.tk.deletefilehandler(stream.getsockopt(zmq.FD))
                 app.quit()
+                app.destroy()
+                del kernel.app_wrapper
 
         # For Tkinter, we create a Tk object and call its withdraw method.
         kernel.app_wrapper = BasicAppWrapper(app)
@@ -297,7 +299,8 @@
 def loop_tk_exit(kernel):
     try:
         kernel.app_wrapper.app.destroy()
-    except RuntimeError:
+        del kernel.app_wrapper
+    except (RuntimeError, AttributeError):
         pass
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/ipykernel/iostream.py 
new/ipykernel-6.16.1/ipykernel/iostream.py
--- old/ipykernel-6.16.0/ipykernel/iostream.py  2020-02-02 01:00:00.000000000 
+0100
+++ new/ipykernel-6.16.1/ipykernel/iostream.py  2020-02-02 01:00:00.000000000 
+0100
@@ -346,8 +346,16 @@
         """
         Parameters
         ----------
+        session : object
+            the session object
+        pub_thread : threading.Thread
+            the publication thread
         name : str {'stderr', 'stdout'}
             the name of the standard stream to replace
+        pipe : object
+            the pip object
+        echo : bool
+            whether to echo output
         watchfd : bool (default, True)
             Watch the file descripttor corresponding to the replaced stream.
             This is useful if you know some underlying code will write directly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/ipykernel/tests/test_kernel.py 
new/ipykernel-6.16.1/ipykernel/tests/test_kernel.py
--- old/ipykernel-6.16.0/ipykernel/tests/test_kernel.py 2020-02-02 
01:00:00.000000000 +0100
+++ new/ipykernel-6.16.1/ipykernel/tests/test_kernel.py 2020-02-02 
01:00:00.000000000 +0100
@@ -72,7 +72,6 @@
 
 @pytest.mark.skip(reason="Currently don't capture during test as pytest does 
its own capturing")
 def test_subprocess_peek_at_stream_fileno():
-    """"""
     with kernel() as kc:
         iopub = kc.iopub_channel
         msg_id, content = execute(
@@ -417,7 +416,6 @@
 
 @pytest.mark.skipif(os.name == "nt", reason="Message based interrupt not 
supported on Windows")
 def test_interrupt_with_message():
-    """ """
     with new_kernel() as kc:
         km = kc.parent
         km.kernel_spec.interrupt_mode = "message"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/pyproject.toml 
new/ipykernel-6.16.1/pyproject.toml
--- old/ipykernel-6.16.0/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/ipykernel-6.16.1/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -39,8 +39,14 @@
 ]
 
 [project.optional-dependencies]
+docs = [
+  "sphinx",
+  "myst_parser",
+  "pydata_sphinx_theme",
+  "sphinxcontrib_github_alt"
+]
 test = [
-    "pytest>=6.0",
+    "pytest>=7.0",
     "pytest-cov",
     "flaky",
     "ipyparallel",
@@ -60,8 +66,24 @@
 [tool.hatch.build.force-include]
 "./ipykernel_launcher.py" = "ipykernel_launcher.py"
 
-[tool.jupyter-releaser]
-skip = ["check-links"]
+[tool.hatch.envs.docs]
+features = ["docs"]
+[tool.hatch.envs.docs.scripts]
+build = "make -C docs html SPHINXOPTS='-W'"
+
+[tool.hatch.envs.test]
+features = ["test"]
+[tool.hatch.envs.test.scripts]
+test = "python -m pytest -vv {args}"
+nowarn = "python -m pytest -vv -W default {args}"
+
+[tool.hatch.envs.cov]
+features = ["test"]
+dependencies = ["coverage", "pytest-cov"]
+[tool.hatch.envs.cov.env-vars]
+ARGS = "-vv --cov ipykernel --cov-branch --cov-report 
term-missing:skip-covered"
+[tool.hatch.envs.cov.scripts]
+test = "python -m pytest $ARGS --cov-fail-under 50 {args}"
 
 [tool.mypy]
 check_untyped_defs = true
@@ -103,3 +125,24 @@
   "ignore:unclosed event loop:ResourceWarning",
   "ignore:There is no current event loop:DeprecationWarning"
 ]
+
+[tool.flake8]
+ignore = "E501, W503, E402"
+builtins = "c, get_config"
+exclude = [
+    ".cache",
+    ".github",
+    "docs",
+    "setup.py",
+]
+enable-extensions = "G"
+extend-ignore = [
+    "G001", "G002", "G004", "G200", "G201", "G202",
+    # black adds spaces around ':'
+    "E203",
+]
+per-file-ignores = [
+    # B011: Do not call assert False since python -O removes these calls
+    # F841 local variable 'foo' is assigned to but never used
+    "ipykernel/tests/*: B011", "F841",
+]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipykernel-6.16.0/readthedocs.yml 
new/ipykernel-6.16.1/readthedocs.yml
--- old/ipykernel-6.16.0/readthedocs.yml        2020-02-02 01:00:00.000000000 
+0100
+++ new/ipykernel-6.16.1/readthedocs.yml        1970-01-01 01:00:00.000000000 
+0100
@@ -1,4 +0,0 @@
-python:
-  version: 3.8
-  pip_install: true
-requirements_file: docs/requirements.txt

Reply via email to