Skip to content

Commit 60b69cb

Browse files
committed
chore: upgrade community driver versions
1 parent 2df8d33 commit 60b69cb

File tree

8 files changed

+112
-243
lines changed

8 files changed

+112
-243
lines changed

.github/workflows/integration_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python-version: [ "3.8", "3.11" ]
20+
python-version: [ "3.11" ]
2121
environment: [ "mysql", "pg" ]
2222

2323
steps:
@@ -71,7 +71,7 @@ jobs:
7171
strategy:
7272
fail-fast: false
7373
matrix:
74-
python-version: [ "3.8", "3.11" ]
74+
python-version: [ "3.11" ]
7575
environment: ["mysql", "pg"]
7676

7777
steps:

poetry.lock

Lines changed: 102 additions & 175 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ classifiers = [
1616
"Programming Language :: Python",
1717
"Programming Language :: Python :: 3",
1818
"Programming Language :: Python :: 3 :: Only",
19-
"Programming Language :: Python :: 3.8",
20-
"Programming Language :: Python :: 3.9",
2119
"Programming Language :: Python :: 3.10",
2220
"Programming Language :: Python :: 3.11",
2321
]
2422

2523
[tool.poetry.dependencies]
26-
python = "^3.8.1"
24+
python = "^3.10.0"
2725
resourcebundle = "2.1.0"
2826
boto3 = "^1.34.111"
2927
toml = "^0.10.2"
@@ -40,9 +38,9 @@ flake8-type-checking = "^2.9.0"
4038
isort = "^5.13.2"
4139
pep8-naming = "^0.14.1"
4240
SQLAlchemy = "^2.0.30"
43-
psycopg = "^3.1.19"
44-
psycopg-binary = "^3.1.19"
45-
mysql-connector-python = "9.0.0"
41+
psycopg = "^3.3.1"
42+
psycopg-binary = "^3.3.1"
43+
mysql-connector-python = "^9.5.0"
4644

4745
[tool.poetry.group.test.dependencies]
4846
boto3 = "^1.34.111"
@@ -57,9 +55,9 @@ pytest-html-merger = ">=0.0.10,<0.1.1"
5755
toxiproxy-python = "^0.1.1"
5856
parameterized = "^0.9.0"
5957
tabulate = "^0.9.0"
60-
psycopg = "^3.1.19"
61-
psycopg-binary = "^3.1.19"
62-
mysql-connector-python = "9.0.0"
58+
psycopg = "^3.3.1"
59+
psycopg-binary = "^3.3.1"
60+
mysql-connector-python = "^9.5.0"
6361
opentelemetry-exporter-otlp = "^1.22.0"
6462
opentelemetry-exporter-otlp-proto-grpc = "^1.22.0"
6563
opentelemetry-sdk-extension-aws = "^2.0.1"

tests/integration/container/utils/target_python_version.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@
1717

1818
class TargetPythonVersion(Enum):
1919
PYTHON_3_11 = "PYTHON_3_11"
20-
PYTHON_3_8 = "PYTHON_3_8"

