Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-hatch-jupyter-builder for
openSUSE:Factory checked in at 2026-11-30 14:27:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hatch-jupyter-builder (Old)
and /work/SRC/openSUSE:Factory/.python-hatch-jupyter-builder.new.1340718
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hatch-jupyter-builder"
Mon Nov 30 14:27:28 2026 rev:5 rq:1401482 version:0.10.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-hatch-jupyter-builder/python-hatch-jupyter-builder.changes
2025-02-27 14:54:30.417421890 +0100
+++
/work/SRC/openSUSE:Factory/.python-hatch-jupyter-builder.new.1340718/python-hatch-jupyter-builder.changes
2026-11-30 14:30:09.866453384 +0100
@@ -1,0 +2,7 @@
+Sun Nov 29 18:30:34 UTC 2026 - Ben Greiner <[email protected]>
+
+- Update to 0.10.0
+ * Fix the build hook with hatchling 1.32.3, fix other CI issues
+ #148 (@jtpio, @Yann-P)
+
+-------------------------------------------------------------------
Old:
----
hatch_jupyter_builder-0.9.1.tar.gz
New:
----
hatch_jupyter_builder-0.10.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-hatch-jupyter-builder.spec ++++++
--- /var/tmp/diff_new_pack.Z5YCpL/_old 2026-11-30 14:30:12.023544429 +0100
+++ /var/tmp/diff_new_pack.Z5YCpL/_new 2026-11-30 14:30:12.030544724 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-hatch-jupyter-builder
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-hatch-jupyter-builder
-Version: 0.9.1
+Version: 0.10.0
Release: 0
Summary: A hatch plugin to help build Jupyter packages
License: BSD-3-Clause
@@ -28,7 +28,7 @@
Source:
https://files.pythonhosted.org/packages/source/h/hatch_jupyter_builder/hatch_jupyter_builder-%{version}.tar.gz
# PATCH-FIX-OPENSUSE hatch-test-nonisolated.patch [email protected]
Patch1: hatch-test-nonisolated.patch
-BuildRequires: %{python_module base >= 3.8}
+BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module hatchling >= 1.17}
BuildRequires: %{python_module pip}
BuildRequires: alts
++++++ hatch_jupyter_builder-0.9.1.tar.gz ->
hatch_jupyter_builder-0.10.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hatch_jupyter_builder-0.9.1/.github/workflows/tests.yml
new/hatch_jupyter_builder-0.10.0/.github/workflows/tests.yml
--- old/hatch_jupyter_builder-0.9.1/.github/workflows/tests.yml 2020-02-02
01:00:00.000000000 +0100
+++ new/hatch_jupyter_builder-0.10.0/.github/workflows/tests.yml
2020-02-02 01:00:00.000000000 +0100
@@ -20,16 +20,16 @@
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
- python-version: ["3.8", "3.12"]
+ python-version: ["3.10", "3.14"]
include:
- os: windows-latest
- python-version: "3.9"
+ python-version: "3.11"
- os: ubuntu-latest
- python-version: "pypy-3.9"
+ python-version: "pypy-3.11"
- os: macos-latest
- python-version: "3.10"
+ python-version: "3.12"
- os: ubuntu-latest
- python-version: "3.11"
+ python-version: "3.13"
steps:
- uses: actions/checkout@v4
@@ -79,7 +79,7 @@
run: hatch run migration:test
test_docs:
- runs-on: windows-latest
+ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hatch_jupyter_builder-0.9.1/CHANGELOG.md
new/hatch_jupyter_builder-0.10.0/CHANGELOG.md
--- old/hatch_jupyter_builder-0.9.1/CHANGELOG.md 2020-02-02
01:00:00.000000000 +0100
+++ new/hatch_jupyter_builder-0.10.0/CHANGELOG.md 2020-02-02
01:00:00.000000000 +0100
@@ -2,6 +2,26 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 0.10.0
+
+([Full
Changelog](https://github.com/jupyterlab/hatch-jupyter-builder/compare/v0.9.1...b343121081165d77da38d48baaf412a06f79b958))
+
+### Maintenance and upkeep improvements
+
+- Fix the build hook with hatchling 1.32.3, fix other CI issues
[#148](https://github.com/jupyterlab/hatch-jupyter-builder/pull/148)
([@jtpio](https://github.com/jtpio), [@Yann-P](https://github.com/Yann-P))
+- Fix docs build
[#142](https://github.com/jupyterlab/hatch-jupyter-builder/pull/142)
([@blink1073](https://github.com/blink1073))
+
+### Contributors to this release
+
+The following people contributed discussions, new ideas, code and
documentation contributions, and review.
+See [our definition of
contributors](https://github-activity.readthedocs.io/en/latest/use/#how-does-this-tool-define-contributions-in-the-reports).
+
+([GitHub contributors page for this
release](https://github.com/jupyterlab/hatch-jupyter-builder/graphs/contributors?from=2024-03-12&to=2026-09-18&type=c))
+
+@blink1073
([activity](https://github.com/search?q=repo%3Ajupyterlab%2Fhatch-jupyter-builder+involves%3Ablink1073+updated%3A2024-03-12..2026-09-18&type=Issues))
| @jtpio
([activity](https://github.com/search?q=repo%3Ajupyterlab%2Fhatch-jupyter-builder+involves%3Ajtpio+updated%3A2024-03-12..2026-09-18&type=Issues))
| @Yann-P
([activity](https://github.com/search?q=repo%3Ajupyterlab%2Fhatch-jupyter-builder+involves%3AYann-P+updated%3A2024-03-12..2026-09-18&type=Issues))
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
## 0.9.1
([Full
Changelog](https://github.com/jupyterlab/hatch-jupyter-builder/compare/v0.9.0...209154e53efd7573af92c535dd5c730528358ea7))
@@ -16,8 +36,6 @@
[@hroncok](https://github.com/search?q=repo%3Ajupyterlab%2Fhatch-jupyter-builder+involves%3Ahroncok+updated%3A2024-03-12..2024-03-12&type=Issues)
|
[@welcome](https://github.com/search?q=repo%3Ajupyterlab%2Fhatch-jupyter-builder+involves%3Awelcome+updated%3A2024-03-12..2024-03-12&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 0.9.0
([Full
Changelog](https://github.com/jupyterlab/hatch-jupyter-builder/compare/v0.8.3...8998f9b96d89108401817c8854805eae087b199f))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hatch_jupyter_builder-0.9.1/PKG-INFO
new/hatch_jupyter_builder-0.10.0/PKG-INFO
--- old/hatch_jupyter_builder-0.9.1/PKG-INFO 2020-02-02 01:00:00.000000000
+0100
+++ new/hatch_jupyter_builder-0.10.0/PKG-INFO 2020-02-02 01:00:00.000000000
+0100
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.5
Name: hatch-jupyter-builder
-Version: 0.9.1
+Version: 0.10.0
Summary: A hatch plugin to help build Jupyter packages
Project-URL: Documentation,
https://github.com/jupyterlab/hatch-jupyter-builder#readme
Project-URL: Issues, https://github.com/jupyterlab/hatch-jupyter-builder/issues
@@ -41,10 +41,9 @@
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
-Requires-Python: >=3.8
+Requires-Python: >=3.10
Requires-Dist: hatchling>=1.17
Provides-Extra: docs
-Requires-Dist: hatch-jupyter-builder; extra == 'docs'
Requires-Dist: myst-parser; extra == 'docs'
Requires-Dist: pydata-sphinx-theme; extra == 'docs'
Requires-Dist: sphinx-autodoc-typehints; extra == 'docs'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hatch_jupyter_builder-0.9.1/docs/source/reference/api/hatch_jupyter_builder.compare_migrated.rst
new/hatch_jupyter_builder-0.10.0/docs/source/reference/api/hatch_jupyter_builder.compare_migrated.rst
---
old/hatch_jupyter_builder-0.9.1/docs/source/reference/api/hatch_jupyter_builder.compare_migrated.rst
2020-02-02 01:00:00.000000000 +0100
+++
new/hatch_jupyter_builder-0.10.0/docs/source/reference/api/hatch_jupyter_builder.compare_migrated.rst
2020-02-02 01:00:00.000000000 +0100
@@ -7,13 +7,13 @@
.. automodule:: hatch_jupyter_builder.compare_migrated.cli
:members:
- :undoc-members:
:show-inheritance:
+ :undoc-members:
Module contents
---------------
.. automodule:: hatch_jupyter_builder.compare_migrated
:members:
- :undoc-members:
:show-inheritance:
+ :undoc-members:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hatch_jupyter_builder-0.9.1/docs/source/reference/api/hatch_jupyter_builder.migrate.rst
new/hatch_jupyter_builder-0.10.0/docs/source/reference/api/hatch_jupyter_builder.migrate.rst
---
old/hatch_jupyter_builder-0.9.1/docs/source/reference/api/hatch_jupyter_builder.migrate.rst
2020-02-02 01:00:00.000000000 +0100
+++
new/hatch_jupyter_builder-0.10.0/docs/source/reference/api/hatch_jupyter_builder.migrate.rst
2020-02-02 01:00:00.000000000 +0100
@@ -7,13 +7,13 @@
.. automodule:: hatch_jupyter_builder.migrate.cli
:members:
- :undoc-members:
:show-inheritance:
+ :undoc-members:
Module contents
---------------
.. automodule:: hatch_jupyter_builder.migrate
:members:
- :undoc-members:
:show-inheritance:
+ :undoc-members:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hatch_jupyter_builder-0.9.1/docs/source/reference/api/hatch_jupyter_builder.rst
new/hatch_jupyter_builder-0.10.0/docs/source/reference/api/hatch_jupyter_builder.rst
---
old/hatch_jupyter_builder-0.9.1/docs/source/reference/api/hatch_jupyter_builder.rst
2020-02-02 01:00:00.000000000 +0100
+++
new/hatch_jupyter_builder-0.10.0/docs/source/reference/api/hatch_jupyter_builder.rst
2020-02-02 01:00:00.000000000 +0100
@@ -16,31 +16,31 @@
.. automodule:: hatch_jupyter_builder.cli
:members:
- :undoc-members:
:show-inheritance:
+ :undoc-members:
.. automodule:: hatch_jupyter_builder.hooks
:members:
- :undoc-members:
:show-inheritance:
+ :undoc-members:
.. automodule:: hatch_jupyter_builder.plugin
:members:
- :undoc-members:
:show-inheritance:
+ :undoc-members:
.. automodule:: hatch_jupyter_builder.utils
:members:
- :undoc-members:
:show-inheritance:
+ :undoc-members:
Module contents
---------------
.. automodule:: hatch_jupyter_builder
:members:
- :undoc-members:
:show-inheritance:
+ :undoc-members:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hatch_jupyter_builder-0.9.1/hatch_jupyter_builder/__init__.py
new/hatch_jupyter_builder-0.10.0/hatch_jupyter_builder/__init__.py
--- old/hatch_jupyter_builder-0.9.1/hatch_jupyter_builder/__init__.py
2020-02-02 01:00:00.000000000 +0100
+++ new/hatch_jupyter_builder-0.10.0/hatch_jupyter_builder/__init__.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,3 @@
from .utils import is_stale, npm_builder
-__version__ = "0.9.1"
+__version__ = "0.10.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hatch_jupyter_builder-0.9.1/hatch_jupyter_builder/cli.py
new/hatch_jupyter_builder-0.10.0/hatch_jupyter_builder/cli.py
--- old/hatch_jupyter_builder-0.9.1/hatch_jupyter_builder/cli.py
2020-02-02 01:00:00.000000000 +0100
+++ new/hatch_jupyter_builder-0.10.0/hatch_jupyter_builder/cli.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,14 +1,13 @@
"""The cli implementation for hatch_jupyter_builder."""
import argparse
import sys
-from typing import Optional
from .compare_migrated import cli as compare_cli
from .migrate import cli as migrate_cli
def make_parser(
- parser: Optional[argparse.ArgumentParser] = None, prog: Optional[str] =
None
+ parser: argparse.ArgumentParser | None = None, prog: str | None = None
) -> argparse.ArgumentParser:
"""Make an arg parser."""
if parser is None:
@@ -26,7 +25,7 @@
return parser
-def run(args: Optional[argparse.Namespace] = None) -> None:
+def run(args: argparse.Namespace | None = None) -> None:
"""Run the main script."""
if args is None:
prog = (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hatch_jupyter_builder-0.9.1/hatch_jupyter_builder/hooks.py
new/hatch_jupyter_builder-0.10.0/hatch_jupyter_builder/hooks.py
--- old/hatch_jupyter_builder-0.9.1/hatch_jupyter_builder/hooks.py
2020-02-02 01:00:00.000000000 +0100
+++ new/hatch_jupyter_builder-0.10.0/hatch_jupyter_builder/hooks.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,12 +1,10 @@
"""Register hooks for the plugin."""
-from typing import Type
-
from hatchling.plugin import hookimpl
from .plugin import JupyterBuildHook
@hookimpl
-def hatch_register_build_hook() -> Type[JupyterBuildHook]:
+def hatch_register_build_hook() -> type[JupyterBuildHook]:
"""Get the hook implementation."""
return JupyterBuildHook
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hatch_jupyter_builder-0.9.1/hatch_jupyter_builder/migrate/cli.py
new/hatch_jupyter_builder-0.10.0/hatch_jupyter_builder/migrate/cli.py
--- old/hatch_jupyter_builder-0.9.1/hatch_jupyter_builder/migrate/cli.py
2020-02-02 01:00:00.000000000 +0100
+++ new/hatch_jupyter_builder-0.10.0/hatch_jupyter_builder/migrate/cli.py
2020-02-02 01:00:00.000000000 +0100
@@ -8,7 +8,6 @@
import venv
from pathlib import Path
from tempfile import TemporaryDirectory
-from typing import Optional
from hatch_jupyter_builder import __version__ as builder_version
@@ -36,7 +35,7 @@
def make_parser(
- parser: Optional[argparse.ArgumentParser] = None, prog: Optional[str] =
None
+ parser: argparse.ArgumentParser | None = None, prog: str | None = None
) -> argparse.ArgumentParser:
"""Make a parser object."""
if parser is None:
@@ -45,7 +44,7 @@
return parser
-def run(args: Optional[argparse.Namespace] = None) -> None:
+def run(args: argparse.Namespace | None = None) -> None:
"""Run the migration."""
if args is None:
parser = make_parser(prog=f"{sys.executable} -m
hatch_jupyter_builder.migrate")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hatch_jupyter_builder-0.9.1/hatch_jupyter_builder/plugin.py
new/hatch_jupyter_builder-0.10.0/hatch_jupyter_builder/plugin.py
--- old/hatch_jupyter_builder-0.9.1/hatch_jupyter_builder/plugin.py
2020-02-02 01:00:00.000000000 +0100
+++ new/hatch_jupyter_builder-0.10.0/hatch_jupyter_builder/plugin.py
2020-02-02 01:00:00.000000000 +0100
@@ -18,9 +18,17 @@
should_skip,
)
+if t.TYPE_CHECKING:
+ from hatchling.plugin.manager import PluginManager
+
+ _BuilderConfigBase = BuilderConfig[PluginManager]
+else:
+ # handle hatchling 1.32.3, see https://github.com/pypa/hatch/issues/2437
+ _BuilderConfigBase = BuilderConfig
+
@dataclass
-class JupyterBuildConfig(BuilderConfig):
+class JupyterBuildConfig(_BuilderConfigBase):
"""Build config values for Hatch Jupyter Builder."""
install_pre_commit_hook: str = ""
@@ -32,7 +40,13 @@
optional_editable_build: str = ""
-class JupyterBuildHook(BuildHookInterface[JupyterBuildConfig]):
+if t.TYPE_CHECKING:
+ _BuildHookBase = BuildHookInterface[JupyterBuildConfig, PluginManager]
+else:
+ _BuildHookBase = BuildHookInterface
+
+
+class JupyterBuildHook(_BuildHookBase):
"""The hatch jupyter builder build hook."""
PLUGIN_NAME = "jupyter-builder"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hatch_jupyter_builder-0.9.1/hatch_jupyter_builder/utils.py
new/hatch_jupyter_builder-0.10.0/hatch_jupyter_builder/utils.py
--- old/hatch_jupyter_builder-0.9.1/hatch_jupyter_builder/utils.py
2020-02-02 01:00:00.000000000 +0100
+++ new/hatch_jupyter_builder-0.10.0/hatch_jupyter_builder/utils.py
2020-02-02 01:00:00.000000000 +0100
@@ -7,9 +7,10 @@
import shlex
import subprocess
import sys
+from collections.abc import Callable, Mapping
from pathlib import Path
from shutil import which
-from typing import Any, Callable, Mapping, cast
+from typing import Any, cast
if sys.platform == "win32": # pragma: no cover
from subprocess import list2cmdline
@@ -196,7 +197,7 @@
def normalize_cmd(cmd: str | list[Any]) -> list[str]:
"""Normalize a subprocess command."""
- if not isinstance(cmd, (list, tuple)):
+ if not isinstance(cmd, list | tuple):
cmd = shlex.split(cmd, posix=os.name != "nt")
if not Path(cmd[0]).is_absolute():
# If a command is not an absolute path find it first.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hatch_jupyter_builder-0.9.1/pyproject.toml
new/hatch_jupyter_builder-0.10.0/pyproject.toml
--- old/hatch_jupyter_builder-0.9.1/pyproject.toml 2020-02-02
01:00:00.000000000 +0100
+++ new/hatch_jupyter_builder-0.10.0/pyproject.toml 2020-02-02
01:00:00.000000000 +0100
@@ -17,7 +17,7 @@
authors = [
{ name = "Jupyter Development Team", email = "[email protected]" },
]
-requires-python = ">=3.8"
+requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
@@ -174,7 +174,7 @@
source = ["hatch_jupyter_builder"]
[tool.mypy]
-python_version = "3.8"
+python_version = "3.10"
strict = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hatch_jupyter_builder-0.9.1/tests/test_migration.py
new/hatch_jupyter_builder-0.10.0/tests/test_migration.py
--- old/hatch_jupyter_builder-0.9.1/tests/test_migration.py 2020-02-02
01:00:00.000000000 +0100
+++ new/hatch_jupyter_builder-0.10.0/tests/test_migration.py 2020-02-02
01:00:00.000000000 +0100
@@ -18,6 +18,11 @@
HERE = Path(__file__).parent.absolute()
REPO_ROOT = str(HERE.parent).replace(os.sep, "/")
+pytestmark = pytest.mark.skip(
+ reason="The JupyterLab 3 test projects do not build with webpack >= 5.107,
"
+ "see https://github.com/jupyterlab/jupyterlab/issues/18984"
+)
+
@pytest.mark.migration_test()
def test_npm_builder_migration():