@@ -177,9 +177,14 @@ def initializeEnvironment() {
177
177
178
178
// Determine if server version is Apache CassandraⓇ or DataStax Enterprise
179
179
if (env. CASSANDRA_VERSION . split(' -' )[0 ] == ' dse' ) {
180
- sh label : ' Install DataStax Enterprise requirements' , script : ''' #!/bin/bash -lex
181
- pip install -r test-datastax-requirements.txt
182
- '''
180
+ if (env. PYTHON_VERSION =~ / 3\. 12\.\d +/ ) {
181
+ echo " Cannot install DSE dependencies for Python 3.12.x. See PYTHON-1368 for more detail."
182
+ }
183
+ else {
184
+ sh label : ' Install DataStax Enterprise requirements' , script : ''' #!/bin/bash -lex
185
+ pip install -r test-datastax-requirements.txt
186
+ '''
187
+ }
183
188
} else {
184
189
sh label : ' Install Apache CassandraⓇ requirements' , script : ''' #!/bin/bash -lex
185
190
pip install -r test-requirements.txt
@@ -292,17 +297,22 @@ def executeStandardTests() {
292
297
'''
293
298
294
299
if (env. CASSANDRA_VERSION . split(' -' )[0 ] == ' dse' && env. CASSANDRA_VERSION . split(' -' )[1 ] != ' 4.8' ) {
295
- sh label : ' Execute DataStax Enterprise integration tests' , script : ''' #!/bin/bash -lex
296
- # Load CCM environment variable
297
- set -o allexport
298
- . ${HOME}/environment.txt
299
- set +o allexport
300
-
301
- EVENT_LOOP=${EVENT_LOOP} CASSANDRA_DIR=${CCM_INSTALL_DIR} DSE_VERSION=${DSE_VERSION} ADS_HOME="${HOME}/" VERIFY_CYTHON=${CYTHON_ENABLED} pynose -s -v --logging-format="[%(levelname)s] %(asctime)s %(thread)d: %(message)s" --with-ignore-docstrings --with-xunit --xunit-file=dse_results.xml tests/integration/advanced/ || true
302
- '''
300
+ if (env. PYTHON_VERSION =~ / 3\. 12\.\d +/ ) {
301
+ echo " Cannot install DSE dependencies for Python 3.12.x. See PYTHON-1368 for more detail."
302
+ }
303
+ else {
304
+ sh label : ' Execute DataStax Enterprise integration tests' , script : ''' #!/bin/bash -lex
305
+ # Load CCM environment variable
306
+ set -o allexport
307
+ . ${HOME}/environment.txt
308
+ set +o allexport
309
+
310
+ EVENT_LOOP=${EVENT_LOOP} CASSANDRA_DIR=${CCM_INSTALL_DIR} DSE_VERSION=${DSE_VERSION} ADS_HOME="${HOME}/" VERIFY_CYTHON=${CYTHON_ENABLED} pynose -s -v --logging-format="[%(levelname)s] %(asctime)s %(thread)d: %(message)s" --with-ignore-docstrings --with-xunit --xunit-file=dse_results.xml tests/integration/advanced/ || true
311
+ '''
312
+ }
303
313
}
304
314
305
- sh label : ' Execute DataStax Constellation integration tests' , script : ''' #!/bin/bash -lex
315
+ sh label : ' Execute DataStax Astra integration tests' , script : ''' #!/bin/bash -lex
306
316
# Load CCM environment variable
307
317
set -o allexport
308
318
. ${HOME}/environment.txt
0 commit comments