Unexpected synchronization error with a remote repository
还没有人认领这个 Issue。
评估
调研方向
Start by reproducing the reported setup with the pulp python remote create, repository update, and repository sync commands, testing the listed mirror URL variants. Read the related pulp_python issue 868 and compare the sync behavior and error details. Done means identifying the cause and documenting or implementing a confirmed way to synchronize the selected distro packages from the mirror.
由索引模型根据 Issue 内容生成。
描述
Version
{
"component": "core",
"version": "3.83.2",
"package": "pulpcore",
"module": "pulpcore.app",
"domain_compatible": true
},
{
"component": "python",
"version": "3.17.0",
"package": "pulp-python",
"module": "pulp_python.app",
"domain_compatible": true
}
Describe the bug
hello! I want to try to use your project, but I'm facing a problem...
I added:
[
{
"pulp_href": "/pulp/api/v3/repositories/python/python/01985ca2-f970-7825-a3f8-122610f262a3/",
"prn": "prn:python.pythonrepository:01985ca2-f970-7825-a3f8-122610f262a3",
"pulp_created": "2025-07-30T18:40:41.329775Z",
"pulp_last_updated": "2025-07-31T08:49:44.630701Z",
"versions_href": "/pulp/api/v3/repositories/python/python/01985ca2-f970-7825-a3f8-122610f262a3/versions/",
"pulp_labels": {},
"latest_version_href": "/pulp/api/v3/repositories/python/python/01985ca2-f970-7825-a3f8-122610f262a3/versions/1/",
"name": "distro_local",
"description": null,
"retain_repo_versions": null,
"remote": null,
"autopublish": false
}
]
remote:
[
{
"pulp_href": "/pulp/api/v3/remotes/python/python/01985fcc-9589-7a26-94f7-9c1601fd8fb8/",
"prn": "prn:python.pythonremote:01985fcc-9589-7a26-94f7-9c1601fd8fb8",
"pulp_created": "2025-07-31T09:24:59.914051Z",
"pulp_last_updated": "2025-07-31T09:24:59.914073Z",
"name": "test-remote",
"url": "https://mirrors.aliyun.com/pypi",
"ca_cert": null,
"client_cert": null,
"tls_validation": true,
"proxy_url": null,
"pulp_labels": {},
"download_concurrency": null,
"max_retries": null,
"policy": "immediate",
"total_timeout": null,
"connect_timeout": null,
"sock_connect_timeout": null,
"sock_read_timeout": null,
"headers": null,
"rate_limit": null,
"hidden_fields": [
{
"name": "client_key",
"is_set": false
},
{
"name": "proxy_username",
"is_set": false
},
{
"name": "proxy_password",
"is_set": false
},
{
"name": "username",
"is_set": false
},
{
"name": "password",
"is_set": false
}
],
"includes": [
"distro"
],
"excludes": [],
"prereleases": true,
"package_types": [],
"keep_latest_packages": 0,
"exclude_platforms": []
}
]
But I still couldn't get the packets to sync...
I came across a topic: https://github.com/pulp/pulp_python/issues/868
I assumed that these were interrelated issues. Can you confirm this? I used several options:
- https://mirrors.aliyun.com/pypi
- https://mirrors.aliyun.com/pypi/
- https://mirrors.aliyun.com/pypi/simple
But I still couldn't synchronize the packages. Can you suggest a solution? pypi.org it's not available on my network, I can't use it.
At the same time, I clarified: "the mirror https://mirrors.aliyun.com/pypi/simple / fully supports the same Simple Repository API as the official PyPI "
To Reproduce
pulp python remote create --name test-remote --url https://mirrors.aliyun.com/pypi/ --includes '["distro"]' --policy immediate
pulp python repository update --name distro_local --remote test-remote
pulp python repository sync --name distro_local
Expected behavior
I was waiting for the synchronization of packages
- 主要语言
- Python
- 星标
- 49
- 派生
- 88
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 31
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pulp/pulp_python 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 68/100
pulp/pulp_python#1381 ·
-
Feature Triage-Needed
难度 5/5 一周以上 新手友好度 45/100
pulp/pulp_python#1371 ·
-
难度 5/5 一周以上 新手友好度 45/100
pulp/pulp_python#1360 ·
-
难度 4/5 3-5 天 新手友好度 52/100
pulp/pulp_python#1358 ·
-
Feature
pulp/pulp_python#1340 · 已指派 1 人 ·
相似的 Issue
-
area/auth bug comp/agent P3 platform/discord type/security
难度 2/5 1-3 小时 新手友好度 88/100
NousResearch/hermes-agent#117848 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
bancolombia/sentinel#23 ·
-
test md 未关闭CI
难度 2/5 1-3 小时 新手友好度 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
难度 2/5 1-3 小时 新手友好度 74/100
langchain-ai/deepagents#6450 ·
-
bug client
难度 2/5 1-3 小时 新手友好度 88/100