Skip to content
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

[Epic] Migrate from setup.py/setuptools to pyproject.toml/hatch #1190

Open
14 tasks
DawoudSheraz opened this issue Jan 21, 2025 · 2 comments
Open
14 tasks

[Epic] Migrate from setup.py/setuptools to pyproject.toml/hatch #1190

DawoudSheraz opened this issue Jan 21, 2025 · 2 comments

Comments

@DawoudSheraz
Copy link
Contributor

DawoudSheraz commented Jan 21, 2025

This larger issue originated from the work done in tutor core PR #1163. The PR aimed to fix #956 by switching to hatch as a project builder/manager. This change needed to have an updated pyproject.toml and potentially migrate setup.py to pyproject.toml. To ensure consistency across the codebase, the change should be done across core, tutor plugins, and plugin cookie-cutter.

Action items / PRs

Related Links

When initializing a new hatch project, it automatically converts setup.py to pyproject. However, it won't be enough / might not be correct. We would need to config some metadata dynamically. Python docs highlight the synonymous pyproject fields for related setuptools fields. Ensure the build works as expected after the change. You might need to change commands where needed.

@regisb
Copy link
Contributor

regisb commented Jan 21, 2025

This is a great opportunity to try out the newly released sub-issues ;)

@DawoudSheraz
Copy link
Contributor Author

This is a great opportunity to try out the newly released sub-issues ;)

Already started it for tutor-indigo overhangio/tutor-indigo#116

@DawoudSheraz DawoudSheraz moved this from Pending Triage to Backlog in Tutor project management Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants