From dcdaff7d103531dcdab50e48d0ba078b00b4f83f Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 26 Jan 2024 00:03:41 -0500 Subject: [PATCH 1/7] docs: update changelog for 0.8.0 Signed-off-by: Henry Schreiner --- CHANGELOG.rst | 13 +++++++++++++ pyproject_metadata/__init__.py | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index db38a02..cc7e2ca 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ Changelog +++++++++ +0.8.0 +===== + +- Preserve the user-specified name style in the metadata. ``.canonical_name`` added to get the normalized name +- Require "version" in the dynamic table if unset (following PEP 621) +- Support extras using markers containing "or" +- Using ``.as_rfc822()`` no longer modifies the metadata object +- Validate the description is one line +- Separate core metadata keywords with commas, following the (modified) spec +- An error message reported ``project.license`` instead of ``project.readme`` +- Produce slightly cleaner tracebacks +- The build backend is now ``flit-core`` + 0.7.1 (30-01-2023) ================== diff --git a/pyproject_metadata/__init__.py b/pyproject_metadata/__init__.py index 12d64ec..bcb9d61 100644 --- a/pyproject_metadata/__init__.py +++ b/pyproject_metadata/__init__.py @@ -25,7 +25,7 @@ import packaging.version -__version__ = '0.7.1' +__version__ = '0.8.0' KNOWN_METADATA_VERSIONS = {'2.1', '2.2', '2.3'} From 7e4e32feae4ac4cd389751b4d78bc392a2e82450 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 30 Jan 2024 22:05:31 -0500 Subject: [PATCH 2/7] Update __init__.py --- pyproject_metadata/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject_metadata/__init__.py b/pyproject_metadata/__init__.py index bcb9d61..cca7198 100644 --- a/pyproject_metadata/__init__.py +++ b/pyproject_metadata/__init__.py @@ -25,7 +25,7 @@ import packaging.version -__version__ = '0.8.0' +__version__ = '0.8.0rc1' KNOWN_METADATA_VERSIONS = {'2.1', '2.2', '2.3'} From 0a1ea025cebaa4fdfaab41f9a98bbe754cb7eef6 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 26 Mar 2024 03:19:47 -0400 Subject: [PATCH 3/7] Update CHANGELOG.rst --- CHANGELOG.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index cc7e2ca..94d8e04 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,10 +5,13 @@ Changelog 0.8.0 ===== +- Support specifying the `metadata_version` to 2.1, 2.2, and 2.3 +- Always normalize extras following PEP 685 - Preserve the user-specified name style in the metadata. ``.canonical_name`` added to get the normalized name - Require "version" in the dynamic table if unset (following PEP 621) - Support extras using markers containing "or" - Using ``.as_rfc822()`` no longer modifies the metadata object +- Fix email-author listing for names containing commas - Validate the description is one line - Separate core metadata keywords with commas, following the (modified) spec - An error message reported ``project.license`` instead of ``project.readme`` From 85951f0e372a36b813eb3cfd86109b820c26cc96 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 26 Mar 2024 03:23:57 -0400 Subject: [PATCH 4/7] docs: update for new location --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b149782..a16707d 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # pyproject-metadata -[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/FFY00/python-pyproject-metadata/main.svg)](https://results.pre-commit.ci/latest/github/FFY00/python-pyproject-metadata/main) -[![checks](https://github.com/FFY00/python-pyproject-metadata/actions/workflows/checks.yml/badge.svg)](https://github.com/FFY00/python-pyproject-metadata/actions/workflows/checks.yml) -[![tests](https://github.com/FFY00/python-pyproject-metadata/actions/workflows/tests.yml/badge.svg)](https://github.com/FFY00/python-pyproject-metadata/actions/workflows/tests.yml) -[![codecov](https://codecov.io/gh/FFY00/python-pyproject-metadata/branch/main/graph/badge.svg?token=9chBjS1lch)](https://codecov.io/gh/FFY00/python-pyproject-metadata) -[![Documentation Status](https://readthedocs.org/projects/pyproject-metadata/badge/?version=latest)](https://pyproject-metadata.readthedocs.io/en/latest/?badge=latest) +[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/pypa/pyproject-metadata/main.svg)](https://results.pre-commit.ci/latest/github/pypa/pyproject-metadata/main) +[![checks](https://github.com/pypa/pyproject-metadata/actions/workflows/checks.yml/badge.svg)](https://github.com/FFY00/python-pyproject-metadata/actions/workflows/checks.yml) +[![tests](https://github.com/pypa/pyproject-metadata/actions/workflows/tests.yml/badge.svg)](https://github.com/pypa/pyproject-metadata/actions/workflows/tests.yml) +[![codecov](https://codecov.io/gh/pypa/pyproject-metadata/branch/main/graph/badge.svg?token=9chBjS1lch)](https://codecov.io/gh/pypa/pyproject-metadata) +[![Documentation Status](https://readthedocs.org/projects/pyproject-metadata/badge/?version=latest)](https://pyproject-metadata.pypa.io/en/latest/?badge=latest) > Dataclass for PEP 621 metadata with support for [core metadata] generation From f231e4afd59df9cac6dceb474076c6e9b48363ee Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sun, 7 Apr 2024 13:28:09 -0400 Subject: [PATCH 5/7] Update CHANGELOG.rst --- CHANGELOG.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 94d8e04..f83a8f7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,6 +10,7 @@ Changelog - Preserve the user-specified name style in the metadata. ``.canonical_name`` added to get the normalized name - Require "version" in the dynamic table if unset (following PEP 621) - Support extras using markers containing "or" +- Support empty extras - Using ``.as_rfc822()`` no longer modifies the metadata object - Fix email-author listing for names containing commas - Validate the description is one line From 8694bd42cf3616684731d389912398806ecb66d2 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 8 Apr 2024 01:58:55 -0400 Subject: [PATCH 6/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a16707d..31a6755 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![checks](https://github.com/pypa/pyproject-metadata/actions/workflows/checks.yml/badge.svg)](https://github.com/FFY00/python-pyproject-metadata/actions/workflows/checks.yml) [![tests](https://github.com/pypa/pyproject-metadata/actions/workflows/tests.yml/badge.svg)](https://github.com/pypa/pyproject-metadata/actions/workflows/tests.yml) [![codecov](https://codecov.io/gh/pypa/pyproject-metadata/branch/main/graph/badge.svg?token=9chBjS1lch)](https://codecov.io/gh/pypa/pyproject-metadata) -[![Documentation Status](https://readthedocs.org/projects/pyproject-metadata/badge/?version=latest)](https://pyproject-metadata.pypa.io/en/latest/?badge=latest) +[![Documentation Status](https://readthedocs.org/projects/pyproject-metadata/badge/?version=latest)](https://pep621.readthedocs.io/en/latest/?badge=latest) > Dataclass for PEP 621 metadata with support for [core metadata] generation From 1afaabf7da28e82cd0018ef578e88732bff2ac98 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 8 Apr 2024 02:00:12 -0400 Subject: [PATCH 7/7] Update CHANGELOG.rst --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f83a8f7..b76a496 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,7 +5,7 @@ Changelog 0.8.0 ===== -- Support specifying the `metadata_version` to 2.1, 2.2, and 2.3 +- Support specifying the `metadata_version` as 2.1, 2.2, or 2.3 - Always normalize extras following PEP 685 - Preserve the user-specified name style in the metadata. ``.canonical_name`` added to get the normalized name - Require "version" in the dynamic table if unset (following PEP 621)