qontract-reconcile 0.10.1rc1142__py3-none-any.whl → 0.10.1rc1144__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qontract-reconcile
3
- Version: 0.10.1rc1142
3
+ Version: 0.10.1rc1144
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Home-page: https://github.com/app-sre/qontract-reconcile
6
6
  Author: Red Hat App-SRE Team
@@ -153,7 +153,7 @@ reconcile/aws_saml_idp/integration.py,sha256=ZaPW3JMH7bHhQQlxLSU7vlupYNZeuDkXFaI
153
153
  reconcile/aws_saml_roles/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
154
154
  reconcile/aws_saml_roles/integration.py,sha256=ctPIZfHLhkmnUdIYdtchXuTgHE4FuNTMtKfnvXr6MY8,11264
155
155
  reconcile/aws_version_sync/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
156
- reconcile/aws_version_sync/integration.py,sha256=dyOp792otL6TvbPrj-3TWzvkLkSbTrjilMP2HSFnnX0,17272
156
+ reconcile/aws_version_sync/integration.py,sha256=x1nPU8l7tTvIZqIo8TIUWE0DqZMFpx-oxkNqfyR3ZV0,17287
157
157
  reconcile/aws_version_sync/utils.py,sha256=x-45QT7zAwdNvCg7w_qJNwLaksFcfz1_6KQoD_0IVuA,1727
158
158
  reconcile/aws_version_sync/merge_request_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
159
159
  reconcile/aws_version_sync/merge_request_manager/merge_request.py,sha256=2FbqLLdqxycWNvX1eNbwMjWSVBb7q0p-8t5Db0m7b4Q,4842
@@ -871,8 +871,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
871
871
  tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
872
872
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
873
873
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
874
- qontract_reconcile-0.10.1rc1142.dist-info/METADATA,sha256=f1ikpfq7o98Ky3kUOVwZQAn2vihIo6CgvnSXasIh2gs,2213
875
- qontract_reconcile-0.10.1rc1142.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
876
- qontract_reconcile-0.10.1rc1142.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
877
- qontract_reconcile-0.10.1rc1142.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
878
- qontract_reconcile-0.10.1rc1142.dist-info/RECORD,,
874
+ qontract_reconcile-0.10.1rc1144.dist-info/METADATA,sha256=Yvs7ta0zvcAxgyoeqw-ebs-oL94279iPWlq3K_WqE2Q,2213
875
+ qontract_reconcile-0.10.1rc1144.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
876
+ qontract_reconcile-0.10.1rc1144.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
877
+ qontract_reconcile-0.10.1rc1144.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
878
+ qontract_reconcile-0.10.1rc1144.dist-info/RECORD,,
@@ -107,12 +107,12 @@ class ExternalResource(BaseModel):
107
107
  ) -> semver.VersionInfo:
108
108
  if isinstance(v, semver.VersionInfo):
109
109
  return v
110
- return parse_semver(v, optional_minor_and_patch=True)
110
+ return parse_semver(str(v), optional_minor_and_patch=True)
111
111
 
112
112
  @root_validator(pre=True)
113
113
  def set_resource_engine_version_format(cls, values: dict) -> dict:
114
114
  resource_engine_version, resource_engine_version_format = (
115
- values.get("resource_engine_version"),
115
+ str(values.get("resource_engine_version")),
116
116
  values.get("resource_engine_version_format"),
117
117
  )
118
118
  if not resource_engine_version:
@@ -304,9 +304,9 @@ class AVSIntegration(QontractReconcileIntegration[AVSIntegrationParams]):
304
304
  )
305
305
  _defaults_cache[resource.defaults] = values
306
306
  values = override_values(values, resource.overrides)
307
- if resource.provider.lower() == "elasticache" and values[
308
- "engine_version"
309
- ].lower().endswith("x"):
307
+ if resource.provider.lower() == "elasticache" and str(
308
+ values["engine_version"]
309
+ ).lower().endswith("x"):
310
310
  # see https://gitlab.cee.redhat.com/service/app-interface/-/blob/master/docs/app-sre/sop/upgrade-redis-minor-version.md
311
311
  # minor version not managed by app-interface anymore. skip it
312
312
  continue