You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Adam Holmberg (Jira)" <ji...@apache.org> on 2020/08/05 18:05:00 UTC

[jira] [Updated] (CASSANDRA-16028) cqlsh tests broken in Python 3.7+

     [ https://issues.apache.org/jira/browse/CASSANDRA-16028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Holmberg updated CASSANDRA-16028:
--------------------------------------
     Bug Category: Parent values: Code(13163)
       Complexity: Low Hanging Fruit
    Discovered By: Unit Test
    Fix Version/s: 4.0-beta2
         Severity: Low
           Status: Open  (was: Triage Needed)

> cqlsh tests broken in Python 3.7+
> ---------------------------------
>
>                 Key: CASSANDRA-16028
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16028
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/cqlsh
>            Reporter: Adam Holmberg
>            Assignee: Adam Holmberg
>            Priority: Normal
>             Fix For: 4.0-beta2
>
>
> {code:java}
> // cassandra/pylib/cqlshlib/test/run_cqlsh.py", line 221, in read_until
>     if not isinstance(until, re._pattern_type):
> AttributeError: module 're' has no attribute '_pattern_type'
> {code}
> An internal module attribute was changed/removed from Python 3.7 on.
> This breakage did not manifest in CI because the test use the Jenkins host system Python, which is 3.6.
> I have a trivial patch I'll add shortly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org