Changelog¶
v1.2¶
Improve interoperability with
importlib.metadata, fixing a regression in setuptools compatibility in 1.1 (#199).Clean up the
_in_processdirectory inside the package fromsys.pathbefore imporing the backend (#193).
v1.1¶
Add type annotations to the public API.
More careful handling of the
backend-pathkey frompyproject.toml. Previous versions would load the backend and then check that it was loaded from the specified path; the new version only loads it from the specified path. TheBackendInvalidexception is now a synonym forBackendUnavailable, and code should move to using the latter name.
v1.0¶
Rename package to
pyproject_hooks(frompep517).Remove deprecated modules (
.build,.checkand.envbuild). Use the build project instead for this higher-level functionality of setting up a temporary build environment.Require Python 3.7 or above.
Use
tomllibfrom the standard library on Python 3.11.pyproject_hooksnow has no external dependencies when installed in Python 3.11.Avoid chaining exceptions when using the fallback implementation for
prepare_metadata_for_build_wheel().Fix propagating error message for
BackendInvaliderrors.
v0.13¶
Remove support for end-of-life Pythons. Now requires Python3.6+.
Remove support for
tomlpackage. Now requirestomli.Rely on preferred “files” API on Python 3.9 and later (#140).
v0.12¶
Add method for pip to check if build_editable hook is supported. This is a private API for now.
v0.11.1¶
Fix DeprecationWarning in tomli.
v0.11¶
Support editable hooks (PEP 660).
Use the TOML 1.0 compliant
tomliparser module on Python 3.6 and above.Ensure TOML files are always read as UTF-8.
Switch CI to Github actions.
v0.10¶
Avoid shadowing imports such as
colorlogin the backend, by moving the_in_process.pyscript into a separate subpackage.Issue warnings when using the deprecated
pep517.buildandpep517.checkmodules at the command line. See the PyPA build project for a replacement.Allow building with flit_core 3.x.
Prefer the standard library
unittest.mocktomockfor tests on Python 3.6 and above.
v0.9.1¶
Silence some static analysis warnings.
v0.9¶
Deprecated the higher level API which handles creating an environment and installing build dependencies. This was not very complete, and the PyPA build project is designed for this use case.
New
python_executableparameter forBuildBackendHookCallerto run hooks with a different Python interpreter.Fix for locating the script to run in the subprocess in some scenarios.
Fix example in README to get
build-backendcorrectly.Created documentation on Read the Docs
Various minor improvements to testing.