Page MenuHomePhabricator

setup.py shouldn't be invoked directly
Closed, ResolvedPublic

Description

running setup bdist bdist_wheel leads to the following warning:

WARNING: C:\Python311\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(

C:\Python311\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(

See also: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html

Related Objects

StatusSubtypeAssignedTask
ResolvedReleaseXqt
ResolvedXqt

Event Timeline

Xqt triaged this task as Medium priority.May 3 2023, 5:19 AM
Xqt changed the task status from Open to In Progress.May 3 2023, 12:37 PM
Xqt claimed this task.

Change 914783 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [dist] use build instead of setuptools.setup() to build the distribution

https://gerrit.wikimedia.org/r/914783

Change 914783 merged by jenkins-bot:

[pywikibot/core@master] [dist] use build instead of setuptools.setup() to build the distribution

https://gerrit.wikimedia.org/r/914783