Running latest released build, using pip to install packages with this server as the index fails every time. From reading the README, this seems like it should work.
Dependencies
root@2bc019b117ee:/# pip list
backports-abc (0.5)
bcrypt (3.1.4)
certifi (2017.7.27.1)
cffi (1.11.2)
futures (3.1.1)
lxml (4.0.0)
peewee (2.10.2)
pip (9.0.1)
pycparser (2.18)
pypi-server (0.3.30)
setuptools (36.5.0)
singledispatch (3.4.0.3)
six (1.11.0)
slimurl (0.7.8)
tornado (4.5.2)
tornado-xmlrpc (1.4)
virtualenv (15.1.0)
wheel (0.30.0)
root@2bc019b117ee:/# python --version
Python 2.7.14
root@2bc019b117ee:/# pypi-server --address=0.0.0.0 --port=80 --proxy-mode=True --logging=debug --pypi-server=https://pypi.python.org
[D 171011 15:40:57 server:133] Preparing signal handling
[D 171011 15:40:57 server:144] Creating application instance
[D 171011 15:40:57 server:151] Creating IOLoop instance.
[I 171011 15:40:57 __init__:29] Opening sqlite database: /packages/metadata.db
[I 171011 15:40:57 __init__:35] Database initialized as '/packages/metadata.db'. Checking migrations...
[D 171011 15:40:57 peewee:3826] ('SELECT name FROM sqlite_master WHERE type = ? ORDER BY name;', ('table',))
[D 171011 15:40:57 peewee:3826] ('SELECT Count(*) FROM "migrations" AS t1', [])
[D 171011 15:40:57 peewee:3826] ('SELECT "t1"."id" FROM "migrations" AS t1 ORDER BY "t1"."id" DESC', [])
[I 171011 15:40:57 server:161] Init thread pool with 16 threads
[I 171011 15:40:57 server:190] Starting server http://0.0.0.0:80/
[D 171011 15:40:57 server:194] Setting "/packages" as storage
[D 171011 15:40:57 server:197] Starting main loop
[D 171011 15:40:57 cache:180] HIT Cache [pypi_server.handlers.pypi.proxy.client.packages] (-5845601213547787238, 3527539, 3527539, 1)
[W 171011 15:41:02 web:2063] 404 GET /requests/ (172.17.0.1) 0.32ms
pip output
pip install --user -i http://localhost:8080 requests
Collecting requests
Could not find a version that satisfies the requirement requests (from versions: )
No matching distribution found for requests
Specific versions fail too
pip install --user -i http://localhost:8080 requests==2.18.4
Collecting requests==2.18.4
Could not find a version that satisfies the requirement requests==2.18.4 (from versions: )
No matching distribution found for requests==2.18.4
Running latest released build, using pip to install packages with this server as the index fails every time. From reading the README, this seems like it should work.
Dependencies
pip output
Specific versions fail too