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

Adam Holmberg updated CASSANDRA-16028:
--------------------------------------
    Description: 
{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.

[https://github.com/python/cpython/pull/1646/files#diff-daea55f2fca784d9a64ca8f190403904R267-L272]

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.

  was:
{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.


> 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.
> [https://github.com/python/cpython/pull/1646/files#diff-daea55f2fca784d9a64ca8f190403904R267-L272]
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to