-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency pydantic to v2 - autoclosed #252
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
2 times, most recently
from
July 4, 2023 19:57
e7482cd
to
b0ac20b
Compare
--- /home/runner/work/flux-local/flux-local/live/tests/testdata/cluster6 Kustomization: kustomization HelmRepository: flux-system/renovate
+++ /home/runner/work/flux-local/flux-local/live/tests/testdata/cluster6 Kustomization: kustomization HelmRepository: flux-system/renovate
@@ -1,10 +0,0 @@
----
-apiVersion: source.toolkit.fluxcd.io/v1beta2
-kind: HelmRepository
-metadata:
- name: renovate
- namespace: flux-system
-spec:
- interval: 30m
- url: https://docs.renovatebot.com/helm-charts
-
--- /home/runner/work/flux-local/flux-local/live/tests/testdata/cluster6 Kustomization: kustomization HelmRelease: default/renovate
+++ /home/runner/work/flux-local/flux-local/live/tests/testdata/cluster6 Kustomization: kustomization HelmRelease: default/renovate
@@ -1,40 +0,0 @@
----
-apiVersion: helm.toolkit.fluxcd.io/v2beta1
-kind: HelmRelease
-metadata:
- name: renovate
- namespace: default
-spec:
- chart:
- spec:
- chart: renovate
- sourceRef:
- kind: HelmRepository
- name: renovate
- namespace: flux-system
- interval: 5m
- values:
- renovate:
- existingConfigFile: /dev/null
- securityContext:
- allowPrivilegeEscalation: false
- capabilities:
- drop:
- - ALL
- resources:
- limits:
- cpu: 1000m
- memory: 2G
- requests:
- cpu: 100m
- memory: 256Mi
- securityContext:
- fsGroup: 1000
- fsGroupChangePolicy: Always
- runAsNonRoot: true
- runAsUser: 1000
- seccompProfile:
- type: RuntimeDefault
- serviceAccount:
- create: true
-
--- /home/runner/work/flux-local/flux-local/pr/tests/testdata/cluster6 Kustomization: kustomization HelmRepository: flux-system/renovate
+++ /home/runner/work/flux-local/flux-local/pr/tests/testdata/cluster6 Kustomization: kustomization HelmRepository: flux-system/renovate
@@ -0,0 +1,10 @@
+---
+apiVersion: source.toolkit.fluxcd.io/v1beta2
+kind: HelmRepository
+metadata:
+ name: renovate
+ namespace: flux-system
+spec:
+ interval: 30m
+ url: https://docs.renovatebot.com/helm-charts
+
--- /home/runner/work/flux-local/flux-local/pr/tests/testdata/cluster6 Kustomization: kustomization HelmRelease: default/renovate
+++ /home/runner/work/flux-local/flux-local/pr/tests/testdata/cluster6 Kustomization: kustomization HelmRelease: default/renovate
@@ -0,0 +1,40 @@
+---
+apiVersion: helm.toolkit.fluxcd.io/v2beta1
+kind: HelmRelease
+metadata:
+ name: renovate
+ namespace: default
+spec:
+ chart:
+ spec:
+ chart: renovate
+ sourceRef:
+ kind: HelmRepository
+ name: renovate
+ namespace: flux-system
+ interval: 5m
+ values:
+ renovate:
+ existingConfigFile: /dev/null
+ securityContext:
+ allowPrivilegeEscalation: false
+ capabilities:
+ drop:
+ - ALL
+ resources:
+ limits:
+ cpu: 1000m
+ memory: 2G
+ requests:
+ cpu: 100m
+ memory: 256Mi
+ securityContext:
+ fsGroup: 1000
+ fsGroupChangePolicy: Always
+ runAsNonRoot: true
+ runAsUser: 1000
+ seccompProfile:
+ type: RuntimeDefault
+ serviceAccount:
+ create: true
+ |
no HelmRelease objects found in cluster |
--- tests/testdata/cluster3/namespaces/overlays/cluster3 Kustomization: flux-system/namespaces Namespace: flux-system/podinfo
+++ tests/testdata/cluster3/namespaces/overlays/cluster3 Kustomization: flux-system/namespaces Namespace: flux-system/podinfo
@@ -0,0 +1,6 @@
+---
+apiVersion: v1
+kind: Namespace
+metadata:
+ name: podinfo
+
--- tests/testdata/cluster3/tenants/overlays/cluster3 Kustomization: flux-system/tenants Namespace: flux-system/app
+++ tests/testdata/cluster3/tenants/overlays/cluster3 Kustomization: flux-system/tenants Namespace: flux-system/app
@@ -0,0 +1,6 @@
+---
+apiVersion: v1
+kind: Namespace
+metadata:
+ name: app
+ |
no HelmRelease objects found in cluster |
--- /home/runner/work/flux-local/flux-local/live/tests/testdata/cluster6 HelmRelease: default/renovate ServiceAccount: default/renovate
+++ /home/runner/work/flux-local/flux-local/live/tests/testdata/cluster6 HelmRelease: default/renovate ServiceAccount: default/renovate
@@ -1,10 +0,0 @@
----
-apiVersion: v1
-kind: ServiceAccount
-metadata:
- name: renovate
- labels:
- app.kubernetes.io/name: renovate
- app.kubernetes.io/instance: renovate
- app.kubernetes.io/managed-by: Helm
-
--- /home/runner/work/flux-local/flux-local/live/tests/testdata/cluster6 HelmRelease: default/renovate CronJob: default/renovate
+++ /home/runner/work/flux-local/flux-local/live/tests/testdata/cluster6 HelmRelease: default/renovate CronJob: default/renovate
@@ -1,54 +0,0 @@
----
-apiVersion: batch/v1
-kind: CronJob
-metadata:
- name: renovate
- labels:
- app.kubernetes.io/name: renovate
- app.kubernetes.io/instance: renovate
- app.kubernetes.io/managed-by: Helm
-spec:
- schedule: 0 1 * * *
- jobTemplate:
- metadata:
- labels:
- app.kubernetes.io/name: renovate
- app.kubernetes.io/instance: renovate
- spec:
- template:
- metadata:
- labels:
- app.kubernetes.io/name: renovate
- app.kubernetes.io/instance: renovate
- spec:
- serviceAccountName: renovate
- restartPolicy: Never
- containers:
- - name: renovate
- image: renovate/renovate:35.159.6
- imagePullPolicy: IfNotPresent
- env:
- - name: RENOVATE_CONFIG_FILE
- value: /dev/null
- envFrom: null
- securityContext:
- allowPrivilegeEscalation: false
- capabilities:
- drop:
- - ALL
- resources:
- limits:
- cpu: 1000m
- memory: 2G
- requests:
- cpu: 100m
- memory: 256Mi
- volumes: null
- securityContext:
- fsGroup: 1000
- fsGroupChangePolicy: Always
- runAsNonRoot: true
- runAsUser: 1000
- seccompProfile:
- type: RuntimeDefault
-
--- /home/runner/work/flux-local/flux-local/pr/tests/testdata/cluster6 HelmRelease: default/renovate CronJob: default/renovate
+++ /home/runner/work/flux-local/flux-local/pr/tests/testdata/cluster6 HelmRelease: default/renovate CronJob: default/renovate
@@ -0,0 +1,54 @@
+---
+apiVersion: batch/v1
+kind: CronJob
+metadata:
+ name: renovate
+ labels:
+ app.kubernetes.io/name: renovate
+ app.kubernetes.io/instance: renovate
+ app.kubernetes.io/managed-by: Helm
+spec:
+ schedule: 0 1 * * *
+ jobTemplate:
+ metadata:
+ labels:
+ app.kubernetes.io/name: renovate
+ app.kubernetes.io/instance: renovate
+ spec:
+ template:
+ metadata:
+ labels:
+ app.kubernetes.io/name: renovate
+ app.kubernetes.io/instance: renovate
+ spec:
+ serviceAccountName: renovate
+ restartPolicy: Never
+ containers:
+ - name: renovate
+ image: renovate/renovate:35.159.6
+ imagePullPolicy: IfNotPresent
+ env:
+ - name: RENOVATE_CONFIG_FILE
+ value: /dev/null
+ envFrom: null
+ securityContext:
+ allowPrivilegeEscalation: false
+ capabilities:
+ drop:
+ - ALL
+ resources:
+ limits:
+ cpu: 1000m
+ memory: 2G
+ requests:
+ cpu: 100m
+ memory: 256Mi
+ volumes: null
+ securityContext:
+ fsGroup: 1000
+ fsGroupChangePolicy: Always
+ runAsNonRoot: true
+ runAsUser: 1000
+ seccompProfile:
+ type: RuntimeDefault
+
--- /home/runner/work/flux-local/flux-local/pr/tests/testdata/cluster6 HelmRelease: default/renovate ServiceAccount: default/renovate
+++ /home/runner/work/flux-local/flux-local/pr/tests/testdata/cluster6 HelmRelease: default/renovate ServiceAccount: default/renovate
@@ -0,0 +1,10 @@
+---
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: renovate
+ labels:
+ app.kubernetes.io/name: renovate
+ app.kubernetes.io/instance: renovate
+ app.kubernetes.io/managed-by: Helm
+ |
--- /home/runner/work/flux-local/flux-local/pr/tests/testdata/cluster5 Kustomization: controllers/infra-controllers HelmRelease: flux-system/weave-gitops
+++ /home/runner/work/flux-local/flux-local/pr/tests/testdata/cluster5 Kustomization: controllers/infra-controllers HelmRelease: flux-system/weave-gitops
@@ -0,0 +1,17 @@
+---
+apiVersion: helm.toolkit.fluxcd.io/v2beta1
+kind: HelmRelease
+metadata:
+ name: weave-gitops
+ namespace: flux-system
+spec:
+ chart:
+ spec:
+ chart: weave-gitops
+ interval: 12h
+ sourceRef:
+ kind: HelmRepository
+ name: weave-charts
+ version: 4.0.22
+ interval: 60m
+
--- /home/runner/work/flux-local/flux-local/pr/tests/testdata/cluster5 Kustomization: controllers/infra-controllers HelmRelease: metallb/metallb
+++ /home/runner/work/flux-local/flux-local/pr/tests/testdata/cluster5 Kustomization: controllers/infra-controllers HelmRelease: metallb/metallb
@@ -0,0 +1,28 @@
+---
+apiVersion: helm.toolkit.fluxcd.io/v2beta1
+kind: HelmRelease
+metadata:
+ name: metallb
+ namespace: metallb
+spec:
+ chart:
+ spec:
+ chart: metallb
+ reconcileStrategy: ChartVersion
+ sourceRef:
+ kind: HelmRepository
+ name: bitnami
+ namespace: flux-system
+ version: 4.1.14
+ install:
+ crds: CreateReplace
+ remediation:
+ retries: 3
+ interval: 5m
+ releaseName: metallb
+ upgrade:
+ crds: CreateReplace
+ values:
+ speaker:
+ secretName: metallb-secret
+
--- /home/runner/work/flux-local/flux-local/live/tests/testdata/cluster5 Kustomization: controllers/infra-controllers HelmRelease: flux-system/weave-gitops
+++ /home/runner/work/flux-local/flux-local/live/tests/testdata/cluster5 Kustomization: controllers/infra-controllers HelmRelease: flux-system/weave-gitops
@@ -1,17 +0,0 @@
----
-apiVersion: helm.toolkit.fluxcd.io/v2beta1
-kind: HelmRelease
-metadata:
- name: weave-gitops
- namespace: flux-system
-spec:
- chart:
- spec:
- chart: weave-gitops
- interval: 12h
- sourceRef:
- kind: HelmRepository
- name: weave-charts
- version: 4.0.22
- interval: 60m
-
--- /home/runner/work/flux-local/flux-local/live/tests/testdata/cluster5 Kustomization: controllers/infra-controllers HelmRelease: metallb/metallb
+++ /home/runner/work/flux-local/flux-local/live/tests/testdata/cluster5 Kustomization: controllers/infra-controllers HelmRelease: metallb/metallb
@@ -1,28 +0,0 @@
----
-apiVersion: helm.toolkit.fluxcd.io/v2beta1
-kind: HelmRelease
-metadata:
- name: metallb
- namespace: metallb
-spec:
- chart:
- spec:
- chart: metallb
- reconcileStrategy: ChartVersion
- sourceRef:
- kind: HelmRepository
- name: bitnami
- namespace: flux-system
- version: 4.1.14
- install:
- crds: CreateReplace
- remediation:
- retries: 3
- interval: 5m
- releaseName: metallb
- upgrade:
- crds: CreateReplace
- values:
- speaker:
- secretName: metallb-secret
- |
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
3 times, most recently
from
July 9, 2023 11:52
0308431
to
e786582
Compare
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
July 14, 2023 12:04
e786582
to
20e46d0
Compare
renovate
bot
changed the title
Update dependency pydantic to v2
Update dependency pydantic to v2 - autoclosed
Jul 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.10.11
->==2.0.3
Release Notes
pydantic/pydantic (pydantic)
v2.0.3
Compare Source
Field.alias
behavior in Pydantic V2 by @hramezani in https:/pydantic/pydantic/pull/6508alias_priority
by @tpdorsey in https:/pydantic/pydantic/pull/6520pydantic-core
to v2.2.0 by @lig in https:/pydantic/pydantic/pull/6589enum
error type docs by @lig in https:/pydantic/pydantic/pull/6603max_length
for unicode strings by @lig in https:/pydantic/pydantic/pull/6559pydantic.v1
by @tpdorsey in https:/pydantic/pydantic/pull/6604$ref
as an alias by @dmontagu in https:/pydantic/pydantic/pull/6568AnyUrl
etc by @davidhewitt in https:/pydantic/pydantic/pull/6618json_schema_extra
onRootModel
usingField
by @lig in https:/pydantic/pydantic/pull/6622transform
docstring by @StefanBRas in https:/pydantic/pydantic/pull/6649v2.0.2
Compare Source
RootModel
would change the value of__dict__
, #6457 by @dmontaguconstr
documentation, renamed oldregex
to newpattern
, #6452 by @miiliGenerateJsonSchema.generate_definitions
signature, #6436 by @dmontaguSee the full changelog here
v2.0.1
Compare Source
First patch release of Pydantic V2
setattr
(i.e.m.some_extra_field = 'extra_value'
)are added to
.model_extra
ifmodel_config
extra='allowed'
. Fixed #6333, #6365 by @aaraneySee the full changelog here
v2.0
Compare Source
Field.alias
behavior in Pydantic V2 by @hramezani in https:/pydantic/pydantic/pull/6508alias_priority
by @tpdorsey in https:/pydantic/pydantic/pull/6520pydantic-core
to v2.2.0 by @lig in https:/pydantic/pydantic/pull/6589enum
error type docs by @lig in https:/pydantic/pydantic/pull/6603max_length
for unicode strings by @lig in https:/pydantic/pydantic/pull/6559pydantic.v1
by @tpdorsey in https:/pydantic/pydantic/pull/6604$ref
as an alias by @dmontagu in https:/pydantic/pydantic/pull/6568AnyUrl
etc by @davidhewitt in https:/pydantic/pydantic/pull/6618json_schema_extra
onRootModel
usingField
by @lig in https:/pydantic/pydantic/pull/6622transform
docstring by @StefanBRas in https:/pydantic/pydantic/pull/6649Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.