-
Notifications
You must be signed in to change notification settings - Fork 26
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
Error: Getting requirements to build wheel did not run successfully #82
Comments
Can also confirm that I'm now seeing the same behavior |
Same issue here |
Same here. |
I had the same problem, enabling use-installer made it work for me:
|
I was already running with the
|
Same I tried this too, it didn't help |
Sam here! |
|
Use #82 (comment) as workaround. It's the recommended approach in any case, and provides faster installation. FYI if you're not using - name: Hotfix for https://github.com/aws-actions/setup-sam/issues/82
run: |
$(dirname $(readlink $(which sam)))/pip install "cython<3.0.0"
$(dirname $(readlink $(which sam)))/pip install --no-build-isolation pyyaml==5.4.1 Also could someone that has |
As for the workaround, please pin PyYAML to 5.4.1, because of the requirements of SAM CLI and its dependencies. @hoffa However, I don't fully understand - Can customer specify which Python version to use in this GH Action? AFAIK, it's only breaking when Python version is 3.10+ |
If using the recommended Without it, the Python interpreter can be specified with the |
Tried all the Above Fixes. None of them Worked for me. I am using sam@v1 |
I am having the same issue. Above Fixes are not working. |
+1, Need help |
pLeAsE HeLp |
#83 is merged and should now work. Also could someone for who #82 (comment) did not work provide some more information:
We haven't been able to reproduce, so that information could help us improve. |
Still Not Working |
@hamzashabbir11 Please elaborate, it's difficult to help without more information.
Note also that you should be using |
working on aws-actions/setup-sam@main and @v2 for me |
Working with v2. Code has been Updated 2hours ago. |
Thanks for confirming and for your patience, closing now. If any issues persist, please open a new issue. All, please make sure you're using Also, I highly recommend adding - uses: aws-actions/setup-sam@v2
with:
use-installer: true It will make installation a lot faster, it doesn't use PyPI (hence not impacted by sudden transient dependency changes such as this), and doesn't require a separate Python installation (i.e. you can get rid of |
Getting this Error. |
@hamzashabbir11 Make sure you have Python 3.8 installed. |
Reverting back to pyyaml 5.4.1 worked for me. Was trying to go to 6.0.1. |
after installing PyYAML and rasa, still getting same subprocess error |
* HuggingFace Inference CVE fix * Add more CVEs * Add toml change to trigger tests * refactor the code base * Add more CVEs * update version to be compatible with python version * update scipy to latest version * remove dependencies not compatible with current python * update allowlist * fix typo * fix build error on opencv * add ignore id for safety check * add ignore ids to both training and inference * try to fix some build errors * add mkl as dependency to address some failures * update the HF inference toolkit * update diffuser version to resolve conflicts between huggingface inference toolkit * update pyYaml to consistent with awscli * install deps as user to resolve #aws-actions/setup-sam#82 * downgrade cpython to resolve break dependency with pyyaml * update install tag * exclude training image from the commit * Revert "exclude training image from the commit" This reverts commit e61eabb. * Add training image back * specify awscli version * change download order for awscli and pyyaml * allowlist pyarrow * update pyyaml * Revert "Add toml change to trigger tests" This reverts commit 4451330. --------- Co-authored-by: arjkesh <33526713+arjkesh@users.noreply.github.com> Co-authored-by: Tejas Chumbalkar <34728580+tejaschumbalkar@users.noreply.github.com>
I've also got the same error while pip pulse2percept. Can anyone also encounters the same error please help how to resolve it? |
The setup-sam@v2 build action is failing all our pipelines
the error message is-
Getting requirements to build wheel did not run successfully
I get the following stack trace
exit code: 1 ╰─> [68 lines of output] /tmp/pip-build-env-w2zxlt4k/overlay/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in
setup.cfg`!!
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel 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.
Error: The process '/home/runner/work/_temp/setup-sam-ga5CTW/.venv/bin/python' failed with exit code 1`
The text was updated successfully, but these errors were encountered: