From 506c30c53da0fd210d758f5c05b4317c8d81e157 Mon Sep 17 00:00:00 2001 From: Carter Tinney Date: Wed, 10 Jul 2024 09:34:23 -0700 Subject: [PATCH] 3.12 support --- setup.py | 1 + vsts/build.yaml | 2 ++ vsts/python-canary.yaml | 10 ++++++++++ vsts/python-e2e.yaml | 2 +- vsts/python-nightly.yaml | 11 +++++++++++ 5 files changed, 25 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bd17656ed..ca3f7df52 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], install_requires=[ # Define sub-dependencies due to pip dependency resolution bug diff --git a/vsts/build.yaml b/vsts/build.yaml index 004540489..cbd6df650 100644 --- a/vsts/build.yaml +++ b/vsts/build.yaml @@ -37,6 +37,8 @@ jobs: python.version: '3.10' Python311: python.version: '3.11' + Python312: + python.version: '3.12' steps: - task: UsePythonVersion@0 displayName: 'Use Python $(python.version)' diff --git a/vsts/python-canary.yaml b/vsts/python-canary.yaml index c3f95c098..667674b78 100644 --- a/vsts/python-canary.yaml +++ b/vsts/python-canary.yaml @@ -36,6 +36,16 @@ jobs: transport: 'mqtt' imageName: 'Ubuntu 20.04' consumerGroup: 'cg7' + py312_linux_mqtt: + pv: '3.12' + transport: 'mqtt' + imageName: 'Ubuntu 20.04' + consumerGroup: 'cg8' + py312_linux_mqttws: + pv: '3.12' + transport: 'mqttws' + imageName: 'Ubuntu 20.04' + consumerGroup: 'cg9' pool: vmImage: $(imageName) diff --git a/vsts/python-e2e.yaml b/vsts/python-e2e.yaml index 6a39968bc..319a0f38f 100644 --- a/vsts/python-e2e.yaml +++ b/vsts/python-e2e.yaml @@ -8,7 +8,7 @@ jobs: strategy: matrix: py38_mqtt: { pv: '3.8', transport: 'mqtt', consumer_group: 'e2e-consumer-group-1' } - py311_mqttws: { pv: '3.11', transport: 'mqttws', consumer_group: 'e2e-consumer-group-2' } + py312_mqttws: { pv: '3.12', transport: 'mqttws', consumer_group: 'e2e-consumer-group-2' } steps: - task: UsePythonVersion@0 diff --git a/vsts/python-nightly.yaml b/vsts/python-nightly.yaml index f6bb36c1e..27cf91771 100644 --- a/vsts/python-nightly.yaml +++ b/vsts/python-nightly.yaml @@ -42,6 +42,17 @@ jobs: transport: 'mqtt' imageName: 'Ubuntu 20.04' consumerGroup: 'cg8' + py312_linux_mqtt: + pv: '3.12' + transport: 'mqtt' + imageName: 'Ubuntu 20.04' + consumerGroup: 'cg9' + py312_linux_mqttws: + pv: '3.12' + transport: 'mqttws' + imageName: 'Ubuntu 20.04' + consumerGroup: 'cg10' + pool: vmImage: $(imageName)