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

KlipperScreen Image Build is failing #16

Closed
mkuf opened this issue Mar 25, 2022 · 2 comments
Closed

KlipperScreen Image Build is failing #16

mkuf opened this issue Mar 25, 2022 · 2 comments

Comments

@mkuf
Copy link
Owner

mkuf commented Mar 25, 2022

KlippperScreen Image Builds are failing while installing python requirements.

From https://github.com/mkuf/prind/runs/5687510098

#17 3286.0 Collecting kiwisolver>=1.0.1
#17 3286.0   Downloading kiwisolver-1.4.0.tar.gz (95 kB)
#17 3286.0      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 95.9/95.9 KB 5.5 MB/s eta 0:00:00
#17 3288.0   Installing build dependencies: started
#17 3321.9   Installing build dependencies: finished with status 'done'
#17 3321.9   Getting requirements to build wheel: started
#17 3325.6   Getting requirements to build wheel: finished with status 'done'
#17 3325.7   Preparing metadata (pyproject.toml): started
#17 3333.8   Preparing metadata (pyproject.toml): finished with status 'error'
#17 3333.9   error: subprocess-exited-with-error
#17 3333.9   
#17 3333.9   × Preparing metadata (pyproject.toml) did not run successfully.
#17 3333.9   │ exit code: 1
#17 3333.9   ╰─> [17 lines of output]
#17 3333.9       /tmp/pip-build-env-wc45a279/overlay/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py:100: _ExperimentalProjectMetadata: Support for project metadata in `pyproject.toml` is still experimental and may be removed (or change) in future releases.
#17 3333.9         warnings.warn(msg, _ExperimentalProjectMetadata)
#17 3333.9       Install ``trove-classifiers`` to ensure proper validation. Meanwhile a list of classifiers will be downloaded from PyPI.
#17 3333.9       error: Multiple top-level packages discovered in a flat-layout: ['py', 'kiwi'].
#17 3333.9       
#17 3333.9       To avoid accidental inclusion of unwanted files or directories,
#17 3333.9       setuptools will not proceed with this build.
#17 3333.9       
#17 3333.9       If you are trying to create a single distribution with multiple packages
#17 3333.9       on purpose, you should not rely on automatic discovery.
#17 3333.9       Instead, consider the following options:
#17 3333.9       
#17 3333.9       1. set up custom discovery (`find` directive with `include` or `exclude`)
#17 3333.9       2. use a `src-layout`
#17 3333.9       3. explicitly set `py_modules` or `packages` with a list of names
#17 3333.9       
#17 3333.9       To find more information, look for "package discovery" on setuptools docs.
#17 3333.9       [end of output]
#17 3333.9   
#17 3333.9   note: This error originates from a subprocess, and is likely not a problem with pip.
#17 3333.9 error: metadata-generation-failed
#17 3333.9 
#17 3333.9 × Encountered error while generating package metadata.
#17 3333.9 ╰─> See above for output.
#17 3333.9 
#17 3333.9 note: This is an issue with the package mentioned above, not pip.
#17 3333.9 hint: See above for details.
#17 ERROR: process "/bin/sh -c python -m venv venv  && venv/bin/pip install -r klipperscreen/scripts/KlipperScreen-requirements.txt" did not complete successfully: exit code: 1

This is caused by a breaking change in the current setuptools release: pypa/setuptools#3197

@mkuf
Copy link
Owner Author

mkuf commented Mar 26, 2022

A new Release of Setuptools has been created to mittigate the Issues.
Waiting for a new release of Kiwisolver nucleic/kiwi#130

@mkuf
Copy link
Owner Author

mkuf commented Mar 27, 2022

Fixed by https://github.com/nucleic/kiwi/releases/tag/1.4.1
Builds are working again

@mkuf mkuf closed this as completed Mar 27, 2022
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