[RTFACT-17020] If Python metadata version is set to 2.1, then the metadata calculation fails Created: 25/Jun/18  Updated: 25/Jan/19  Resolved: 28/Jun/18

Status: Resolved
Project: Artifactory Binary Repository
Component/s: PyPI
Affects Version/s: 5.5.1, 5.8.4
Fix Version/s: 6.1.0

Type: Bug Priority: High
Reporter: Matthew Wang Assignee: Liza Dashevski (Inactive)
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Duplicate
is duplicated by RTFACT-16189 If Python metadata version is set to ... Resolved
Sub-Tasks:
Key
Summary
Type
Status
Assignee
RTFACT-17021 CLONE - Python metadata - Keywords - ... Sub-task Open Liza Dashevski  
Assigned QA: Konstantin Shenderov

 Description   

When Python metadata version inside METADATA or PKG-INFO files are set to 2.1, metadata extraction fails:
"Cannot extract metadata from <artifact> : No enum constant org.jfrog.repomd.pypi.model.PypiMetadata.MetadataVersion.v2_1. Metadata will not be updated"

To reproduce:
1. change the PKG-INFO file inside a python file and specify

Metadata-Version: 2.1
(same package attached)
2. Deploy to artifactory and wait for indexing



 Comments   
Comment by Aaron Rhodes [ 25/Jun/18 ]

Duplicated for public consumption

Comment by Trinh Ta [ 26/Jun/18 ]

Dummy question: I used to track RTFACT-16189 to know the status of this issue but now I can't access RTFACT-16189 any more. A general search for "Python metadata" lead me to here. What happened to RTFACT-16189 ?

Comment by Matthew Wang [ 07/Sep/18 ]

there was an issue with the old Jira so we duplicated it.

Generated at Sat Aug 24 22:40:40 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.