Avoid using setup_requires parameter in setup.py
approxit opened this issue · comments
Howdy!
I stumbled upon problem with setup_requires and pip/poetry while using corporate PYPI mirror. As this package is used by pytest 6.0 (released 2 days ago) it can break things for many people.
Current workaround is to install setuptools-scm
manually via pip, before poetry, but it still requires time to debug and fix.
More references for this problem: pytest-dev/pytest-xdist#136 pypa/setuptools#209
I second this for the same reason: our corporate PyPI mirror is attempting to install setuptools-scm via PyPI instead of the internal PyPi mirror for some reason.
Not to mention that setup_requires
is discouraged in PEP 518 and the setuptools docs.
released in https://pypi.org/project/iniconfig/1.0.1/
Thank you very much for the quick fix! 👍