You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Looks like pep517 based build fails.
To Reproduce
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
Expected behavior
Build should not fail.
Screenshots
+ /usr/bin/python3 -sBm build -w --no-isolation* Getting build dependencies for wheel...<string>:50: DeprecatedWarning: install_npm is deprecated as of 0.8 and will be removed in 1.0. Use `npm_builder` and `wrap_installers`<string>:55: DeprecatedWarning: create_cmdclass is deprecated as of 0.8 and will be removed in 1.0. "Use `wrap_installers` to handle prebuild steps in cmdclass.Use `get_data_files` to handle data files.Use `include_package_data=True` and `MANIFEST.in` for package data./usr/lib/python3.8/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`!! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ********************************************************************************!! parsed = self.parsers.get(option_name, lambda x: x)(value)running egg_infocreating bqplot.egg-infowriting bqplot.egg-info/PKG-INFOwriting dependency_links to bqplot.egg-info/dependency_links.txtwriting requirements to bqplot.egg-info/requires.txtwriting top-level names to bqplot.egg-info/top_level.txtwriting manifest file 'bqplot.egg-info/SOURCES.txt'reading manifest file 'bqplot.egg-info/SOURCES.txt'reading manifest template 'MANIFEST.in'warning: no previously-included files found matching 'tests'adding license file 'LICENSE'writing manifest file 'bqplot.egg-info/SOURCES.txt'* Building wheel...<string>:50: DeprecatedWarning: install_npm is deprecated as of 0.8 and will be removed in 1.0. Use `npm_builder` and `wrap_installers`<string>:55: DeprecatedWarning: create_cmdclass is deprecated as of 0.8 and will be removed in 1.0. "Use `wrap_installers` to handle prebuild steps in cmdclass.Use `get_data_files` to handle data files.Use `include_package_data=True` and `MANIFEST.in` for package data./usr/lib/python3.8/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`!! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ********************************************************************************!! parsed = self.parsers.get(option_name, lambda x: x)(value)running bdist_wheelrunning jsdepsInstalling build dependencies with npm. This may take a while...
> yarn installyarn install v1.22.19[1/4] Resolving packages...[2/4] Fetching packages...[3/4] Linking dependencies...warning "@jupyter-widgets/base > @lumino/coreutils@1.12.1" has unmet peer dependency "crypto@1.0.1".warning "@jupyterlab/builder > @jupyterlab/buildutils > verdaccio > clipanion@3.1.0" has unmet peer dependency "typanion@*".warning " > less-loader@5.0.0" has incorrect peer dependency "webpack@^2.0.0 || ^3.0.0 || ^4.0.0".warning " > webpack-cli@3.3.12" has incorrect peer dependency "webpack@4.x.x".warning Workspaces can only be enabled in private projects.warning Workspaces can only be enabled in private projects.[4/4] Building fresh packages...
$ jlpm run buildInternal Error: bqplot@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile at q0.getCandidates (/usr/lib/python3.8/site-packages/jupyterlab/staging/yarn.js:435:5145) at xf.getCandidates (/usr/lib/python3.8/site-packages/jupyterlab/staging/yarn.js:391:1264) at /usr/lib/python3.8/site-packages/jupyterlab/staging/yarn.js:439:7693 at ff (/usr/lib/python3.8/site-packages/jupyterlab/staging/yarn.js:390:11070) at ge (/usr/lib/python3.8/site-packages/jupyterlab/staging/yarn.js:439:7673) at async Promise.allSettled (index 0) at async to (/usr/lib/python3.8/site-packages/jupyterlab/staging/yarn.js:390:10398) at async /usr/lib/python3.8/site-packages/jupyterlab/staging/yarn.js:439:8205 at async ti.startProgressPromise (/usr/lib/python3.8/site-packages/jupyterlab/staging/yarn.js:390:47579) at async je.resolveEverything (/usr/lib/python3.8/site-packages/jupyterlab/staging/yarn.js:439:6233)error Command failed with exit code 1.info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.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/setuptools/build_meta.py", line 434, in build_wheel return self._build_with_temp_dir( File "/usr/lib/python3.8/site-packages/setuptools/build_meta.py", line 419, in _build_with_temp_dir self.run_setup() File "/usr/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in run_setup exec(code, locals()) File "<string>", line 62, in <module> File "/usr/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command super().run_command(command) File "/usr/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.8/site-packages/jupyter_packaging/setupbase.py", line 726, in run [self.run_command(cmd) for cmd in cmds] File "/usr/lib/python3.8/site-packages/jupyter_packaging/setupbase.py", line 726, in <listcomp> [self.run_command(cmd) for cmd in cmds] File "/usr/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command super().run_command(command) File "/usr/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.8/site-packages/jupyter_packaging/setupbase.py", line 421, in run self.command.run() File "/usr/lib/python3.8/site-packages/jupyter_packaging/setupbase.py", line 345, in run c.run() File "/usr/lib/python3.8/site-packages/jupyter_packaging/setupbase.py", line 695, in run builder() File "/usr/lib/python3.8/site-packages/jupyter_packaging/setupbase.py", line 231, in builder run(npm_cmd + ["install"], cwd=node_package) File "/usr/lib/python3.8/site-packages/jupyter_packaging/setupbase.py", line 297, 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/yarn', 'install']' returned non-zero exit status 1.ERROR Backend subprocess exited when trying to invoke build_wheel
Additional context
In above output is possible to see as well some setuptoos related warnings.
Describe the bug
Looks like pep517 based build fails.
To Reproduce
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
Expected behavior
Build should not fail.
Screenshots
Additional context
In above output is possible to see as well some
setuptoos
related warnings.Here is set of modules installed in build env:
The text was updated successfully, but these errors were encountered: