8000 Cannot install v0.15.0.0 from PyPI source due to missing requirements.in · Issue #403 · cs01/gdbgui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cannot install v0.15.0.0 from PyPI source due to missing requirements.in #403

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

Closed
cho-m opened this issue Sep 6, 2021 · 1 comment · Fixed by #404
Closed

Cannot install v0.15.0.0 from PyPI source due to missing requirements.in #403

cho-m opened this issue Sep 6, 2021 · 1 comment · Fixed by #404

Comments

@cho-m
Copy link
cho-m commented Sep 6, 2021

Describe the bug
setup.py references requirements.in:

filename="./requirements.in"

However, this is not part of PyPI source, which causes build to fail when running pip install ... </path/to/extracted/gdbgui-0.15.0.0>:

    Running setup.py (path:/private/tmp/pip-req-build-1po4_ych/setup.py) egg_info for package from file:///private/tmp/gdbgui-20210901-83182-1vvs9i1/gdbgui-0.15.0.0
    Created temporary directory: /private/tmp/pip-pip-egg-info-yevhhffb
    Running command python setup.py egg_info
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/tmp/pip-req-build-1po4_ych/setup.py", line 62, in <module>
        install_requires=distutils.text_file.TextFile(
      File "/usr/local/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/text_file.py", line 100, in __init__
        self.open(filename)
      File "/usr/local/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/text_file.py", line 115, in open
        self.file = io.open(self.filename, 'r', errors=self.errors)
    FileNotFoundError: [Errno 2] No such file or directory: './requirements.in'
WARNING: Discarding file:///private/tmp/gdbgui-20210901-83182-1vvs9i1/gdbgui-0.15.0.0. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

This was seen in Homebrew Homebrew/homebrew-core#84405

To Reproduce
Steps to reproduce the behavior (based on Homebrew installation process):

  1. Download and extract PyPI source https://files.pythonhosted.org/packages/da/b4/c8419e2c6683d76df93f918a964940965040fde82a29e493b062c22baa62/gdbgui-0.15.0.0.tar.gz
  2. Set up virtualenv and install all dependencies
  3. Install gdbgui from extracted source: pip install -v --no-deps --no-binary :all: --ignore-installed </path/to/extracted/gdbgui-0.15.0.0>

Expected behavior
Successfully builds & installs gdbgui using PyPI source

Screenshots
N/A

Please complete the following information:

  • OS: macOS and Linux
  • gdbgui version (gdbgui -v): 0.15.0.0
  • gdb version (gdb -v):
  • browser [e.g. chrome, safari]:
  • python packages (pip freeze):

Additional context
See Homebrew PR. Current work around issue by manually setting up the missing requirements.in file.

@cs01
Copy link
Owner
cs01 commented Sep 6, 2021

Thanks for reporting. I see I excluded the file from MANIFEST.in when I should have included it. I’ll fix and release a new version.

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.

2 participants
0