Commit Graph

7 Commits

Author SHA1 Message Date
Andrés de la Peña 8fd44ca8fc Upgrade Python driver to 3.29.0
patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-19245
2024-01-19 17:14:57 +00:00
Andrés de la Peña b91c0fcb6e Change cqlsh's min required Python version from 3.6+ to 3.7+
patch by Andrés de la Peña; reviewed by Brandon Williams for CASSANDRA-18960
2023-11-14 11:43:00 +00:00
Stefan Miklosovic ac26b44f9d
Merge branch 'cassandra-4.1' into trunk 2023-07-25 10:43:18 +02:00
Brad Schoening db35833182 update Python test framework from nose to pytest
patch by Brad Schoening; reviewed by Brandon Williams, Berenguer Blasi and Stefan Miklosovic for CASSANDRA-17293
2022-02-20 17:32:11 +01:00
Brad Schoening 1eb7779464 remove python 2 code which is now EOL and unsupported
Patch by Brad Schoening; reviewed by brandonwilliams and bereng for
CASSANDRA-17242
2022-01-26 11:00:25 -06:00
Eduard Tudenhoefner c05443c098
Allow cqlsh to run with Python 2.7/Python 3.6+
* Adds a minimal manual test that starts cqlsh with python3.7 & 3.8 in a Docker container. It also fixes a minor issue when starting up cqlsh with python3.7+, where `webbrowser._tryorder` is `None` as can be seen in https://github.com/python/cpython/blob/3.7/Lib/webbrowser.py#L1. Note that we're checking `webbrowser._tryorder` for `None` instead of doing `webbrowser.get()` because it's likely that there's no default browser installed in a Dockerized environment and so things would fail with `could not locate runnable browser` (https://github.com/python/cpython/blob/3.7/Lib/webbrowser.py#L65)
 * Adds python3.8 testing to CircleCI
 * Fixes some Python warnings that occur with newer versions

 patch by Eduard Tudenhöfner, reviewed by Mick Semb Wever for CASSANDRA-15659
2020-04-14 20:58:40 +02:00
Patrick Bannister bf9a1d487b Make cqlsh and cqlshlib Python 2 & 3 compatible
Patch by Patrick Bannister; reviewed by Dinesh Joshi, Andy Tolbert and David Capwell for CASSANDRA-10190
2020-02-14 10:33:57 -08:00