Skip to content

Commit

Permalink
Update pkginfo library to support newer python packages
Browse files Browse the repository at this point in the history
closes #689
  • Loading branch information
dralley committed Jun 28, 2024
1 parent 781b976 commit 562403a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/689.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support Python package metadata version 2.3
2 changes: 2 additions & 0 deletions pulp_python/app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ class PythonPackageContent(Content):
metadata_version = models.TextField()
summary = models.TextField()
description = models.TextField()
description_content_type = models.TextField()
keywords = models.TextField()
home_page = models.TextField()
download_url = models.TextField()
Expand All @@ -171,6 +172,7 @@ class PythonPackageContent(Content):
project_url = models.TextField()
platform = models.TextField()
supported_platform = models.TextField()
dynamic = models.TextField()
requires_dist = models.JSONField(default=list)
provides_dist = models.JSONField(default=list)
obsoletes_dist = models.JSONField(default=list)
Expand Down

0 comments on commit 562403a

Please sign in to comment.