okigan / awscurl

curl-like access to AWS resources with AWS Signature Version 4 request signing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v0.28 build failure with Homebrew

p-linnane opened this issue Β· comments

Hello πŸ‘‹ . I'm a maintainer for the Homebrew project. While packaging v0.28 of awscurl, we are encountering a build failure.

 ==> /opt/homebrew/Cellar/awscurl/0.28/libexec/bin/pip install -v --no-deps --no-binary :all: --use-feature=no-binary-enable-wheel-cache --ignore-installed /private/tmp/awscurl-20230505-36434-1h15nfi/awscurl-0.28
  Using pip 23.0.1 from /opt/homebrew/Cellar/awscurl/0.28/libexec/lib/python3.11/site-packages/pip (python 3.11)
  Processing /private/tmp/awscurl-20230505-36434-1h15nfi/awscurl-0.28
    Preparing metadata (setup.py): started
    Running command python setup.py egg_info
    Traceback (most recent call last):
      File "<string>", line 2, in <module>
      File "<pip-setuptools-caller>", line 34, in <module>
      File "/private/tmp/awscurl-20230505-36434-1h15nfi/awscurl-0.28/setup.py", line 6, in <module>
        with open("requirements.txt", "r", encoding="utf-8") as f:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
    error: subprocess-exited-with-error

It appears the release on PyPI, which we build from, is missing the requirements.txt file. This appears to be causing the failure.

Relates to Homebrew/homebrew-core#130272

Seems working fine now with 0.29 release. Thanks!

Issue resolved