-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
Hi devs,
I just wanted to give itkwidgets a quick whirl and got this error message when running the Binder instance on the Pypi page.
Long traceback;
Details
Waiting for build to start...
Retrieving dataverse installations from https://iqss.github.io/dataverse-installations/data/data.jsonPicked Git content provider.
Cloning into '/tmp/repo2dockercmft87mg'...
HEAD is now at 0928d3a ENH: Bump itkwidgets version for development
Submodule 'js/lib/ZstdDecompress/zstd' (https://github.com/facebook/zstd.git) registered for path 'js/lib/ZstdDecompress/zstd'
Cloning into '/tmp/repo2dockercmft87mg/js/lib/ZstdDecompress/zstd'...
Submodule path 'js/lib/ZstdDecompress/zstd': checked out '10f0e6993f9d2f682da6d04aa2385b7d53cbb4ee'
Building conda environment for python=3.8
Using CondaBuildPack builder
github.com/docker/buildx v0.19.1 5113f9ea89afd597302961caf99cecd142c7ba05
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 5.38kB done
#1 DONE 0.1s
#2 [internal] load metadata for docker.io/library/buildpack-deps:jammy
#2 DONE 0.8s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.1s
#4 [ 1/18] FROM docker.io/library/buildpack-deps:jammy@sha256:1df5063afef03c51484825c9e8ae54df4b9e28dfcd93fdd9e9a7ee59894915fa
#4 resolve docker.io/library/buildpack-deps:jammy@sha256:1df5063afef03c51484825c9e8ae54df4b9e28dfcd93fdd9e9a7ee59894915fa 0.1s done
#4 DONE 0.1s
#5 [internal] load build context
#5 transferring context: 137.24MB 1.2s done
#5 DONE 1.3s
#6 [ 2/18] RUN apt-get -qq update && apt-get -qq install --yes --no-install-recommends locales > /dev/null && apt-get -qq purge && apt-get -qq clean && rm -rf /var/lib/apt/lists/*
#6 CACHED
#7 [ 3/18] RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
#7 CACHED
#8 [ 4/18] RUN groupadd --gid 1000 jovyan && useradd --comment "Default user" --create-home --gid 1000 --no-log-init --shell /bin/bash --uid 1000 jovyan
#8 CACHED
#9 [ 5/18] RUN apt-get -qq update && apt-get -qq install --yes --no-install-recommends gettext-base less unzip > /dev/null && apt-get -qq purge && apt-get -qq clean && rm -rf /var/lib/apt/lists/*
#9 CACHED
#10 [ 6/18] COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e12-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2factivate-2dconda-2esh-e67d51 /etc/profile.d/activate-conda.sh
#10 CACHED
#11 [ 6/20] COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e12-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2factivate-2dconda-2esh-e67d51 /etc/profile.d/activate-conda.sh
#11 CACHED
#12 [ 9/20] RUN TIMEFORMAT='time: %3R' bash -c 'time /tmp/install-base-env.bash' && rm -rf /tmp/install-base-env.bash /tmp/env
#12 CACHED
#13 [10/20] RUN mkdir -p /srv/npm && chown -R jovyan:jovyan /srv/npm
#13 CACHED
#14 [14/20] COPY --chown=1000:1000 src/.binder/environment.yml /home/jovyan/.binder/environment.yml
#14 CACHED
#15 [11/20] RUN if [ ! -d "/home/jovyan" ]; then /usr/bin/install -o jovyan -g jovyan -d "/home/jovyan"; fi
#15 CACHED
#16 [12/20] WORKDIR /home/jovyan
#16 CACHED
#17 [13/20] RUN chown jovyan:jovyan /home/jovyan
#17 CACHED
#18 [ 7/20] COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e12-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2fenvironment-2epy-2d3-2e8-2dlinux-2d64-2elock-14ac84 /tmp/env/environment.lock
#18 CACHED
#19 [ 8/20] COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e12-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2finstall-2dbase-2denv-2ebash-637204 /tmp/install-base-env.bash
#19 CACHED
#20 [15/20] RUN TIMEFORMAT='time: %3R' bash -c 'time ${MAMBA_EXE} env update -p ${NB_PYTHON_PREFIX} --file ".binder/environment.yml" && time ${MAMBA_EXE} clean --all -f -y && ${MAMBA_EXE} list -p ${NB_PYTHON_PREFIX} '
#20 CACHED
#21 [16/20] COPY --chown=1000:1000 src/ /home/jovyan/
#21 DONE 1.4s
#22 [17/20] RUN chmod +x .binder/postBuild
#22 DONE 0.4s
#23 [18/20] RUN ./.binder/postBuild
#23 1.386 Processing /home/jovyan
#23 1.388 Preparing metadata (setup.py): started
#23 33.41 Preparing metadata (setup.py): finished with status 'error'
#23 33.42 error: subprocess-exited-with-error
#23 33.42
#23 33.42 × python setup.py egg_info did not run successfully.
#23 33.42 │ exit code: 1
#23 33.42 ╰─> [142 lines of output]
#23 33.42 running egg_info
#23 33.42 running jsdeps
#23 33.42 10.8.2
#23 33.42 Installing build dependencies with npm. This may take a while...
#23 33.42 npm warn old lockfile
#23 33.42 npm warn old lockfile The package-lock.json file was created with an old version of npm,
#23 33.42 npm warn old lockfile so supplemental metadata must be fetched from the registry.
#23 33.42 npm warn old lockfile
#23 33.42 npm warn old lockfile This is a one-time fix-up, please be patient...
#23 33.42 npm warn old lockfile
#23 33.42 npm warn deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
#23 33.42 npm warn deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
#23 33.42 npm warn deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
#23 33.42 npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
#23 33.42 npm warn deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
#23 33.42 npm warn deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
#23 33.42 npm warn deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
#23 33.42 npm warn deprecated [email protected]: This package is no longer supported.
#23 33.42 npm warn deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
#23 33.42 npm warn deprecated [email protected]: Please upgrade to v0.1.5
#23 33.42 npm warn deprecated [email protected]: Please upgrade to v0.1.7
#23 33.42 npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
#23 33.42 npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
#23 33.42 npm warn deprecated [email protected]: This module is no longer supported.
#23 33.42 npm warn deprecated [email protected]: This package is no longer supported.
#23 33.42 npm warn deprecated [email protected]: This package is no longer supported.
#23 33.42 npm warn deprecated [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
#23 33.42 npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
#23 33.42 npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
#23 33.42 npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
#23 33.42 npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead.
#23 33.42 npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead.
#23 33.42 npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
#23 33.42 npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
#23 33.42 npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
#23 33.42 npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
#23 33.42 npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
#23 33.42 npm warn deprecated [email protected]: Please upgrade to v1.0.1
#23 33.42 npm warn deprecated [email protected]: Please upgrade to v1.0.1
#23 33.42 npm warn deprecated [email protected]: Please upgrade to v1.0.1
#23 33.42 npm warn deprecated [email protected]: Please upgrade to v1.0.1
#23 33.42 npm warn deprecated [email protected]: Please upgrade to v1.0.1
#23 33.42 npm warn deprecated [email protected]: Please upgrade to v1.0.1
#23 33.42 npm warn deprecated [email protected]: Please upgrade to v1.0.1
#23 33.42 npm warn deprecated [email protected]: Please upgrade to v1.0.1
#23 33.42 npm warn deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
#23 33.42 npm warn deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
#23 33.42 npm warn deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
#23 33.42 npm warn deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
#23 33.42 npm warn deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
#23 33.42 npm warn deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
#23 33.42 npm warn deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
#23 33.42 npm warn deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
#23 33.42 npm warn deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
#23 33.42
#23 33.42 added 939 packages, and audited 940 packages in 29s
#23 33.42
#23 33.42 16 packages are looking for funding
#23 33.42 run `npm fund` for details
#23 33.42
#23 33.42 65 vulnerabilities (5 low, 25 moderate, 27 high, 8 critical)
#23 33.42
#23 33.42 To address issues that do not require attention, run:
#23 33.42 npm audit fix
#23 33.42
#23 33.42 To address all issues (including breaking changes), run:
#23 33.42 npm audit fix --force
#23 33.42
#23 33.42 Run `npm audit` for details.
#23 33.42 npm notice
#23 33.42 npm notice New major version of npm available! 10.8.2 -> 11.6.2
#23 33.42 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.6.2
#23 33.42 npm notice To update run: npm install -g [email protected]
#23 33.42 npm notice
#23 33.42
#23 33.42 > [email protected] build
#23 33.42 > webpack --mode production -p
#23 33.42
#23 33.42 ℹ Compiling Webpack
#23 33.42 node:internal/crypto/hash:101
#23 33.42 this[kHandle] = new _Hash(algorithm, xofLen, algorithmId, getHashCache());
#23 33.42 ^
#23 33.42
#23 33.42 Error: error:0308010C:digital envelope routines::unsupported
#23 33.42 at new Hash (node:internal/crypto/hash:101:19)
#23 33.42 at Object.createHash (node:crypto:139:10)
#23 33.42 at module.exports (/home/jovyan/js/node_modules/webpack/lib/util/createHash.js:135:53)
#23 33.42 at NormalModule._initBuildHash (/home/jovyan/js/node_modules/webpack/lib/NormalModule.js:417:16)
#23 33.42 at handleParseError (/home/jovyan/js/node_modules/webpack/lib/NormalModule.js:471:10)
#23 33.42 at /home/jovyan/js/node_modules/webpack/lib/NormalModule.js:503:5
#23 33.42 at /home/jovyan/js/node_modules/webpack/lib/NormalModule.js:358:12
#23 33.42 at /home/jovyan/js/node_modules/loader-runner/lib/LoaderRunner.js:373:3
#23 33.42 at iterateNormalLoaders (/home/jovyan/js/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
#23 33.42 at Array.<anonymous> (/home/jovyan/js/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
#23 33.42 at Storage.finished (/home/jovyan/js/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
#23 33.42 at /home/jovyan/js/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
#23 33.42 at /home/jovyan/js/node_modules/graceful-fs/graceful-fs.js:115:16
#23 33.42 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) {
#23 33.42 opensslErrorStack: [
#23 33.42 'error:03000086:digital envelope routines::initialization error',
#23 33.42 'error:0308010C:digital envelope routines::unsupported'
#23 33.42 ],
#23 33.42 library: 'digital envelope routines',
#23 33.42 reason: 'unsupported',
#23 33.42 code: 'ERR_OSSL_EVP_UNSUPPORTED'
#23 33.42 }
#23 33.42
#23 33.42 Node.js v20.19.5
#23 33.42 /srv/conda/envs/notebook/lib/python3.8/site-packages/setuptools/dist.py:337: InformationOnly: Normalizing '0.32.6dev0' to '0.32.6.dev0'
#23 33.42 self.metadata.version = self._normalize_version(self.metadata.version)
#23 33.42 rebuilding js and css failed
#23 33.42 missing files: ['/home/jovyan/itkwidgets/static/extension.js', '/home/jovyan/itkwidgets/static/index.js']
#23 33.42 Traceback (most recent call last):
#23 33.42 File "<string>", line 2, in <module>
#23 33.42 File "<pip-setuptools-caller>", line 34, in <module>
#23 33.42 File "/home/jovyan/setup.py", line 202, in <module>
#23 33.42 setup(**setup_args)
#23 33.42 File "/srv/conda/envs/notebook/lib/python3.8/site-packages/setuptools/__init__.py", line 117, in setup
#23 33.42 return distutils.core.setup(**attrs)
#23 33.42 File "/srv/conda/envs/notebook/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 183, in setup
#23 33.42 return run_commands(dist)
#23 33.42 File "/srv/conda/envs/notebook/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
#23 33.42 dist.run_commands()
#23 33.42 File "/srv/conda/envs/notebook/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
#23 33.42 self.run_command(cmd)
#23 33.42 File "/srv/conda/envs/notebook/lib/python3.8/site-packages/setuptools/dist.py", line 999, in run_command
#23 33.42 super().run_command(command)
#23 33.42 File "/srv/conda/envs/notebook/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
#23 33.42 cmd_obj.run()
#23 33.42 File "/home/jovyan/setup.py", line 49, in run
#23 33.42 raise e
#23 33.42 File "/home/jovyan/setup.py", line 42, in run
#23 33.42 self.distribution.run_command('jsdeps')
#23 33.42 File "/srv/conda/envs/notebook/lib/python3.8/site-packages/setuptools/dist.py", line 999, in run_command
#23 33.42 super().run_command(command)
#23 33.42 File "/srv/conda/envs/notebook/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
#23 33.42 cmd_obj.run()
#23 33.42 File "/home/jovyan/setup.py", line 113, in run
#23 33.42 check_call([npmName, 'run', 'build'], cwd=node_root,
#23 33.42 File "/srv/conda/envs/notebook/lib/python3.8/subprocess.py", line 364, in check_call
#23 33.42 raise CalledProcessError(retcode, cmd)
#23 33.42 subprocess.CalledProcessError: Command '['npm', 'run', 'build']' returned non-zero exit status 1.
#23 33.42 [end of output]
#23 33.42
#23 33.42 note: This error originates from a subprocess, and is likely not a problem with pip.
#23 33.43 error: metadata-generation-failed
#23 33.43
#23 33.43 × Encountered error while generating package metadata.
#23 33.43 ╰─> See above for output.
#23 33.43
#23 33.43 note: This is an issue with the package mentioned above, not pip.
#23 33.43 hint: See above for details.
#23 33.83 usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
#23 33.83 [--paths] [--json] [--debug]
#23 33.83 [subcommand]
#23 33.83
#23 33.83 Jupyter: Interactive Computing
#23 33.83
#23 33.83 positional arguments:
#23 33.83 subcommand the subcommand to launch
#23 33.83
#23 33.83 optional arguments:
#23 33.83 -h, --help show this help message and exit
#23 33.83 --version show the versions of core jupyter packages and exit
#23 33.83 --config-dir show Jupyter config dir
#23 33.83 --data-dir show Jupyter data dir
#23 33.83 --runtime-dir show Jupyter runtime dir
#23 33.83 --paths show all Jupyter paths. Add --json for machine-readable
#23 33.83 format.
#23 33.83 --json output paths as machine-readable json
#23 33.83 --debug output debug information about paths
#23 33.83
#23 33.83 Available subcommands: dejavu events execute kernel kernelspec lab
#23 33.83 labextension labhub migrate nbconvert notebook run server troubleshoot trust
#23 33.83
#23 33.83 Jupyter command `jupyter-nbextension` not found.
#23 33.93 usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
#23 33.93 [--paths] [--json] [--debug]
#23 33.93 [subcommand]
#23 33.93
#23 33.93 Jupyter: Interactive Computing
#23 33.93
#23 33.93 positional arguments:
#23 33.93 subcommand the subcommand to launch
#23 33.93
#23 33.93 optional arguments:
#23 33.93 -h, --help show this help message and exit
#23 33.93 --version show the versions of core jupyter packages and exit
#23 33.93 --config-dir show Jupyter config dir
#23 33.93 --data-dir show Jupyter data dir
#23 33.93 --runtime-dir show Jupyter runtime dir
#23 33.93 --paths show all Jupyter paths. Add --json for machine-readable
#23 33.93 format.
#23 33.93 --json output paths as machine-readable json
#23 33.93 --debug output debug information about paths
#23 33.93
#23 33.93 Available subcommands: dejavu events execute kernel kernelspec lab
#23 33.93 labextension labhub migrate nbconvert notebook run server troubleshoot trust
#23 33.93
#23 33.93 Jupyter command `jupyter-nbextension` not found.
#23 ERROR: process "/bin/sh -c ./.binder/postBuild" did not complete successfully: exit code: 1
------
> [18/20] RUN ./.binder/postBuild:
33.93 --runtime-dir show Jupyter runtime dir
33.93 --paths show all Jupyter paths. Add --json for machine-readable
33.93 format.
33.93 --json output paths as machine-readable json
33.93 --debug output debug information about paths
33.93
33.93 Available subcommands: dejavu events execute kernel kernelspec lab
33.93 labextension labhub migrate nbconvert notebook run server troubleshoot trust
33.93
33.93 Jupyter command `jupyter-nbextension` not found.
------
Dockerfile:148
--------------------
146 | # Make sure that postBuild scripts are marked executable before executing them
147 | RUN chmod +x .binder/postBuild
148 | >>> RUN ./.binder/postBuild
149 |
150 | # Add start script
--------------------
ERROR: failed to solve: process "/bin/sh -c ./.binder/postBuild" did not complete successfully: exit code: 1
Error during build: Command '['docker', 'buildx', 'build', '--progress', 'plain', '--push', '--build-arg', 'NB_USER=jovyan', '--build-arg', 'NB_UID=1000', '--tag', 'registry.gesis.mybinder.org/i-insightsoftwareconsortium-2ditkwidgets-bd37c4:0928d3aea2d1fd1a2435c4f85333e6f92e82c24b', '--platform', 'linux/amd64', '/tmp/tmpxg8ndhj_']' returned non-zero exit status 1.
Metadata
Metadata
Assignees
Labels
No labels