Open icemac opened 3 years ago
This warning does not come from from zest.releaser
.
Can you see where it comes from? Maybe setuptools
or twine
?
It comes from setuptools
, but zest.releaser
uses the deprecated spelling in its documentation.
Maybe it is too early for this change. twine
does not support index_servers
and the PyPA specification still uses the dashed version, too: https://packaging.python.org/specifications/pypirc/
Let me see what happens during the next releases I have to cut using zest.releaser
. Maybe the problem lies somewhere else.
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
andsetup.cfg
of the package. I am now going to switch both toindex_servers
and hope the best for the next release.At least the documentation of
zest.releaser
could be adapted to this future warning.