mps-youtube / yewtube

yewtube, forked from mps-youtube , is a Terminal based YouTube player and downloader. No Youtube API key required.
GNU General Public License v3.0
8.13k stars 643 forks source link

missing requirements.txt for the 2.12.0 pypi artifact #1290

Open chenrui333 opened 2 months ago

chenrui333 commented 2 months ago

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