Commit Graph

2 Commits

Author SHA1 Message Date
Mick Semb Wever aa2494b30b
Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Missing license info and headers
2023-08-31 22:39:56 +02: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