Skip to content

Commit 233c8e1

Browse files
authored
Merge pull request #152 from pypa/modern
Various cleanup and prepare for 1.0 release
2 parents 5b5b66b + eaae9a2 commit 233c8e1

File tree

4 files changed

+30
-14
lines changed

4 files changed

+30
-14
lines changed

dev-requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@ flake8
33
testpath
44
setuptools>=30
55
tomli ; python_version<'3.11'
6-
importlib_metadata ; python_version<'3.8'
7-
zipp ; python_version<'3.8'

docs/changelog.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
Changelog
22
=========
33

4+
v1.0
5+
----
6+
7+
- Rename package to ``pyproject_hooks`` (from ``pep517``).
8+
- Remove deprecated modules (``.build``, ``.check`` and ``.envbuild``).
9+
Use the `build <https://pypa-build.readthedocs.io/en/stable/>`_ project
10+
instead for this higher-level functionality of setting up a temporary build
11+
environment.
12+
- Require Python 3.7 or above.
13+
- Use ``tomllib`` from the standard library on Python 3.11. ``pyproject_hooks``
14+
now has no external dependencies when installed in Python 3.11.
15+
- Avoid chaining exceptions when using the fallback implementation for
16+
:meth:`.prepare_metadata_for_build_wheel`.
17+
- Fix propagating error message for :exc:`.BackendInvalid` errors.
18+
419
v0.13
520
-----
621

pyproject.toml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,27 @@
22
requires = ["flit_core >=3.2,<4"]
33
build-backend = "flit_core.buildapi"
44

5-
[tool.flit.metadata]
6-
module = "pyproject_hooks"
7-
dist-name = "pyproject-hooks"
8-
author = "Thomas Kluyver"
9-
author-email = "[email protected]"
10-
home-page = "https://github.com/pypa/pyproject-hooks"
11-
description-file = "README.rst"
12-
requires = [
13-
"tomli >=1.1.0;python_version<'3.11'",
14-
"importlib_metadata;python_version<'3.8'",
15-
"zipp;python_version<'3.8'",
5+
[project]
6+
name = "pyproject_hooks"
7+
authors = [
8+
{name = "Thomas Kluyver", email = "[email protected]"},
169
]
10+
readme = "README.rst"
1711
requires-python = ">=3.7"
12+
dependencies = [
13+
"tomli >=1.1.0 ; python_version<'3.11'",
14+
]
1815
classifiers = [
1916
"License :: OSI Approved :: MIT License",
2017
"Programming Language :: Python :: 3",
2118
"Programming Language :: Python :: 3 :: Only",
2219
]
20+
dynamic = ["version", "description"]
21+
22+
[project.urls]
23+
Source = "https://github.com/pypa/pyproject-hooks"
24+
Documentation = "https://pyproject-hooks.readthedocs.io/"
25+
Changelog = "https://pyproject-hooks.readthedocs.io/en/latest/changelog.html"
2326

2427
[tool.isort]
2528
profile = "black"

src/pyproject_hooks/_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(self, backend_name, backend_path, message):
3535

3636

3737
class HookMissing(Exception):
38-
"""Will be raised on missing hooks."""
38+
"""Will be raised on missing hooks (if a fallback can't be used)."""
3939
def __init__(self, hook_name):
4040
super().__init__(hook_name)
4141
self.hook_name = hook_name

0 commit comments

Comments
 (0)