pulp-python 3.19.4__py3-none-any.whl → 3.19.5__py3-none-any.whl
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/app/__init__.py +1 -1
- pulp_python/app/utils.py +2 -2
- pulp_python/tests/functional/api/test_crud_content_unit.py +2 -2
- {pulp_python-3.19.4.dist-info → pulp_python-3.19.5.dist-info}/METADATA +1 -1
- {pulp_python-3.19.4.dist-info → pulp_python-3.19.5.dist-info}/RECORD +9 -9
- {pulp_python-3.19.4.dist-info → pulp_python-3.19.5.dist-info}/WHEEL +1 -1
- {pulp_python-3.19.4.dist-info → pulp_python-3.19.5.dist-info}/entry_points.txt +0 -0
- {pulp_python-3.19.4.dist-info → pulp_python-3.19.5.dist-info}/licenses/LICENSE +0 -0
- {pulp_python-3.19.4.dist-info → pulp_python-3.19.5.dist-info}/top_level.txt +0 -0
pulp_python/app/__init__.py
CHANGED
pulp_python/app/utils.py
CHANGED
|
@@ -404,14 +404,14 @@ def python_content_to_download_info(content, base_path, domain=None):
|
|
|
404
404
|
|
|
405
405
|
def write_simple_index(project_names, streamed=False):
|
|
406
406
|
"""Writes the simple index."""
|
|
407
|
-
simple = Template(simple_index_template)
|
|
407
|
+
simple = Template(simple_index_template, autoescape=True)
|
|
408
408
|
context = {"projects": ((x, canonicalize_name(x)) for x in project_names)}
|
|
409
409
|
return simple.stream(**context) if streamed else simple.render(**context)
|
|
410
410
|
|
|
411
411
|
|
|
412
412
|
def write_simple_detail(project_name, project_packages, streamed=False):
|
|
413
413
|
"""Writes the simple detail page of a package."""
|
|
414
|
-
detail = Template(simple_detail_template)
|
|
414
|
+
detail = Template(simple_detail_template, autoescape=True)
|
|
415
415
|
context = {"project_name": project_name, "project_packages": project_packages}
|
|
416
416
|
return detail.stream(**context) if streamed else detail.render(**context)
|
|
417
417
|
|
|
@@ -170,9 +170,9 @@ def test_upload_requires_python(python_content_factory):
|
|
|
170
170
|
@pytest.mark.parallel
|
|
171
171
|
def test_upload_metadata_24_spec(python_content_factory):
|
|
172
172
|
"""Test that packages using metadata spec 2.4 can be uploaded to pulp."""
|
|
173
|
-
filename = "
|
|
173
|
+
filename = "attrs-26.1.0.tar.gz"
|
|
174
174
|
with PyPISimple() as client:
|
|
175
|
-
page = client.get_project_page("
|
|
175
|
+
page = client.get_project_page("attrs")
|
|
176
176
|
for package in page.packages:
|
|
177
177
|
if package.filename == filename:
|
|
178
178
|
content = python_content_factory(filename, url=package.url)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
pulp_python/__init__.py,sha256=GIuTLoBTc-07dSLJUh8xrZPRz8x-jJ61pfR0J1IjnzI,65
|
|
2
2
|
pulp_python/pytest_plugin.py,sha256=KqzB8Xv22_mA6itx0N1tYg9qXgEhHiOkX1ookAaJB8g,7525
|
|
3
|
-
pulp_python/app/__init__.py,sha256=
|
|
3
|
+
pulp_python/app/__init__.py,sha256=8P-9wNYd9KEXJxa0KHmusFngjmaqUDnKIwsDbBl9I7k,2490
|
|
4
4
|
pulp_python/app/global_access_conditions.py,sha256=MZJtyoVsr-4hRaty6mKDqh3caOHd5UKJjEWLV2crOLs,1080
|
|
5
5
|
pulp_python/app/modelresource.py,sha256=4SFAdqk6lozi_cZz4uqDIqhqPAZF-7l5jJwPn-xGZFs,1249
|
|
6
6
|
pulp_python/app/models.py,sha256=Puvl1VhuCubtf_V0sq6U5nWAb94sUAVk_wTv-FkuvSs,11258
|
|
@@ -8,7 +8,7 @@ pulp_python/app/replica.py,sha256=cFMNdTDX_6k87PzEffDDN4Moh2iUu89rSqYgv0-Ta8c,18
|
|
|
8
8
|
pulp_python/app/serializers.py,sha256=zHFxpmKQPJrKWaBADVbUsZKpxLuGqjyKpCDm_CHxfzU,19712
|
|
9
9
|
pulp_python/app/settings.py,sha256=HXJK3rr0LVTOv1xBS5cZvVtz6j4SvFZl0PH3sLTcu2w,227
|
|
10
10
|
pulp_python/app/urls.py,sha256=bnuW89roIlPipROo3QcJktvRPAxikI1tV7-XX425QQg,1089
|
|
11
|
-
pulp_python/app/utils.py,sha256=
|
|
11
|
+
pulp_python/app/utils.py,sha256=cm-WkK5myCudlCc1qZ7GZjBI6D6MT3SzAgza5bjl7GU,18355
|
|
12
12
|
pulp_python/app/viewsets.py,sha256=S0VQIv4_pmDYzpsEwlze-pvyQ2yaT4Hpq3GeBiUdL3g,25103
|
|
13
13
|
pulp_python/app/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
pulp_python/app/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -48,7 +48,7 @@ pulp_python/tests/functional/utils.py,sha256=pl8oyqPSRKvJl8jZY4cv-y0apgbP01s3QJn
|
|
|
48
48
|
pulp_python/tests/functional/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
49
|
pulp_python/tests/functional/api/test_auto_publish.py,sha256=uCIt4LsO61oMk3bDs3LMQDJI8zkKqvY0b1uX16bTxzM,1747
|
|
50
50
|
pulp_python/tests/functional/api/test_consume_content.py,sha256=-7b6KOrIT3NLSUafeu1tzXEXRPddDbS5VeMHxMIy2n8,999
|
|
51
|
-
pulp_python/tests/functional/api/test_crud_content_unit.py,sha256=
|
|
51
|
+
pulp_python/tests/functional/api/test_crud_content_unit.py,sha256=p9oA8YCsGQvKBcHnpajSG_S3mNlOldOy9hEvm6O8SDc,8024
|
|
52
52
|
pulp_python/tests/functional/api/test_crud_publications.py,sha256=3cuSDC9C9M1opt0lh5ObGj8t7gq5jUW-RWj6MrA4Teo,5647
|
|
53
53
|
pulp_python/tests/functional/api/test_crud_remotes.py,sha256=clFFhgG5udyKzWOLwxpmwjhiVz8r5JEPAQHkztcAf9w,5812
|
|
54
54
|
pulp_python/tests/functional/api/test_domains.py,sha256=vMm7rZD96nlmVdpU-Y7mZVtj5j9xHfTs_NYgLJuRhAc,10469
|
|
@@ -62,9 +62,9 @@ pulp_python/tests/functional/api/test_sync.py,sha256=oE2gJx9bnbQudq45dGVB7xE_ZBi
|
|
|
62
62
|
pulp_python/tests/functional/api/test_upload.py,sha256=XJ6zUffw9A1avOJND5CfwL4xM0_ejiL_NCWszPe7fZY,1853
|
|
63
63
|
pulp_python/tests/unit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
64
64
|
pulp_python/tests/unit/test_models.py,sha256=TBI0yKsrdbnJSPeBFfxSqhXK7zaNvR6qg5JehGH3Pds,229
|
|
65
|
-
pulp_python-3.19.
|
|
66
|
-
pulp_python-3.19.
|
|
67
|
-
pulp_python-3.19.
|
|
68
|
-
pulp_python-3.19.
|
|
69
|
-
pulp_python-3.19.
|
|
70
|
-
pulp_python-3.19.
|
|
65
|
+
pulp_python-3.19.5.dist-info/licenses/LICENSE,sha256=2ylvL381vKOhdO-w6zkrOxe9lLNBhRQpo9_0EbHC_HM,18046
|
|
66
|
+
pulp_python-3.19.5.dist-info/METADATA,sha256=HhquHBf9_0Ycv09EhMlXlI4HnhCX1BSiHwzQCNmVkMc,1702
|
|
67
|
+
pulp_python-3.19.5.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
68
|
+
pulp_python-3.19.5.dist-info/entry_points.txt,sha256=HvqLEXjw_dS5jqAwnE5JiRZFE6f-y5SRtitKLPml2To,115
|
|
69
|
+
pulp_python-3.19.5.dist-info/top_level.txt,sha256=X0hXgXc_bpbiKqVrkt8jD5_QEiQviKbHDwveQcOcJjo,12
|
|
70
|
+
pulp_python-3.19.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|