PyPi not working

Not entirely sure if the built in PyPi is usable or not.

I have managed to push an artifact to it, but I cannot install from it or search it.

pip search osm --trusted-host -i
User for gitlab-ci-token
Save credentials to keyring [y/N]: n
ERROR: HTTP error 415 while getting
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/", line 188, in _main
    status =, args)
  File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/", line 52, in run
    pypi_hits =, options)
  File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/", line 71, in search
    hits ={'name': query, 'summary': query}, 'or')
  File "/usr/lib/python3.7/xmlrpc/", line 1112, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python3.7/xmlrpc/", line 1452, in __request
  File "/usr/local/lib/python3.7/dist-packages/pip/_internal/network/", line 36, in request
  File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/requests/", line 941, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
pip._vendor.requests.exceptions.HTTPError: 415 Client Error: Unsupported Media Type for url:

Self hosted gitlab v 13.3.4-ee.

Ah. Needed to add “/simple” to the end of the URL. Now, I cannot get it to work in

Download error on [Errno 111] Connection refused -- Some packages may not be found!

Works just fine from the cli:

pip install osm-common --trusted-host -i
Looking in indexes: https://gitlab-ci-token:****
Collecting osm-common (33 kB)