[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703473#comment-17703473 ] Jeff Widman commented on CASSANDRA-18088: - Good call [~bschoeni] I came here to report this exact issue! :D > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.8, 4.1.1, 5.0 > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703407#comment-17703407 ] Brad Schoening commented on CASSANDRA-18088: [~brandon.williams] sure, see https://issues.apache.org/jira/browse/CASSANDRA-18354 > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.8, 4.1.1, 5.0 > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703394#comment-17703394 ] Brandon Williams commented on CASSANDRA-18088: -- You are right [~bschoeni], can you open a new ticket to remove those? > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.8, 4.1.1, 5.0 > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703393#comment-17703393 ] Brad Schoening commented on CASSANDRA-18088: [~brandon.williams] I noticed the 4.1.x and trunk commits here appear to have re-introduced 'six' and obsolete python 2.7 conditional checks. I.e., SaferScanner = Py36SaferScanner if six.PY3 else Py2SaferScanner – but there is no Py2SaferScanner anymore. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.8, 4.1.1, 5.0 > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679238#comment-17679238 ] Michael Semb Wever commented on CASSANDRA-18088: Docker images are getting published… > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679168#comment-17679168 ] Ekaterina Dimitrova commented on CASSANDRA-18088: - Sure, but I think [~mck] is already on it based on ASF Slack chat I saw. Still, let me know if you need me for anything. Happy to help > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679121#comment-17679121 ] Brandon Williams commented on CASSANDRA-18088: -- Thanks for the review! We need to begin committing this by first updating the docker images. [~edimitrova] and [~mck], I believe you have access to do this, can you assist? > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678994#comment-17678994 ] Berenguer Blasi commented on CASSANDRA-18088: - +1 across circle, docker, pytests,... release the Kraken! > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678836#comment-17678836 ] Brandon Williams commented on CASSANDRA-18088: -- Rebased: ||Branch||CI|| |[4.0|https://github.com/driftx/cassandra/tree/CASSANDRA-18088-4.0]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/790/workflows/3ef175b4-e9e4-4f76-a7c0-3f644167e136], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/790/workflows/a2632a1d-34af-48c8-86bb-00b1260c4758]| |[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-18088-4.1]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/792/workflows/eb5953ed-394a-4859-9711-a997b4e4b1bb], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/792/workflows/53c70963-1df2-4e77-bfb9-23c1275fc246]| |[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-18088-trunk]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/791/workflows/4f1a4808-ec76-4b87-88d7-21db6a0217a0], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/791/workflows/daf3256a-b9ad-4db0-bf52-42b4c3567b0a]| > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678755#comment-17678755 ] Brandon Williams commented on CASSANDRA-18088: -- I'm unable find to any commits that touch those files that aren't the one I referenced above. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678731#comment-17678731 ] Berenguer Blasi commented on CASSANDRA-18088: - You can see it here for [4.0|https://github.com/apache/cassandra/compare/cassandra-4.0...driftx:cassandra:CASSANDRA-18088-4.0] and here for [4.1|https://github.com/apache/cassandra/compare/cassandra-4.1...driftx:cassandra:CASSANDRA-18088-4.1] i.e. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678694#comment-17678694 ] Brandon Williams commented on CASSANDRA-18088: -- Can you point at the commit so I know we are on the same page? > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678688#comment-17678688 ] Berenguer Blasi commented on CASSANDRA-18088: - Sorry I misled you. I actually meant in 4.0 cassconnect.py, tes_sslhandling, pytest.ini and requirements.txt are touched where they aren't on 4.1 and trunk? > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678678#comment-17678678 ] Brandon Williams commented on CASSANDRA-18088: -- I'll rebase these and put up a new matrix. bq. I noticed the 4.0 PR fixes some tests that are not touched on 4.1 and trunk You are probably talking about [this commit|https://github.com/driftx/cassandra/commit/a131c48d32bf9c033dc4e5b46a2f9ae2b32d5311] which exists because CASSANDRA-17293 didn't go into 4.0, and now it needs it. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678504#comment-17678504 ] Berenguer Blasi commented on CASSANDRA-18088: - All looks good to me. I am only worried about all those feature branches being well behind, like 70 commits or so, hence I would recommend a rebase throughout everything so we don't merge and immediately fail sthg. It shouldn't as we're only touching a reasonably isolated part of the code but I'd still be on the safe side. +1 when everything passes after the rebase. I noticed the 4.0 PR fixes some tests that are not touched on 4.1 and trunk. Everything passes but is that correct? > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678328#comment-17678328 ] Brandon Williams commented on CASSANDRA-18088: -- These trunk failures are surprising, but reproduce so I'm investigating. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678203#comment-17678203 ] Brandon Williams commented on CASSANDRA-18088: -- Here goes another attempt. This incorporates all the circle changes from CASSANDRA-18094, has extra fixes on top of that, uses the docker image from my repo, and runs against CASSANDRA-18121 dtests. ||Branch||CI|| |[4.0|https://github.com/driftx/cassandra/tree/CASSANDRA-18088-4.0]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/784/workflows/2f68ddcb-32df-4079-80a9-562afffc4204], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/784/workflows/91a6b93b-91d1-4917-845d-635c2b6b1585]| |[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-18088-4.1]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/785/workflows/f0beb2f8-690a-49de-a138-8c06049f5954], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/785/workflows/aa585189-d952-4548-8c7e-a241f9dc62b7]| |[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-18088-trunk]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/786/workflows/06694e62-2e88-422b-8710-f7d48d675989], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/786/workflows/188ae4f6-3dc1-4722-8813-80c5df445821]| > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648788#comment-17648788 ] Brandon Williams commented on CASSANDRA-18088: -- Thanks. CCM appears to be the one part of our python ecosystem this ticket doesn't need to reach into. So far. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648774#comment-17648774 ] Stefan Miklosovic commented on CASSANDRA-18088: --- btw there is also CASSANDRA-17861 > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648745#comment-17648745 ] Brandon Williams commented on CASSANDRA-18088: -- And yet another wrinkle: the cqlshlib tests use nose, and nose is more or less dead and doesn't support 3.11 either, so that has to be migrated to pytest. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648588#comment-17648588 ] Brandon Williams commented on CASSANDRA-18088: -- Unfortunately, no,we need A: make the dtests work under 3.11. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648353#comment-17648353 ] Berenguer Blasi commented on CASSANDRA-18088: - Are you saying you A. are going to make dtests repo 3.11 'friendly' or B. that we will add new dtests runs for 3.11? I guess you mean B yes? > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648191#comment-17648191 ] Brandon Williams commented on CASSANDRA-18088: -- There is too much functionality being tested in the dtests' cqlsh_tests to easily divorce them and cqlsh from the same python version support. I've created CASSANDRA-18121 for the dtests and will go back to looking into them. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648181#comment-17648181 ] Brandon Williams commented on CASSANDRA-18088: -- In the image with dependencies I didn't update the source, so it was still built from the apache repo. I've corrected that and uploaded the new image. There's another problem, though. Circle runs 'cqlsh_dtests' with the dtest runner and the [regex flag with 'cql'|https://github.com/apache/cassandra/blob/trunk/.circleci/config-2_1.yml#L2160] passed to it, which effectively means that cqlsh and the dtest repo must move in lockstep with regard to the python version. If 3.11 support is added to cqlsh, because of this, it has to be added to the dtests as well. I looked into updating the dtests and that is going to be significant work worth of its own ticket (to begin with, pytest has to be updated.) I think we should not block having cqlsh work based upon what will work with the dtests, and instead make circle work more like Jenkins does to run the cqlsh tests. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17647580#comment-17647580 ] Berenguer Blasi commented on CASSANDRA-18088: - Weird seems like the new image didn't make it through... In any case I think we chose the right CI strategy for both these tickets > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17647564#comment-17647564 ] Brandon Williams commented on CASSANDRA-18088: -- There's some kind of problem with the 3.11 env I'll have to sort out, but at least we know the image didn't break anything existing. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17647522#comment-17647522 ] Brandon Williams commented on CASSANDRA-18088: -- Here I am killing two birds with one stone: CI under python 3.11 for the sre module changes from this ticket, and testing of the docker image with python 3.11 that we will push for all of CI, if this goes well. This incorporates all the circle changes from CASSANDRA-18094 and uses the docker image from my repo. ||Branch||CI|| |[4.0|https://github.com/driftx/cassandra/tree/CASSANDRA-18088-4.0]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/733/workflows/42d4c66b-a105-42b8-9a4e-b3649d239b25], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/733/workflows/a2b6f194-d410-4947-a9a5-14e44ef770d4]| |[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-18088-4.1]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/735/workflows/4afba4f7-80b9-4028-b2db-3a90f7d8a685], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/735/workflows/c48ca2be-883b-4e80-be64-34c6ceab0790]| |[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-18088-trunk]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/734/workflows/0d5aa254-a6f0-4d63-a76e-d6323bddf024], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/734/workflows/30186daf-5b3a-4cde-8f9f-94f2d35c0360]| > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17645186#comment-17645186 ] Berenguer Blasi commented on CASSANDRA-18088: - Yeah you're right, jenkins is missing them as well. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644415#comment-17644415 ] Brandon Williams commented on CASSANDRA-18088: -- There is not yet equivalency in Jenkins: CASSANDRA-18101 > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644366#comment-17644366 ] Brandon Williams commented on CASSANDRA-18088: -- I'm unable to locate any kind of jenkins equivalent, are you aware of any? I will add the _py311 circle configs to CASSANDRA-18094. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644344#comment-17644344 ] Berenguer Blasi commented on CASSANDRA-18088: - On circle we have [this|https://app.circleci.com/pipelines/github/driftx/cassandra/716/workflows/ec1d8bd6-8e8d-4433-a7be-19a0973d3c77/jobs/8209] i.e. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644284#comment-17644284 ] Brandon Williams commented on CASSANDRA-18088: -- I don't think you are missing anything, but maybe I am. bq. We have '_3' and '_38' jobs, we'd need new '_311' jobs This sounds like a reasonable thing, but where are these '_3' and '_38' jobs? > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644239#comment-17644239 ] Berenguer Blasi commented on CASSANDRA-18088: - [~brandon.williams] both this and 18094 make sense to me. But do we have a CI run where we see the tests being ran under the new image and 3.11 venv? If my eyes aren't fooling me I don't see it. We would need new jenkins and circle jobs. We have '_3' and '_38' jobs, we'd need new '_311' jobs? Am I misunderstanding sthg? > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644009#comment-17644009 ] Brandon Williams commented on CASSANDRA-18088: -- ||Branch||Circle|| |[4.0|https://github.com/driftx/cassandra/tree/CASSANDRA-18088-4.0]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/716/workflows/7c60593b-3af0-4d91-9e96-33fecfa44333], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/716/workflows/6f420576-cdb8-4dcd-8ba9-76b92093db52]| |[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-18088-4.1][j8|https://app.circleci.com/pipelines/github/driftx/cassandra/715/workflows/301a8e1b-0f3c-430a-9d51-eb421e99faf4], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/715/workflows/0c5afcb7-5a44-4e3b-a3b9-80284f44b6ad]| |[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-18088-trunk]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/717/workflows/2139e59d-72cc-4983-b76a-ba4ed131f631]| > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Assignee: Brandon Williams >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18088) cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11
[ https://issues.apache.org/jira/browse/CASSANDRA-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17643065#comment-17643065 ] Brandon Williams commented on CASSANDRA-18088: -- Looks like sre was [moved around|https://github.com/python/cpython/pull/32177/commits/ef52a1326dba8f9becadca052cb0db49b440f10a] so we need to do something like [this|https://github.com/driftx/cassandra/commit/c2c72025c6f5e09dfbee14e1d1b34a6d745a496c]. > cqlsh - module 're' has no attribute 'sre_parse' - with Python 3.11 > --- > > Key: CASSANDRA-18088 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18088 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Aaron Ploetz >Priority: Normal > Fix For: 4.0.x, 4.1.x > > > User reported an error with cqlsh (Cassandra 4.0.7) on Stack Overflow: > [https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error|https://stackoverflow.com/questions/74673247/cannot-able-to-run-cqlsh-due-to-python-attribute-error?noredirect=1#comment131807816_74673247] > > Found out that the user was using Python 3.11, and I was able to reproduce it > with that. > {{% python3.11 bin/cqlsh.py}} > {{Traceback (most recent call last):}} > {{ File "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/cqlsh.py", line > 159, in }} > {{ from cqlshlib import cql3handling, cqlhandling, pylexotron, > sslhandling, cqlshhandling}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cql3handling.py", > line 19, in }} > {{ from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/cqlhandling.py", > line 23, in }} > {{ from cqlshlib import pylexotron, util}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 342, in }} > {{ class ParsingRuleSet:}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/pylexotron.py", > line 343, in ParsingRuleSet}} > {{ RuleSpecScanner = SaferScanner([}} > {{ ^^}} > {{ File > "/Users/aaronploetz/local/apache-cassandra-4.0.7/bin/../pylib/cqlshlib/saferscanner.py", > line 91, in _{_}init{_}_}} > {{ s = re.sre_parse.State()}} > {{ }} > {{AttributeError: module 're' has no attribute 'sre_parse'}} > Appears to be something specific (again) with Python's synchronizing regex > engine (SRE). Works fine with Python 3.10, so there may have been a(nother) > breaking change in that the re module with 3.11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org