pulp-python 3.12.5__tar.gz → 3.12.7__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 (78) hide show
  1. {pulp-python-3.12.5 → pulp_python-3.12.7}/CHANGES.md +14 -0
  2. {pulp-python-3.12.5 → pulp_python-3.12.7}/PKG-INFO +18 -2
  3. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/__init__.py +1 -1
  4. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/test_crud_content_unit.py +13 -0
  5. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/test_domains.py +5 -5
  6. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/constants.py +6 -5
  7. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python.egg-info/PKG-INFO +18 -2
  8. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python.egg-info/requires.txt +2 -1
  9. pulp_python-3.12.7/pyproject.toml +75 -0
  10. pulp_python-3.12.7/requirements.txt +6 -0
  11. {pulp-python-3.12.5 → pulp_python-3.12.7}/setup.py +1 -1
  12. pulp-python-3.12.5/pyproject.toml +0 -30
  13. pulp-python-3.12.5/requirements.txt +0 -4
  14. {pulp-python-3.12.5 → pulp_python-3.12.7}/COMMITMENT +0 -0
  15. {pulp-python-3.12.5 → pulp_python-3.12.7}/COPYRIGHT +0 -0
  16. {pulp-python-3.12.5 → pulp_python-3.12.7}/LICENSE +0 -0
  17. {pulp-python-3.12.5 → pulp_python-3.12.7}/MANIFEST.in +0 -0
  18. {pulp-python-3.12.5 → pulp_python-3.12.7}/README.md +0 -0
  19. {pulp-python-3.12.5 → pulp_python-3.12.7}/functest_requirements.txt +0 -0
  20. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/__init__.py +0 -0
  21. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/fields.py +0 -0
  22. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/global_access_conditions.py +0 -0
  23. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0001_initial.py +0 -0
  24. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0002_pythonpackagecontent_python_version.py +0 -0
  25. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0003_new_sync_filters.py +0 -0
  26. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0004_DATA_swap_distribution_model.py +0 -0
  27. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0005_pythonpackagecontent_sha256.py +0 -0
  28. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0006_pythonrepository_autopublish.py +0 -0
  29. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0007_pythonpackagecontent_mv-2-1.py +0 -0
  30. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0008_pythonpackagecontent_unique_sha256.py +0 -0
  31. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0009_pythondistribution_allow_uploads.py +0 -0
  32. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0010_update_json_field.py +0 -0
  33. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0011_alter_pythondistribution_distribution_ptr_and_more.py +0 -0
  34. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0012_add_domain.py +0 -0
  35. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/0013_add_rbac_permissions.py +0 -0
  36. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/migrations/__init__.py +0 -0
  37. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/modelresource.py +0 -0
  38. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/models.py +0 -0
  39. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/pypi/__init__.py +0 -0
  40. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/pypi/serializers.py +0 -0
  41. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/pypi/views.py +0 -0
  42. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/replica.py +0 -0
  43. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/serializers.py +0 -0
  44. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/settings.py +0 -0
  45. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/tasks/__init__.py +0 -0
  46. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/tasks/publish.py +0 -0
  47. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/tasks/sync.py +0 -0
  48. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/tasks/upload.py +0 -0
  49. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/urls.py +0 -0
  50. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/utils.py +0 -0
  51. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/viewsets.py +0 -0
  52. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/webserver_snippets/__init__.py +0 -0
  53. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/webserver_snippets/apache.conf +0 -0
  54. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/app/webserver_snippets/nginx.conf +0 -0
  55. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/pytest_plugin.py +0 -0
  56. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/__init__.py +0 -0
  57. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/__init__.py +0 -0
  58. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/__init__.py +0 -0
  59. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/test_auto_publish.py +0 -0
  60. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/test_consume_content.py +0 -0
  61. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/test_crud_publications.py +0 -0
  62. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/test_crud_remotes.py +0 -0
  63. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/test_download_content.py +0 -0
  64. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/test_export_import.py +0 -0
  65. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/test_full_mirror.py +0 -0
  66. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/test_pypi_apis.py +0 -0
  67. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/test_rbac.py +0 -0
  68. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/api/test_sync.py +0 -0
  69. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/functional/utils.py +0 -0
  70. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/unit/__init__.py +0 -0
  71. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python/tests/unit/test_models.py +0 -0
  72. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python.egg-info/SOURCES.txt +0 -0
  73. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python.egg-info/dependency_links.txt +0 -0
  74. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python.egg-info/entry_points.txt +0 -0
  75. {pulp-python-3.12.5 → pulp_python-3.12.7}/pulp_python.egg-info/top_level.txt +0 -0
  76. {pulp-python-3.12.5 → pulp_python-3.12.7}/setup.cfg +0 -0
  77. {pulp-python-3.12.5 → pulp_python-3.12.7}/test_requirements.txt +0 -0
  78. {pulp-python-3.12.5 → pulp_python-3.12.7}/unittest_requirements.txt +0 -0
