-
Notifications
You must be signed in to change notification settings - Fork 147
feat: use hatchling, drop setuptools #1323
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
Open
onerandomusername
wants to merge
8
commits into
master
Choose a base branch
from
feat/build-with-hatchling
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+159
−105
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f7a43c1 to
27cb9ad
Compare
0d9175a to
e7d0b60
Compare
4eed882 to
2063c20
Compare
3785324 to
8a314c4
Compare
8 tasks
8a314c4 to
0294825
Compare
7a2f2b1 to
28ab5b2
Compare
a5a9aca to
b4b12ce
Compare
shiftinv
reviewed
Oct 13, 2025
Member
shiftinv
left a comment
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.
Looks pretty good! I spent some time looking into hatchling + versioningit, but haven't fully reviewed everything just yet, so here are some preliminary comments:
dd74f06 to
2db92a2
Compare
shiftinv
reviewed
Oct 16, 2025
shiftinv
reviewed
Oct 17, 2025
6594b5b to
ff625d2
Compare
ff625d2 to
853d9ed
Compare
91ddca7 to
ddaa1f3
Compare
ddaa1f3 to
dbc301d
Compare
Without this setting, installation of disnake from a source distribution without source control metadata will fail, because there will be no way to determine the version of disnake without that metadata. Using a fallback ensures that in such an installation method (such as from a GitHub source archive), disnake can still be installed, though the version metadata may be inaccurate. Compared to not allowing installation at all, this is a better user experience, despite the incorrect version information.
1d0b983 to
a4ed52b
Compare
cc098a7 to
ea9d6a3
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
t: dependencies
Addition/update/removal of dependencies
t: meta
Changes to the project itself (CI, configs, etc.)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #664