Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-notebook for openSUSE:Factory checked in at 2023-04-24 22:31:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-notebook (Old) and /work/SRC/openSUSE:Factory/.python-notebook.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-notebook" Mon Apr 24 22:31:00 2023 rev:25 rq:1082298 version:6.5.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-notebook/python-notebook.changes 2023-04-04 21:27:33.311623134 +0200 +++ /work/SRC/openSUSE:Factory/.python-notebook.new.1533/python-notebook.changes 2023-04-24 22:31:03.199453602 +0200 @@ -1,0 +2,7 @@ +Sun Apr 23 17:28:42 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 6.5.4 + * Add show_banner trait to control the banner display #6808 + (@echarles) + +------------------------------------------------------------------- Old: ---- notebook-6.5.3.tar.gz New: ---- notebook-6.5.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-notebook.spec ++++++ --- /var/tmp/diff_new_pack.xXtjTt/_old 2023-04-24 22:31:04.167459356 +0200 +++ /var/tmp/diff_new_pack.xXtjTt/_new 2023-04-24 22:31:04.171459379 +0200 @@ -34,7 +34,7 @@ %bcond_with libalternatives %endif Name: python-notebook%{psuffix} -Version: 6.5.3 +Version: 6.5.4 Release: 0 Summary: Jupyter Notebook interface License: BSD-3-Clause ++++++ notebook-6.5.3.tar.gz -> notebook-6.5.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/notebook-6.5.3/CHANGELOG.md new/notebook-6.5.4/CHANGELOG.md --- old/notebook-6.5.3/CHANGELOG.md 2023-03-06 08:16:26.018323000 +0100 +++ new/notebook-6.5.4/CHANGELOG.md 2023-04-06 17:04:03.034670400 +0200 @@ -14,6 +14,22 @@ <!-- <START NEW CHANGELOG ENTRY> --> +## 6.5.4 + +([Full Changelog](https://github.com/jupyter/notebook/compare/v6.5.3...428e00bef821acb42f13843fb2949d225d081d56)) + +### Enhancements made + +- Add show_banner trait to control the banner display [#6808](https://github.com/jupyter/notebook/pull/6808) ([@echarles](https://github.com/echarles)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/jupyter/notebook/graphs/contributors?from=2023-03-06&to=2023-04-06&type=c)) + +[@echarles](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Aecharles+updated%3A2023-03-06..2023-04-06&type=Issues) | [@github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2023-03-06..2023-04-06&type=Issues) | [@jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2023-03-06..2023-04-06&type=Issues) | [@krassowski](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Akrassowski+updated%3A2023-03-06..2023-04-06&type=Issues) | [@yuvipanda](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ayuvipanda+updated%3A2023-03-06..2023-04-06&type=Issues) + +<!-- <END NEW CHANGELOG ENTRY> --> + ## 6.5.3 ([Full Changelog](https://github.com/jupyter/notebook/compare/v6.5.2...7939fc595db4ffc3482031365d17ef72a02c085e)) @@ -39,8 +55,6 @@ [@andrii-i](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Aandrii-i+updated%3A2022-10-30..2023-03-06&type=Issues) | [@echarles](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Aecharles+updated%3A2022-10-30..2023-03-06&type=Issues) | [@fcollonval](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Afcollonval+updated%3A2022-10-30..2023-03-06&type=Issues) | [@frenzymadness](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Afrenzymadness+updated%3A2022-10-30..2023-03-06&type=Issues) | [@github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2022-10-30..2023-03-06&type=Issues) | [@JasonWeill](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3AJasonWeill+updated%3A2022-10-30..2023-03-06&type=Issues) | [@jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2022-10-30..2023-03-06&type=Issues) | [@juhasch](https://github.com/searc h?q=repo%3Ajupyter%2Fnotebook+involves%3Ajuhasch+updated%3A2022-10-30..2023-03-06&type=Issues) | [@RRosio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3ARRosio+updated%3A2022-10-30..2023-03-06&type=Issues) | [@venkatasg](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Avenkatasg+updated%3A2022-10-30..2023-03-06&type=Issues) | [@yacchin1205](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ayacchin1205+updated%3A2022-10-30..2023-03-06&type=Issues) -<!-- <END NEW CHANGELOG ENTRY> --> - ## 6.5.2 ([Full Changelog](https://github.com/jupyter/notebook/compare/v6.5.1...8a00144fa9afc26ff9a29c9abf12db4014f52293)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/notebook-6.5.3/PKG-INFO new/notebook-6.5.4/PKG-INFO --- old/notebook-6.5.3/PKG-INFO 2023-03-06 08:17:24.811631200 +0100 +++ new/notebook-6.5.4/PKG-INFO 2023-04-06 17:04:58.862627700 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: notebook -Version: 6.5.3 +Version: 6.5.4 Summary: A web-based notebook environment for interactive computing Home-page: http://jupyter.org Author: Jupyter Development Team diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/notebook-6.5.3/docs/source/frontend_config.rst new/notebook-6.5.4/docs/source/frontend_config.rst --- old/notebook-6.5.3/docs/source/frontend_config.rst 2023-03-06 08:16:26.058323900 +0100 +++ new/notebook-6.5.4/docs/source/frontend_config.rst 2023-04-06 17:04:03.082670500 +0200 @@ -89,3 +89,11 @@ ``<section>`` can take various values like ``notebook``, ``tree``, and ``editor``. A ``common`` section contains configuration settings shared by all pages. + +Persisting configuration settings +--------------------------------- + +A banner might be shown to users to inform them about news or updates. This +banner can be hidden launching the server with the show_banner trait.:: + + jupyter notebook --NotebookApp.show_banner=False diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/notebook-6.5.3/notebook/_version.py new/notebook-6.5.4/notebook/_version.py --- old/notebook-6.5.3/notebook/_version.py 2023-03-06 08:16:53.542943500 +0100 +++ new/notebook-6.5.4/notebook/_version.py 2023-04-06 17:04:30.898651000 +0200 @@ -5,7 +5,7 @@ import re # Version string must appear intact for tbump versioning -__version__ = '6.5.3' +__version__ = '6.5.4' # Build up version_info tuple for backwards compatibility pattern = r'(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/notebook-6.5.3/notebook/base/handlers.py new/notebook-6.5.4/notebook/base/handlers.py --- old/notebook-6.5.3/notebook/base/handlers.py 2023-03-06 08:16:26.062323800 +0100 +++ new/notebook-6.5.4/notebook/base/handlers.py 2023-04-06 17:04:03.082670500 +0200 @@ -245,6 +245,10 @@ return self.settings.get('websocket_url', '') @property + def show_banner(self): + return self.settings.get('show_banner', True) + + @property def contents_js_source(self): self.log.debug("Using contents: %s", self.settings.get('contents_js_source', 'services/contents')) @@ -530,6 +534,7 @@ xsrf_token=self.xsrf_token.decode('utf8'), nbjs_translations=json.dumps(combine_translations( self.request.headers.get('Accept-Language', ''))), + show_banner=self.show_banner, **self.jinja_template_vars ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/notebook-6.5.3/notebook/notebookapp.py new/notebook-6.5.4/notebook/notebookapp.py --- old/notebook-6.5.3/notebook/notebookapp.py 2023-03-06 08:16:26.070324000 +0100 +++ new/notebook-6.5.4/notebook/notebookapp.py 2023-04-06 17:04:03.090670300 +0200 @@ -278,6 +278,7 @@ }, version_hash=version_hash, ignore_minified_js=jupyter_app.ignore_minified_js, + show_banner=jupyter_app.show_banner, # rate limits iopub_msg_rate_limit=jupyter_app.iopub_msg_rate_limit, @@ -1171,6 +1172,12 @@ """ ) + show_banner = Bool(True, config=True, + help="""Whether the banner is displayed on the page. + + By default, the banner is displayed. + """) + open_browser = Bool(True, config=True, help="""Whether to open in a browser after starting. The specific browser used is platform dependent and diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/notebook-6.5.3/notebook/templates/page.html new/notebook-6.5.4/notebook/templates/page.html --- old/notebook-6.5.3/notebook/templates/page.html 2023-03-06 08:16:26.074324100 +0100 +++ new/notebook-6.5.4/notebook/templates/page.html 2023-04-06 17:04:03.094670300 +0200 @@ -136,6 +136,7 @@ <div id="header" role="navigation" aria-label="{% trans %}Top Menu{% endtrans %}"> <div id="newsId" style="display: none"> + {% if show_banner %} <div class="alert alert-info" role="alert"> <div style="display: flex"> <div> @@ -153,6 +154,7 @@ </div> </div> </div> + {% endif %} </div> <div id="header-container" class="container"> <div id="ipython_notebook" class="nav navbar-brand"><a href="{{default_url}} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/notebook-6.5.3/pyproject.toml new/notebook-6.5.4/pyproject.toml --- old/notebook-6.5.3/pyproject.toml 2023-03-06 08:16:53.538943300 +0100 +++ new/notebook-6.5.4/pyproject.toml 2023-04-06 17:04:30.898651000 +0200 @@ -16,7 +16,7 @@ ignore-glob = ["docs/source/examples/Notebook/Working With Markdown Cells.ipynb", "docs-translations/**/README.md", "docs/source/contributing.rst", "docs/source/examples/Notebook/JavaScript Notebook Extensions.ipynb", "CHANGELOG.md", "notebook/static/components/**/*.*"] [tool.tbump.version] -current = "6.5.3" +current = "6.5.4" regex = ''' (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) ((?P<channel>a|b|rc|.dev)(?P<release>\d+))?