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

7.0.2: pytest is failing on scanning units #7024

Open
kloczek opened this issue Aug 28, 2023 · 6 comments
Open

7.0.2: pytest is failing on scanning units #7024

kloczek opened this issue Aug 28, 2023 · 6 comments
Labels

Comments

@kloczek
Copy link

kloczek commented Aug 28, 2023

No description provided.

@kloczek kloczek added bug status:Needs Triage Applied to issues that need triage labels Aug 28, 2023
@andrii-i
Copy link
Contributor

Hi @kloczek. Could you please post an error you are getting for more context?

@kloczek
Copy link
Author

kloczek commented Sep 3, 2023

Looks like I've accidentally pressed enter before copy whole ticket content.
Sorry.

I cannot repeat now because now build is failing (with 7.02 and 7.0.3)

+ /usr/bin/python3 -sBm build -w --no-isolation
* Getting build dependencies for wheel...
* 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
➤ YN0000: ┌ Project validation
➤ YN0057: │ @jupyter-notebook/app: Resolutions field will be ignored
➤ YN0000: └ Completed
➤ YN0000: ┌ Resolution step
➤ YN0060: │ @jupyter-notebook/app@workspace:app provides webpack (pde4ea) with version 5.88.2, which doesn't satisfy what mini-css-extract-plugin requests
➤ YN0060: │ @jupyter-notebook/app@workspace:app provides webpack (p5ec5f) with version 5.88.2, which doesn't satisfy what style-loader requests
➤ YN0002: │ @jupyter-notebook/application-extension@workspace:packages/application-extension doesn't provide react (p227d4), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyter-notebook/notebook-extension@workspace:packages/notebook-extension doesn't provide react (pd7a13), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyter-notebook/tree-extension@workspace:packages/tree-extension doesn't provide react (pece4f), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyter-notebook/tree@workspace:packages/tree doesn't provide react (pc5d02), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyter-notebook/ui-components@workspace:packages/ui-components doesn't provide webpack (p04231), requested by babel-loader
➤ YN0002: │ @jupyterlab/cell-toolbar-extension@npm:4.0.5 doesn't provide react (paf6c9), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/console-extension@npm:4.0.5 doesn't provide react (pbeef9), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/csvviewer-extension@npm:4.0.5 doesn't provide react (p5959d), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/debugger-extension@npm:4.0.5 doesn't provide react (p76be0), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/documentsearch-extension@npm:4.0.5 doesn't provide react (p58e35), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/extensionmanager-extension@npm:4.0.5 doesn't provide react (p1dad6), requested by @jupyterlab/settingregistry
➤ YN0060: │ @jupyterlab/extensionmanager@npm:4.0.5 provides react (pe8152) with version 18.2.0, which doesn't satisfy what react-paginate requests
➤ YN0002: │ @jupyterlab/filebrowser-extension@npm:4.0.5 doesn't provide react (p90cfd), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/fileeditor-extension@npm:4.0.5 doesn't provide react (pe975e), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/htmlviewer-extension@npm:4.0.5 doesn't provide react (pcb5d3), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/json-extension@npm:4.0.5 doesn't provide @types/react (p804c8), requested by react-json-tree
➤ YN0002: │ @jupyterlab/mainmenu-extension@npm:4.0.5 doesn't provide react (p0b509), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/markdownviewer-extension@npm:4.0.5 doesn't provide react (p696b8), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/metadataform-extension@npm:4.0.5 doesn't provide react (p57981), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/metadataform@npm:4.0.5 doesn't provide @rjsf/utils (p552e8), requested by @rjsf/core
➤ YN0002: │ @jupyterlab/metadataform@npm:4.0.5 doesn't provide @rjsf/utils (pcf1ae), requested by @rjsf/validator-ajv8
➤ YN0002: │ @jupyterlab/services@npm:7.0.5 doesn't provide react (p4d970), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/settingeditor-extension@npm:4.0.5 doesn't provide react (p9efcd), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/terminal-extension@npm:4.0.5 doesn't provide react (p4b53d), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/testutils@npm:4.0.5 doesn't provide typescript (pd72c2), requested by @jupyterlab/testing
➤ YN0002: │ @jupyterlab/toc-extension@npm:6.0.5 doesn't provide react (pbd529), requested by @jupyterlab/settingregistry
➤ YN0002: │ @jupyterlab/translation-extension@npm:4.0.5 doesn't provide react (p8365f), requested by @jupyterlab/settingregistry
➤ YN0002: │ @lerna/legacy-package-management@npm:6.6.2 doesn't provide nx (pfc6c3), requested by @nrwl/devkit
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 0s 494ms
➤ YN0000: ┌ Fetch step
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  File "/usr/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/usr/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
  File "/usr/lib/python3.8/site-packages/hatchling/build.py", line 56, in build_wheel
    return os.path.basename(next(builder.build(wheel_directory, ['standard'])))
  File "/usr/lib/python3.8/site-packages/hatchling/builders/plugin/interface.py", line 150, in build
    build_hook.initialize(version, build_data)
  File "/usr/lib/python3.8/site-packages/hatch_jupyter_builder/plugin.py", line 87, in initialize
    raise e
  File "/usr/lib/python3.8/site-packages/hatch_jupyter_builder/plugin.py", line 82, in initialize
    build_func(self.target_name, version, **build_kwargs)
  File "/usr/lib/python3.8/site-packages/hatch_jupyter_builder/utils.py", line 113, in npm_builder
    run([*npm_cmd, "install"], cwd=str(abs_path))
  File "/usr/lib/python3.8/site-packages/hatch_jupyter_builder/utils.py", line 229, in run
    return subprocess.check_call(cmd, **kwargs)
  File "/usr/lib64/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/jlpm', 'install']' died with <Signals.SIGSEGV: 11>.

ERROR Backend subprocess exited when trying to invoke build_wheel

@RRosio
Copy link
Collaborator

RRosio commented Sep 5, 2023

Hi @kloczek, thank you for the additional information. Could you share what command did you run?

@kloczek
Copy link
Author

kloczek commented Sep 5, 2023

Command is in first line`

+  /usr/bin/python3 -sBm build -w --no-isolation

I'm using pep517 based build procedure (it can be used pip as well instead build)

@RRosio
Copy link
Collaborator

RRosio commented Sep 12, 2023

Thank you @kloczek! If you use a newer version of Python, 3.9 or newer, do you see this same problem?

@kloczek
Copy link
Author

kloczek commented Sep 12, 2023

I did not tested yet this issue with python +3.9 ans I'm now moving all 1.1k rpm packages with python modules to python 3.9.x.

@RRosio RRosio removed status:Needs Triage Applied to issues that need triage status:Needs Info labels Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants