Open matthewsht opened 1 year ago
We have an internal (not on pypi) python wheel I'd like to turn into an rpm with fpm.
1.15.1
pip 21.2.3 from /usr/lib/python3.9/site-packages/pip (python 3.9)
export PIP_EXTRA_INDEX_URL=https://INTERNAL_SERVER/python_repo [root@warehouse13 ~]# fpm -s python -t rpm hwid Process failed: python failed (exit code 1). Full command was:["python", "-m", "pip", "download", "--no-clean", "--no-deps", "--no-binary", ":all:", "-d", "/tmp/package-python-build-60072ca484466489896dbc921de42d0fa93e3b3f52f68995c80da1ed290d", "-i", "https://pypi.python.org/simple", "hwid"] {:level=>:error}
Even with PIP_EXTRA_INDEX_URL set, fpm's usage of pip appears to block that environment variable.
I tried with the equivalent of ~/.config/pip/pip.conf [global] extra_index_url=https://INTERNAL_SERVER/python_repo
but no luck.
I'm a new user but a quick search of existing issues didn't show anything.
We have an internal (not on pypi) python wheel I'd like to turn into an rpm with fpm.
fpm --version
1.15.1
pip --version
pip 21.2.3 from /usr/lib/python3.9/site-packages/pip (python 3.9)
export PIP_EXTRA_INDEX_URL=https://INTERNAL_SERVER/python_repo [root@warehouse13 ~]# fpm -s python -t rpm hwid Process failed: python failed (exit code 1). Full command was:["python", "-m", "pip", "download", "--no-clean", "--no-deps", "--no-binary", ":all:", "-d", "/tmp/package-python-build-60072ca484466489896dbc921de42d0fa93e3b3f52f68995c80da1ed290d", "-i", "https://pypi.python.org/simple", "hwid"] {:level=>:error}
Even with PIP_EXTRA_INDEX_URL set, fpm's usage of pip appears to block that environment variable.
I tried with the equivalent of ~/.config/pip/pip.conf [global] extra_index_url=https://INTERNAL_SERVER/python_repo
but no luck.
I'm a new user but a quick search of existing issues didn't show anything.