pulpcore 3.85.0__py3-none-any.whl → 3.85.1__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.85.0"
9
+ version = "3.85.1"
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.85.0"
11
+ version = "3.85.1"
12
12
  python_package_name = "pulpcore"
13
13
  domain_compatible = True
pulpcore/app/apps.py CHANGED
@@ -239,7 +239,7 @@ class PulpAppConfig(PulpPluginAppConfig):
239
239
  label = "core"
240
240
 
241
241
  # The version of this app
242
- version = "3.85.0"
242
+ version = "3.85.1"
243
243
 
244
244
  # The python package name providing this app
245
245
  python_package_name = "pulpcore"
pulpcore/migrations.py CHANGED
@@ -3,8 +3,6 @@ from packaging.version import parse as parse_version
3
3
  from django.conf import settings
4
4
  from django.utils import timezone
5
5
  from django.db.migrations.operations.base import Operation
6
- from django.db.models import F
7
- from django.db.models.functions import Now
8
6
 
9
7
 
10
8
  class RequireVersion(Operation):
@@ -58,7 +56,10 @@ class RequireVersion(Operation):
58
56
 
59
57
  try:
60
58
  AppStatus = from_state.apps.get_model("core", "AppStatus")
61
- for worker in AppStatus.objects.filter(F("last_heartbeat") + F("ttl") >= Now()):
59
+ except LookupError:
60
+ pass
61
+ else:
62
+ for worker in AppStatus.objects.all():
62
63
  present_version = worker.versions.get(self.plugin)
63
64
  if present_version is not None and parse_version(present_version) < needed_version:
64
65
  errors.append(
@@ -67,8 +68,6 @@ class RequireVersion(Operation):
67
68
  )
68
69
 
69
70
  found_either_table = True
70
- except LookupError:
71
- pass
72
71
 
73
72
  assert found_either_table
74
73
  if errors:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulpcore
3
- Version: 3.85.0
3
+ Version: 3.85.1
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
@@ -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=sq_IHKvm_1QG57NCpQmXmvtS0RZemDa4W3wwMAxQE3c,297
3
+ pulp_certguard/app/__init__.py,sha256=vRWSjas1xU7Jcp9S5EQu_eUMv5QScQwkZCvjHf3P_B8,297
4
4
  pulp_certguard/app/models.py,sha256=YLEhBtZM4hetekVZ_GTnbLlWD6CkIQw2B3ILwXRcq-s,7483
5
5
  pulp_certguard/app/serializers.py,sha256=9IxlQiy783RdKF9oI1mrYS4haG5Boy2DOjfP_eJtMLY,1726
6
6
  pulp_certguard/app/viewsets.py,sha256=1_gNmsWyOT8kcOiGVkn4-wrtAjZO4wC8q0-aoEsCpjI,697
@@ -51,7 +51,7 @@ pulp_certguard/tests/unit/test_rhsm_check_path.py,sha256=Q1CsXnUgD7ELvtolPeumyNr
51
51
  pulp_file/__init__.py,sha256=0vOCXofR6Eyxkg4y66esnOGPeESCe23C1cNBHj56w44,61
52
52
  pulp_file/manifest.py,sha256=1WwIOJrPSkFcmkRm7CkWifVOCoZvo_nnANgce6uuG7U,3796
53
53
  pulp_file/pytest_plugin.py,sha256=l1PvTxUi5D3uJy4SnHWNhr-otWEYNcm-kc5nSqVJg0Y,10646
54
- pulp_file/app/__init__.py,sha256=fjJXrnoCfb1hSE8wEiuh-FbATftUGo6Rie-1rt7SfwA,292
54
+ pulp_file/app/__init__.py,sha256=Vpe9lHLHQMiESLRNLTy5MhUgXUN11U5PkkHeDAg3xPQ,292
55
55
  pulp_file/app/modelresource.py,sha256=v-m-_bBEsfr8wG0TI5ffx1TuKUy2-PsirhuQz4XXF-0,1063
56
56
  pulp_file/app/models.py,sha256=QsrVg_2uKqnR89sLN2Y7Zy260_nLIcUfa94uZowlmFw,4571
57
57
  pulp_file/app/replica.py,sha256=OtNWVmdFUgNTYhPttftVNQnSrnvx2_hnrJgtW_G0Vrg,1894
@@ -91,12 +91,12 @@ pulpcore/constants.py,sha256=ym3LV5TqFtUE_klh6yEogUb4fg4NZACF213VztnZ6jw,4882
91
91
  pulpcore/filters.py,sha256=dD5oRRkWg65s3LoObr-ipRvRsxZK_3Zr0lKMNr9Sg5o,16682
