Package: src:jupyter-notebook
Version: 7.0.0-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:jupyter-notebook, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
# packages/application


> @jupyter-notebook/[email protected] build:prod
> tsc -b 


../../../../../usr/share/nodejs/@jupyterlab/coreutils/lib/time.d.ts(5,28): 
error TS2724: 'Intl' has no exported member named 
'ResolvedRelativeTimeFormatOptions'. Did you mean 
'ResolvedDateTimeFormatOptions'?

src/shell.ts(166,7): error TS2416: Property 'currentChanged' in type 
'NotebookShell' is not assignable to the same property in base type 'IShell'.
  Type 'ISignal<NotebookShell, void>' is not assignable to type 
'ISignal<IShell, IChangedArgs<Widget>>'.
    Type 'void' is not assignable to type 'IChangedArgs<Widget>'.

src/app.ts(26,50): error TS2344: Type 'INotebookShell' does not satisfy the 
constraint 'IShell'.
  Types of property 'currentChanged' are incompatible.
    Type 'ISignal<NotebookShell, void>' is not assignable to type 
'ISignal<IShell, IChangedArgs<Widget>>'.

src/app.ts(134,29): error TS2345: Argument of type 'JupyterFrontEndPlugin<any>' 
is not assignable to parameter of type 'IPlugin<this, any>'.
  Type 'this' is not assignable to type 'JupyterFrontEnd<IShell, "mobile" | 
"desktop">'.
    Type 'NotebookApp' is not assignable to type 'JupyterFrontEnd<IShell, 
"mobile" | "desktop">'.
      Types of property 'shell' are incompatible.
        Type 'INotebookShell' is not assignable to type 'IShell'.

src/app.ts(165,38): error TS2344: Type 'INotebookShell' does not satisfy the 
constraint 'IShell'.

Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
line 389, in <module>
    main()
    ~~~~^^
  File 
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
line 373, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
line 280, in build_wheel
    return _build_backend().build_wheel(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        wheel_directory, config_settings, metadata_directory
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/hatchling/build.py", line 58, in 
build_wheel
    return os.path.basename(next(builder.build(directory=wheel_directory, 
versions=["standard"])))
                            
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/hatchling/builders/plugin/interface.py", 
line 149, in build
    build_hook.initialize(version, build_data)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/hatch_jupyter_builder/plugin.py", line 
87, in initialize
    raise e
  File "/usr/lib/python3/dist-packages/hatch_jupyter_builder/plugin.py", line 
82, in initialize
    build_func(self.target_name, version, **build_kwargs)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/hatch_jupyter_builder/utils.py", line 
115, in npm_builder
    run([*npm_cmd, "run", build_cmd], cwd=str(abs_path))
    ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/hatch_jupyter_builder/utils.py", line 
229, in run
    return subprocess.check_call(cmd, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/jlpm', 'run', 'build:prod']' 
returned non-zero exit status 1.

TIP pass --env-dir and --sdist-extract-dir to keep the build environment and 
sources, then see 
https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build
 for help debugging a failed build
ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:485: build: plugin pyproject failed with: exit code=1: 
python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13  
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" 
module
I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14  
* Building wheel...
INFO:hatch_jupyter_builder.utils:Running jupyter-builder
INFO:hatch_jupyter_builder.utils:Building with hatch_jupyter_builder.npm_builder
INFO:hatch_jupyter_builder.utils:With kwargs: {'build_cmd': 'build:prod', 
'editable_build_cmd': 'build', 'source_dir': 'packages', 'build_dir': 
'notebook/static', 'npm': 'jlpm'}
INFO:hatch_jupyter_builder.utils:Installing build dependencies with npm.  This 
may take a while...
INFO:hatch_jupyter_builder.utils:> /usr/bin/jlpm install
INFO:hatch_jupyter_builder.utils:> /usr/bin/jlpm run build:prod

> @jupyter-notebook/[email protected] build:prod
> pkgjs-lerna run build:prod 


# packages/application



> @jupyter-notebook/[email protected] build:prod

> tsc -b 



../../../../../usr/share/nodejs/@jupyterlab/coreutils/lib/time.d.ts(5,28): 
error TS2724: 'Intl' has no exported member named 
'ResolvedRelativeTimeFormatOptions'. Did you mean 
'ResolvedDateTimeFormatOptions'?

src/shell.ts(166,7): error TS2416: Property 'currentChanged' in type 
'NotebookShell' is not assignable to the same property in base type 'IShell'.
  Type 'ISignal<NotebookShell, void>' is not assignable to type 
'ISignal<IShell, IChangedArgs<Widget>>'.
    Type 'void' is not assignable to type 'IChangedArgs<Widget>'.
src/app.ts(26,50): error TS2344: Type 'INotebookShell' does not satisfy the 
constraint 'IShell'.
  Types of property 'currentChanged' are incompatible.
    Type 'ISignal<NotebookShell, void>' is not assignable to type 
'ISignal<IShell, IChangedArgs<Widget>>'.
src/app.ts(134,29): error TS2345: Argument of type 'JupyterFrontEndPlugin<any>' 
is not assignable to parameter of type 'IPlugin<this, any>'.
  Type 'this' is not assignable to type 'JupyterFrontEnd<IShell, "mobile" | 
"desktop">'.
    Type 'NotebookApp' is not assignable to type 'JupyterFrontEnd<IShell, 
"mobile" | "desktop">'.
      Types of property 'shell' are incompatible.
        Type 'INotebookShell' is not assignable to type 'IShell'.
src/app.ts(165,38): error TS2344: Type 'INotebookShell' does not satisfy the 
constraint 'IShell'.

Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
line 389, in <module>
    main()
    ~~~~^^
  File 
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
line 373, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
line 280, in build_wheel
    return _build_backend().build_wheel(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        wheel_directory, config_settings, metadata_directory
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/hatchling/build.py", line 58, in 
build_wheel
    return os.path.basename(next(builder.build(directory=wheel_directory, 
versions=["standard"])))
                            
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/hatchling/builders/plugin/interface.py", 
line 149, in build
    build_hook.initialize(version, build_data)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/hatch_jupyter_builder/plugin.py", line 
87, in initialize
    raise e
  File "/usr/lib/python3/dist-packages/hatch_jupyter_builder/plugin.py", line 
82, in initialize
    build_func(self.target_name, version, **build_kwargs)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/hatch_jupyter_builder/utils.py", line 
115, in npm_builder
    run([*npm_cmd, "run", build_cmd], cwd=str(abs_path))
    ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/hatch_jupyter_builder/utils.py", line 
229, in run
    return subprocess.check_call(cmd, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/subprocess.py", line 420, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/jlpm', 'run', 'build:prod']' 
returned non-zero exit status 1.

TIP pass --env-dir and --sdist-extract-dir to keep the build environment and 
sources, then see 
https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build
 for help debugging a failed build
ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:485: build: plugin pyproject failed with: exit code=1: 
python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14  
dh_auto_build: error: pybuild --build -i python{version} -p "3.13 3.14" 
--parallel=1 returned exit code 13
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to