salmon-furniture-31733
11/03/2023, 9:50 AMsalmon-furniture-31733
11/03/2023, 9:50 AMancient-application-36103
11/03/2023, 9:53 AMbulky-afternoon-92433
11/03/2023, 10:20 AMsalmon-furniture-31733
11/03/2023, 10:24 AM<https://aws>:<token>@private.d.codeartifact.eu-west-2.amazonaws.com/pypi/ds/simple/
In the logs, it only shows -
Unauthorized for url: <https://private.d.codeartifact.eu-west-2.amazonaws.com/pypi/ds/simple/pvt-package/1.2.2rc11%2Bds.339/pvt_package-1.2.2rc11%2Bds.339-py3-none-any.whl>
username, token doesn't show upsalmon-furniture-31733
11/03/2023, 10:25 AMbulky-afternoon-92433
11/03/2023, 10:33 AMpip install ?salmon-furniture-31733
11/03/2023, 10:41 AMbulky-afternoon-92433
11/03/2023, 10:49 AMsalmon-furniture-31733
11/03/2023, 11:01 AM401 Credentials not correct for ...
Here its 401 Unauthorized for url:
just wondering if there's something else going wrong apart from credentials?salmon-furniture-31733
11/03/2023, 11:06 AMbulky-afternoon-92433
11/03/2023, 11:08 AMpip install --editable .bulky-afternoon-92433
11/03/2023, 11:11 AMmetaflow/plugins/pypi/pip.py#downloadbulky-afternoon-92433
11/03/2023, 12:59 PMsalmon-furniture-31733
11/06/2023, 4:07 PMindex_url, extra_index_url
https://github.com/Netflix/metaflow/blob/master/metaflow/plugins/pypi/pip.py#L175
Even though I'm passing the config as
PIP_CONFIG_FILE=pip.conf python flow.py --environment=conda run
This way of passing the config however works when the extension is installed
The extension looks to be fetching the urls as https://github.com/Netflix/metaflow-nflx-extensions/blob/4c2382160ec04b3920d0f40fa[…]46bad396/metaflow_extensions/netflix_ext/plugins/conda/conda.pysalmon-furniture-31733
11/06/2023, 4:15 PMbulky-afternoon-92433
11/06/2023, 4:19 PMsalmon-furniture-31733
11/06/2023, 4:21 PMsalmon-furniture-31733
11/06/2023, 4:46 PMbulky-afternoon-92433
11/06/2023, 8:55 PMpip config get whereas the extension does pip config list and opts to parse the output in python.
There is an open issue for pip related to the use of PIP_CONFIG_FILE and specifically config get: https://github.com/pypa/pip/issues/11700
Can you try with PIP_CONFIG instead to see if that works out of the box?
PIP_CONFIG=pip.conf python flow.py --environment=conda runbulky-afternoon-92433
11/06/2023, 9:21 PMsalmon-furniture-31733
11/10/2023, 11:05 AMbulky-afternoon-92433
11/10/2023, 2:55 PMPIP_CONFIG didn't work for you, I'll have to doublecheck this but thought that I tested it was reading the config correctly with thatbulky-afternoon-92433
11/10/2023, 2:57 PMsolve() , this shouldn't be an issue as the same indices(with auth tokens) are also passed to the download() , and it should correctly pick the auth from these depending on the package url