Skip to content

Commit

Permalink
Update the default version of core metadata to 2.3 (#1311)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek authored Mar 12, 2024
1 parent e32570d commit c06c820
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backend/src/hatchling/metadata/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if TYPE_CHECKING:
from hatchling.metadata.core import ProjectMetadata

DEFAULT_METADATA_VERSION = '2.2'
DEFAULT_METADATA_VERSION = '2.3'
LATEST_METADATA_VERSION = '2.3'
CORE_METADATA_PROJECT_FIELDS = {
'Author': ('authors',),
Expand Down
2 changes: 1 addition & 1 deletion docs/history/hatchling.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

***Added:***

- Update the default version of core metadata to 2.2
- Update the default version of core metadata to 2.3
- Update SPDX license information to version 3.23
- Improve error message for when the default heuristics for wheel file inclusion fail

Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/builder/sdist.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The builder plugin name is `sdist`.

| Option | Default | Description |
| --- | --- | --- |
| `core-metadata-version` | `"2.2"` | The version of [core metadata](https://packaging.python.org/specifications/core-metadata/) to use |
| `core-metadata-version` | `"2.3"` | The version of [core metadata](https://packaging.python.org/specifications/core-metadata/) to use |
| `strict-naming` | `true` | Whether or not file names should contain the normalized version of the project name |
| `support-legacy` | `false` | Whether or not to include a `setup.py` file to support legacy installation mechanisms |

Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/builder/wheel.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The builder plugin name is `wheel`.

| Option | Default | Description |
| --- | --- | --- |
| `core-metadata-version` | `"2.2"` | The version of [core metadata](https://packaging.python.org/specifications/core-metadata/) to use |
| `core-metadata-version` | `"2.3"` | The version of [core metadata](https://packaging.python.org/specifications/core-metadata/) to use |
| `shared-data` | | A mapping similar to the [forced inclusion](../../config/build.md#forced-inclusion) option corresponding to [data](https://peps.python.org/pep-0427/#the-data-directory) that will be installed globally in a given Python environment, usually under `#!python sys.prefix` |
| `extra-metadata` | | A mapping similar to the [forced inclusion](../../config/build.md#forced-inclusion) option corresponding to extra [metadata](https://peps.python.org/pep-0427/#the-dist-info-directory) that will be shipped in a directory named `extra_metadata` |
| `strict-naming` | `true` | Whether or not file names should contain the normalized version of the project name |
Expand Down

0 comments on commit c06c820

Please sign in to comment.