pulp-python 3.19.4__tar.gz → 3.19.5__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.19.4 → pulp_python-3.19.5}/CHANGES.md +9 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/PKG-INFO +1 -1
- pulp_python-3.19.5/functest_requirements.txt +10 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/__init__.py +1 -1
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/utils.py +2 -2
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_crud_content_unit.py +2 -2
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python.egg-info/PKG-INFO +1 -1
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pyproject.toml +4 -3
- pulp_python-3.19.4/functest_requirements.txt +0 -9
- {pulp_python-3.19.4 → pulp_python-3.19.5}/COMMITMENT +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/COPYRIGHT +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/LICENSE +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/MANIFEST.in +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/README.md +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/__init__.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/global_access_conditions.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/management/__init__.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/management/commands/__init__.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/management/commands/repair-python-metadata.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0001_initial.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0001_squashed_0010_update_json_field.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0002_pythonpackagecontent_python_version.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0003_new_sync_filters.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0004_DATA_swap_distribution_model.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0005_pythonpackagecontent_sha256.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0006_pythonrepository_autopublish.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0007_pythonpackagecontent_mv-2-1.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0008_pythonpackagecontent_unique_sha256.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0009_pythondistribution_allow_uploads.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0010_update_json_field.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0011_alter_pythondistribution_distribution_ptr_and_more.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0012_add_domain.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0013_add_rbac_permissions.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0014_pythonpackagecontent_dynamic_and_more.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0015_alter_pythonpackagecontent_options.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/__init__.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/modelresource.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/models.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/pypi/__init__.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/pypi/serializers.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/pypi/views.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/replica.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/serializers.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/settings.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/tasks/__init__.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/tasks/publish.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/tasks/repair.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/tasks/sync.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/tasks/upload.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/urls.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/viewsets.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/webserver_snippets/__init__.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/webserver_snippets/apache.conf +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/app/webserver_snippets/nginx.conf +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/pytest_plugin.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/__init__.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/__init__.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/__init__.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_auto_publish.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_consume_content.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_crud_publications.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_crud_remotes.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_domains.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_download_content.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_export_import.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_full_mirror.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_pypi_apis.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_rbac.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_repair.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_sync.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_upload.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/constants.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/utils.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/unit/__init__.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/unit/test_models.py +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python.egg-info/SOURCES.txt +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python.egg-info/dependency_links.txt +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python.egg-info/entry_points.txt +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python.egg-info/requires.txt +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python.egg-info/top_level.txt +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/setup.cfg +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/test_requirements.txt +0 -0
- {pulp_python-3.19.4 → pulp_python-3.19.5}/unittest_requirements.txt +0 -0
|
@@ -8,6 +8,15 @@
|
|
|
8
8
|
|
|
9
9
|
[//]: # (towncrier release notes start)
|
|
10
10
|
|
|
11
|
+
## 3.19.5 (2026-10-08) {: #3.19.5 }
|
|
12
|
+
|
|
13
|
+
#### Bugfixes {: #3.19.5-bugfix }
|
|
14
|
+
|
|
15
|
+
- Fixed quoting mistake in simple html detail pages that can lead to a possible XSS attack.
|
|
16
|
+
- Fixed quoting mistake in simple html index pages that can lead to a possible XSS attack given a carefully crafted package name. CVE-2026-103871
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
11
20
|
## 3.19.4 (2026-06-30) {: #3.19.4 }
|
|
12
21
|
|
|
13
22
|
#### Bugfixes {: #3.19.4-bugfix }
|
|
@@ -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
|
|
{pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_crud_content_unit.py
RENAMED
|
@@ -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)
|
|
@@ -7,7 +7,7 @@ build-backend = 'setuptools.build_meta'
|
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "pulp-python"
|
|
10
|
-
version = "3.19.
|
|
10
|
+
version = "3.19.5"
|
|
11
11
|
description = "pulp-python plugin for the Pulp Project"
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
authors = [
|
|
@@ -78,7 +78,7 @@ ignore = [
|
|
|
78
78
|
[tool.bumpversion]
|
|
79
79
|
# This section is managed by the plugin template. Do not edit manually.
|
|
80
80
|
|
|
81
|
-
current_version = "3.19.
|
|
81
|
+
current_version = "3.19.5"
|
|
82
82
|
commit = false
|
|
83
83
|
tag = false
|
|
84
84
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
|
|
@@ -124,7 +124,6 @@ filename = "./pyproject.toml"
|
|
|
124
124
|
search = "version = \"{current_version}\""
|
|
125
125
|
replace = "version = \"{new_version}\""
|
|
126
126
|
|
|
127
|
-
|
|
128
127
|
[tool.black]
|
|
129
128
|
line-length = 100
|
|
130
129
|
|
|
@@ -138,6 +137,7 @@ extend-exclude = [
|
|
|
138
137
|
|
|
139
138
|
[tool.ruff.lint]
|
|
140
139
|
# This section is managed by the plugin template. Do not edit manually.
|
|
140
|
+
select = ["E4", "E7", "E9", "F"]
|
|
141
141
|
extend-select = [
|
|
142
142
|
"I",
|
|
143
143
|
"INT",
|
|
@@ -148,6 +148,7 @@ extend-select = [
|
|
|
148
148
|
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
|
149
149
|
# This section is managed by the plugin template. Do not edit manually.
|
|
150
150
|
"distutils".msg = "The 'distutils' module has been deprecated since Python 3.9."
|
|
151
|
+
"pulpcore.app.settings".msg = "Always import 'settings' from 'django.conf' instead."
|
|
151
152
|
"pulpcore.app".msg = "The 'pulpcore' apis must only be consumed via 'pulpcore.plugin'."
|
|
152
153
|
|
|
153
154
|
[tool.ruff.lint.isort]
|
|
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.19.4 → pulp_python-3.19.5}/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.19.4 → pulp_python-3.19.5}/pulp_python/app/migrations/0010_update_json_field.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulp_python-3.19.4 → pulp_python-3.19.5}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_auto_publish.py
RENAMED
|
File without changes
|
{pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_consume_content.py
RENAMED
|
File without changes
|
{pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_crud_publications.py
RENAMED
|
File without changes
|
{pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_crud_remotes.py
RENAMED
|
File without changes
|
|
File without changes
|
{pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_download_content.py
RENAMED
|
File without changes
|
{pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_export_import.py
RENAMED
|
File without changes
|
{pulp_python-3.19.4 → pulp_python-3.19.5}/pulp_python/tests/functional/api/test_full_mirror.py
RENAMED
|
File without changes
|
{pulp_python-3.19.4 → pulp_python-3.19.5}/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
|
|
File without changes
|
|
File without changes
|