pulpcore 3.79.0__py3-none-any.whl → 3.80.0__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.

Potentially problematic release.


This version of pulpcore might be problematic. Click here for more details.

@@ -6,6 +6,6 @@ class PulpCertGuardPluginAppConfig(PulpPluginAppConfig):
6
6
 
7
7
  name = "pulp_certguard.app"
8
8
  label = "certguard"
9
- version = "3.79.0"
9
+ version = "3.80.0"
10
10
  python_package_name = "pulpcore"
11
11
  domain_compatible = True
pulp_file/app/__init__.py CHANGED
@@ -8,6 +8,6 @@ class PulpFilePluginAppConfig(PulpPluginAppConfig):
8
8
 
9
9
  name = "pulp_file.app"
10
10
  label = "file"
11
- version = "3.79.0"
11
+ version = "3.80.0"
12
12
  python_package_name = "pulpcore"
13
13
  domain_compatible = True
pulp_file/app/viewsets.py CHANGED
@@ -681,6 +681,4 @@ class FileAlternateContentSourceViewSet(AlternateContentSourceViewSet, RolesMixi
681
681
  },
682
682
  )
683
683
 
684
- # Update TaskGroup that all child task are dispatched
685
- task_group.finish()
686
684
  return TaskGroupOperationResponse(task_group, request)
pulpcore/app/apps.py CHANGED
@@ -247,7 +247,7 @@ class PulpAppConfig(PulpPluginAppConfig):
247
247
  label = "core"
248
248
 
249
249
  # The version of this app
250
- version = "3.79.0"
250
+ version = "3.80.0"
251
251
 
252
252
  # The python package name providing this app
253
253
  python_package_name = "pulpcore"
@@ -24,6 +24,7 @@ from pulpcore.app.models.fields import EncryptedJSONField
24
24
  from pulpcore.constants import TASK_CHOICES, TASK_INCOMPLETE_STATES, TASK_STATES
25
25
  from pulpcore.exceptions import AdvisoryLockError, exception_to_dict
26
26
  from pulpcore.app.util import get_domain_pk, current_task
27
+ from pulpcore.app.loggers import deprecation_logger
27
28
 
28
29
  _logger = logging.getLogger(__name__)
29
30
 
@@ -378,6 +379,10 @@ class TaskGroup(BaseModel):
378
379
  Set 'all_tasks_dispatched' to True so that API users can know that there are no
379
380
  tasks in the group yet to be created.
