pulp-python 3.13.0__tar.gz → 3.13.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pulp_python-3.13.0 → pulp_python-3.13.2}/CHANGES.md +14 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/PKG-INFO +2 -2
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/__init__.py +1 -1
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/pypi/views.py +2 -1
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/utils.py +2 -1
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_crud_content_unit.py +13 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python.egg-info/PKG-INFO +2 -2
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python.egg-info/requires.txt +1 -1
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pyproject.toml +3 -3
- {pulp_python-3.13.0 → pulp_python-3.13.2}/COMMITMENT +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/COPYRIGHT +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/LICENSE +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/MANIFEST.in +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/README.md +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/functest_requirements.txt +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/__init__.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/global_access_conditions.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/management/__init__.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/management/commands/__init__.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/management/commands/repair-python-metadata.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0001_initial.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0002_pythonpackagecontent_python_version.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0003_new_sync_filters.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0004_DATA_swap_distribution_model.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0005_pythonpackagecontent_sha256.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0006_pythonrepository_autopublish.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0007_pythonpackagecontent_mv-2-1.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0008_pythonpackagecontent_unique_sha256.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0009_pythondistribution_allow_uploads.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0010_update_json_field.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0011_alter_pythondistribution_distribution_ptr_and_more.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0012_add_domain.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0013_add_rbac_permissions.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/__init__.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/modelresource.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/models.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/pypi/__init__.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/pypi/serializers.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/replica.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/serializers.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/settings.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/tasks/__init__.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/tasks/publish.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/tasks/sync.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/tasks/upload.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/urls.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/viewsets.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/webserver_snippets/__init__.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/webserver_snippets/apache.conf +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/webserver_snippets/nginx.conf +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/pytest_plugin.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/__init__.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/__init__.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/__init__.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_auto_publish.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_consume_content.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_crud_publications.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_crud_remotes.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_domains.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_download_content.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_export_import.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_full_mirror.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_pypi_apis.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_rbac.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_repair.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_sync.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/constants.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/utils.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/unit/__init__.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/unit/test_models.py +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python.egg-info/SOURCES.txt +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python.egg-info/dependency_links.txt +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python.egg-info/entry_points.txt +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python.egg-info/top_level.txt +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/setup.cfg +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/test_requirements.txt +0 -0
- {pulp_python-3.13.0 → pulp_python-3.13.2}/unittest_requirements.txt +0 -0
|
@@ -8,6 +8,20 @@
|
|
|
8
8
|
|
|
9
9
|
[//]: # (towncrier release notes start)
|
|
10
10
|
|
|
11
|
+
## 3.13.2 (2025-02-20) {: #3.13.2 }
|
|
12
|
+
|
|
13
|
+
#### Misc {: #3.13.2-misc }
|
|
14
|
+
|
|
15
|
+
-
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 3.13.1 (2025-02-11) {: #3.13.1 }
|
|
20
|
+
|
|
21
|
+
No significant changes.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
11
25
|
## 3.13.0 (2025-02-05) {: #3.13.0 }
|
|
12
26
|
|
|
13
27
|
#### Features {: #3.13.0-feature }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: pulp-python
|
|
3
|
-
Version: 3.13.
|
|
3
|
+
Version: 3.13.2
|
|
4
4
|
Summary: pulp-python plugin for the Pulp Project
|
|
5
5
|
Author-email: Pulp Team <pulp-list@redhat.com>
|
|
6
6
|
Project-URL: Homepage, https://pulpproject.org
|
|
@@ -22,7 +22,7 @@ Requires-Python: >=3.9
|
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
Requires-Dist: pulpcore<3.85,>=3.49.0
|
|
25
|
-
Requires-Dist: pkginfo<1.
|
|
25
|
+
Requires-Dist: pkginfo<1.13.0,>=1.10.0
|
|
26
26
|
Requires-Dist: bandersnatch<7.0,>=6.3
|
|
27
27
|
Requires-Dist: pypi-simple<2.0,>=1.5.0
|
|
28
28
|
|
|
@@ -51,7 +51,8 @@ from pulp_python.app import tasks
|
|
|
51
51
|
|
|
52
52
|
log = logging.getLogger(__name__)
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
ORIGIN_HOST = settings.CONTENT_ORIGIN if settings.CONTENT_ORIGIN else settings.PYPI_API_HOSTNAME
|
|
55
|
+
BASE_CONTENT_URL = urljoin(ORIGIN_HOST, settings.CONTENT_PATH_PREFIX)
|
|
55
56
|
|
|
56
57
|
|
|
57
58
|
class PyPIMixin:
|
|
@@ -315,7 +315,8 @@ def python_content_to_download_info(content, base_path, domain=None):
|
|
|
315
315
|
|
|
316
316
|
content_artifact = content.contentartifact_set.first()
|
|
317
317
|
artifact = find_artifact()
|
|
318
|
-
origin = settings.CONTENT_ORIGIN.
|
|
318
|
+
origin = settings.CONTENT_ORIGIN or settings.PYPI_API_HOSTNAME or ""
|
|
319
|
+
origin = origin.strip("/")
|
|
319
320
|
prefix = settings.CONTENT_PATH_PREFIX.strip("/")
|
|
320
321
|
base_path = base_path.strip("/")
|
|
321
322
|
components = [origin, prefix, base_path, content.filename]
|
{pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_crud_content_unit.py
RENAMED
|
@@ -134,3 +134,16 @@ def test_upload_requires_python(python_content_factory):
|
|
|
134
134
|
content = python_content_factory(filename, url=package.url)
|
|
135
135
|
assert content.requires_python == ">=3.8"
|
|
136
136
|
break
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
@pytest.mark.parallel
|
|
140
|
+
def test_upload_metadata_24_spec(python_content_factory):
|
|
141
|
+
"""Test that packages using metadata spec 2.4 can be uploaded to pulp."""
|
|
142
|
+
filename = "urllib3-2.3.0-py3-none-any.whl"
|
|
143
|
+
with PyPISimple() as client:
|
|
144
|
+
page = client.get_project_page("urllib3")
|
|
145
|
+
for package in page.packages:
|
|
146
|
+
if package.filename == filename:
|
|
147
|
+
content = python_content_factory(filename, url=package.url)
|
|
148
|
+
assert content.metadata_version == "2.4"
|
|
149
|
+
break
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: pulp-python
|
|
3
|
-
Version: 3.13.
|
|
3
|
+
Version: 3.13.2
|
|
4
4
|
Summary: pulp-python plugin for the Pulp Project
|
|
5
5
|
Author-email: Pulp Team <pulp-list@redhat.com>
|
|
6
6
|
Project-URL: Homepage, https://pulpproject.org
|
|
@@ -22,7 +22,7 @@ Requires-Python: >=3.9
|
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
Requires-Dist: pulpcore<3.85,>=3.49.0
|
|
25
|
-
Requires-Dist: pkginfo<1.
|
|
25
|
+
Requires-Dist: pkginfo<1.13.0,>=1.10.0
|
|
26
26
|
Requires-Dist: bandersnatch<7.0,>=6.3
|
|
27
27
|
Requires-Dist: pypi-simple<2.0,>=1.5.0
|
|
28
28
|
|
|
@@ -7,7 +7,7 @@ build-backend = 'setuptools.build_meta'
|
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "pulp-python"
|
|
10
|
-
version = "3.13.
|
|
10
|
+
version = "3.13.2"
|
|
11
11
|
description = "pulp-python plugin for the Pulp Project"
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
authors = [
|
|
@@ -28,7 +28,7 @@ classifiers=[
|
|
|
28
28
|
requires-python = ">=3.9"
|
|
29
29
|
dependencies = [
|
|
30
30
|
"pulpcore>=3.49.0,<3.85",
|
|
31
|
-
"pkginfo>=1.10.0,<1.
|
|
31
|
+
"pkginfo>=1.10.0,<1.13.0",
|
|
32
32
|
"bandersnatch>=6.3,<7.0", # Anything >6.3 requires Python 3.10+
|
|
33
33
|
"pypi-simple>=1.5.0,<2.0",
|
|
34
34
|
]
|
|
@@ -77,7 +77,7 @@ ignore = [
|
|
|
77
77
|
[tool.bumpversion]
|
|
78
78
|
# This section is managed by the plugin template. Do not edit manually.
|
|
79
79
|
|
|
80
|
-
current_version = "3.13.
|
|
80
|
+
current_version = "3.13.2"
|
|
81
81
|
commit = false
|
|
82
82
|
tag = false
|
|
83
83
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0003_new_sync_filters.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0010_update_json_field.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/app/migrations/0013_add_rbac_permissions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_auto_publish.py
RENAMED
|
File without changes
|
{pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_consume_content.py
RENAMED
|
File without changes
|
{pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_crud_publications.py
RENAMED
|
File without changes
|
{pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_crud_remotes.py
RENAMED
|
File without changes
|
|
File without changes
|
{pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_download_content.py
RENAMED
|
File without changes
|
{pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_export_import.py
RENAMED
|
File without changes
|
{pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_full_mirror.py
RENAMED
|
File without changes
|
{pulp_python-3.13.0 → pulp_python-3.13.2}/pulp_python/tests/functional/api/test_pypi_apis.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|