Waiting for build to start... Picked Git content provider. Cloning into '/tmp/repo2docker3hfcufz3'... HEAD is now at a3f606e Update config loading logic Building conda environment for python=3.10 Using CondaBuildPack builder Step 1/52 : FROM docker.io/library/buildpack-deps:jammy ---> b6235acc32ce Step 2/52 : ENV DEBIAN_FRONTEND=noninteractive ---> Using cache ---> bd3e3619b964 Step 3/52 : 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/* ---> Using cache ---> 9ff29b075c5f Step 4/52 : RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen ---> Using cache ---> 782726d193c1 Step 5/52 : ENV LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 ---> Using cache ---> 241242fc78f6 Step 6/52 : ENV SHELL=/bin/bash ---> Using cache ---> 932c0f589a5d Step 7/52 : ARG NB_USER ---> Using cache ---> 92d569002c1e Step 8/52 : ARG NB_UID ---> Using cache ---> 8d01d0f777b8 Step 9/52 : ENV USER=${NB_USER} HOME=/home/${NB_USER} ---> Using cache ---> 3eadd004b9dd Step 10/52 : RUN groupadd --gid ${NB_UID} ${NB_USER} && useradd --comment "Default user" --create-home --gid ${NB_UID} --no-log-init --shell /bin/bash --uid ${NB_UID} ${NB_USER} ---> Using cache ---> b2423269787f Step 11/52 : 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/* ---> Using cache ---> bbc3a969a143 Step 12/52 : EXPOSE 8888 ---> Using cache ---> 3f41a4b3b470 Step 13/52 : ENV APP_BASE=/srv ---> Using cache ---> 5559775f9f13 Step 14/52 : ENV CONDA_DIR=${APP_BASE}/conda ---> Using cache ---> c9f78553563b Step 15/52 : ENV NB_PYTHON_PREFIX=${CONDA_DIR}/envs/notebook ---> Using cache ---> 06f41a2dd67d Step 16/52 : ENV NPM_DIR=${APP_BASE}/npm ---> Using cache ---> 11d3f9f9ec47 Step 17/52 : ENV NPM_CONFIG_GLOBALCONFIG=${NPM_DIR}/npmrc ---> Using cache ---> 32aa9be436eb Step 18/52 : ENV NB_ENVIRONMENT_FILE=/tmp/env/environment.lock ---> Using cache ---> 85f50b8683cd Step 19/52 : ENV MAMBA_ROOT_PREFIX=${CONDA_DIR} ---> Using cache ---> adf692ff9331 Step 20/52 : ENV MAMBA_EXE=${CONDA_DIR}/bin/mamba ---> Using cache ---> c8d78c2a7d35 Step 21/52 : ENV CONDA_PLATFORM=linux-64 ---> Using cache ---> 7b24d3a930e7 Step 22/52 : ENV KERNEL_PYTHON_PREFIX=${NB_PYTHON_PREFIX} ---> Using cache ---> ca902be2d80b Step 23/52 : ENV PATH=${NB_PYTHON_PREFIX}/bin:${CONDA_DIR}/bin:${NPM_DIR}/bin:${PATH} ---> Using cache ---> d98ef5970bf9 Step 24/52 : COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e11-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2factivate-2dconda-2esh-e70a7b /etc/profile.d/activate-conda.sh ---> Using cache ---> 1d054d4cb660 Step 25/52 : COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e11-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2fenvironment-2epy-2d3-2e10-2dlinux-2d64-2elock-8fa955 /tmp/env/environment.lock ---> Using cache ---> 5e48db3aedb7 Step 26/52 : COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e11-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2finstall-2dbase-2denv-2ebash-6a6072 /tmp/install-base-env.bash ---> Using cache ---> 296a0f47f816 Step 27/52 : RUN TIMEFORMAT='time: %3R' bash -c 'time /tmp/install-base-env.bash' && rm -rf /tmp/install-base-env.bash /tmp/env ---> Using cache ---> 24a2ed8027dd Step 28/52 : RUN mkdir -p ${NPM_DIR} && chown -R ${NB_USER}:${NB_USER} ${NPM_DIR} ---> Using cache ---> acaabc84397d Step 29/52 : USER root ---> Using cache ---> d973d601f2c4 Step 30/52 : ARG REPO_DIR=${HOME} ---> Using cache ---> 1d49721abf66 Step 31/52 : ENV REPO_DIR=${REPO_DIR} ---> Using cache ---> 3e9cac804fe6 Step 32/52 : RUN if [ ! -d "${REPO_DIR}" ]; then /usr/bin/install -o ${NB_USER} -g ${NB_USER} -d "${REPO_DIR}"; fi ---> Using cache ---> ef781bdf66f7 Step 33/52 : WORKDIR ${REPO_DIR} ---> Using cache ---> b2e141d7ad73 Step 34/52 : RUN chown ${NB_USER}:${NB_USER} ${REPO_DIR} ---> Using cache ---> 0ac2b31ba1f2 Step 35/52 : ENV PATH=${HOME}/.local/bin:${REPO_DIR}/.local/bin:${PATH} ---> Using cache ---> ead5c80d8ad8 Step 36/52 : ENV CONDA_DEFAULT_ENV=${KERNEL_PYTHON_PREFIX} ---> Using cache ---> e7c6e880579f Step 37/52 : COPY --chown=1000:1000 src/.binder/environment.yml ${REPO_DIR}/.binder/environment.yml ---> Using cache ---> fdeaa4251809 Step 38/52 : USER ${NB_USER} ---> Using cache ---> ccb82dc07688 Step 39/52 : 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} ' ---> Using cache ---> 87e9130414d7 Step 40/52 : USER root ---> Using cache ---> d2a6f6afd55f Step 41/52 : COPY --chown=1000:1000 src/ ${REPO_DIR}/ ---> 0f7d436aa129 Step 42/52 : LABEL repo2docker.ref="a3f606e74bf08b1d274e0fcdb7cb653032f53f72" ---> Running in 542ef4abda13 ---> Removed intermediate container 542ef4abda13 ---> ddc4a55b16c0 Step 43/52 : LABEL repo2docker.repo="https://github.com/trungleduc/voila" ---> Running in 4ec85d1e341d ---> Removed intermediate container 4ec85d1e341d ---> fe1dc3da47f7 Step 44/52 : LABEL repo2docker.version="2024.03.0" ---> Running in 11a74b47fa32 ---> Removed intermediate container 11a74b47fa32 ---> fa3939ed3710 Step 45/52 : USER ${NB_USER} ---> Running in bf0d35c1354c ---> Removed intermediate container bf0d35c1354c ---> 29b2d86e390f Step 46/52 : RUN chmod +x .binder/postBuild ---> Running in 801c5321df97 ---> Removed intermediate container 801c5321df97 ---> 110ff1fbc6e4 Step 47/52 : RUN ./.binder/postBuild ---> Running in 27593f7c6ece yarn install v1.21.1 [1/4] Resolving packages... warning jest > @jest/core > jest-haste-map > sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > abab@2.0.6: Use your platform's native atob() and btoa() methods instead warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > data-urls > abab@2.0.6: Use your platform's native atob() and btoa() methods instead warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > domexception@2.0.1: Use your platform's native DOMException instead warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. warning jest > @jest/core > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated warning jest > @jest/core > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated warning jest > @jest/core > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated warning jest > @jest/core > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated warning jest-junit > uuid@3.4.0: 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. warning lerna > @npmcli/run-script > node-gyp > make-fetch-happen > cacache > @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs warning workspace-aggregator-0343b9ca-0978-46b1-a346-d99c70cb4308 > @voila-dashboards/jupyterlab-preview > @jupyterlab/testutils > @jupyterlab/testing > jest-environment-jsdom > jsdom > abab@2.0.6: Use your platform's native atob() and btoa() methods instead warning workspace-aggregator-0343b9ca-0978-46b1-a346-d99c70cb4308 > @voila-dashboards/jupyterlab-preview > @jupyterlab/testutils > @jupyterlab/testing > jest-environment-jsdom > jsdom > domexception@4.0.0: Use your platform's native DOMException instead warning workspace-aggregator-0343b9ca-0978-46b1-a346-d99c70cb4308 > @voila-dashboards/jupyterlab-preview > @jupyterlab/testutils > @jupyterlab/testing > jest-environment-jsdom > jsdom > data-urls > abab@2.0.6: Use your platform's native atob() and btoa() methods instead warning workspace-aggregator-0343b9ca-0978-46b1-a346-d99c70cb4308 > @voila-dashboards/voila > @jupyterlab/json-extension > react-highlight-words > memoize-one@4.1.0: New custom equality api does not play well with all equality helpers. Please use v5.x [2/4] Fetching packages... error @typescript-eslint/eslint-plugin@5.62.0: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "12.4.0" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. Obtaining file:///home/jovyan Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing editable metadata (pyproject.toml): started Preparing editable metadata (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Preparing editable metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [68 lines of output] 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', 'npm': ['jlpm'], 'force': 'True'} INFO:hatch_jupyter_builder.utils:Installing build dependencies with npm. This may take a while... INFO:hatch_jupyter_builder.utils:> /tmp/pip-build-env-6v08vo75/overlay/bin/jlpm install ➤ YN0000: ┌ Resolution step ➤ YN0001: │ TypeError: Promise.allSettled is not a function at to (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:390:10412) at /tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:8211 at Ge.startProgressPromise (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:390:47585) at je.resolveEverything (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:6248) at async /tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:442:2137 at async Ge.startSectionPromise (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:409:3292) at async je.install (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:442:2076) at async /tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:499:12044 at async Function.start (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:409:2387) at async Cu.execute (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:499:11944) ➤ YN0000: └ Completed ➤ YN0000: Failed with errors in 0s 65ms (node:77) UnhandledPromiseRejectionWarning: TypeError: Promise.allSettled is not a function at to (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:390:10412) at ge (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:7538) at /tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:8047 (node:77) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 9) (node:77) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:77) UnhandledPromiseRejectionWarning: TypeError: Promise.allSettled is not a function at to (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:390:10412) at ge (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:7538) at /tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:8047 (node:77) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 10) (node:77) UnhandledPromiseRejectionWarning: TypeError: Promise.allSettled is not a function at to (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:390:10412) at ge (/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:7538) at /tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/jupyterlab/staging/yarn.js:439:8047 (node:77) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 11) Downloading CSS: https://unpkg.com/@jupyterlab/apputils@3.2.8/style/materialcolors.css Downloaded Notebook CSS to share/jupyter/voila/templates/base/static/materialcolors.css Downloading CSS: https://unpkg.com/@jupyterlab/theme-light-extension@3.2.8/style/variables.css Downloaded Notebook CSS to share/jupyter/voila/templates/base/static/labvariables.css Traceback (most recent call last): File "/srv/conda/envs/notebook/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 167, in prepare_metadata_for_build_editable hook = backend.prepare_metadata_for_build_editable AttributeError: module 'hatchling.build' has no attribute 'prepare_metadata_for_build_editable' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/srv/conda/envs/notebook/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/srv/conda/envs/notebook/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/srv/conda/envs/notebook/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 176, in prepare_metadata_for_build_editable whl_basename = build_hook(metadata_directory, config_settings) File "/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/hatchling/build.py", line 83, in build_editable return os.path.basename(next(builder.build(directory=wheel_directory, versions=['editable']))) File "/tmp/pip-build-env-6v08vo75/overlay/lib/python3.10/site-packages/hatchling/builders/plugin/interface.py", line 147, in build build_hook.initialize(version, build_data) File "/tmp/pip-build-env-6v08vo75/normal/lib/python3.10/site-packages/hatch_jupyter_builder/plugin.py", line 94, in initialize raise e File "/tmp/pip-build-env-6v08vo75/normal/lib/python3.10/site-packages/hatch_jupyter_builder/plugin.py", line 89, in initialize build_func(self.target_name, version, **build_kwargs) File "/tmp/pip-build-env-6v08vo75/normal/lib/python3.10/site-packages/hatch_jupyter_builder/utils.py", line 115, in npm_builder run([*npm_cmd, "install"], cwd=str(abs_path)) File "/tmp/pip-build-env-6v08vo75/normal/lib/python3.10/site-packages/hatch_jupyter_builder/utils.py", line 231, in run return subprocess.check_call(cmd, **kwargs) File "/srv/conda/envs/notebook/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/tmp/pip-build-env-6v08vo75/overlay/bin/jlpm', 'install']' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. ---> Removed intermediate container 27593f7c6ece The command '/bin/sh -c ./.binder/postBuild' returned a non-zero code: 1