-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat: migrate to pyproject.toml and hatch #54
base: release
Are you sure you want to change the base?
feat: migrate to pyproject.toml and hatch #54
Conversation
mlabeeb03
commented
Jan 27, 2025
•
edited by DawoudSheraz
Loading
edited by DawoudSheraz
- migrate from setup.py/setuptools to pyproject.toml/hatch.
- Completes tutor-credentials action item from [Epic] Migrate from setup.py/setuptools to pyproject.toml/hatch tutor#1190
@@ -18,10 +18,8 @@ jobs: | |||
uses: actions/setup-python@v5 | |||
with: | |||
python-version: ${{ matrix.python-version }} | |||
- name: Upgrade pip | |||
run: python -m pip install --upgrade pip setuptools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need pip upgrade in place? setuptools removal is understandable.
[tool.hatch.build.targets.sdist] | ||
# Disable strict naming, otherwise twine is not able to detect name/version | ||
strict-naming = false | ||
exclude = ["tests*"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how different is the egg info generated by this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hatch does not make an egg, it is replaced by dist-info.
I've compared their data and almost all the egg data is available in dist-info.
dd9cbc2
to
8332309
Compare
8332309
to
9be4128
Compare