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

missing requirements.txt for the 2.12.0 pypi artifact #1290

Open
chenrui333 opened this issue Sep 13, 2024 · 0 comments · May be fixed by #1291
Open

missing requirements.txt for the 2.12.0 pypi artifact #1290

chenrui333 opened this issue Sep 13, 2024 · 0 comments · May be fixed by #1291

Comments

@chenrui333
Copy link

Issue

seeing the pypi artifact does not have requirements.txt

    Running command Getting requirements to build wheel
    Traceback (most recent call last):
      File "/home/linuxbrew/.linuxbrew/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
        main()
      File "/home/linuxbrew/.linuxbrew/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/linuxbrew/.linuxbrew/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
        return hook(config_settings)
               ^^^^^^^^^^^^^^^^^^^^^
      File "/tmp/pip-build-env-nx2yo0he/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
        return self._get_build_requires(config_settings, requirements=[])
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/tmp/pip-build-env-nx2yo0he/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
        self.run_setup()
      File "/tmp/pip-build-env-nx2yo0he/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 503, in run_setup
        super().run_setup(setup_script=setup_script)
      File "/tmp/pip-build-env-nx2yo0he/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 318, in run_setup
        exec(code, locals())
      File "<string>", line 21, in <module>
    FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
    error: subprocess-exited-with-error

build log ref, https://github.com/Homebrew/homebrew-core/actions/runs/10854386979/job/30124818413#step:4:9869

@chenrui333 chenrui333 linked a pull request Sep 13, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant