-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Migrate setup.py to pyproject.toml #3327
Comments
Can I catch this issue? |
@hirosassa , if you're asking to work on this, feel free. I started on it when I had some free time, but ran into other commitments and haven't been able to spend the time on this (nor #3326 ) like I hoped. Feel free to take anything i've already done. I'll include a link to my initial code changes (not complete) and my notes related to my plan. Code: master...dlstadther:luigi:migrate-setup-to-pyproject Notes:
Currently used keys of
Supporting files:
Special things that happen "today":
If using uv, the following commands could be helpful for the release process: # uv build
uv build sdist
# uv publish (assumes token set at UV_PUBLISH_TOKEN)
uv publish
# incrementing versions
uvx hatch version patch
uvx hatch version minor
uvx hatch version major
uvx hatch version minor,rc |
Problem
The use of installing a python project with
python setup.py install
is deprecated and should be replaced with alternative installation methods. The Luigi project still utilizessetup.py
only.Resolution Proposal
Luigi should be updated to replace its
setup.py
with apyproject.toml
. At the same time, I would suggest utilizingpoetry
oruv
as a dependency management and build tool (either tool can use setuptools or hatch for building).Related Issue(s)
One of the motivations behind #3326 was to aid in local verification of this change.
The text was updated successfully, but these errors were encountered: