https://meltano.com/ logo
#announcements
Title
# announcements
n

narrow-analyst-73746

03/31/2021, 4:43 PM
Hey, I’m facing an issue and was hoping you could shade some light on it: Our internal PE team have decided to block access to public PyPi to prevent any potential vulnerability. Our Meltano project crashed because of this, with error
Extractor 'tap-zendesk' could not be installed: failed to upgrade pip to the latest version
. Am I correct to assume that this code runs when installing a tap/target, and that the default PyPi is the public one? Which would cause it to fail since fetching from public PyPi is not allowed. I tried to run with
Copy code
plugins:
  extractors:
    - name: tap-zendesk
      variant: singer-io
      pip_url: -i <<https://interal_pypi_url.com>> tap-zendesk
but it does not work. In the case I’m correct, any chance we could update this line of code to be able to pass it a custom
--index_url -i
?
r

ripe-musician-59933

03/31/2021, 5:09 PM
Am I correct to assume that this code runs when installing a tap/target, and that the default PyPi is the public one? Which would cause it to fail since fetching from public PyPi is not allowed.
Correct
In the case I’m correct, any chance we could update this line of code to be able to pass it a custom 
--index_url -i
Yes, we could add a new
pip_index
setting! Can you please file an issue for that? We would want to use it both here: https://gitlab.com/meltano/meltano/-/blob/master/src/meltano/core/venv_service.py#L91 and here: https://gitlab.com/meltano/meltano/-/blob/master/src/meltano/core/venv_service.py#L126
n

narrow-analyst-73746

03/31/2021, 6:41 PM
yes will do!
I can also create a Merge request if needed?
r

ripe-musician-59933

03/31/2021, 7:56 PM
That'd be even better! 😄
n

narrow-analyst-73746

03/31/2021, 8:15 PM
r

ripe-musician-59933

03/31/2021, 8:18 PM
Thanks, responded!