Skip to content

Installation via pip behind a firewall #154

Open
@ghost

Description

I realise this is something of a long shot, but my team have been experiencing issues trying to install librabbitmq behind a corporate firewall, specifically the machine in question is unable to reach GitHub, so we can't clone rabbitmq-c.

Building wheels for collected packages: librabbitmq
  Building wheel for librabbitmq (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /local/approc/matcaz/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-oxo3yel5/librabbitmq/setup.py'"'"'; __file__='"'"'/tmp/pip-install-oxo3yel5/librabbitmq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-yq3b23_f
       cwd: /tmp/pip-install-oxo3yel5/librabbitmq/
  Complete output (7 lines):
  /tmp/pip-install-oxo3yel5/librabbitmq/setup.py:167: DeprecationWarning: 'U' mode is deprecated
    long_description = open(os.path.join(BASE_PATH, 'README.rst'), 'U').read()
  running build
  - pull submodule rabbitmq-c...
  Cloning into 'rabbitmq-c'...
  fatal: unable to access 'https://github.com/alanxz/rabbitmq-c.git/': Failed connect to github.com:443; Connection refused
  error: [Errno 2] No such file or directory: '/tmp/pip-install-oxo3yel5/librabbitmq/rabbitmq-c'
  ----------------------------------------
  ERROR: Failed building wheel for librabbitmq

Right now as far as I can see our options are to either get a firewall exception or to manually clone, copy and build the project locally.

Essentially what I'm asking is do we have a third option, i.e could rabbitmq-c be included in a PyPi (which we have a proxy for) distribution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions