Skip to content

Commit

Permalink
Add tests for Dynamic core metadata for pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Jan 8, 2025
1 parent 0adaa83 commit cf576e2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions setuptools/tests/test_core_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,20 @@ class TestPEP643:
install_requires = requests
"""
),
"pyproject.toml": cleandoc(
"""
[project]
name = "package"
version = "0.0.1"
authors = [
{name = "Foo Bar", email = "[email protected]"}
]
description = "Short description"
readme = {text = "Long\\ndescription", content-type = "text/plain"}
keywords = ["one", "two"]
dependencies = ["requests"]
"""
),
}

@pytest.mark.parametrize("file", STATIC_CONFIG.keys())
Expand Down

0 comments on commit cf576e2

Please sign in to comment.