Skip to content

Commit d90c97c

Browse files
versatile-data-kit: Support for Py3.12 (#3143)
This PR adds a CICD job checking that components and plugins can be built and tested in a Py3.12 environment. `vdk-singer` does not support 3.12 as its dependency `tap-rest-api-msdk` explicitly does not support it. `vdk-ingest-http`'s tests seem to fail in an odd way - this is described in this issue I've created - #3153 Testing done: cicd --------- Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
1 parent 4e3b400 commit d90c97c

File tree

66 files changed

+109
-66
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+109
-66
lines changed

projects/vdk-control-cli/.gitlab-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ vdk-control-cli-build-with-py311:
3232
image: "python:3.11"
3333
extends: .vdk-control-cli-build
3434

35+
vdk-control-cli-build-with-py312:
36+
image: "python:3.12"
37+
extends: .vdk-control-cli-build
38+
3539
vdk-control-cli-release-acceptance-test:
3640
stage: pre_release
3741
before_script:

projects/vdk-core/.gitlab-ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ vdk-core-build_with_py311:
5252
image: "python:3.11"
5353
extends: .vdk-core-build
5454

55+
vdk-core-build_with_py312:
56+
image: "python:3.12"
57+
extends: .vdk-core-build
58+
5559
.vdk-core-simple_func_test:
5660
services:
5761
- name: trinodb/trino
@@ -96,6 +100,9 @@ vdk-core-simple_func_test_with_py311:
96100
image: "python:3.11"
97101
extends: .vdk-core-simple_func_test
98102

103+
vdk-core-simple_func_test_with_py312:
104+
image: "python:3.12"
105+
extends: .vdk-core-simple_func_test
99106

100107
vdk-core-release:
101108
stage: release

projects/vdk-plugins/quickstart-vdk/.plugin-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ build-py37-quickstart-vdk:
3131
extends: .build-quickstart-vdk
3232
image: "python:3.7"
3333

34-
build-py311-quickstart-vdk:
34+
build-py312-quickstart-vdk:
3535
extends: .build-quickstart-vdk
36-
image: "python:3.11"
36+
image: "python:3.12"
3737

3838
quickstart-vdk-release-candidate:
3939
stage: pre_release

projects/vdk-plugins/quickstart-vdk/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@
3333
"Programming Language :: Python :: 3.9",
3434
"Programming Language :: Python :: 3.10",
3535
"Programming Language :: Python :: 3.11",
36+
"Programming Language :: Python :: 3.12",
3637
],
3738
)

projects/vdk-plugins/vdk-audit/.plugin-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ build-py38-vdk-audit:
1010
extends: .build-vdk-audit
1111
image: "python:3.8"
1212

13-
build-py311-vdk-audit:
13+
build-py312-vdk-audit:
1414
extends: .build-vdk-audit
15-
image: "python:3.11"
15+
image: "python:3.12"
1616

1717
release-vdk-audit:
1818
variables:

projects/vdk-plugins/vdk-audit/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@
2626
"Programming Language :: Python :: 3.9",
2727
"Programming Language :: Python :: 3.10",
2828
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
2930
],
3031
)

projects/vdk-plugins/vdk-confluence-data-source/.plugin-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ build-py37-vdk-confluence-data-source:
1515
extends: .build-vdk-confluence-data-source
1616
image: "python:3.7"
1717

18-
build-py311-vdk-confluence-data-source:
18+
build-py312-vdk-confluence-data-source:
1919
extends: .build-vdk-confluence-data-source
20-
image: "python:3.11"
20+
image: "python:3.12"
2121

2222
release-vdk-confluence-data-source:
2323
variables:

projects/vdk-plugins/vdk-confluence-data-source/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"Programming Language :: Python :: 3.9",
3838
"Programming Language :: Python :: 3.10",
3939
"Programming Language :: Python :: 3.11",
40+
"Programming Language :: Python :: 3.12",
4041
],
4142
project_urls={
4243
"Documentation": "https://github.com/vmware/versatile-data-kit/tree/main/projects/vdk-plugins/vdk-confluence-data-source",

projects/vdk-plugins/vdk-control-api-auth/.plugin-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ build-py37-vdk-control-api-auth:
1212
extends: .build-vdk-control-api-auth
1313
image: "python:3.7"
1414

15-
build-py311-vdk-control-api-auth:
15+
build-py312-vdk-control-api-auth:
1616
extends: .build-vdk-control-api-auth
17-
image: "python:3.11"
17+
image: "python:3.12"
1818

1919
build-vdk-control-api-auth-on-vdk-core-release:
2020
variables:

projects/vdk-plugins/vdk-control-api-auth/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@
3636
"Programming Language :: Python :: 3.9",
3737
"Programming Language :: Python :: 3.10",
3838
"Programming Language :: Python :: 3.11",
39+
"Programming Language :: Python :: 3.12",
3940
],
4041
)

0 commit comments

Comments
 (0)