2.0 wishlist
Just some tidy-ups I'd like to do whenever we get around to a next breaking release:
- Change
Optional[Sequence[str]]arguments toRustExtensionto just beSequence[str] = (). - Remove deprecated options to
RustExtension. - Remove
Binding.Exec(just useRustBin). - Require all arguments to
RustExtensionexcept fortargetto be passed as keywords (i.e. after*separator). - Remove
build_rustsubcommand (thesetup.pyentry point is deprecated, so no need to support it IMO) - Remove version.py (just set the corresponding values in
__init__.py)
- Remove
build_rustsubcommand (thesetup.pyentry point is deprecated, so no need to support it IMO)
I would recommend holding off on this as it's not currently possible to migrate setuptools setup.py package build infrastructure to pep517 package build infrastructure due to setuptools pep517 support effectively requiring setup.py build infrastructure itself for bootstrapping.
Currently setup.py builds are still supported in the latest setuptools release, IMO we should probably support them here until we start requiring a version of setuptools that no longer supports setup.py style builds.
Thanks for the heads up! I'm in no rush to push forward with a 2.0 release, so potentially we can just wait for upstream before we consider a 2.0 in that case.