92
92
  pulpcore/metrics.py,sha256=Mfq-nnRjRf3vBHFO-ux-4d1I3yE7TgeptwgiSgGz4rA,2230
93
93
  pulpcore/middleware.py,sha256=10Jxc4Iq03gZD3n39t63OmBCpdftcke8bxEd-LioJlA,5973
94
- pulpcore/migrations.py,sha256=htl5Vsq8tferLUrTj13cMiV7eLBsAQpSBnvKzkLjysI,3485
94
+ pulpcore/migrations.py,sha256=YhvuCIqyTr9AwBGwOpawCEuuZpHHo50xt6VHqUGraeE,3383
95
95
  pulpcore/pytest_plugin.py,sha256=cWqLZ_JIQGFRvfKJQSP0o-rX3e_J6Kes8KKFD8rIpOw,38039
96
96
  pulpcore/responses.py,sha256=mIGKmdCfTSoZxbFu4yIH1xbdLx1u5gqt3D99LTamcJg,6125
97
97
  pulpcore/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
98
98
  pulpcore/app/access_policy.py,sha256=5vCKy6WoHtIt1_-eS5vMaZ7CmR4G-CIpsrB8yT-d88Q,6079
99
- pulpcore/app/apps.py,sha256=iozDl1w6EYZQAWQEj8csGdjjxBDFMFLk2KCF_CHpygw,17412
99
+ pulpcore/app/apps.py,sha256=n9HJolGvkvQLINcZpkJ3BqPwulF4tl2cqMO_GsmrDP8,17412
100
100
  pulpcore/app/authentication.py,sha256=1LIJW6HIQQlZrliHy__jdzkDEh6Oj7xKgd0V-vRcDus,2855
101
101
  pulpcore/app/checks.py,sha256=jbfTF7nmftBbky4AQXHigpyCaGydKasvRUXsd72JZVg,1946
102
102
  pulpcore/app/entrypoint.py,sha256=GYEq4GjglQZhFlU3865AT_H0nPypDKJAsf8qdyR4tPY,4985
@@ -436,9 +436,9 @@ pulpcore/tests/unit/stages/test_artifactdownloader.py,sha256=qB1ANdFmNtUnljg8fCd
436
436
  pulpcore/tests/unit/stages/test_stages.py,sha256=H1a2BQLjdZlZvcb_qULp62huZ1xy6ItTcthktVyGU0w,4735
437
437
  pulpcore/tests/unit/viewsets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
438
438
  pulpcore/tests/unit/viewsets/test_viewset_base.py,sha256=W9o3V6758bZctR6krMPPQytb0xJuF-jb4uBWTNDoD_U,4837
439
- pulpcore-3.85.0.dist-info/licenses/LICENSE,sha256=dhnHU8rJXUdAIgIjveSKAyYG_KzN5eVG-bxETIGrNW0,17988
440
- pulpcore-3.85.0.dist-info/METADATA,sha256=PNKQaTbkMDoCTBwBMxnf3lrWozzEwA3xCMHfIi_ep9M,4105
441
- pulpcore-3.85.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
442
- pulpcore-3.85.0.dist-info/entry_points.txt,sha256=OZven4wzXzQA5b5q9MpP4HUpIPPQCSvIOvkKtNInrK0,452
443
- pulpcore-3.85.0.dist-info/top_level.txt,sha256=6h-Lm3FKQSaT_nL1KSxu_hBnzKE15bcvf_BoU-ea4CI,34
444
- pulpcore-3.85.0.dist-info/RECORD,,
439
+ pulpcore-3.85.1.dist-info/licenses/LICENSE,sha256=dhnHU8rJXUdAIgIjveSKAyYG_KzN5eVG-bxETIGrNW0,17988
440
+ pulpcore-3.85.1.dist-info/METADATA,sha256=vCiJgls67GdXGs5EoZpWu9DnSn8jJjM-zNM0wJkboIY,4105
441
+ pulpcore-3.85.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
442
+ pulpcore-3.85.1.dist-info/entry_points.txt,sha256=OZven4wzXzQA5b5q9MpP4HUpIPPQCSvIOvkKtNInrK0,452
443
+ pulpcore-3.85.1.dist-info/top_level.txt,sha256=6h-Lm3FKQSaT_nL1KSxu_hBnzKE15bcvf_BoU-ea4CI,34
444
+ pulpcore-3.85.1.dist-info/RECORD,,