Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jupyter-core for 
openSUSE:Factory checked in at 2023-03-22 22:28:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-core (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter-core.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter-core"

Wed Mar 22 22:28:42 2023 rev:17 rq:1072963 version:5.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jupyter-core/python-jupyter-core.changes  
2023-02-06 14:15:21.140551335 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter-core.new.31432/python-jupyter-core.changes
       2023-03-22 22:28:43.429614105 +0100
@@ -1,0 +2,7 @@
+Sun Mar 19 17:35:27 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 5.3.0
+  * Fix pywin32 version constraint #347 (@blink1073)
+  * Support platformdirs 3 #342 (@blink1073)
+
+-------------------------------------------------------------------

Old:
----
  jupyter_core-5.2.0.tar.gz

New:
----
  jupyter_core-5.3.0.tar.gz

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

Other differences:
------------------
++++++ python-jupyter-core.spec ++++++
--- /var/tmp/diff_new_pack.3fKJKG/_old  2023-03-22 22:28:43.953616741 +0100
+++ /var/tmp/diff_new_pack.3fKJKG/_new  2023-03-22 22:28:43.961616782 +0100
@@ -32,7 +32,7 @@
 %endif
 
 Name:           python-jupyter-core%{psuffix}
-Version:        5.2.0
+Version:        5.3.0
 Release:        0
 Summary:        Base package on which Jupyter projects rely
 License:        BSD-3-Clause
@@ -127,7 +127,7 @@
 
 %if !%{with test}
 %files %{python_files}
-%license COPYING.md
+%license LICENSE
 %python_alternative %{_bindir}/jupyter
 %python_alternative %{_bindir}/jupyter-migrate
 %python_alternative %{_bindir}/jupyter-troubleshoot

++++++ jupyter_core-5.2.0.tar.gz -> jupyter_core-5.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_core-5.2.0/.pre-commit-config.yaml 
new/jupyter_core-5.3.0/.pre-commit-config.yaml
--- old/jupyter_core-5.2.0/.pre-commit-config.yaml      2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyter_core-5.3.0/.pre-commit-config.yaml      2020-02-02 
01:00:00.000000000 +0100
@@ -20,7 +20,7 @@
       - id: trailing-whitespace
 
   - repo: https://github.com/python-jsonschema/check-jsonschema
-    rev: 0.19.2
+    rev: 0.21.0
     hooks:
       - id: check-github-workflows
 
@@ -30,12 +30,12 @@
       - id: mdformat
 
   - repo: https://github.com/psf/black
-    rev: 22.12.0
+    rev: 23.1.0
     hooks:
       - id: black
 
   - repo: https://github.com/charliermarsh/ruff-pre-commit
-    rev: v0.0.237
+    rev: v0.0.254
     hooks:
       - id: ruff
         args: ["--fix"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_core-5.2.0/CHANGELOG.md 
new/jupyter_core-5.3.0/CHANGELOG.md
--- old/jupyter_core-5.2.0/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_core-5.3.0/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
@@ -2,6 +2,27 @@
 
 <!-- <START NEW CHANGELOG ENTRY> -->
 
+## 5.3.0
+
+([Full 
Changelog](https://github.com/jupyter/jupyter_core/compare/v5.2.0...6cfe9fc042a0f016a0d4545bc6790b8277d80c24))
+
+### Bugs fixed
+
+- Fix pywin32 version constraint 
[#347](https://github.com/jupyter/jupyter_core/pull/347) 
([@blink1073](https://github.com/blink1073))
+
+### Maintenance and upkeep improvements
+
+- Add license [#344](https://github.com/jupyter/jupyter_core/pull/344) 
([@dcsaba89](https://github.com/dcsaba89))
+- Support platformdirs 3 
[#342](https://github.com/jupyter/jupyter_core/pull/342) 
([@blink1073](https://github.com/blink1073))
+
+### Contributors to this release
+
+([GitHub contributors page for this 
release](https://github.com/jupyter/jupyter_core/graphs/contributors?from=2023-01-30&to=2023-03-16&type=c))
+
+[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_core+involves%3Ablink1073+updated%3A2023-01-30..2023-03-16&type=Issues)
 | 
[@dcsaba89](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_core+involves%3Adcsaba89+updated%3A2023-01-30..2023-03-16&type=Issues)
 | 
[@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_core+involves%3Apre-commit-ci+updated%3A2023-01-30..2023-03-16&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
 ## 5.2.0
 
 ([Full 
Changelog](https://github.com/jupyter/jupyter_core/compare/v5.1.5...98b9a1a94e79d1137246b4c1f8c16343b72b050c))
@@ -20,8 +41,6 @@
 
 
[@azjps](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_core+involves%3Aazjps+updated%3A2023-01-24..2023-01-30&type=Issues)
 | 
[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_core+involves%3Ablink1073+updated%3A2023-01-24..2023-01-30&type=Issues)
 
-<!-- <END NEW CHANGELOG ENTRY> -->
-
 ## 5.1.5
 
 ([Full 
Changelog](https://github.com/jupyter/jupyter_core/compare/v5.1.4...269449fe4dcb8d427b54337d83bcb67bf50e87da))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_core-5.2.0/COPYING.md 
new/jupyter_core-5.3.0/COPYING.md
--- old/jupyter_core-5.2.0/COPYING.md   2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_core-5.3.0/COPYING.md   1970-01-01 01:00:00.000000000 +0100
@@ -1,63 +0,0 @@
-# The Jupyter licensing terms
-
-Jupyter is licensed under the terms of the Modified BSD License (also known as
-New or Revised or 3-Clause BSD), as follows:
-
-- Copyright (c) 2015-, Jupyter Development Team
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this
-list of conditions and the following disclaimer.
-
-Redistributions in binary form must reproduce the above copyright notice, this
-list of conditions and the following disclaimer in the documentation and/or
-other materials provided with the distribution.
-
-Neither the name of the Jupyter Development Team nor the names of its
-contributors may be used to endorse or promote products derived from this
-software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-## About the Jupyter Development Team
-
-The Jupyter Development Team is the set of all contributors to the Jupyter
-project. This includes all of the Jupyter subprojects. A full list with
-details is kept in the documentation directory, in the file
-`about/credits.txt`.
-
-The core team that coordinates development on GitHub can be found here:
-https://github.com/ipython/.
-
-## Our Copyright Policy
-
-Jupyter uses a shared copyright model. Each contributor maintains copyright
-over their contributions to Jupyter. 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_core-5.2.0/LICENSE 
new/jupyter_core-5.3.0/LICENSE
--- old/jupyter_core-5.2.0/LICENSE      1970-01-01 01:00:00.000000000 +0100
+++ new/jupyter_core-5.3.0/LICENSE      2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1,30 @@
+BSD 3-Clause License
+
+- 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.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_core-5.2.0/PKG-INFO 
new/jupyter_core-5.3.0/PKG-INFO
--- old/jupyter_core-5.2.0/PKG-INFO     2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_core-5.3.0/PKG-INFO     2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: jupyter_core
-Version: 5.2.0
+Version: 5.3.0
 Summary: Jupyter core package. A base package on which Jupyter projects rely.
 Project-URL: Homepage, https://jupyter.org
 Project-URL: Documentation, https://jupyter-core.readthedocs.io/
@@ -8,10 +8,7 @@
 Project-URL: Source, https://github.com/jupyter/jupyter_core
 Project-URL: Tracker, https://github.com/jupyter/jupyter_core/issues
 Author-email: Jupyter Development Team <jupy...@googlegroups.org>
-License: # The Jupyter licensing terms
-        
-        Jupyter is licensed under the terms of the Modified BSD License (also 
known as
-        New or Revised or 3-Clause BSD), as follows:
+License: BSD 3-Clause License
         
         - Copyright (c) 2015-, Jupyter Development Team
         
@@ -20,58 +17,28 @@
         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. A full list with
-        details is kept in the documentation directory, in the file
-        `about/credits.txt`.
-        
-        The core team that coordinates development on GitHub can be found here:
-        https://github.com/ipython/.
-        
-        ## Our Copyright Policy
-        
-        Jupyter uses a shared copyright model. Each contributor maintains 
copyright
-        over their contributions to Jupyter. 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.
-        ```
-License-File: COPYING.md
+License-File: LICENSE
 Classifier: Framework :: Jupyter
 Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: Science/Research
@@ -81,7 +48,7 @@
 Classifier: Programming Language :: Python :: 3
 Requires-Python: >=3.8
 Requires-Dist: platformdirs>=2.5
-Requires-Dist: pywin32>=1.0; sys_platform == 'win32' and 
platform_python_implementation != 'PyPy'
+Requires-Dist: pywin32>=300; sys_platform == 'win32' and 
platform_python_implementation != 'PyPy'
 Requires-Dist: traitlets>=5.3
 Provides-Extra: docs
 Requires-Dist: myst-parser; extra == 'docs'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_core-5.2.0/README.md 
new/jupyter_core-5.3.0/README.md
--- old/jupyter_core-5.2.0/README.md    2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_core-5.3.0/README.md    2020-02-02 01:00:00.000000000 +0100
@@ -78,3 +78,33 @@
 Point your browser to the following URL to access the generated documentation:
 
 _file:///my/projects/jupyter_core/docs/\_build/html/index.html_
+
+## 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. A full list with
+details is kept in the documentation directory, in the file
+`about/credits.txt`.
+
+The core team that coordinates development on GitHub can be found here:
+https://github.com/ipython/.
+
+## Our Copyright Policy
+
+Jupyter uses a shared copyright model. Each contributor maintains copyright
+over their contributions to Jupyter. 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_core-5.2.0/jupyter_core/command.py 
new/jupyter_core-5.3.0/jupyter_core/command.py
--- old/jupyter_core-5.2.0/jupyter_core/command.py      2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyter_core-5.3.0/jupyter_core/command.py      2020-02-02 
01:00:00.000000000 +0100
@@ -97,7 +97,7 @@
             if name.startswith("jupyter-"):
                 if sys.platform.startswith("win"):
                     # remove file-extension on Windows
-                    name = os.path.splitext(name)[0]
+                    name = os.path.splitext(name)[0]  # noqa
                 subcommand_tuples.add(tuple(name.split("-")[1:]))
     # build a set of subcommand strings, excluding subcommands whose parents 
are defined
     subcommands = set()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_core-5.2.0/jupyter_core/paths.py 
new/jupyter_core-5.3.0/jupyter_core/paths.py
--- old/jupyter_core-5.2.0/jupyter_core/paths.py        2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyter_core-5.3.0/jupyter_core/paths.py        2020-02-02 
01:00:00.000000000 +0100
@@ -80,8 +80,8 @@
     # not always implemented or available
     try:
         return p.owner() == os.getlogin()
-    except Exception:
-        pass  # noqa
+    except Exception:  # noqa
+        pass
 
     if hasattr(os, 'geteuid'):
         try:
@@ -89,7 +89,7 @@
             return st.st_uid == os.geteuid()
         except (NotImplementedError, OSError):
             # geteuid not always implemented
-            pass  # noqa
+            pass
 
     # no ownership checks worked, check write access
     return os.access(p, os.W_OK)
@@ -291,9 +291,9 @@
         APPNAME, appauthor=False, multipath=True
     ).split(os.pathsep)
 else:
-    if os.name == "nt":
+    if os.name == "nt":  # noqa
         programdata = os.environ.get("PROGRAMDATA", None)
-        if programdata:
+        if programdata:  # noqa
             SYSTEM_CONFIG_PATH = [os.path.join(programdata, "jupyter")]
         else:  # PROGRAMDATA is not defined by default on XP.
             SYSTEM_CONFIG_PATH = []
@@ -451,7 +451,7 @@
     is_file_hidden = is_file_hidden_posix
 
 
-def is_hidden(abs_path: str, abs_root: str = "") -> bool:  # noqa
+def is_hidden(abs_path: str, abs_root: str = "") -> bool:
     """Is a file hidden or contained in a hidden directory?
 
     This will start with the rightmost path element and work backwards to the
@@ -520,12 +520,12 @@
         The path to the file to secure
     """
     try:
-        import win32api  # type:ignore[import]
+        import win32api
     except ImportError:
         return _win32_restrict_file_to_user_ctypes(fname)
 
-    import ntsecuritycon as con  # type:ignore[import]
-    import win32security  # type:ignore[import]
+    import ntsecuritycon as con
+    import win32security
 
     # everyone, _domain, _type = win32security.LookupAccountName("", 
"Everyone")
     admins = 
win32security.CreateWellKnownSid(win32security.WinBuiltinAdministratorsSid)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_core-5.2.0/jupyter_core/tests/test_paths.py 
new/jupyter_core-5.3.0/jupyter_core/tests/test_paths.py
--- old/jupyter_core-5.2.0/jupyter_core/tests/test_paths.py     2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyter_core-5.3.0/jupyter_core/tests/test_paths.py     2020-02-02 
01:00:00.000000000 +0100
@@ -15,6 +15,7 @@
 from unittest.mock import patch
 
 import pytest
+from platformdirs import __version_info__
 
 from jupyter_core import paths
 from jupyter_core.paths import (
@@ -111,7 +112,8 @@
 @use_platformdirs
 def test_config_dir_darwin():
     config = jupyter_config_dir()
-    assert config == realpath("~/Library/Preferences/Jupyter")
+
+    assert config == realpath("~/Library/Application Support/Jupyter")
 
 
 @windows
@@ -230,6 +232,9 @@
 @use_platformdirs
 def test_runtime_dir_darwin():
     runtime = jupyter_runtime_dir()
+    if __version_info__[0] < 3:
+        assert runtime == realpath("~/Library/Preferences/Jupyter/runtime")
+        return
     assert runtime == realpath("~/Library/Application Support/Jupyter/runtime")
 
 
@@ -527,7 +532,7 @@
         proc.close()
         for index, line in enumerate(lines):
             if index == 0:
-                line = line.split(filename)[-1].strip().lower()
+                line = line.split(filename)[-1].strip().lower()  # noqa
             match = re.match(r"\s*([^:]+):\(([^\)]*)\)", line)
             if match:
                 usergroup, permissions = match.groups()
@@ -548,7 +553,7 @@
         assert "administrators" in permissions
         assert permissions["administrators"] == {"f"}
         assert "everyone" not in permissions
-        assert len(permissions) == 2  # noqa
+        assert len(permissions) == 2
 
     directory = tempfile.mkdtemp()
     fname = os.path.join(directory, "check_perms")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_core-5.2.0/jupyter_core/version.py 
new/jupyter_core-5.3.0/jupyter_core/version.py
--- old/jupyter_core-5.2.0/jupyter_core/version.py      2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyter_core-5.3.0/jupyter_core/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__ = "5.2.0"
+__version__ = "5.3.0"
 
 # 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_core-5.2.0/pyproject.toml 
new/jupyter_core-5.3.0/pyproject.toml
--- old/jupyter_core-5.2.0/pyproject.toml       2020-02-02 01:00:00.000000000 
+0100
+++ new/jupyter_core-5.3.0/pyproject.toml       2020-02-02 01:00:00.000000000 
+0100
@@ -5,7 +5,7 @@
 [project]
 name = "jupyter_core"
 description = "Jupyter core package. A base package on which Jupyter projects 
rely."
-license = { file = "COPYING.md" }
+license = { file = "LICENSE" }
 classifiers = [
   "Framework :: Jupyter",
   "Intended Audience :: Developers",
@@ -19,7 +19,7 @@
 dependencies = [
   "platformdirs>=2.5",
   "traitlets>=5.3",
-  "pywin32>=1.0 ; sys_platform == 'win32' and platform_python_implementation 
!= 'PyPy'"
+  "pywin32>=300 ; sys_platform == 'win32' and platform_python_implementation 
!= 'PyPy'"
 ]
 dynamic = ["version"]
 
@@ -93,7 +93,7 @@
 test = "mypy --install-types --non-interactive {args:.}"
 
 [tool.hatch.envs.lint]
-dependencies = ["black==22.12.0", "mdformat>0.7", "ruff==0.0.237"]
+dependencies = ["black==23.1.0", "mdformat>0.7", "ruff==0.0.254"]
 detached = true
 [tool.hatch.envs.lint.scripts]
 style = [

Reply via email to