Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error related to import ts types #548

Open
paddymul opened this issue Oct 12, 2024 · 0 comments
Open

Build error related to import ts types #548

paddymul opened this issue Oct 12, 2024 · 0 comments

Comments

@paddymul
Copy link

paddymul commented Oct 12, 2024

Following the dev instructions I get typing errors. (just showing relevant jlpm run build, full trace in details.

Run off of main ( f7fab29) today

node_modules/@lumino/application/types/index.d.ts:6:15 - error TS1005: ',' expected.

6 import { type IPlugin, PluginRegistry, type Token } from '@lumino/coreutils';
                ~~~~~~~

node_modules/@lumino/application/types/index.d.ts:6:45 - error TS1005: ',' expected.

6 import { type IPlugin, PluginRegistry, type Token } from '@lumino/coreutils';
                                              ~~~~~

node_modules/@lumino/application/types/index.d.ts:11:15 - error TS1005: ',' expected.

11 export { type IPlugin };
                 ~~~~~~~

node_modules/@rjsf/utils/lib/getDateElementProps.d.ts:1:15 - error TS1005: ',' expected.

1 import { type DateObject } from './types';
                ~~~~~~~~~~

node_modules/@rjsf/utils/lib/index.d.ts:17:36 - error TS1005: ',' expected.

17 import getDateElementProps, { type DateElementFormat } from './getDateElementProps';
                                      ~~~~~~~~~~~~~~~~~

node_modules/@types/lodash/common/object.d.ts:1026:46 - error TS1005: '?' expected.

1026         : K extends `${infer N extends number}` ? T[N]
                                                  ~

node_modules/@types/lodash/common/object.d.ts:1031:46 - error TS1005: '?' expected.

1031         : K extends `${infer N extends number}` ? T[N]
                                                  ~

node_modules/@types/lodash/common/object.d.ts:1041:46 - error TS1005: '?' expected.

1041         : K extends `${infer N extends number}`
                                                  ~


Found 8 errors.

almost full pip install -ve . output

(Partially elided because of max comment length

``` pip install -ve . Using pip 24.2 from /Users/paddy/anaconda3/envs/ipydatagrid-dev/lib/python3.9/site-packages/pip (python 3.9) Obtaining file:///Users/paddy/code/ipydatagrid Running command pip subprocess to install build dependencies Using pip 24.2 from /Users/paddy/anaconda3/envs/ipydatagrid-dev/lib/python3.9/site-packages/pip (python 3.9) Collecting hatchling>=1.18 Obtaining dependency information for hatchling>=1.18 from https://files.pythonhosted.org/packages/0c/8b/90e80904fdc24ce33f6fc6f35ebd2232fe731a8528a22008458cf197bc4d/hatchling-1.25.0-py3-none-any.whl.metadata Using cached hatchling-1.25.0-py3-none-any.whl.metadata (3.8 kB) Collecting jupyterlab>=4.0.5 Obtaining dependency information for jupyterlab>=4.0.5 from https://files.pythonhosted.org/

=============================================
Omitted for max comment length

packages/f0/74/c95adcdf032956d9ef6c89a9b8a5152bf73915f8c633f3e3d88d06bd699c/mistune-3.0.2-py3-none-any.whl.metadata
Using cached mistune-3.0.2-py3-none-any.whl.metadata (1.7 kB)
Collecting nbclient>=0.5.0 (from nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for nbclient>=0.5.0 from https://files.pythonhosted.org/packages/66/e8/00517a23d3eeaed0513e718fbc94aab26eaa1758f5690fc8578839791c79/nbclient-0.10.0-py3-none-any.whl.metadata
Using cached nbclient-0.10.0-py3-none-any.whl.metadata (7.8 kB)
Collecting pandocfilters>=1.4.1 (from nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for pandocfilters>=1.4.1 from https://files.pythonhosted.org/packages/ef/af/4fbc8cab944db5d21b7e2a5b8e9211a03a79852b1157e2c102fcc61ac440/pandocfilters-1.5.1-py2.py3-none-any.whl.metadata
Using cached pandocfilters-1.5.1-py2.py3-none-any.whl.metadata (9.0 kB)
Collecting tinycss2 (from nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for tinycss2 from https://files.pythonhosted.org/packages/2c/4d/0db5b8a613d2a59bbc29bc5bb44a2f8070eb9ceab11c50d477502a8a0092/tinycss2-1.3.0-py3-none-any.whl.metadata
Using cached tinycss2-1.3.0-py3-none-any.whl.metadata (3.0 kB)
Collecting fastjsonschema>=2.15 (from nbformat>=5.3.0->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for fastjsonschema>=2.15 from https://files.pythonhosted.org/packages/6d/ca/086311cdfc017ec964b2436fe0c98c1f4efcb7e4c328956a22456e497655/fastjsonschema-2.20.0-py3-none-any.whl.metadata
Using cached fastjsonschema-2.20.0-py3-none-any.whl.metadata (2.1 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.31->jupyterlab-server<3,>=2.27.1->jupyterlab>=4.0.5)
Obtaining dependency information for charset-normalizer<4,>=2 from https://files.pythonhosted.org/packages/d6/27/327904c5a54a7796bb9f36810ec4173d2df5d88b401d2b95ef53111d214e/charset_normalizer-3.4.0-cp39-cp39-macosx_11_0_arm64.whl.metadata
Using cached charset_normalizer-3.4.0-cp39-cp39-macosx_11_0_arm64.whl.metadata (34 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.31->jupyterlab-server<3,>=2.27.1->jupyterlab>=4.0.5)
Obtaining dependency information for urllib3<3,>=1.21.1 from https://files.pythonhosted.org/packages/ce/d9/5f4c13cecde62396b0d3fe530a50ccea91e7dfc1ccf0e09c228841bb5ba8/urllib3-2.2.3-py3-none-any.whl.metadata
Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
Collecting ptyprocess (from terminado>=0.8.3->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for ptyprocess from https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl.metadata
Using cached ptyprocess-0.7.0-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting six>=1.9.0 (from bleach!=5.0.0->nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for six>=1.9.0 from https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl.metadata
Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting webencodings (from bleach!=5.0.0->nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for webencodings from https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl.metadata
Using cached webencodings-0.5.1-py2.py3-none-any.whl.metadata (2.1 kB)
Collecting parso<0.9.0,>=0.8.3 (from jedi>=0.16->ipython>=7.23.1->ipykernel>=6.5.0->jupyterlab>=4.0.5)
Obtaining dependency information for parso<0.9.0,>=0.8.3 from https://files.pythonhosted.org/packages/c6/ac/dac4a63f978e4dcb3c6d3a78c4d8e0192a113d288502a1216950c41b1027/parso-0.8.4-py2.py3-none-any.whl.metadata
Using cached parso-0.8.4-py2.py3-none-any.whl.metadata (7.7 kB)
Collecting fqdn (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for fqdn from https://files.pythonhosted.org/packages/cf/58/8acf1b3e91c58313ce5cb67df61001fc9dcd21be4fadb76c1a2d540e09ed/fqdn-1.5.1-py3-none-any.whl.metadata
Using cached fqdn-1.5.1-py3-none-any.whl.metadata (1.4 kB)
Collecting isoduration (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for isoduration from https://files.pythonhosted.org/packages/7b/55/e5326141505c5d5e34c5e0935d2908a74e4561eca44108fbfb9c13d2911a/isoduration-20.11.0-py3-none-any.whl.metadata
Using cached isoduration-20.11.0-py3-none-any.whl.metadata (5.7 kB)
Collecting jsonpointer>1.13 (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for jsonpointer>1.13 from https://files.pythonhosted.org/packages/71/92/5e77f98553e9e75130c78900d000368476aed74276eb8ae8796f65f00918/jsonpointer-3.0.0-py2.py3-none-any.whl.metadata
Using cached jsonpointer-3.0.0-py2.py3-none-any.whl.metadata (2.3 kB)
Collecting uri-template (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for uri-template from https://files.pythonhosted.org/packages/e7/00/3fca040d7cf8a32776d3d81a00c8ee7457e00f80c649f1e4a863c8321ae9/uri_template-1.3.0-py3-none-any.whl.metadata
Using cached uri_template-1.3.0-py3-none-any.whl.metadata (8.8 kB)
Collecting webcolors>=24.6.0 (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for webcolors>=24.6.0 from https://files.pythonhosted.org/packages/f0/33/12020ba99beaff91682b28dc0bbf0345bbc3244a4afbae7644e4fa348f23/webcolors-24.8.0-py3-none-any.whl.metadata
Using cached webcolors-24.8.0-py3-none-any.whl.metadata (2.6 kB)
Collecting wcwidth (from prompt-toolkit<3.1.0,>=3.0.41->ipython>=7.23.1->ipykernel>=6.5.0->jupyterlab>=4.0.5)
Obtaining dependency information for wcwidth from https://files.pythonhosted.org/packages/fd/84/fd2ba7aafacbad3c4201d395674fc6348826569da3c0937e75505ead3528/wcwidth-0.2.13-py2.py3-none-any.whl.metadata
Using cached wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
Collecting cffi>=1.0.1 (from argon2-cffi-bindings->argon2-cffi>=21.1->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for cffi>=1.0.1 from https://files.pythonhosted.org/packages/ae/11/e77c8cd24f58285a82c23af484cf5b124a376b32644e445960d1a4654c3a/cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl.metadata
Using cached cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl.metadata (1.5 kB)
Collecting soupsieve>1.2 (from beautifulsoup4->nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for soupsieve>1.2 from https://files.pythonhosted.org/packages/d1/c2/fe97d779f3ef3b15f05c94a2f1e3d21732574ed441687474db9d342a7315/soupsieve-2.6-py3-none-any.whl.metadata
Using cached soupsieve-2.6-py3-none-any.whl.metadata (4.6 kB)
Collecting executing>=1.2.0 (from stack-data->ipython>=7.23.1->ipykernel>=6.5.0->jupyterlab>=4.0.5)
Obtaining dependency information for executing>=1.2.0 from https://files.pythonhosted.org/packages/b5/fd/afcd0496feca3276f509df3dbd5dae726fcc756f1a08d9e25abe1733f962/executing-2.1.0-py2.py3-none-any.whl.metadata
Using cached executing-2.1.0-py2.py3-none-any.whl.metadata (8.9 kB)
Collecting asttokens>=2.1.0 (from stack-data->ipython>=7.23.1->ipykernel>=6.5.0->jupyterlab>=4.0.5)
Obtaining dependency information for asttokens>=2.1.0 from https://files.pythonhosted.org/packages/45/86/4736ac618d82a20d87d2f92ae19441ebc7ac9e7a581d7e58bbe79233b24a/asttokens-2.4.1-py2.py3-none-any.whl.metadata
Using cached asttokens-2.4.1-py2.py3-none-any.whl.metadata (5.2 kB)
Collecting pure-eval (from stack-data->ipython>=7.23.1->ipykernel>=6.5.0->jupyterlab>=4.0.5)
Obtaining dependency information for pure-eval from https://files.pythonhosted.org/packages/8e/37/efad0257dc6e593a18957422533ff0f87ede7c9c6ea010a2177d738fb82f/pure_eval-0.2.3-py3-none-any.whl.metadata
Using cached pure_eval-0.2.3-py3-none-any.whl.metadata (6.3 kB)
Collecting pycparser (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi>=21.1->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for pycparser from https://files.pythonhosted.org/packages/13/a3/a812df4e2dd5696d1f351d58b8fe16a405b234ad2886a0dab9183fb78109/pycparser-2.22-py3-none-any.whl.metadata
Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Collecting arrow>=0.15.0 (from isoduration->jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for arrow>=0.15.0 from https://files.pythonhosted.org/packages/f8/ed/e97229a566617f2ae958a6b13e7cc0f585470eac730a73e9e82c32a3cdd2/arrow-1.3.0-py3-none-any.whl.metadata
Using cached arrow-1.3.0-py3-none-any.whl.metadata (7.5 kB)
Collecting types-python-dateutil>=2.8.10 (from arrow>=0.15.0->isoduration->jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->jupyterlab>=4.0.5)
Obtaining dependency information for types-python-dateutil>=2.8.10 from https://files.pythonhosted.org/packages/35/d6/ba5f61958f358028f2e2ba1b8e225b8e263053bd57d3a79e2d2db64c807b/types_python_dateutil-2.9.0.20241003-py3-none-any.whl.metadata
Using cached types_python_dateutil-2.9.0.20241003-py3-none-any.whl.metadata (1.9 kB)
Using cached hatchling-1.25.0-py3-none-any.whl (84 kB)
Using cached jupyterlab-4.2.5-py3-none-any.whl (11.6 MB)
Using cached async_lru-2.0.4-py3-none-any.whl (6.1 kB)
Using cached httpx-0.27.2-py3-none-any.whl (76 kB)
Using cached httpcore-1.0.6-py3-none-any.whl (78 kB)
Using cached importlib_metadata-8.5.0-py3-none-any.whl (26 kB)
Using cached ipykernel-6.29.5-py3-none-any.whl (117 kB)
Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Using cached jupyter_core-5.7.2-py3-none-any.whl (28 kB)
Using cached jupyter_lsp-2.2.5-py3-none-any.whl (69 kB)
Using cached jupyter_server-2.14.2-py3-none-any.whl (383 kB)
Using cached jupyterlab_server-2.27.3-py3-none-any.whl (59 kB)
Using cached notebook_shim-0.2.4-py3-none-any.whl (13 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached pathspec-0.12.1-py3-none-any.whl (31 kB)
Using cached pluggy-1.5.0-py3-none-any.whl (20 kB)
Using cached setuptools-75.1.0-py3-none-any.whl (1.2 MB)
Using cached tomli-2.0.2-py3-none-any.whl (13 kB)
Using cached tornado-6.4.1-cp38-abi3-macosx_10_9_universal2.whl (435 kB)
Using cached traitlets-5.14.3-py3-none-any.whl (85 kB)
Using cached trove_classifiers-2024.10.11-py3-none-any.whl (13 kB)
Using cached anyio-4.6.0-py3-none-any.whl (89 kB)
Using cached argon2_cffi-23.1.0-py3-none-any.whl (15 kB)
Using cached babel-2.16.0-py3-none-any.whl (9.6 MB)
Using cached comm-0.2.2-py3-none-any.whl (7.2 kB)
Using cached debugpy-1.8.7-py2.py3-none-any.whl (5.2 MB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached ipython-8.18.1-py3-none-any.whl (808 kB)
Using cached json5-0.9.25-py3-none-any.whl (30 kB)
Using cached jsonschema-4.23.0-py3-none-any.whl (88 kB)
Using cached jupyter_client-8.6.3-py3-none-any.whl (106 kB)
Using cached jupyter_events-0.10.0-py3-none-any.whl (18 kB)
Using cached jupyter_server_terminals-0.5.3-py3-none-any.whl (13 kB)
Using cached MarkupSafe-3.0.1-cp39-cp39-macosx_11_0_arm64.whl (12 kB)
Using cached matplotlib_inline-0.1.7-py3-none-any.whl (9.9 kB)
Using cached nbconvert-7.16.4-py3-none-any.whl (257 kB)
Using cached nbformat-5.10.4-py3-none-any.whl (78 kB)
Using cached overrides-7.7.0-py3-none-any.whl (17 kB)
Using cached platformdirs-4.3.6-py3-none-any.whl (18 kB)
Using cached prometheus_client-0.21.0-py3-none-any.whl (54 kB)
Using cached pyzmq-26.2.0-cp39-cp39-macosx_10_15_universal2.whl (1.3 MB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached Send2Trash-1.8.3-py3-none-any.whl (18 kB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Using cached terminado-0.18.1-py3-none-any.whl (14 kB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Using cached websocket_client-1.8.0-py3-none-any.whl (58 kB)
Using cached zipp-3.20.2-py3-none-any.whl (9.2 kB)
Using cached appnope-0.1.4-py2.py3-none-any.whl (4.3 kB)
Using cached nest_asyncio-1.6.0-py3-none-any.whl (5.2 kB)
Using cached psutil-6.0.0-cp38-abi3-macosx_11_0_arm64.whl (251 kB)
Using cached attrs-24.2.0-py3-none-any.whl (63 kB)
Using cached bleach-6.1.0-py3-none-any.whl (162 kB)
Using cached charset_normalizer-3.4.0-cp39-cp39-macosx_11_0_arm64.whl (120 kB)
Using cached exceptiongroup-1.2.2-py3-none-any.whl (16 kB)
Using cached fastjsonschema-2.20.0-py3-none-any.whl (23 kB)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Using cached jedi-0.19.1-py2.py3-none-any.whl (1.6 MB)
Using cached jsonschema_specifications-2024.10.1-py3-none-any.whl (18 kB)
Using cached mistune-3.0.2-py3-none-any.whl (47 kB)
Using cached nbclient-0.10.0-py3-none-any.whl (25 kB)
Using cached pandocfilters-1.5.1-py2.py3-none-any.whl (8.7 kB)
Using cached pexpect-4.9.0-py2.py3-none-any.whl (63 kB)
Using cached prompt_toolkit-3.0.48-py3-none-any.whl (386 kB)
Using cached ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Using cached pygments-2.18.0-py3-none-any.whl (1.2 MB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached python_json_logger-2.0.7-py3-none-any.whl (8.1 kB)
Using cached PyYAML-6.0.2-cp39-cp39-macosx_11_0_arm64.whl (172 kB)
Using cached referencing-0.35.1-py3-none-any.whl (26 kB)
Using cached rfc3986_validator-0.1.1-py2.py3-none-any.whl (4.2 kB)
Using cached rpds_py-0.20.0-cp39-cp39-macosx_11_0_arm64.whl (311 kB)
Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
Using cached argon2_cffi_bindings-21.2.0-cp38-abi3-macosx_10_9_universal2.whl (53 kB)
Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Using cached jupyterlab_pygments-0.3.0-py3-none-any.whl (15 kB)
Using cached rfc3339_validator-0.1.4-py2.py3-none-any.whl (3.5 kB)
Using cached stack_data-0.6.3-py3-none-any.whl (24 kB)
Using cached tinycss2-1.3.0-py3-none-any.whl (22 kB)
Using cached asttokens-2.4.1-py2.py3-none-any.whl (27 kB)
Using cached cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl (178 kB)
Using cached executing-2.1.0-py2.py3-none-any.whl (25 kB)
Using cached jsonpointer-3.0.0-py2.py3-none-any.whl (7.6 kB)
Using cached parso-0.8.4-py2.py3-none-any.whl (103 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached soupsieve-2.6-py3-none-any.whl (36 kB)
Using cached webcolors-24.8.0-py3-none-any.whl (15 kB)
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Using cached fqdn-1.5.1-py3-none-any.whl (9.1 kB)
Using cached isoduration-20.11.0-py3-none-any.whl (11 kB)
Using cached pure_eval-0.2.3-py3-none-any.whl (11 kB)
Using cached uri_template-1.3.0-py3-none-any.whl (11 kB)
Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Using cached arrow-1.3.0-py3-none-any.whl (66 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Using cached types_python_dateutil-2.9.0.20241003-py3-none-any.whl (9.7 kB)
Installing collected packages: webencodings, wcwidth, trove-classifiers, pure-eval, ptyprocess, fastjsonschema, zipp, websocket-client, webcolors, urllib3, uri-template, typing-extensions, types-python-dateutil, traitlets, tornado, tomli, tinycss2, soupsieve, sniffio, six, setuptools, send2trash, rpds-py, rfc3986-validator, pyzmq, pyyaml, python-json-logger, pygments, pycparser, psutil, prompt-toolkit, prometheus-client, pluggy, platformdirs, pexpect, pathspec, parso, pandocfilters, packaging, overrides, nest-asyncio, mistune, MarkupSafe, jupyterlab-pygments, jsonpointer, json5, idna, h11, fqdn, executing, exceptiongroup, defusedxml, decorator, debugpy, charset-normalizer, certifi, babel, attrs, appnope, terminado, rfc3339-validator, requests, referencing, python-dateutil, matplotlib-inline, jupyter-core, jinja2, jedi, importlib-metadata, httpcore, hatchling, comm, cffi, bleach, beautifulsoup4, async-lru, asttokens, anyio, stack-data, jupyter-server-terminals, jupyter-client, jsonschema-specifications, httpx, arrow, argon2-cffi-bindings, jsonschema, isoduration, ipython, argon2-cffi, nbformat, ipykernel, nbclient, jupyter-events, nbconvert, jupyter-server, notebook-shim, jupyterlab-server, jupyter-lsp, jupyterlab
Creating /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/wsdump to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/send2trash to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/pygmentize to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/pyjson5 to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/debugpy to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/normalizer to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/pybabel to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-migrate to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-troubleshoot to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/hatchling to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-kernel to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-kernelspec to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-run to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/httpx to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jsonschema to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/ipython to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/ipython3 to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-trust to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-execute to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-events to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-dejavu to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-nbconvert to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-server to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jlpm to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-lab to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-labextension to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jupyter-labhub to 755
Successfully installed MarkupSafe-3.0.1 anyio-4.6.0 appnope-0.1.4 argon2-cffi-23.1.0 argon2-cffi-bindings-21.2.0 arrow-1.3.0 asttokens-2.4.1 async-lru-2.0.4 attrs-24.2.0 babel-2.16.0 beautifulsoup4-4.12.3 bleach-6.1.0 certifi-2024.8.30 cffi-1.17.1 charset-normalizer-3.4.0 comm-0.2.2 debugpy-1.8.7 decorator-5.1.1 defusedxml-0.7.1 exceptiongroup-1.2.2 executing-2.1.0 fastjsonschema-2.20.0 fqdn-1.5.1 h11-0.14.0 hatchling-1.25.0 httpcore-1.0.6 httpx-0.27.2 idna-3.10 importlib-metadata-8.5.0 ipykernel-6.29.5 ipython-8.18.1 isoduration-20.11.0 jedi-0.19.1 jinja2-3.1.4 json5-0.9.25 jsonpointer-3.0.0 jsonschema-4.23.0 jsonschema-specifications-2024.10.1 jupyter-client-8.6.3 jupyter-core-5.7.2 jupyter-events-0.10.0 jupyter-lsp-2.2.5 jupyter-server-2.14.2 jupyter-server-terminals-0.5.3 jupyterlab-4.2.5 jupyterlab-pygments-0.3.0 jupyterlab-server-2.27.3 matplotlib-inline-0.1.7 mistune-3.0.2 nbclient-0.10.0 nbconvert-7.16.4 nbformat-5.10.4 nest-asyncio-1.6.0 notebook-shim-0.2.4 overrides-7.7.0 packaging-24.1 pandocfilters-1.5.1 parso-0.8.4 pathspec-0.12.1 pexpect-4.9.0 platformdirs-4.3.6 pluggy-1.5.0 prometheus-client-0.21.0 prompt-toolkit-3.0.48 psutil-6.0.0 ptyprocess-0.7.0 pure-eval-0.2.3 pycparser-2.22 pygments-2.18.0 python-dateutil-2.9.0.post0 python-json-logger-2.0.7 pyyaml-6.0.2 pyzmq-26.2.0 referencing-0.35.1 requests-2.32.3 rfc3339-validator-0.1.4 rfc3986-validator-0.1.1 rpds-py-0.20.0 send2trash-1.8.3 setuptools-75.1.0 six-1.16.0 sniffio-1.3.1 soupsieve-2.6 stack-data-0.6.3 terminado-0.18.1 tinycss2-1.3.0 tomli-2.0.2 tornado-6.4.1 traitlets-5.14.3 trove-classifiers-2024.10.11 types-python-dateutil-2.9.0.20241003 typing-extensions-4.12.2 uri-template-1.3.0 urllib3-2.2.3 wcwidth-0.2.13 webcolors-24.8.0 webencodings-0.5.1 websocket-client-1.8.0 zipp-3.20.2
Installing build dependencies ... done
Running command Checking if build backend supports build_editable
Checking if build backend supports build_editable ... done
Running command Getting requirements to build editable
Getting requirements to build editable ... done
Running command pip subprocess to install backend dependencies
Using pip 24.2 from /Users/paddy/anaconda3/envs/ipydatagrid-dev/lib/python3.9/site-packages/pip (python 3.9)
Collecting hatch-jupyter-builder>=0.8.1
Obtaining dependency information for hatch-jupyter-builder>=0.8.1 from https://files.pythonhosted.org/packages/9f/ce/be681f7af8141eabe61df05c7990db3bafe0ea9e2d7cec9329fad75a00e4/hatch_jupyter_builder-0.9.1-py3-none-any.whl.metadata
Using cached hatch_jupyter_builder-0.9.1-py3-none-any.whl.metadata (5.4 kB)
Collecting editables~=0.3
Obtaining dependency information for editables~=0.3 from https://files.pythonhosted.org/packages/6b/be/0f2f4a5e8adc114a02b63d92bf8edbfa24db6fc602fca83c885af2479e0e/editables-0.5-py3-none-any.whl.metadata
Using cached editables-0.5-py3-none-any.whl.metadata (3.1 kB)
Collecting hatchling>=1.17 (from hatch-jupyter-builder>=0.8.1)
Obtaining dependency information for hatchling>=1.17 from https://files.pythonhosted.org/packages/0c/8b/90e80904fdc24ce33f6fc6f35ebd2232fe731a8528a22008458cf197bc4d/hatchling-1.25.0-py3-none-any.whl.metadata
Using cached hatchling-1.25.0-py3-none-any.whl.metadata (3.8 kB)
Collecting packaging>=23.2 (from hatchling>=1.17->hatch-jupyter-builder>=0.8.1)
Obtaining dependency information for packaging>=23.2 from https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl.metadata
Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting pathspec>=0.10.1 (from hatchling>=1.17->hatch-jupyter-builder>=0.8.1)
Obtaining dependency information for pathspec>=0.10.1 from https://files.pythonhosted.org/packages/cc/20/ff623b09d963f88bfde16306a54e12ee5ea43e9b597108672ff3a408aad6/pathspec-0.12.1-py3-none-any.whl.metadata
Using cached pathspec-0.12.1-py3-none-any.whl.metadata (21 kB)
Collecting pluggy>=1.0.0 (from hatchling>=1.17->hatch-jupyter-builder>=0.8.1)
Obtaining dependency information for pluggy>=1.0.0 from https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl.metadata
Using cached pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting tomli>=1.2.2 (from hatchling>=1.17->hatch-jupyter-builder>=0.8.1)
Obtaining dependency information for tomli>=1.2.2 from https://files.pythonhosted.org/packages/cf/db/ce8eda256fa131af12e0a76d481711abe4681b6923c27efb9a255c9e4594/tomli-2.0.2-py3-none-any.whl.metadata
Using cached tomli-2.0.2-py3-none-any.whl.metadata (10.0 kB)
Collecting trove-classifiers (from hatchling>=1.17->hatch-jupyter-builder>=0.8.1)
Obtaining dependency information for trove-classifiers from https://files.pythonhosted.org/packages/db/f0/0a650be35cfb7e38a394e32232908c4dc8a7dcc19686d745bc47ac025739/trove_classifiers-2024.10.11-py3-none-any.whl.metadata
Using cached trove_classifiers-2024.10.11-py3-none-any.whl.metadata (2.2 kB)
Using cached hatch_jupyter_builder-0.9.1-py3-none-any.whl (18 kB)
Using cached editables-0.5-py3-none-any.whl (5.1 kB)
Using cached hatchling-1.25.0-py3-none-any.whl (84 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached pathspec-0.12.1-py3-none-any.whl (31 kB)
Using cached pluggy-1.5.0-py3-none-any.whl (20 kB)
Using cached tomli-2.0.2-py3-none-any.whl (13 kB)
Using cached trove_classifiers-2024.10.11-py3-none-any.whl (13 kB)
Installing collected packages: trove-classifiers, tomli, pluggy, pathspec, packaging, editables, hatchling, hatch-jupyter-builder
Creating /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/normal/bin
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/normal/bin/hatchling to 755
changing mode of /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/normal/bin/hatch-jupyter-builder to 755
Successfully installed editables-0.5 hatch-jupyter-builder-0.9.1 hatchling-1.25.0 packaging-24.1 pathspec-0.12.1 pluggy-1.5.0 tomli-2.0.2 trove-classifiers-2024.10.11
Installing backend dependencies ... done
Running command Preparing editable metadata (pyproject.toml)
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: {'path': '.', 'build_cmd': 'build', 'npm': ['jlpm']}
INFO:hatch_jupyter_builder.utils:Installing build dependencies with npm. This may take a while...
INFO:hatch_jupyter_builder.utils:> /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jlpm install
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @jupyterlab/services@npm:7.2.5 doesn't provide react (pccd87), requested by @jupyterlab/settingregistry
➤ YN0002: │ @lumino/commands@npm:1.21.1 doesn't provide crypto (p1d233), requested by @lumino/coreutils
➤ YN0002: │ @lumino/dragdrop@npm:1.14.5 doesn't provide crypto (p19e23), requested by @lumino/coreutils
➤ YN0002: │ @lumino/widgets@npm:1.37.2 doesn't provide crypto (pbd9eb), requested by @lumino/coreutils
➤ YN0060: │ ipydatagrid@workspace:. provides typescript (pde841) with version 4.2.4, which doesn't satisfy what ts-jest requests
➤ YN0002: │ svg-url-loader@npm:3.0.3 doesn't provide webpack (p260b6), requested by file-loader
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 206ms
➤ YN0000: Done with warnings in 0s 515ms
INFO:hatch_jupyter_builder.utils:> /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jlpm run build
node_modules/@lumino/application/types/index.d.ts(6,15): error TS1005: ',' expected.
node_modules/@lumino/application/types/index.d.ts(6,45): error TS1005: ',' expected.
node_modules/@lumino/application/types/index.d.ts(11,15): error TS1005: ',' expected.
node_modules/@rjsf/utils/lib/getDateElementProps.d.ts(1,15): error TS1005: ',' expected.
node_modules/@rjsf/utils/lib/index.d.ts(17,36): error TS1005: ',' expected.
node_modules/@types/lodash/common/object.d.ts(1026,46): error TS1005: '?' expected.
node_modules/@types/lodash/common/object.d.ts(1031,46): error TS1005: '?' expected.
node_modules/@types/lodash/common/object.d.ts(1041,46): error TS1005: '?' expected.
Traceback (most recent call last):
File "/Users/paddy/anaconda3/envs/ipydatagrid-dev/lib/python3.9/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 "/Users/paddy/anaconda3/envs/ipydatagrid-dev/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/Users/paddy/anaconda3/envs/ipydatagrid-dev/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/paddy/anaconda3/envs/ipydatagrid-dev/lib/python3.9/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 "/private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/lib/python3.9/site-packages/hatchling/build.py", line 83, in build_editable
return os.path.basename(next(builder.build(directory=wheel_directory, versions=['editable'])))
File "/private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/lib/python3.9/site-packages/hatchling/builders/plugin/interface.py", line 147, in build
build_hook.initialize(version, build_data)
File "/private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/normal/lib/python3.9/site-packages/hatch_jupyter_builder/plugin.py", line 94, in initialize
raise e
File "/private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/normal/lib/python3.9/site-packages/hatch_jupyter_builder/plugin.py", line 89, in initialize
build_func(self.target_name, version, **build_kwargs)
File "/private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/normal/lib/python3.9/site-packages/hatch_jupyter_builder/utils.py", line 117, in npm_builder
run([*npm_cmd, "run", build_cmd], cwd=str(abs_path))
File "/private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/normal/lib/python3.9/site-packages/hatch_jupyter_builder/utils.py", line 231, in run
return subprocess.check_call(cmd, **kwargs)
File "/Users/paddy/anaconda3/envs/ipydatagrid-dev/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-6orxxv8i/overlay/bin/jlpm', 'run', 'build']' returned non-zero exit status 1.
error: subprocess-exited-with-error

× Preparing editable metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /Users/paddy/anaconda3/envs/ipydatagrid-dev/bin/python /Users/paddy/anaconda3/envs/ipydatagrid-dev/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_editable /var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/tmprmw0s0vu
cwd: /Users/paddy/code/ipydatagrid
Preparing editable metadata (pyproject.toml) ... error
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.

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant