When using index-servers as suggested in the zest.releaser documentation, I get:
UserWarning: Usage of dash-separated 'index-servers' will not be supported in future versions. Please use the underscore name 'index_servers' instead
To prevent zest.releaser from uploading a package to PyPI (which was intended for a private PyPI server but had an equally named package on PyPI created by a different user) I had to use index-servers both in .pypirc and setup.cfg of the package. I am now going to switch both to index_servers and hope the best for the next release.
At least the documentation of zest.releaser could be adapted to this future warning.
When using
index-serversas suggested in the zest.releaser documentation, I get:UserWarning: Usage of dash-separated 'index-servers' will not be supported in future versions. Please use the underscore name 'index_servers' insteadTo prevent zest.releaser from uploading a package to PyPI (which was intended for a private PyPI server but had an equally named package on PyPI created by a different user) I had to use
index-serversboth in.pypircandsetup.cfgof the package. I am now going to switch both toindex_serversand hope the best for the next release.At least the documentation of
zest.releasercould be adapted to this future warning.