"ValueError: too many values to unpack (expected 2)" when there are two dashes in server version number

Description

Hello,

I compiled a Cassandra server from git, so its version number is 4.0.0-alpha2-SNAPSHOT.
When connecting to it, the Python library crashes with:

Environment

None

Status

Assignee

Alan Boudreault

Reporter

progval

Fix versions

Labels

None

Reproduced in

None

PM Priority

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Affects versions

Priority

Major
Configure