-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python: stop using setup.py
as a CLI tool
#2040
Comments
I agree we should better align with upstream python’s recommendations. In such a case, we may need to figure out what versions/environments support which build steps. In the case of PyPA, it seems the first release was in 2020, and that’s pretty recent to require such a thing given some fpm users likely have Python versions much older than that year, so i would like it if we can do this without negative impacts on those users. Any thoughts? |
Scratch that. There is also "legacy setup.py" support in So, I think the number of packages that will be impacted by such change will actually be quite small. |
Specifically, the likely packages that will be impacted would fall into these categories:
Category 1 are going to be projects mainly in OSS but also in Private orgs. Category 2 are probably going to be more prevalent in Private orgs? Not sure. EDIT Keeping in mind, that amongst these projects, there then will be a certain success/fail ratio of whether the legacy setup.py script will run successfully through the |
Issue
setup.py
does not want to be a CLI toolhttps://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
Action
Migrate the python packaging output code to use another CLI tool (e.g the
build
module from PyPA ... https://github.com/pypa/build)The text was updated successfully, but these errors were encountered: