pulp-python 3.12.2__tar.gz → 3.12.3__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.
Files changed (75) hide show
  1. {pulp-python-3.12.2 → pulp-python-3.12.3}/CHANGES.md +9 -0
  2. {pulp-python-3.12.2 → pulp-python-3.12.3}/PKG-INFO +1 -1
  3. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/__init__.py +1 -1
  4. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/test_crud_content_unit.py +14 -0
  5. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python.egg-info/PKG-INFO +1 -1
  6. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python.egg-info/requires.txt +1 -1
  7. {pulp-python-3.12.2 → pulp-python-3.12.3}/requirements.txt +1 -1
  8. {pulp-python-3.12.2 → pulp-python-3.12.3}/setup.py +1 -1
  9. {pulp-python-3.12.2 → pulp-python-3.12.3}/COMMITMENT +0 -0
  10. {pulp-python-3.12.2 → pulp-python-3.12.3}/COPYRIGHT +0 -0
  11. {pulp-python-3.12.2 → pulp-python-3.12.3}/LICENSE +0 -0
  12. {pulp-python-3.12.2 → pulp-python-3.12.3}/MANIFEST.in +0 -0
  13. {pulp-python-3.12.2 → pulp-python-3.12.3}/README.md +0 -0
  14. {pulp-python-3.12.2 → pulp-python-3.12.3}/functest_requirements.txt +0 -0
  15. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/__init__.py +0 -0
  16. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/global_access_conditions.py +0 -0
  17. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0001_initial.py +0 -0
  18. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0002_pythonpackagecontent_python_version.py +0 -0
  19. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0003_new_sync_filters.py +0 -0
  20. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0004_DATA_swap_distribution_model.py +0 -0
  21. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0005_pythonpackagecontent_sha256.py +0 -0
  22. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0006_pythonrepository_autopublish.py +0 -0
  23. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0007_pythonpackagecontent_mv-2-1.py +0 -0
  24. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0008_pythonpackagecontent_unique_sha256.py +0 -0
  25. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0009_pythondistribution_allow_uploads.py +0 -0
  26. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0010_update_json_field.py +0 -0
  27. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0011_alter_pythondistribution_distribution_ptr_and_more.py +0 -0
  28. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0012_add_domain.py +0 -0
  29. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/0013_add_rbac_permissions.py +0 -0
  30. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/migrations/__init__.py +0 -0
  31. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/modelresource.py +0 -0
  32. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/models.py +0 -0
  33. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/pypi/__init__.py +0 -0
  34. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/pypi/serializers.py +0 -0
  35. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/pypi/views.py +0 -0
  36. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/replica.py +0 -0
  37. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/serializers.py +0 -0
  38. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/settings.py +0 -0
  39. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/tasks/__init__.py +0 -0
  40. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/tasks/publish.py +0 -0
  41. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/tasks/sync.py +0 -0
  42. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/tasks/upload.py +0 -0
  43. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/urls.py +0 -0
  44. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/utils.py +0 -0
  45. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/viewsets.py +0 -0
  46. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/webserver_snippets/__init__.py +0 -0
  47. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/webserver_snippets/apache.conf +0 -0
  48. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/app/webserver_snippets/nginx.conf +0 -0
  49. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/pytest_plugin.py +0 -0
  50. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/__init__.py +0 -0
  51. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/__init__.py +0 -0
  52. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/__init__.py +0 -0
  53. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/test_auto_publish.py +0 -0
  54. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/test_consume_content.py +0 -0
  55. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/test_crud_publications.py +0 -0
  56. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/test_crud_remotes.py +0 -0
  57. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/test_domains.py +0 -0
  58. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/test_download_content.py +0 -0
  59. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/test_export_import.py +0 -0
  60. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/test_full_mirror.py +0 -0
  61. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/test_pypi_apis.py +0 -0
  62. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/test_rbac.py +0 -0
  63. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/api/test_sync.py +0 -0
  64. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/constants.py +0 -0
  65. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/functional/utils.py +0 -0
  66. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/unit/__init__.py +0 -0
  67. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python/tests/unit/test_models.py +0 -0
  68. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python.egg-info/SOURCES.txt +0 -0
  69. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python.egg-info/dependency_links.txt +0 -0
  70. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python.egg-info/entry_points.txt +0 -0
  71. {pulp-python-3.12.2 → pulp-python-3.12.3}/pulp_python.egg-info/top_level.txt +0 -0
  72. {pulp-python-3.12.2 → pulp-python-3.12.3}/pyproject.toml +0 -0
  73. {pulp-python-3.12.2 → pulp-python-3.12.3}/setup.cfg +0 -0
  74. {pulp-python-3.12.2 → pulp-python-3.12.3}/test_requirements.txt +0 -0
  75. {pulp-python-3.12.2 → pulp-python-3.12.3}/unittest_requirements.txt +0 -0