@@ -8,6 +8,20 @@
8
8
 
9
9
  [//]: # (towncrier release notes start)
10
10
 
11
+ ## 3.12.7 (2025-07-23) {: #3.12.7 }
12
+
13
+ No significant changes.
14
+
15
+ ---
16
+
17
+ ## 3.12.6 (2025-02-26) {: #3.12.6 }
18
+
19
+ #### Misc {: #3.12.6-misc }
20
+
21
+ -
22
+
23
+ ---
24
+
11
25
  ## 3.12.5 (2024-10-25) {: #3.12.5 }
12
26
 
13
27
  #### Bugfixes {: #3.12.5-bugfix }
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pulp-python
3
- Version: 3.12.5
3
+ Version: 3.12.7
4
4
  Summary: pulp-python plugin for the Pulp Project
5
5
  Home-page: https://www.pulpproject.org
6
6
  Author: Pulp Project Developers
@@ -16,6 +16,22 @@ Classifier: Programming Language :: Python :: 3.9
16
16
  Requires-Python: >=3.9
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
+ Requires-Dist: pulpcore<3.70.0,>=3.49.0
20
+ Requires-Dist: pkginfo<1.13.0,>=1.12.0
21
+ Requires-Dist: bandersnatch<6.2,>=6.1
22
+ Requires-Dist: pypi-simple<1.0.0,>=0.9.0
23
+ Requires-Dist: azure-storage-blob<12.26.0
24
+ Dynamic: author
25
+ Dynamic: author-email
26
+ Dynamic: classifier
27
+ Dynamic: description
28
+ Dynamic: description-content-type
29
+ Dynamic: home-page
30
+ Dynamic: license
31
+ Dynamic: license-file
32
+ Dynamic: requires-dist
33
+ Dynamic: requires-python
34
+ Dynamic: summary
19
35
 
20
36
  # pulp_python
21
37
 
@@ -10,7 +10,7 @@ class PulpPythonPluginAppConfig(PulpPluginAppConfig):
10
10
 
11
11
  name = "pulp_python.app"
12
12
  label = "python"
13
- version = "3.12.5"
13
+ version = "3.12.7"
14
14
  python_package_name = "pulp-python"
15
15
  domain_compatible = True
16
16
 
@@ -122,3 +122,16 @@ def test_upload_metadata_23_spec(python_content_factory):
122
122
  content = python_content_factory(filename, url=package.url)
123
123
  assert content.metadata_version == "2.3"
124
124
  break
125
+
126
+
127
+ @pytest.mark.parallel
128
+ def test_upload_metadata_24_spec(python_content_factory):
129
+ """Test that packages using metadata spec 2.4 can be uploaded to pulp."""
130
+ filename = "urllib3-2.3.0-py3-none-any.whl"
131
+ with PyPISimple() as client:
132
+ page = client.get_project_page("urllib3")
133
+ for package in page.packages:
134
+ if package.filename == filename:
135
+ content = python_content_factory(filename, url=package.url)
136
+ assert content.metadata_version == "2.4"
137
+ break
@@ -52,7 +52,7 @@ def test_domain_object_creation(
52
52
  python_bindings.RepositoriesPythonApi.create(repo_body, pulp_domain=domain.name)
53
53
  assert e.value.status == 400
54
54
  assert json.loads(e.value.body) == {
55
- "non_field_errors": [f"Objects must all be apart of the {domain_name} domain."]
55
+ "non_field_errors": [f"Objects must all be a part of the {domain_name} domain."]
56
56
  }
57
57
 
58
58
  with pytest.raises(python_bindings.ApiException) as e:
@@ -60,7 +60,7 @@ def test_domain_object_creation(
60
60
  python_bindings.RepositoriesPythonApi.sync(repo.pulp_href, sync_body)
61
61
  assert e.value.status == 400
62
62
  assert json.loads(e.value.body) == {
63
- "non_field_errors": [f"Objects must all be apart of the {domain_name} domain."]
63
+ "non_field_errors": [f"Objects must all be a part of the {domain_name} domain."]
64
64
  }
65
65
 
66
66
  with pytest.raises(python_bindings.ApiException) as e:
@@ -68,7 +68,7 @@ def test_domain_object_creation(
68
68
  python_bindings.PublicationsPypiApi.create(publish_body)
69
69
  assert e.value.status == 400
70
70
  assert json.loads(e.value.body) == {
71
- "non_field_errors": ["Objects must all be apart of the default domain."]
71
+ "non_field_errors": ["Objects must all be a part of the default domain."]
72
72
  }
73
73
 
74
74
  with pytest.raises(python_bindings.ApiException) as e:
@@ -78,7 +78,7 @@ def test_domain_object_creation(
78
78
  python_bindings.DistributionsPypiApi.create(distro_body)
79
79
  assert e.value.status == 400
80
80
  assert json.loads(e.value.body) == {
81
- "non_field_errors": ["Objects must all be apart of the default domain."]
81
+ "non_field_errors": ["Objects must all be a part of the default domain."]
82
82
  }
83
83
 
84
84
 
@@ -113,7 +113,7 @@ def test_domain_content_upload(
113
113
  python_bindings.ContentPackagesApi.create(**content_body, pulp_domain=domain.name)
114
114
  assert e.value.status == 400
115
115
  assert json.loads(e.value.body) == {
116
- "non_field_errors": [f"Objects must all be apart of the {domain.name} domain."]
116
+ "non_field_errors": [f"Objects must all be a part of the {domain.name} domain."]
117
117
  }
118
118
 
119
119
  # Now create the same content in the second domain
@@ -127,15 +127,16 @@ PYTHON_LG_PROJECT_SPECIFIER = [
127
127
  "Django", # matches 31
128
128
  "pytz", # matches 6
129
129
  "scipy", # matches 23
130
+ "setuptools", # matches 2
130
131
  "shelf-reader", # matches 2
131
132
  ]
132
- PYTHON_LG_PACKAGE_COUNT = 90
133
+ PYTHON_LG_PACKAGE_COUNT = 92
133
134
  PYTHON_LG_FIXTURE_SUMMARY = {PYTHON_CONTENT_NAME: PYTHON_LG_PACKAGE_COUNT}
134
135
  PYTHON_LG_FIXTURE_COUNTS = {
135
- "latest_3": 49,
136
- "sdist": 27,
137
- "bdist_wheel": 63,
138
- "multi": 33, # keep_latest=1, package_types="bdist_wheel", prereleases=False
136
+ "latest_3": 51,
137
+ "sdist": 28,
138
+ "bdist_wheel": 64,
139
+ "multi": 34, # keep_latest=1, package_types="bdist_wheel", prereleases=False
139
140
  }
140
141
 
141
142
  DJANGO_LATEST_3 = 4 # latest version has 2 dists, each other has 1
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pulp-python
3
- Version: 3.12.5
3
+ Version: 3.12.7
4
4
  Summary: pulp-python plugin for the Pulp Project
5
5
  Home-page: https://www.pulpproject.org
6
6
  Author: Pulp Project Developers
@@ -16,6 +16,22 @@ Classifier: Programming Language :: Python :: 3.9
16
16
  Requires-Python: >=3.9
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
+ Requires-Dist: pulpcore<3.70.0,>=3.49.0
20
+ Requires-Dist: pkginfo<1.13.0,>=1.12.0
21
+ Requires-Dist: bandersnatch<6.2,>=6.1
22
+ Requires-Dist: pypi-simple<1.0.0,>=0.9.0
23
+ Requires-Dist: azure-storage-blob<12.26.0
24
+ Dynamic: author
25
+ Dynamic: author-email
26
+ Dynamic: classifier
27
+ Dynamic: description
28
+ Dynamic: description-content-type
29
+ Dynamic: home-page
30
+ Dynamic: license
31
+ Dynamic: license-file
32
+ Dynamic: requires-dist
33
+ Dynamic: requires-python
34
+ Dynamic: summary
19
35
 
20
36
  # pulp_python
21
37
 
@@ -1,4 +1,5 @@
1
1
  pulpcore<3.70.0,>=3.49.0
2
- pkginfo<1.12.0,>=1.10.0
2
+ pkginfo<1.13.0,>=1.12.0
3
3
  bandersnatch<6.2,>=6.1
4
4
  pypi-simple<1.0.0,>=0.9.0
5
+ azure-storage-blob<12.26.0
@@ -0,0 +1,75 @@
1
+ [tool.towncrier]
2
+ package = "pulp_python"
3
+ filename = "CHANGES.md"
4
+ directory = "CHANGES/"
5
+ title_format = "## {version} ({project_date}) {{: #{version} }}"
6
+ template = "CHANGES/.TEMPLATE.md"
7
+ issue_format = "[#{issue}](https://github.com/pulp/pulp_python/issues/{issue})"
8
+ start_string = "[//]: # (towncrier release notes start)\n"
9
+ underlines = ["", "", ""]
10
+
11
+ [tool.check-manifest]
12
+ ignore = [
13
+ ".bumpversion.cfg",
14
+ ".pep8speaks.yml",
15
+ "CHANGES/**",
16
+ "CONTRIBUTING.rst",
17
+ "HISTORY.rst",
18
+ "dev_requirements.txt",
19
+ "doc_requirements.txt",
20
+ "docs/**",
21
+ "staging_docs/**",
22
+ "template_config.yml",
23
+ ".travis/**",
24
+ ".travis.yml",
25
+ "shelf_reader-0.1-py2-none-any.whl",
26
+ ".github/**",
27
+ ".ci/**",
28
+ "lint_requirements.txt",
29
+ ".flake8",
30
+ ]
31
+
32
+ [tool.bumpversion]
33
+ # This section is managed by the plugin template. Do not edit manually.
34
+
35
+ current_version = "3.12.7"
36
+ commit = false
37
+ tag = false
38
+ parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
39
+ serialize = [
40
+ "{major}.{minor}.{patch}.{release}",
41
+ "{major}.{minor}.{patch}",
42
+ "{major}.{minor}.{alpha}{patch}.{release}",
43
+ "{major}.{minor}.{alpha}{patch}",
44
+ ]
45
+
46
+ [tool.bumpversion.parts.alpha]
47
+ # This section is managed by the plugin template. Do not edit manually.
48
+
49
+ # This is sort of a hack. In PEP440 prerelease markers work quite differently.
50
+ # But this fits best with the way we have been doing release versions.
51
+ optional_value = "final"
52
+ values = [
53
+ "0a",
54
+ "final",
55
+ ]
56
+ independent = true
57
+
58
+ [tool.bumpversion.parts.release]
59
+ # This section is managed by the plugin template. Do not edit manually.
60
+
61
+ optional_value = "prod"
62
+ values = [
63
+ "dev",
64
+ "prod",
65
+ ]
66
+
67
+ [[tool.bumpversion.files]]
68
+ # This section is managed by the plugin template. Do not edit manually.
69
+
70
+ filename = "./pulp_python/app/__init__.py"
71
+ search = "version = \"{current_version}\""
72
+ replace = "version = \"{new_version}\""
73
+
74
+ [[tool.bumpversion.files]]
75
+ filename = "./setup.py"
@@ -0,0 +1,6 @@
1
+ pulpcore>=3.49.0,<3.70.0
2
+ pkginfo>=1.12.0,<1.13.0
3
+ bandersnatch>=6.1,<6.2
4
+ pypi-simple>=0.9.0,<1.0.0
5
+ # pinned until https://github.com/Azure/Azurite/issues/2562 is resolved
6
+ azure-storage-blob<12.26.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.5",
13
+ version="3.12.7",
14
14
  description="pulp-python plugin for the Pulp Project",
15
15
  long_description=long_description,
16
16
  long_description_content_type="text/markdown",
@@ -1,30 +0,0 @@
1
- [tool.towncrier]
2
- package = "pulp_python"
3
- filename = "CHANGES.md"
4
- directory = "CHANGES/"
5
- title_format = "## {version} ({project_date}) {{: #{version} }}"
6
- template = "CHANGES/.TEMPLATE.md"
7
- issue_format = "[#{issue}](https://github.com/pulp/pulp_python/issues/{issue})"
8
- start_string = "[//]: # (towncrier release notes start)\n"
9
- underlines = ["", "", ""]
10
-
11
- [tool.check-manifest]
12
- ignore = [
13
- ".bumpversion.cfg",
14
- ".pep8speaks.yml",
15
- "CHANGES/**",
16
- "CONTRIBUTING.rst",
17
- "HISTORY.rst",
18
- "dev_requirements.txt",
19
- "doc_requirements.txt",
20
- "docs/**",
21
- "staging_docs/**",
22
- "template_config.yml",
23
- ".travis/**",
24
- ".travis.yml",
25
- "shelf_reader-0.1-py2-none-any.whl",
26
- ".github/**",
27
- ".ci/**",
28
- "lint_requirements.txt",
29
- ".flake8",
30
- ]
@@ -1,4 +0,0 @@
1
- pulpcore>=3.49.0,<3.70.0
2
- pkginfo>=1.10.0,<1.12.0 # Twine has <1.11 in their requirements
3
- bandersnatch>=6.1,<6.2
4
- pypi-simple>=0.9.0,<1.0.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes