compatibility problems with devpi 6
Closed this issue · 5 comments
cjw296 commented
Will devpi 6 be supported?
matthias-bach-by commented
Are you facing any specific issues? I just ran the tests with Devpi bumped up to 6.0.1 and did not experience any test failures.
cjw296 commented
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.7/contextlib.py:112: in __enter__
return next(self.gen)
.pyenv-Python-3.7.0/lib/python3.7/site-packages/devpi_plumber/server.py:29: in TestServer
initialize_serverdir(server_options)
.pyenv-Python-3.7.0/lib/python3.7/site-packages/devpi_plumber/server.py:169: in initialize_serverdir
init_serverdir()
.pyenv-Python-3.7.0/lib/python3.7/site-packages/devpi_plumber/server.py:147: in init_serverdir
devpi_server_command(init=None, **server_options)
.pyenv-Python-3.7.0/lib/python3.7/site-packages/devpi_plumber/server.py:108: in devpi_server_command
subprocess.check_output(build_devpi_server_command(**options), stderr=subprocess.STDOUT)
/usr/local/lib/python3.7/subprocess.py:376: in check_output
**kwargs).stdout
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
input = None, capture_output = False, timeout = None, check = True
popenargs = (['devpi-server', '--host=127.0.0.1', '--port=47131', '--serverdir=/tmp/tmpug_9pjrk', '--init'],)
kwargs = {'stderr': -2, 'stdout': -1}
process = <subprocess.Popen object at 0x7fffe6e23d30>
stdout = b'usage: devpi-server [-h] [-c CONFIGFILE]\n [--role {master,replica,standalone,auto}] [--version]\...[--requests-only]\n [--restrict-modify SPEC]\ndevpi-server: error: unrecognized arguments: --init\n'
stderr = None, retcode = 2
Looks like devpi-server: error: unrecognized arguments: --init
is the bit that matters!
cjw296 commented
See https://devpi.net/docs/devpi/devpi/6.0/+d/changelog.html#id86 for when --init
was deprecated.
matthias-bach-by commented
Thanks. I just realised I messed up when performing my initial verification. I can now reproduce the issue. Thanks.
matthias-bach-by commented
New release 0.6.0 providing compatibility with Devpi 6 is up on PyPI.