tests/integration/host/build.gradle.kts

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,6 @@ tasks.register<Test>("test-python-3.11-mysql") {
6868
filter.includeTestsMatching("integration.host.TestRunner.runTests")
6969
doFirst {
7070
systemProperty("exclude-performance", "true")
71-
systemProperty("exclude-python-38", "true")
72-
systemProperty("exclude-multi-az-cluster", "true")
73-
systemProperty("exclude-multi-az-instance", "true")
74-
systemProperty("exclude-bg", "true")
75-
systemProperty("exclude-traces-telemetry", "true")
76-
systemProperty("exclude-metrics-telemetry", "true")
77-
systemProperty("exclude-pg-driver", "true")
78-
systemProperty("exclude-pg-engine", "true")
79-
}
80-
}
81-
82-
tasks.register<Test>("test-python-3.8-mysql") {
83-
group = "verification"
84-
filter.includeTestsMatching("integration.host.TestRunner.runTests")
85-
doFirst {
86-
systemProperty("exclude-performance", "true")
87-
systemProperty("exclude-python-311", "true")
8871
systemProperty("exclude-multi-az-cluster", "true")
8972
systemProperty("exclude-multi-az-instance", "true")
9073
systemProperty("exclude-bg", "true")
@@ -100,23 +83,6 @@ tasks.register<Test>("test-python-3.11-pg") {
10083
filter.includeTestsMatching("integration.host.TestRunner.runTests")
10184
doFirst {
10285
systemProperty("exclude-performance", "true")
103-
systemProperty("exclude-python-38", "true")
104-
systemProperty("exclude-multi-az-cluster", "true")
105-
systemProperty("exclude-multi-az-instance", "true")
106-
systemProperty("exclude-bg", "true")
107-
systemProperty("exclude-mysql-driver", "true")
108-
systemProperty("exclude-mysql-engine", "true")
109-
systemProperty("exclude-mariadb-driver", "true")
110-
systemProperty("exclude-mariadb-engine", "true")
111-
}
112-
}
113-
114-
tasks.register<Test>("test-python-3.8-pg") {
115-
group = "verification"
116-
filter.includeTestsMatching("integration.host.TestRunner.runTests")
117-
doFirst {
118-
systemProperty("exclude-performance", "true")
119-
systemProperty("exclude-python-311", "true")
12086
systemProperty("exclude-multi-az-cluster", "true")
12187
systemProperty("exclude-multi-az-instance", "true")
12288
systemProperty("exclude-bg", "true")
@@ -136,7 +102,6 @@ tasks.register<Test>("test-docker") {
136102
systemProperty("exclude-multi-az-instance", "true")
137103
systemProperty("exclude-bg", "true")
138104
systemProperty("exclude-performance", "true")
139-
systemProperty("exclude-python-38", "true")
140105
}
141106
}
142107

@@ -149,7 +114,6 @@ tasks.register<Test>("test-aurora") {
149114
systemProperty("exclude-multi-az-instance", "true")
150115
systemProperty("exclude-bg", "true")
151116
systemProperty("exclude-performance", "true")
152-
systemProperty("exclude-python-38", "true")
153117
}
154118
}
155119

@@ -190,7 +154,6 @@ tasks.register<Test>("test-multi-az") {
190154
systemProperty("exclude-docker", "true")
191155
systemProperty("exclude-performance", "true")
192156
systemProperty("exclude-aurora", "true")
193-
systemProperty("exclude-python-38", "true")
194157
systemProperty("exclude-bg", "true")
195158
}
196159
}
@@ -276,7 +239,6 @@ tasks.register<Test>("test-bgd-mysql-instance") {
276239
systemProperty("exclude-performance", "true")
277240
systemProperty("exclude-pg-driver", "true")
278241
systemProperty("exclude-pg-engine", "true")
279-
systemProperty("exclude-python-38", "true")
280242
systemProperty("exclude-aurora", "true")
281243
systemProperty("exclude-failover", "true")
282244
systemProperty("exclude-secrets-manager", "true")
@@ -296,7 +258,6 @@ tasks.register<Test>("test-bgd-mysql-aurora") {
296258
systemProperty("exclude-performance", "true")
297259
systemProperty("exclude-pg-driver", "true")
298260
systemProperty("exclude-pg-engine", "true")
299-
systemProperty("exclude-python-38", "true")
300261
systemProperty("exclude-multi-az-instance", "true")
301262
systemProperty("exclude-failover", "true")
302263
systemProperty("exclude-secrets-manager", "true")
@@ -317,7 +278,6 @@ tasks.register<Test>("test-bgd-pg-instance") {
317278
systemProperty("exclude-performance", "true")
318279
systemProperty("exclude-mysql-driver", "true")
319280
systemProperty("exclude-mysql-engine", "true")
320-
systemProperty("exclude-python-38", "true")
321281
systemProperty("exclude-aurora", "true")
322282
systemProperty("exclude-failover", "true")
323283
systemProperty("exclude-secrets-manager", "true")
@@ -337,7 +297,6 @@ tasks.register<Test>("test-bgd-pg-aurora") {
337297
systemProperty("exclude-performance", "true")
338298
systemProperty("exclude-mysql-driver", "true")
339299
systemProperty("exclude-mysql-engine", "true")
340-
systemProperty("exclude-python-38", "true")
341300
systemProperty("exclude-multi-az-instance", "true")
342301
systemProperty("exclude-failover", "true")
343302
systemProperty("exclude-secrets-manager", "true")
@@ -357,7 +316,6 @@ tasks.register<Test>("debug-all-environments") {
357316
filter.includeTestsMatching("integration.host.TestRunner.debugTests")
358317
doFirst {
359318
systemProperty("exclude-performance", "true")
360-
systemProperty("exclude-python-38", "true")
361319
systemProperty("exclude-bg", "true")
362320
}
363321
}
@@ -371,7 +329,6 @@ tasks.register<Test>("debug-docker") {
371329
systemProperty("exclude-multi-az-instance", "true")
372330
systemProperty("exclude-bg", "true")
373331
systemProperty("exclude-performance", "true")
374-
systemProperty("exclude-python-38", "true")
375332
}
376333
}
377334

@@ -384,7 +341,6 @@ tasks.register<Test>("debug-aurora") {
384341
systemProperty("exclude-multi-az-instance", "true")
385342
systemProperty("exclude-bg", "true")
386343
systemProperty("exclude-performance", "true")
387-
systemProperty("exclude-python-38", "true")
388344
}
389345
}
390346

@@ -470,7 +426,6 @@ tasks.register<Test>("debug-multi-az") {
470426
systemProperty("exclude-docker", "true")
471427
systemProperty("exclude-aurora", "true")
472428
systemProperty("exclude-performance", "true")
473-
systemProperty("exclude-python-38", "true")
474429
systemProperty("exclude-bg", "true")
475430
}
476431
}
@@ -509,7 +464,6 @@ tasks.register<Test>("debug-bgd-pg-aurora") {
509464
systemProperty("exclude-performance", "true")
510465
systemProperty("exclude-mysql-driver", "true")
511466
systemProperty("exclude-mysql-engine", "true")
512-
systemProperty("exclude-python-38", "true")
513467
systemProperty("exclude-multi-az-instance", "true")
514468
systemProperty("exclude-failover", "true")
515469
systemProperty("exclude-secrets-manager", "true")
@@ -529,7 +483,6 @@ tasks.register<Test>("debug-bgd-mysql-aurora") {
529483
systemProperty("exclude-performance", "true")
530484
systemProperty("exclude-pg-driver", "true")
531485
systemProperty("exclude-pg-engine", "true")
532-
systemProperty("exclude-python-38", "true")
533486
systemProperty("exclude-multi-az-instance", "true")
534487
systemProperty("exclude-failover", "true")
535488
systemProperty("exclude-secrets-manager", "true")
@@ -549,7 +502,6 @@ tasks.register<Test>("debug-bgd-mysql-instance") {
549502
systemProperty("exclude-performance", "true")
550503
systemProperty("exclude-pg-driver", "true")
551504
systemProperty("exclude-pg-engine", "true")
552-
systemProperty("exclude-python-38", "true")
553505
systemProperty("exclude-aurora", "true")
554506
systemProperty("exclude-failover", "true")
555507
systemProperty("exclude-secrets-manager", "true")
@@ -569,7 +521,6 @@ tasks.register<Test>("debug-bgd-pg-instance") {
569521
systemProperty("exclude-performance", "true")
570522
systemProperty("exclude-mysql-driver", "true")
571523
systemProperty("exclude-mysql-engine", "true")
572-
systemProperty("exclude-python-38", "true")
573524
systemProperty("exclude-aurora", "true")
574525
systemProperty("exclude-failover", "true")
575526
systemProperty("exclude-secrets-manager", "true")

tests/integration/host/src/test/java/integration/TargetPythonVersion.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@
1717
package integration;
1818

1919
public enum TargetPythonVersion {
20-
PYTHON_3_11,
21-
PYTHON_3_8
20+
PYTHON_3_11
2221
}

tests/integration/host/src/test/java/integration/host/TestEnvironmentConfiguration.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ public class TestEnvironmentConfiguration {
6969
public boolean testBlueGreenOnly =
7070
Boolean.parseBoolean(System.getProperty("test-bg-only", "false"));
7171

72-
public boolean excludePython38 =
73-
Boolean.parseBoolean(System.getProperty("exclude-python-38", "false"));
7472
public boolean excludePython311 =
7573
Boolean.parseBoolean(System.getProperty("exclude-python-311", "false"));
7674

tests/integration/host/src/test/java/integration/host/TestEnvironmentProvider.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,6 @@ public Stream<TestTemplateInvocationContext> provideTestTemplateInvocationContex
140140
}
141141

142142
for (TargetPythonVersion targetPythonVersion : TargetPythonVersion.values()) {
143-
if (targetPythonVersion == TargetPythonVersion.PYTHON_3_8 && config.excludePython38) {
144-
continue;
145-
}
146143
if (targetPythonVersion == TargetPythonVersion.PYTHON_3_11 && config.excludePython311) {
147144
continue;
148145
}

0 commit comments

Comments
 (0)