[jira] [Updated] (CASSANDRA-15573) Python 3.8 fails to execute cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dinesh Joshi updated CASSANDRA-15573: - Reviewers: Dinesh Joshi > Python 3.8 fails to execute cqlsh > - > > Key: CASSANDRA-15573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15573 > Project: Cassandra > Issue Type: Bug > Components: Tool/cqlsh >Reporter: Yuki Morishita >Priority: Normal > > Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see > https://bugs.python.org/issue34681 and corresponding pull request > https://github.com/python/cpython/pull/9310) > So when executing cqlsh with Python 3.8, it throws error: > {code} > Traceback (most recent call last): > File ".\bin\cqlsh.py", line 175, in > from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, > cqlshhandling > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, > in > from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, > in > from cqlshlib import pylexotron, util > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, > in > class ParsingRuleSet: > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, > in ParsingRuleSet > RuleSpecScanner = SaferScanner([ > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, > in __init__ > s = re.sre_parse.Pattern() > AttributeError: module 'sre_parse' has no attribute 'Pattern' > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-15573) Python 3.8 fails to execute cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuki Morishita updated CASSANDRA-15573: --- Parent: CASSANDRA-15659 Workflow: Cassandra Default Workflow (was: Cassandra Bug Workflow) Issue Type: Sub-task (was: Bug) > Python 3.8 fails to execute cqlsh > - > > Key: CASSANDRA-15573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15573 > Project: Cassandra > Issue Type: Sub-task > Components: Tool/cqlsh >Reporter: Yuki Morishita >Priority: Normal > > Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see > https://bugs.python.org/issue34681 and corresponding pull request > https://github.com/python/cpython/pull/9310) > So when executing cqlsh with Python 3.8, it throws error: > {code} > Traceback (most recent call last): > File ".\bin\cqlsh.py", line 175, in > from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, > cqlshhandling > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, > in > from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, > in > from cqlshlib import pylexotron, util > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, > in > class ParsingRuleSet: > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, > in ParsingRuleSet > RuleSpecScanner = SaferScanner([ > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, > in __init__ > s = re.sre_parse.Pattern() > AttributeError: module 'sre_parse' has no attribute 'Pattern' > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-15573) Python 3.8 fails to execute cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CASSANDRA-15573: --- Labels: pull-request-available (was: ) > Python 3.8 fails to execute cqlsh > - > > Key: CASSANDRA-15573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15573 > Project: Cassandra > Issue Type: Sub-task > Components: Tool/cqlsh >Reporter: Yuki Morishita >Assignee: Eduard Tudenhoefner >Priority: Normal > Labels: pull-request-available > > Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see > https://bugs.python.org/issue34681 and corresponding pull request > https://github.com/python/cpython/pull/9310) > So when executing cqlsh with Python 3.8, it throws error: > {code} > Traceback (most recent call last): > File ".\bin\cqlsh.py", line 175, in > from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, > cqlshhandling > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, > in > from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, > in > from cqlshlib import pylexotron, util > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, > in > class ParsingRuleSet: > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, > in ParsingRuleSet > RuleSpecScanner = SaferScanner([ > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, > in __init__ > s = re.sre_parse.Pattern() > AttributeError: module 'sre_parse' has no attribute 'Pattern' > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-15573) Python 3.8 fails to execute cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eduard Tudenhoefner updated CASSANDRA-15573: Change Category: Operability Complexity: Low Hanging Fruit Fix Version/s: 4.0-alpha Status: Open (was: Triage Needed) > Python 3.8 fails to execute cqlsh > - > > Key: CASSANDRA-15573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15573 > Project: Cassandra > Issue Type: Sub-task > Components: Tool/cqlsh >Reporter: Yuki Morishita >Assignee: Eduard Tudenhoefner >Priority: Normal > Labels: pull-request-available > Fix For: 4.0-alpha > > Time Spent: 10m > Remaining Estimate: 0h > > Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see > https://bugs.python.org/issue34681 and corresponding pull request > https://github.com/python/cpython/pull/9310) > So when executing cqlsh with Python 3.8, it throws error: > {code} > Traceback (most recent call last): > File ".\bin\cqlsh.py", line 175, in > from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, > cqlshhandling > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, > in > from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, > in > from cqlshlib import pylexotron, util > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, > in > class ParsingRuleSet: > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, > in ParsingRuleSet > RuleSpecScanner = SaferScanner([ > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, > in __init__ > s = re.sre_parse.Pattern() > AttributeError: module 'sre_parse' has no attribute 'Pattern' > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-15573) Python 3.8 fails to execute cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eduard Tudenhoefner updated CASSANDRA-15573: Test and Documentation Plan: https://github.com/apache/cassandra/pull/518 Status: Patch Available (was: In Progress) ||[Patch|https://github.com/apache/cassandra/pull/518]||[CircleCI|https://app.circleci.com/pipelines/github/nastra/cassandra/18/workflows/0549d320-a53d-4bff-b8d8-56d1a4ccc8bf]||[Docker Image update|https://github.com/apache/cassandra-builds/pull/17]|| > Python 3.8 fails to execute cqlsh > - > > Key: CASSANDRA-15573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15573 > Project: Cassandra > Issue Type: Sub-task > Components: Tool/cqlsh >Reporter: Yuki Morishita >Assignee: Eduard Tudenhoefner >Priority: Normal > Labels: pull-request-available > Fix For: 4.0-alpha > > Time Spent: 10m > Remaining Estimate: 0h > > Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see > https://bugs.python.org/issue34681 and corresponding pull request > https://github.com/python/cpython/pull/9310) > So when executing cqlsh with Python 3.8, it throws error: > {code} > Traceback (most recent call last): > File ".\bin\cqlsh.py", line 175, in > from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, > cqlshhandling > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, > in > from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, > in > from cqlshlib import pylexotron, util > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, > in > class ParsingRuleSet: > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, > in ParsingRuleSet > RuleSpecScanner = SaferScanner([ > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, > in __init__ > s = re.sre_parse.Pattern() > AttributeError: module 'sre_parse' has no attribute 'Pattern' > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-15573) Python 3.8 fails to execute cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eduard Tudenhoefner updated CASSANDRA-15573: Description: Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see https://bugs.python.org/issue34681 and corresponding pull request https://github.com/python/cpython/pull/9310) So when executing cqlsh with Python 3.8, it throws error: {code} Traceback (most recent call last): File ".\bin\cqlsh.py", line 175, in from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, cqlshhandling File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, in from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, in from cqlshlib import pylexotron, util File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, in class ParsingRuleSet: File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, in ParsingRuleSet RuleSpecScanner = SaferScanner([ File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, in __init__ s = re.sre_parse.Pattern() AttributeError: module 'sre_parse' has no attribute 'Pattern' {code} h2. Summary of Work that was done Added a Python 3.8 compatible SafeScanner implementation. Note that the changes from CASSANDRA-15659 are required in order to verify that the issue is fixed. was: Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see https://bugs.python.org/issue34681 and corresponding pull request https://github.com/python/cpython/pull/9310) So when executing cqlsh with Python 3.8, it throws error: {code} Traceback (most recent call last): File ".\bin\cqlsh.py", line 175, in from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, cqlshhandling File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, in from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, in from cqlshlib import pylexotron, util File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, in class ParsingRuleSet: File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, in ParsingRuleSet RuleSpecScanner = SaferScanner([ File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, in __init__ s = re.sre_parse.Pattern() AttributeError: module 'sre_parse' has no attribute 'Pattern' {code} > Python 3.8 fails to execute cqlsh > - > > Key: CASSANDRA-15573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15573 > Project: Cassandra > Issue Type: Sub-task > Components: Tool/cqlsh >Reporter: Yuki Morishita >Assignee: Eduard Tudenhoefner >Priority: Normal > Labels: pull-request-available > Fix For: 4.0-alpha > > Time Spent: 10m > Remaining Estimate: 0h > > Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see > https://bugs.python.org/issue34681 and corresponding pull request > https://github.com/python/cpython/pull/9310) > So when executing cqlsh with Python 3.8, it throws error: > {code} > Traceback (most recent call last): > File ".\bin\cqlsh.py", line 175, in > from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, > cqlshhandling > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, > in > from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, > in > from cqlshlib import pylexotron, util > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, > in > class ParsingRuleSet: > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, > in ParsingRuleSet > RuleSpecScanner = SaferScanner([ > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, > in __init__ > s = re.sre_parse.Pattern() > AttributeError: module 'sre_parse' has no attribute 'Pattern' > {code} > h2. Summary of Work that was done > Added a Python 3.8 compatible SafeScanner implementation. Note that the > changes from CASSANDRA-15659 are required in order to verify that the issue > is fixed. -- This message was sent by Atlassian Jira (v8.3.4#803005) -
[jira] [Updated] (CASSANDRA-15573) Python 3.8 fails to execute cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eduard Tudenhoefner updated CASSANDRA-15573: Description: Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see [https://bugs.python.org/issue34681] and corresponding pull request [https://github.com/python/cpython/pull/9310]) So when executing cqlsh with Python 3.8, it throws error: {code:java} Traceback (most recent call last): File ".\bin\cqlsh.py", line 175, in from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, cqlshhandling File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, in from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, in from cqlshlib import pylexotron, util File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, in class ParsingRuleSet: File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, in ParsingRuleSet RuleSpecScanner = SaferScanner([ File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, in __init__ s = re.sre_parse.Pattern() AttributeError: module 'sre_parse' has no attribute 'Pattern' {code} h2. Summary of Work that was done Added a Python 3.8 compatible SaferScanner implementation. Note that the changes from CASSANDRA-15659 are required in order to verify that the issue is fixed. was: Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see https://bugs.python.org/issue34681 and corresponding pull request https://github.com/python/cpython/pull/9310) So when executing cqlsh with Python 3.8, it throws error: {code} Traceback (most recent call last): File ".\bin\cqlsh.py", line 175, in from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, cqlshhandling File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, in from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, in from cqlshlib import pylexotron, util File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, in class ParsingRuleSet: File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, in ParsingRuleSet RuleSpecScanner = SaferScanner([ File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, in __init__ s = re.sre_parse.Pattern() AttributeError: module 'sre_parse' has no attribute 'Pattern' {code} h2. Summary of Work that was done Added a Python 3.8 compatible SafeScanner implementation. Note that the changes from CASSANDRA-15659 are required in order to verify that the issue is fixed. > Python 3.8 fails to execute cqlsh > - > > Key: CASSANDRA-15573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15573 > Project: Cassandra > Issue Type: Sub-task > Components: Tool/cqlsh >Reporter: Yuki Morishita >Assignee: Eduard Tudenhoefner >Priority: Normal > Labels: pull-request-available > Fix For: 4.0-alpha > > Time Spent: 10m > Remaining Estimate: 0h > > Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see > [https://bugs.python.org/issue34681] and corresponding pull request > [https://github.com/python/cpython/pull/9310]) > So when executing cqlsh with Python 3.8, it throws error: > {code:java} > Traceback (most recent call last): > File ".\bin\cqlsh.py", line 175, in > from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, > cqlshhandling > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, > in > from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, > in > from cqlshlib import pylexotron, util > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, > in > class ParsingRuleSet: > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, > in ParsingRuleSet > RuleSpecScanner = SaferScanner([ > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, > in __init__ > s = re.sre_parse.Pattern() > AttributeError: module 'sre_parse' has no attribute 'Pattern' > {code} > h2. Summary of Work that was done > Added a Python 3.8 compatible SaferScan
[jira] [Updated] (CASSANDRA-15573) Python 3.8 fails to execute cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eduard Tudenhoefner updated CASSANDRA-15573: Description: Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see [https://bugs.python.org/issue34681] and corresponding pull request [https://github.com/python/cpython/pull/9310]) So when executing cqlsh with Python 3.8, it throws error: {code:java} Traceback (most recent call last): File ".\bin\cqlsh.py", line 175, in from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, cqlshhandling File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, in from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, in from cqlshlib import pylexotron, util File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, in class ParsingRuleSet: File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, in ParsingRuleSet RuleSpecScanner = SaferScanner([ File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, in __init__ s = re.sre_parse.Pattern() AttributeError: module 'sre_parse' has no attribute 'Pattern' {code} h2. Summary of Work that was done Added a Python 3.8 compatible SaferScanner implementation ([diff here|https://github.com/apache/cassandra/pull/518/commits/2e6813f0ef5817e5d8d655052d61ce75a5fc062c]). Note that the changes from CASSANDRA-15659 are required in order to verify that the issue is fixed. was: Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see [https://bugs.python.org/issue34681] and corresponding pull request [https://github.com/python/cpython/pull/9310]) So when executing cqlsh with Python 3.8, it throws error: {code:java} Traceback (most recent call last): File ".\bin\cqlsh.py", line 175, in from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, cqlshhandling File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, in from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, in from cqlshlib import pylexotron, util File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, in class ParsingRuleSet: File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, in ParsingRuleSet RuleSpecScanner = SaferScanner([ File "C:\Users\Yuki Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, in __init__ s = re.sre_parse.Pattern() AttributeError: module 'sre_parse' has no attribute 'Pattern' {code} h2. Summary of Work that was done Added a Python 3.8 compatible SaferScanner implementation. Note that the changes from CASSANDRA-15659 are required in order to verify that the issue is fixed. > Python 3.8 fails to execute cqlsh > - > > Key: CASSANDRA-15573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15573 > Project: Cassandra > Issue Type: Sub-task > Components: Tool/cqlsh >Reporter: Yuki Morishita >Assignee: Eduard Tudenhoefner >Priority: Normal > Labels: pull-request-available > Fix For: 4.0-alpha > > Time Spent: 10m > Remaining Estimate: 0h > > Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see > [https://bugs.python.org/issue34681] and corresponding pull request > [https://github.com/python/cpython/pull/9310]) > So when executing cqlsh with Python 3.8, it throws error: > {code:java} > Traceback (most recent call last): > File ".\bin\cqlsh.py", line 175, in > from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, > cqlshhandling > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, > in > from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, > in > from cqlshlib import pylexotron, util > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, > in > class ParsingRuleSet: > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, > in ParsingRuleSet > RuleSpecScanner = SaferScanner([ > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, > in __init__ > s = re.sre_parse.Pattern() > AttributeError: module 'sre_pa
[jira] [Updated] (CASSANDRA-15573) Python 3.8 fails to execute cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eduard Tudenhoefner updated CASSANDRA-15573: Reviewers: Dinesh Joshi, Michael Semb Wever (was: Dinesh Joshi) > Python 3.8 fails to execute cqlsh > - > > Key: CASSANDRA-15573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15573 > Project: Cassandra > Issue Type: Sub-task > Components: Tool/cqlsh >Reporter: Yuki Morishita >Assignee: Eduard Tudenhoefner >Priority: Normal > Labels: pull-request-available > Fix For: 4.0-alpha > > Time Spent: 10m > Remaining Estimate: 0h > > Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see > [https://bugs.python.org/issue34681] and corresponding pull request > [https://github.com/python/cpython/pull/9310]) > So when executing cqlsh with Python 3.8, it throws error: > {code:java} > Traceback (most recent call last): > File ".\bin\cqlsh.py", line 175, in > from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, > cqlshhandling > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, > in > from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, > in > from cqlshlib import pylexotron, util > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, > in > class ParsingRuleSet: > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, > in ParsingRuleSet > RuleSpecScanner = SaferScanner([ > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, > in __init__ > s = re.sre_parse.Pattern() > AttributeError: module 'sre_parse' has no attribute 'Pattern' > {code} > h2. Summary of Work that was done > Added a Python 3.8 compatible SaferScanner implementation ([diff > here|https://github.com/apache/cassandra/pull/518/commits/2e6813f0ef5817e5d8d655052d61ce75a5fc062c]). > Note that the changes from CASSANDRA-15659 are required in order to verify > that the issue is fixed. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-15573) Python 3.8 fails to execute cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-15573: --- Reviewers: Dinesh Joshi, Michael Semb Wever, Michael Semb Wever (was: Dinesh Joshi, Michael Semb Wever) Dinesh Joshi, Michael Semb Wever, Michael Semb Wever (was: Dinesh Joshi, Michael Semb Wever) Status: Review In Progress (was: Patch Available) > Python 3.8 fails to execute cqlsh > - > > Key: CASSANDRA-15573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15573 > Project: Cassandra > Issue Type: Sub-task > Components: Tool/cqlsh >Reporter: Yuki Morishita >Assignee: Eduard Tudenhoefner >Priority: Normal > Labels: pull-request-available > Fix For: 4.0-alpha > > Time Spent: 10m > Remaining Estimate: 0h > > Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see > [https://bugs.python.org/issue34681] and corresponding pull request > [https://github.com/python/cpython/pull/9310]) > So when executing cqlsh with Python 3.8, it throws error: > {code:java} > Traceback (most recent call last): > File ".\bin\cqlsh.py", line 175, in > from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, > cqlshhandling > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, > in > from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, > in > from cqlshlib import pylexotron, util > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, > in > class ParsingRuleSet: > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, > in ParsingRuleSet > RuleSpecScanner = SaferScanner([ > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, > in __init__ > s = re.sre_parse.Pattern() > AttributeError: module 'sre_parse' has no attribute 'Pattern' > {code} > h2. Summary of Work that was done > Added a Python 3.8 compatible SaferScanner implementation ([diff > here|https://github.com/apache/cassandra/pull/518/commits/2e6813f0ef5817e5d8d655052d61ce75a5fc062c]). > Note that the changes from CASSANDRA-15659 are required in order to verify > that the issue is fixed. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-15573) Python 3.8 fails to execute cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-15573: --- Status: Ready to Commit (was: Review In Progress) > Python 3.8 fails to execute cqlsh > - > > Key: CASSANDRA-15573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15573 > Project: Cassandra > Issue Type: Sub-task > Components: Tool/cqlsh >Reporter: Yuki Morishita >Assignee: Eduard Tudenhoefner >Priority: Normal > Labels: pull-request-available > Fix For: 4.0-alpha > > Time Spent: 10m > Remaining Estimate: 0h > > Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see > [https://bugs.python.org/issue34681] and corresponding pull request > [https://github.com/python/cpython/pull/9310]) > So when executing cqlsh with Python 3.8, it throws error: > {code:java} > Traceback (most recent call last): > File ".\bin\cqlsh.py", line 175, in > from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, > cqlshhandling > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, > in > from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, > in > from cqlshlib import pylexotron, util > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, > in > class ParsingRuleSet: > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, > in ParsingRuleSet > RuleSpecScanner = SaferScanner([ > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, > in __init__ > s = re.sre_parse.Pattern() > AttributeError: module 'sre_parse' has no attribute 'Pattern' > {code} > h2. Summary of Work that was done > Added a Python 3.8 compatible SaferScanner implementation ([diff > here|https://github.com/apache/cassandra/pull/518/commits/2e6813f0ef5817e5d8d655052d61ce75a5fc062c]). > Note that the changes from CASSANDRA-15659 are required in order to verify > that the issue is fixed. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-15573) Python 3.8 fails to execute cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-15573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-15573: --- Source Control Link: https://github.com/apache/cassandra/commit/24c8a21c1c131abd89c6b646343ff098d1b3263b Resolution: Fixed Status: Resolved (was: Ready to Commit) Committed as 24c8a21c1c131abd89c6b646343ff098d1b3263b > Python 3.8 fails to execute cqlsh > - > > Key: CASSANDRA-15573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15573 > Project: Cassandra > Issue Type: Sub-task > Components: Tool/cqlsh >Reporter: Yuki Morishita >Assignee: Eduard Tudenhoefner >Priority: Normal > Labels: pull-request-available > Fix For: 4.0-alpha > > Time Spent: 10m > Remaining Estimate: 0h > > Python 3.8 renamed sre_parse.Pattern to sre_parse.State (see > [https://bugs.python.org/issue34681] and corresponding pull request > [https://github.com/python/cpython/pull/9310]) > So when executing cqlsh with Python 3.8, it throws error: > {code:java} > Traceback (most recent call last): > File ".\bin\cqlsh.py", line 175, in > from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, > cqlshhandling > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cql3handling.py", line 19, > in > from cqlshlib.cqlhandling import CqlParsingRuleSet, Hint > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\cqlhandling.py", line 23, > in > from cqlshlib import pylexotron, util > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 342, > in > class ParsingRuleSet: > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\pylexotron.py", line 343, > in ParsingRuleSet > RuleSpecScanner = SaferScanner([ > File "C:\Users\Yuki > Morishita\Projects\cassandra\bin\..\pylib\cqlshlib\saferscanner.py", line 74, > in __init__ > s = re.sre_parse.Pattern() > AttributeError: module 'sre_parse' has no attribute 'Pattern' > {code} > h2. Summary of Work that was done > Added a Python 3.8 compatible SaferScanner implementation ([diff > here|https://github.com/apache/cassandra/pull/518/commits/2e6813f0ef5817e5d8d655052d61ce75a5fc062c]). > Note that the changes from CASSANDRA-15659 are required in order to verify > that the issue is fixed. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org