380
381
  """
382
+ # "All tasks dispatched" cannot be relied on.
383
+ deprecation_logger.warning(
384
+ "TaskGroup finish is deprecated and scheduled for removal in Pulp 4."
385
+ )
381
386
  self.all_tasks_dispatched = True
382
387
  self.save()
383
388
 
@@ -558,5 +558,3 @@ def pulp_import(importer_pk, path, toc, create_repositories):
558
558
  ),
559
559
  task_group=task_group,
560
560
  )
561
-
562
- task_group.finish()
@@ -112,7 +112,6 @@ def replicate_distributions(server_pk):
112
112
  exclusive_resources=[server],
113
113
  args=[server.pk],
114
114
  )
115
- task_group.finish()
116
115
 
117
116
 
118
117
  def finalize_replication(server_pk):
@@ -32,4 +32,3 @@ def dummy_group_task(inbetween=3, intervals=None):
32
32
  for interval in intervals:
33
33
  dispatch(sleep, args=(interval,), task_group=task_group)
34
34
  time.sleep(inbetween)
35
- task_group.finish()
@@ -1316,7 +1316,7 @@ class Handler:
1316
1316
  await remote_artifact.asave()
1317
1317
  close_tcp_connection(request.transport._sock)
1318
1318
  REMOTE_CONTENT_FETCH_FAILURE_COOLDOWN = settings.REMOTE_CONTENT_FETCH_FAILURE_COOLDOWN
1319
- log.error(
1319
+ raise RuntimeError(
1320
1320
  f"Pulp tried streaming {remote_artifact.url!r} to "
1321
1321
  "the client, but it failed checksum validation.\n\n"
1322
1322
  "We can't recover from wrong data already sent so we are:\n"
@@ -1329,7 +1329,6 @@ class Handler:
1329
1329
  "Learn more on <https://pulpproject.org/pulpcore/docs/user/learn/"
1330
1330
  "on-demand-downloading/#on-demand-and-streamed-limitations>"
1331
1331
  )
1332
- return response
1333
1332
 
1334
1333
  if save_artifact and remote.policy != Remote.STREAMED:
1335
1334
  content_artifacts = await asyncio.shield(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulpcore
3
- Version: 3.79.0
3
+ Version: 3.80.0
4
4
  Summary: Pulp Django Application and Related Modules
5
5
  Author-email: Pulp Team <pulp-list@redhat.com>
6
6
  Project-URL: Homepage, https://pulpproject.org
@@ -28,7 +28,7 @@ Requires-Dist: asyncio-throttle<=1.0.2,>=1.0
28
28
  Requires-Dist: async-timeout<4.0.4,>=4.0.3; python_version < "3.11"
29
29
  Requires-Dist: backoff<2.2.2,>=2.1.2
30
30
  Requires-Dist: click<=8.1.8,>=8.1.0
31
- Requires-Dist: cryptography<45.0.3,>=38.0.1
31
+ Requires-Dist: cryptography<45.0.4,>=38.0.1
32
32
  Requires-Dist: Django~=4.2.0
33
33
  Requires-Dist: django-filter<=25.1,>=23.1
34
34
  Requires-Dist: django-guid<=3.5.1,>=3.3
@@ -52,7 +52,7 @@ Requires-Dist: opentelemetry-exporter-otlp-proto-http<1.34,>=1.27.0
52
52
  Requires-Dist: protobuf<6.0,>=4.21.1
53
53
  Requires-Dist: pulp-glue<0.33,>=0.18.0
54
54
  Requires-Dist: pygtrie<=2.5.0,>=2.5
55
- Requires-Dist: psycopg[binary]<=3.2.9,>=3.1.8
55
+ Requires-Dist: psycopg[binary]<3.3,>=3.1.8
56
56
  Requires-Dist: pyparsing<=3.2.3,>=3.1.0
57
57
  Requires-Dist: python-gnupg<=0.5.4,>=0.5
58
58
  Requires-Dist: PyYAML<=6.0.2,>=5.1.1
@@ -1,6 +1,6 @@
1
1
  pulp_certguard/__init__.py,sha256=llnEd00PrsAretsgAOHiNKFbmvIdXe3iDVPmSaKz7gU,71
2
2
  pulp_certguard/pytest_plugin.py,sha256=qhRbChzqN2PROtD-65KuoTfKr5k9T3GPsz9daFgpqpM,852
3
- pulp_certguard/app/__init__.py,sha256=37fy6yEmamVjBNpYjBDR0PLwmJVcJLBDKJJecOne2Js,297
3
+ pulp_certguard/app/__init__.py,sha256=rVK-dy-r4PEHZLi6bJ14L1Jx24ZRtxUorSfIBC9DJQ4,297
4
4
  pulp_certguard/app/models.py,sha256=xy5IWxf0LQxayIDmQw25Y2YhB_NrlTGvuvdY-YW7QBU,8119
5
5
  pulp_certguard/app/serializers.py,sha256=3jxWu82vU3xA578Qbyz-G4Q9Zlh3MFLGRHzX62M0RF8,1826
6
6
  pulp_certguard/app/utils.py,sha256=O6T1Npdb8fu3XqIkDJd8PQdEFJWPUeQ-i_aHXBl7MEc,816
@@ -49,12 +49,12 @@ pulp_certguard/tests/unit/test_models.py,sha256=TBI0yKsrdbnJSPeBFfxSqhXK7zaNvR6q
49
49
  pulp_file/__init__.py,sha256=0vOCXofR6Eyxkg4y66esnOGPeESCe23C1cNBHj56w44,61
50
50
  pulp_file/manifest.py,sha256=1WwIOJrPSkFcmkRm7CkWifVOCoZvo_nnANgce6uuG7U,3796
51
51
  pulp_file/pytest_plugin.py,sha256=Fi_p-Vle_I-VYUSe4Zlg7esb_Ul5fpB8Rx9UGLK5UNQ,13281
52
- pulp_file/app/__init__.py,sha256=H_oQBsMT3QLmqf01BA-pgV9rZGJ3o9eZA4qZX2qbFkY,292
52
+ pulp_file/app/__init__.py,sha256=hyU6mL69k9kl8zgFj9xGtOvHBTXhD4P9G_DR8Sbnsnw,292
53
53
  pulp_file/app/modelresource.py,sha256=v-m-_bBEsfr8wG0TI5ffx1TuKUy2-PsirhuQz4XXF-0,1063
54
54
  pulp_file/app/models.py,sha256=QsrVg_2uKqnR89sLN2Y7Zy260_nLIcUfa94uZowlmFw,4571
55
55
  pulp_file/app/replica.py,sha256=OtNWVmdFUgNTYhPttftVNQnSrnvx2_hnrJgtW_G0Vrg,1894
56
56
  pulp_file/app/serializers.py,sha256=_vTI1y8_ZovqJV54ioDM698p0rvP244ux84_WUzi7FM,4580
57
- pulp_file/app/viewsets.py,sha256=D7-ibTDBoU17_du0J60qJpR4QEOgiTGIX6Ptih5PgQQ,25707
57
+ pulp_file/app/viewsets.py,sha256=SwSMxR8M6OR0piRmYklNJ3r6_N6kGSM3YwUOfbkhKOc,25617
58
58
  pulp_file/app/migrations/0001_initial.py,sha256=BIQ7OPlQBsCc8R0POkFa2vbwU4mCCyIPHEFBU3xHBvw,2255
59
59
  pulp_file/app/migrations/0001_initial_squashed_0016_add_domain.py,sha256=g11mfmOcVk5-aqraBuMqmlSiL6hkPkBuiXr86SMuTUA,7463
60
60
  pulp_file/app/migrations/0002_file_related_names.py,sha256=oUe510JiUYLNsCvpL72C2Df95J0qOoZtgAWZpReXMz4,2492
@@ -110,7 +110,7 @@ pulpcore/pytest_plugin.py,sha256=Tq_xlO8Z2iyjFtbnaKHbWQogq6jxcRpjji9XbKrs5_U,377
110
110
  pulpcore/responses.py,sha256=mIGKmdCfTSoZxbFu4yIH1xbdLx1u5gqt3D99LTamcJg,6125
111
111
  pulpcore/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
112
112
  pulpcore/app/access_policy.py,sha256=5vCKy6WoHtIt1_-eS5vMaZ7CmR4G-CIpsrB8yT-d88Q,6079
113
- pulpcore/app/apps.py,sha256=JlQDeDMMwjANi3Td8hHSxAJc8YXQRGyE2q-AVEWW54E,17860
113
+ pulpcore/app/apps.py,sha256=j5sp_BbjB6EJwxpW7lTZo3OsjDaR3Mc1T4H3PP-SWrE,17860
114
114
  pulpcore/app/authentication.py,sha256=1LIJW6HIQQlZrliHy__jdzkDEh6Oj7xKgd0V-vRcDus,2855
115
115
  pulpcore/app/checks.py,sha256=jbfTF7nmftBbky4AQXHigpyCaGydKasvRUXsd72JZVg,1946
116
116
  pulpcore/app/entrypoint.py,sha256=m9kwANkh9OkhyAcWqPbrZg21IMQibLlB8_k1tkVgedg,4888
@@ -303,7 +303,7 @@ pulpcore/app/models/repository.py,sha256=xBMKsryirkpZyrQHnFbwolNbvyX1jHljcqC1ofv
303
303
  pulpcore/app/models/role.py,sha256=dZklNd2VeAw4cT6dyJ7SyTBt9sZvdqakY86wXGAY3vU,3287
304
304
  pulpcore/app/models/status.py,sha256=72oUOJ7BnCAw3uDbc-XuI72oAyP2llCoBic4zb2JP78,3683
305
305
  pulpcore/app/models/storage.py,sha256=2b-DQWaO31NqjV6FiISALegND-sQZAU7BVAsduUvm3o,6780
306
- pulpcore/app/models/task.py,sha256=gcK-ou-ppS5Xdqx-6HHE01_lGeZn16H9IzqEZ_P07MY,14652
306
+ pulpcore/app/models/task.py,sha256=PTVOAmjqU-8nIsPJAXt7VcZywCIl-Dm-ZEmg9bCssjs,14886
307
307
  pulpcore/app/models/upload.py,sha256=3njXT2rrVJwBjEDegvqcLD9_7cPnnl974lhbAhikEp8,3004
308
308
  pulpcore/app/protobuf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
309
309
  pulpcore/app/protobuf/analytics_pb2.py,sha256=-4CkbSW8JUAEIjZJBTPAJ5QezFJOdCPiDhx8_KA1bMU,2168
@@ -333,15 +333,15 @@ pulpcore/app/tasks/__init__.py,sha256=6fhLD0Z9LMluzqyBwQkatId71qI_2U7-o2-ZI1JH1L
333
333
  pulpcore/app/tasks/analytics.py,sha256=eB3p-sdocH5yyNoe0OG5rUzwiVOfayOfHNzkohAfx-U,4722
334
334
  pulpcore/app/tasks/base.py,sha256=4I88Bn5SttqEvvVlNJmIwkPv2IWe7OhpM-kbQiQ9T_U,5929
335
335
  pulpcore/app/tasks/export.py,sha256=dRg-KcnM7HumXUx8mjgJ-EVMcz2RbzSOPmMkzVtJEnI,19320
336
- pulpcore/app/tasks/importer.py,sha256=tQXCQZslaMySeN6BS6hLZtiGvq-XE-bwjsEjF7fAJNc,23247
336
+ pulpcore/app/tasks/importer.py,sha256=5T14JynWJjBijAE-d_YstTRYOtY0WTHMqkF7GFJaj5o,23222
337
337
  pulpcore/app/tasks/migrate.py,sha256=wCjGskoF-XWzbINEyC_crgcigFZlC8EHqZTbjkLQykg,2452
338
338
  pulpcore/app/tasks/orphan.py,sha256=4rTZLZ549niJ7mGMh_7suy-czIcj06oCTxPYnsPN8mU,4685
339
339
  pulpcore/app/tasks/purge.py,sha256=yrnlvQKtg2usjK-75JoDvg4RvvEKipMpI8p4fh69A3o,7472
340
340
  pulpcore/app/tasks/reclaim_space.py,sha256=FZ7KFasbScPAU7A6lzK98pdylmqgThssgnNMecG5bEw,3803
341
- pulpcore/app/tasks/replica.py,sha256=x-Yjd8Z4EUhrhuF1DCX5jCa6F7FTAE3th-161lnLN2g,4509
341
+ pulpcore/app/tasks/replica.py,sha256=T0Mky1FjrJH0j6ag61fE-vQmdQ0Otoe8_nOREXYHVXg,4485
342
342
  pulpcore/app/tasks/repository.py,sha256=v-CDXp03YV6S6Lf-rKklPw7PwpfeoQe_Gw3ZyMH6SFQ,9640
343
343
  pulpcore/app/tasks/telemetry.py,sha256=QXOcYi7VIx_TBPCfs2BfcaiiVzRCiTFPZCN8MlC-hw8,1338
344
- pulpcore/app/tasks/test.py,sha256=_3BdJzdtEGdyL7qnzl0apwAoGeleYPeZTr7IJ5COFyo,912
344
+ pulpcore/app/tasks/test.py,sha256=sRGdELmjRDFTldso1gT6BEFXLwxNGzjFgpe0wzBqfy0,888
345
345
  pulpcore/app/tasks/upload.py,sha256=3YJa32XYUFgqkEEWoERRPB9Q6ph9a6ashMtMi24R15k,1413
346
346
  pulpcore/app/templates/rest_framework/api.html,sha256=n2ymhyLN7tQ5dYc5uceRSqS5L8fsPnSHIfCBsFMshnM,246
347
347
  pulpcore/app/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -374,7 +374,7 @@ pulpcore/cache/cache.py,sha256=d8GMlvjeGG9MOMdi5_9029WpGCKH8Y5q9b2lt3wSREo,17371
374
374
  pulpcore/content/__init__.py,sha256=CVrhM5Ep2NFZBWOPxuyXXz7xL0bdZsmpBaOLPeA14SI,4010
375
375
  pulpcore/content/authentication.py,sha256=lEZBkXBBBkIdtFMCSpHDD7583M0bO-zsZNYXTmpr4k8,3235
376
376
  pulpcore/content/entrypoint.py,sha256=svs6pEYa5bEGhWAAHpZt-uqlTuVXQ2UdW4U_LRlRHhY,2048
377
- pulpcore/content/handler.py,sha256=J5LDpT0uJn86HESsX37eIEIiakl84OKXdV934gpP-JI,56712
377
+ pulpcore/content/handler.py,sha256=-EsaNoTUZu2k3zCOMLA-IiD8vyYwUAJOJxstH0CuaZo,56693
378
378
  pulpcore/content/instrumentation.py,sha256=H0N0GWzvOPGGjFi6eIbGW3mcvagfnAfazccTh-BZVmE,1426
379
379
  pulpcore/download/__init__.py,sha256=s3Wh2GKdsmbUooVIR6wSvhYVIhpaTbtfR3Ar1OJhC7s,154
380
380
  pulpcore/download/base.py,sha256=G8jgyowvVEFCGA_KTr0CtHn0qHWXKsnv4Xpi0KSMglM,12821
@@ -529,9 +529,9 @@ pulpcore/tests/unit/stages/test_artifactdownloader.py,sha256=qB1ANdFmNtUnljg8fCd
529
529
  pulpcore/tests/unit/stages/test_stages.py,sha256=H1a2BQLjdZlZvcb_qULp62huZ1xy6ItTcthktVyGU0w,4735
530
530
  pulpcore/tests/unit/viewsets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
531
531
  pulpcore/tests/unit/viewsets/test_viewset_base.py,sha256=W9o3V6758bZctR6krMPPQytb0xJuF-jb4uBWTNDoD_U,4837
532
- pulpcore-3.79.0.dist-info/licenses/LICENSE,sha256=dhnHU8rJXUdAIgIjveSKAyYG_KzN5eVG-bxETIGrNW0,17988
533
- pulpcore-3.79.0.dist-info/METADATA,sha256=oza7Ge3RemPRjXrvpfPh3Rc-vgp7wq6ZOutyPjWKjH4,4336
534
- pulpcore-3.79.0.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
535
- pulpcore-3.79.0.dist-info/entry_points.txt,sha256=OZven4wzXzQA5b5q9MpP4HUpIPPQCSvIOvkKtNInrK0,452
536
- pulpcore-3.79.0.dist-info/top_level.txt,sha256=6h-Lm3FKQSaT_nL1KSxu_hBnzKE15bcvf_BoU-ea4CI,34
537
- pulpcore-3.79.0.dist-info/RECORD,,
532
+ pulpcore-3.80.0.dist-info/licenses/LICENSE,sha256=dhnHU8rJXUdAIgIjveSKAyYG_KzN5eVG-bxETIGrNW0,17988
533
+ pulpcore-3.80.0.dist-info/METADATA,sha256=QvNTwMxQtg0MndWwY0Y31UC3NXIxUFvIAXse6d2GbiI,4333
534
+ pulpcore-3.80.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
535
+ pulpcore-3.80.0.dist-info/entry_points.txt,sha256=OZven4wzXzQA5b5q9MpP4HUpIPPQCSvIOvkKtNInrK0,452
536
+ pulpcore-3.80.0.dist-info/top_level.txt,sha256=6h-Lm3FKQSaT_nL1KSxu_hBnzKE15bcvf_BoU-ea4CI,34
537
+ pulpcore-3.80.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5