Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PyPI release model used for announcements #594

Merged
merged 2 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions changelogs/fragments/594-announcements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- "The PyPI API model used during the release announcement generation has been updated to accept ``null`` for ``keywords``, ``maintainer``, and ``maintainer_email`` (https://github.com/ansible-community/antsibull/pull/594)."
6 changes: 3 additions & 3 deletions src/antsibull/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ class ReleaseInfo(p.BaseModel):
description_content_type: str
docs_url: Optional[str]
home_page: str
keywords: str
keywords: Optional[str]
license: str
maintainer: str
maintainer_email: str
maintainer: Optional[str]
maintainer_email: Optional[str]
name: str
package_url: str
platform: Optional[str]
Expand Down