Skip to content

Tags: h0m1/build

Tags

0.8.0

Toggle 0.8.0's commit message

Verified

This tag was signed with the committer’s verified signature.
FFY00 Filipe Laíns 🇵🇸
build 0.8.0

- Accept `os.PathLike[str]` in addition to `str` for paths in public
  API (PR pypa#392, Fixes pypa#372)
- Add schema validation for `build-system` table to check conformity
  with PEP 517 and PEP 518 (PR pypa#365, Fixes pypa#364)
- Better support for Python 3.11 (sysconfig schemes PR pypa#434, PR pypa#463, tomllib PR pypa#443, warnings PR pypa#420)
- Improved error printouts (PR pypa#442)
- Avoid importing packaging unless needed (PR pypa#395, Fixes pypa#393)

- Failure to create a virtual environment in the `build.env` module now raises
  `build.FailedProcessError` (PR pypa#442)

0.7.0

Toggle 0.7.0's commit message

Verified

This tag was signed with the committer’s verified signature.
FFY00 Filipe Laíns 🇵🇸
build 0.7.0

- Add build.util module with an high-level utility API (PR pypa#340)

0.6.0.post1

Toggle 0.6.0.post1's commit message

Verified

This tag was signed with the committer’s verified signature.
FFY00 Filipe Laíns 🇵🇸
build 0.6.0.post1

- Fix compability with Python 3.6 and 3.7 (PR pypa#339, Fixes pypa#338)

0.6.0

Toggle 0.6.0's commit message

Verified

This tag was signed with the committer’s verified signature.
FFY00 Filipe Laíns 🇵🇸
build 0.6.0

- Improved output (PR pypa#333, Fixes pypa#142)
- The CLI now honnors NO_COLOR (PR pypa#333)
- The CLI can now be forced to colorize the output by setting the FORCE_COLOR environment variable (PR pypa#335)
- Added logging to build and build.env (PR pypa#333)
- Switch to a TOML v1 compliant parser (PR pypa#336, Fixes pypa#308)

Breaking Changes
----------------

- Dropped support for Python 2 and 3.5.

0.5.1

Toggle 0.5.1's commit message

Verified

This tag was signed with the committer’s verified signature.
FFY00 Filipe Laíns 🇵🇸
build 0.5.1

- Fix invoking the backend on an inexistent output directory with multiple levels (PR pypa#318, Fixes pypa#316)
- When building wheels via sdists, use an isolated temporary directory (PR pypa#321, Fixes pypa#320)

0.5.0

Toggle 0.5.0's commit message

Verified

This tag was signed with the committer’s verified signature.
FFY00 Filipe Laíns 🇵🇸
build 0.5.0

- Add `ProjectBuilder.metadata_path` helper (PR pypa#303, Fixes pypa#301)
- Added a `build.__main__.build_package_via_sdist` method (PR pypa#304)
- Use appropriate installation scheme for Apple Python venvs (PR pypa#314, Fixes pypa#310)

Breaking Changes
----------------

- Binary distributions are now built via the sdist by default in the CLI (PR pypa#304, Fixes pypa#257)
  - `python -m build` will now build a sdist, extract it, and build a wheel from the source
- As a side-effect of PR pypa#304, `build.__main__.build_package` no longer does CLI error handling (print nice message and exit the program)
- Importing `build.__main__` no longer has any side-effects, it no longer overrides `warnings.showwarning` or runs `colorama.init` on import (PR pypa#312)

0.4.0

Toggle 0.4.0's commit message

Verified

This tag was signed with the committer’s verified signature.
FFY00 Filipe Laíns 🇵🇸
build 0.4.0

- Validate that the supplied source directory is valid (PR pypa#260, Fixes pypa#259)
- Set and test minimum versions of build's runtime dependencies (PR pypa#267, Fixes pypa#263)
- Use symlinks on creating venv's when available (PR pypa#274, Fixes pypa#271)
- Error sooner if pip upgrade is required and fails (PR pypa#288, Fixes pypa#256)
- Add a `runner` argument to `ProjectBuilder` (PR pypa#290, Fixes pypa#289)
- Hide irrelevant `pep517` error traceback and improve error messages (PR pypa#296)
- Try to use `colorama` to fix colors on Windows (PR pypa#300)

Breaking Changes
----------------

- As a side-effect of PR pypa#260, projects not containing either a `pyproject.toml` or `setup.py` will be reported as invalid. This affects projects specifying only a `setup.cfg`, such projects are recommended to add a `pyproject.toml`. The new behavior is on par with what pip currently does, so if you are affected by this, your project should not be pip installable.
- The `--skip-depencencies` option has been renamed to `--skip-dependency-check` (PR pypa#297)
- The `skip_dependencies` argument of `build.__main__.build_package` has been renamed to `skip_dependency_check` (PR pypa#297)
- `build.ConfigSettings` has been renamed to `build.ConfigSettingsType` (PR pypa#298)
- `build.ProjectBuilder.build_dependencies` to `build.ProjectBuilder.build_system_requires` (PR pypa#284, Fixes pypa#182)
- `build.ProjectBuilder.get_dependencies` to `build.ProjectBuilder.get_requires_for_build` (PR pypa#284, Fixes pypa#182)

0.3.1.post1

Toggle 0.3.1.post1's commit message

Verified

This tag was signed with the committer’s verified signature.
FFY00 Filipe Laíns 🇵🇸
build 0.3.1.post1

Add missing changelog entry.

0.3.1

Toggle 0.3.1's commit message

Verified

This tag was signed with the committer’s verified signature.
FFY00 Filipe Laíns 🇵🇸
build 0.3.1

- Support direct usage from pipx run in 0.16.1.0+ (PR pypa#247)
- Use UTF-8 encoding when reading pyproject.toml (PR pypa#251, Fixes pypa#250)

0.3.0

Toggle 0.3.0's commit message

Verified

This tag was signed with the committer’s verified signature.
FFY00 Filipe Laíns 🇵🇸
build 0.3.0

- Upgrade pip based on venv pip version, avoids error on Debian Python 3.6.5-3.8 or issues installing wheels on Big Sur (PR pypa#229, PR pypa#230, Fixes pypa#228)
- Build dependencies in isolation, instead of in the build environment (PR pypa#232, Fixes pypa#231)
- Fallback on venv if virtualenv is too old (PR pypa#241)
- Add metadata preparation hook (PR pypa#217, Fixes pypa#130)