Skip to content

Commit

Permalink
Require python3.10 or higher (#279)
Browse files Browse the repository at this point in the history
- Fixes tests upgrading resource versions
  • Loading branch information
allenporter authored Jul 15, 2023
1 parent ead2848 commit 66c5bbe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ classifiers =

[options]
packages = find:
python_requires = >=3.10
install_requires =
aiofiles>=22.1.0
nest_asyncio>=1.5.6
Expand Down
2 changes: 1 addition & 1 deletion tests/testdata/cluster/clusters/prod/apps.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# Left on deprecated CRDs for testing
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: apps
Expand Down
2 changes: 1 addition & 1 deletion tests/tool/testdata/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ stdout: |+
kind: GitRepository
name: flux-system
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: flux-system
Expand Down
2 changes: 1 addition & 1 deletion tests/tool/testdata/build6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ stdout: |+
kind: GitRepository
name: flux-system
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: flux-system
Expand Down
2 changes: 1 addition & 1 deletion tests/tool/testdata/build_helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ stdout: |+
kind: GitRepository
name: flux-system
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: flux-system
Expand Down

0 comments on commit 66c5bbe

Please sign in to comment.