@@ -8,6 +8,15 @@
8
8
 
9
9
  [//]: # (towncrier release notes start)
10
10
 
11
+ ## 3.12.3 (2024-08-26) {: #3.12.3 }
12
+
13
+ #### Bugfixes {: #3.12.3-bugfix }
14
+
15
+ - Fixed uploads not supporting packages using metadata spec 2.3
16
+ [#682](https://github.com/pulp/pulp_python/issues/682)
17
+
18
+ ---
19
+
11
20
  # ## 3.12.2 (2024-08-21) {: #3.12.2 }
12
21
 
13
22
  #### Bugfixes {: #3.12.2-bugfix }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulp-python
3
- Version: 3.12.2
3
+ Version: 3.12.3
4
4
  Summary: pulp-python plugin for the Pulp Project
5
5
  Home-page: https://www.pulpproject.org
6
6
  Author: Pulp Project Developers
@@ -10,7 +10,7 @@ class PulpPythonPluginAppConfig(PulpPluginAppConfig):
10
10
 
11
11
  name = "pulp_python.app"
12
12
  label = "python"
13
- version = "3.12.2"
13
+ version = "3.12.3"
14
14
  python_package_name = "pulp-python"
15
15
  domain_compatible = True
16
16
 
@@ -1,6 +1,7 @@
1
1
  import pytest
2
2
 
3
3
  from urllib.parse import urljoin
4
+ from pypi_simple import PyPISimple
4
5
 
5
6
  from pulpcore.tests.functional.utils import PulpTaskError
6
7
  from pulp_python.tests.functional.constants import (
@@ -108,3 +109,16 @@ def test_content_crud(
108
109
  monitor_task(response.task)
109
110
  msg = "The uploaded artifact's sha256 checksum does not match the one provided"
110
111
  assert msg in e.value.task.error["description"]
112
+
113
+
114
+ @pytest.mark.parallel
115
+ def test_upload_metadata_23_spec(python_content_factory):
116
+ """Test that packages using metadata spec 2.3 can be uploaded to pulp."""
117
+ filename = "urllib3-2.2.2-py3-none-any.whl"
118
+ with PyPISimple() as client:
119
+ page = client.get_project_page("urllib3")
120
+ for package in page.packages:
121
+ if package.filename == filename:
122
+ content = python_content_factory(filename, url=package.url)
123
+ assert content.metadata_version == "2.3"
124
+ break
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulp-python
3
- Version: 3.12.2
3
+ Version: 3.12.3
4
4
  Summary: pulp-python plugin for the Pulp Project
5
5
  Home-page: https://www.pulpproject.org
6
6
  Author: Pulp Project Developers
@@ -1,4 +1,4 @@
1
1
  pulpcore<3.70.0,>=3.49.0
2
- pkginfo<1.9.7,>=1.8.2
2
+ pkginfo<1.12.0,>=1.10.0
3
3
  bandersnatch<6.2,>=6.1
4
4
  pypi-simple<1.0.0,>=0.9.0
@@ -1,4 +1,4 @@
1
1
  pulpcore>=3.49.0,<3.70.0
2
- pkginfo>=1.8.2,<1.9.7
2
+ pkginfo>=1.10.0,<1.12.0 # Twine has <1.11 in their requirements
3
3
  bandersnatch>=6.1,<6.2
4
4
  pypi-simple>=0.9.0,<1.0.0
@@ -10,7 +10,7 @@ with open("README.md") as f:
10
10
 
11
11
  setup(
12
12
  name="pulp-python",
13
- version="3.12.2",
13
+ version="3.12.3",
14
14
  description="pulp-python plugin for the Pulp Project",
15
15
  long_description=long_description,
16
16
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes