You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently planning to add additional support for hatchling, such that entrypoints can dynamically be detected when hatchling is being used as a build-backend for a project which uses plux.
Similar to pytest, hatchling uses pluggy, and the old pytest version caused a version conflict.
This is why I updated all dependencies, moved from setup.cfg to pure pyproject.toml, and along the way I ended up migrating the whole project to hatchling.
Please let me know if I went a bit too far here, but hatchling seems to be the clear successor of setuptools, so it seemed just natural to implement the migration.
Changes
Drop support for Python 3.8 (EOL was October 2024).
Add official support for Python 3.13.
Migrate from setup.cfg to pure pyproject.toml and remove setup.py.
Upgrade all dependency pins.
Migrate the build backend from setuptools to hatchling.
@thrau Sorry for having this lying around for so long. I think this PR could be merged as it is, as it really just changes the way how plux is being built, now how it integrates with setuptools.
However, when continuing on this PR I was exploring how plux could be integrated into hatchling instead of setuptools when discovering the plugins and was facing some conceptual issues due to the difference in the build process.
I think this PR does have some value already, but the actual hatchling integration of plux would be the real deal 😛
What do you think? How should we proceed?
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
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.
Motivation
We are currently planning to add additional support for
hatchling, such that entrypoints can dynamically be detected whenhatchlingis being used as abuild-backendfor a project which usesplux.Similar to
pytest,hatchlingusespluggy, and the oldpytestversion caused a version conflict.This is why I updated all dependencies, moved from
setup.cfgto purepyproject.toml, and along the way I ended up migrating the whole project tohatchling.Please let me know if I went a bit too far here, but
hatchlingseems to be the clear successor ofsetuptools, so it seemed just natural to implement the migration.Changes
setup.cfgto purepyproject.tomland removesetup.py.setuptoolstohatchling.