简体   繁体   English

JFrog Artifactory PyPI存储库中不提供Python包元数据终结点

[英]Python package metadata endpoint not available in JFrog Artifactory PyPI repository

I'm using JFrog Artifactory as an artifact store to keep private python modules. 我使用JFrog Artifactory作为工件存储来保留私有python模块。 When our build server pushes a compiled python module to the Artifactory PyPI repository it makes a GET request to another endpoint (to validate that the module was pushed). 当我们的构建服务器将已编译的python模块推送到Artifactory PyPI存储库时,它将向另一个端点发出GET请求(以验证是否已推送该模块)。 I can see that the module was stored but the /json endpoint returns a 404 not found. 我可以看到模块已存储,但/ json端点返回未找到的404。 When I try doing this on the public PyPI site I get a metadata document in JSON format. 当我尝试在公共PyPI网站上执行此操作时,我得到了JSON格式的元数据文档。

Is this a feature of PyPI which isn't supported by JFrog? 这是JFrog不支持的PyPI功能吗? Or is it a problem with my build artifacts? 还是我的构建工件有问题? I already tried searching around but couldn't find much information about this. 我已经尝试过搜索,但是找不到太多有关此的信息。

https://wiki.python.org/moin/PyPIJSON?action=show&redirect=PyPiJson https://wiki.python.org/moin/PyPIJSON?action=show&redirect=PyPiJson

URL which works on PyPI: https://pypi.python.org/pypi/ {{ packagename }}/json 适用于PyPI的网址: https ://pypi.python.org/pypi/ {{packagename}} / json

Example: https://pypi.python.org/pypi/requests/json 示例: https//pypi.python.org/pypi/requests/json

URL which gives 404 on Artifactory: https://{{ myorg }}.jfrog.io/{{ myorg }}/api/pypi/{{ myteam }}/{{ packagename }}/json 在Artifactory上提供404的URL:https:// {{myorg}}。jfrog.io / {{myorg}} / api / pypi / {{myteam}} / {{包名}} / json

Thank you 谢谢

Artifactory only supports the PyPi simple API . Artifactory仅支持PyPi 简单API
The JSON API is not supported at the moment. 目前不支持JSON API。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM