pulp-python 3.22.0__tar.gz → 3.22.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.22.0 → pulp_python-3.22.2}/CHANGES.md +17 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/PKG-INFO +1 -1
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/__init__.py +1 -1
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0017_pythonpackagecontent_size.py +1 -1
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/viewsets.py +14 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python.egg-info/PKG-INFO +1 -1
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pyproject.toml +2 -2
- {pulp_python-3.22.0 → pulp_python-3.22.2}/COMMITMENT +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/COPYRIGHT +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/LICENSE +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/MANIFEST.in +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/README.md +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/functest_requirements.txt +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/__init__.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/global_access_conditions.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/management/__init__.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/management/commands/__init__.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/management/commands/repair-python-metadata.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0001_initial.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0001_squashed_0010_update_json_field.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0002_pythonpackagecontent_python_version.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0003_new_sync_filters.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0004_DATA_swap_distribution_model.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0005_pythonpackagecontent_sha256.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0006_pythonrepository_autopublish.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0007_pythonpackagecontent_mv-2-1.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0008_pythonpackagecontent_unique_sha256.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0009_pythondistribution_allow_uploads.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0010_update_json_field.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0011_alter_pythondistribution_distribution_ptr_and_more.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0012_add_domain.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0013_add_rbac_permissions.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0014_pythonpackagecontent_dynamic_and_more.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0015_alter_pythonpackagecontent_options.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0016_pythonpackagecontent_metadata_sha256.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0018_packageprovenance.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/__init__.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/modelresource.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/models.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/provenance.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/pypi/__init__.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/pypi/serializers.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/pypi/views.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/replica.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/serializers.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/settings.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/tasks/__init__.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/tasks/publish.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/tasks/repair.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/tasks/sync.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/tasks/upload.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/tasks/vulnerability_report.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/urls.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/utils.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/webserver_snippets/__init__.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/webserver_snippets/apache.conf +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/webserver_snippets/nginx.conf +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/pytest_plugin.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/__init__.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/__init__.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/__init__.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_attestations.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_auto_publish.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_consume_content.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_crud_content_unit.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_crud_publications.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_crud_remotes.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_domains.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_download_content.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_export_import.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_full_mirror.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_pypi_apis.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_pypi_simple_json_api.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_rbac.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_repair.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_sync.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_upload.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_vulnerability_report.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/assets/shelf-reader-0.1.tar.gz.publish.attestation +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/assets/shelf_reader-0.1-py2-none-any.whl.publish.attestation +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/constants.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/utils.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/unit/__init__.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/unit/test_models.py +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python.egg-info/SOURCES.txt +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python.egg-info/dependency_links.txt +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python.egg-info/entry_points.txt +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python.egg-info/requires.txt +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python.egg-info/top_level.txt +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/setup.cfg +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/test_requirements.txt +0 -0
- {pulp_python-3.22.0 → pulp_python-3.22.2}/unittest_requirements.txt +0 -0
|
@@ -8,6 +8,23 @@
|
|
|
8
8
|
|
|
9
9
|
[//]: # (towncrier release notes start)
|
|
10
10
|
|
|
11
|
+
## 3.22.2 (2026-01-06) {: #3.22.2 }
|
|
12
|
+
|
|
13
|
+
#### Bugfixes {: #3.22.2-bugfix }
|
|
14
|
+
|
|
15
|
+
- Added missing Provenance content `package` and `sha256` filters.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 3.22.1 (2025-12-10) {: #3.22.1 }
|
|
20
|
+
|
|
21
|
+
#### Bugfixes {: #3.22.1-bugfix }
|
|
22
|
+
|
|
23
|
+
- Fixed edge-case migration error in 0017_pythonpackagecontent_size.
|
|
24
|
+
[#1042](https://github.com/pulp/pulp_python/issues/1042)
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
11
28
|
## 3.22.0 (2025-12-09) {: #3.22.0 }
|
|
12
29
|
|
|
13
30
|
#### Features {: #3.22.0-feature }
|
|
@@ -14,7 +14,7 @@ def add_size_to_current_models(apps, schema_editor):
|
|
|
14
14
|
artifact = content_artifact.artifact
|
|
15
15
|
else:
|
|
16
16
|
artifact = RemoteArtifact.objects.filter(content_artifact=content_artifact).first()
|
|
17
|
-
python_package.size = artifact.size or 0
|
|
17
|
+
python_package.size = artifact and artifact.size or 0
|
|
18
18
|
package_bulk.append(python_package)
|
|
19
19
|
if len(package_bulk) == 100000:
|
|
20
20
|
with transaction.atomic():
|
|
@@ -428,6 +428,19 @@ class PythonPackageSingleArtifactContentUploadViewSet(
|
|
|
428
428
|
return Response(serializer.data, status=status.HTTP_201_CREATED, headers=headers)
|
|
429
429
|
|
|
430
430
|
|
|
431
|
+
class PackageProvenanceFilter(core_viewsets.ContentFilter):
|
|
432
|
+
"""
|
|
433
|
+
FilterSet for PackageProvenance.
|
|
434
|
+
"""
|
|
435
|
+
|
|
436
|
+
class Meta:
|
|
437
|
+
model = python_models.PackageProvenance
|
|
438
|
+
fields = {
|
|
439
|
+
"package": ["exact", "in"],
|
|
440
|
+
"sha256": ["exact", "in"],
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
|
|
431
444
|
class PackageProvenanceViewSet(core_viewsets.NoArtifactContentUploadViewSet):
|
|
432
445
|
"""
|
|
433
446
|
PackageProvenance represents a PEP 740 provenance object for a Python package.
|
|
@@ -438,6 +451,7 @@ class PackageProvenanceViewSet(core_viewsets.NoArtifactContentUploadViewSet):
|
|
|
438
451
|
endpoint_name = "provenance"
|
|
439
452
|
queryset = python_models.PackageProvenance.objects.all()
|
|
440
453
|
serializer_class = python_serializers.PackageProvenanceSerializer
|
|
454
|
+
filterset_class = PackageProvenanceFilter
|
|
441
455
|
|
|
442
456
|
DEFAULT_ACCESS_POLICY = {
|
|
443
457
|
"statements": [
|
|
@@ -7,7 +7,7 @@ build-backend = 'setuptools.build_meta'
|
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "pulp-python"
|
|
10
|
-
version = "3.22.
|
|
10
|
+
version = "3.22.2"
|
|
11
11
|
description = "pulp-python plugin for the Pulp Project"
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
authors = [
|
|
@@ -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.22.
|
|
80
|
+
current_version = "3.22.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
|
|
File without changes
|
{pulp_python-3.22.0 → pulp_python-3.22.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.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0010_update_json_field.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0013_add_rbac_permissions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/app/migrations/0018_packageprovenance.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.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_attestations.py
RENAMED
|
File without changes
|
{pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_auto_publish.py
RENAMED
|
File without changes
|
{pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_consume_content.py
RENAMED
|
File without changes
|
{pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_crud_content_unit.py
RENAMED
|
File without changes
|
{pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_crud_publications.py
RENAMED
|
File without changes
|
{pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_crud_remotes.py
RENAMED
|
File without changes
|
|
File without changes
|
{pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_download_content.py
RENAMED
|
File without changes
|
{pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_export_import.py
RENAMED
|
File without changes
|
{pulp_python-3.22.0 → pulp_python-3.22.2}/pulp_python/tests/functional/api/test_full_mirror.py
RENAMED
|
File without changes
|
{pulp_python-3.22.0 → pulp_python-3.22.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|