Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12523

s_all scripts starts failing with python 3.12 version

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.3.0, 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines

      With the Python 3.12 version, the dist scripts are producing the following syntax errors:.

      dist/s_all run started...
      ######### s_all run of: s_readme resulted in:
      <string>:5: SyntaxWarning: invalid escape sequence '\d'
      #########
      ######### s_all run of: s_install resulted in:
      <string>:5: SyntaxWarning: invalid escape sequence '\d'
      #########
      ######### s_all run of: api_config_gen.py resulted in:
      /Users/haribabukommi/work/code/wiredtiger/dist/./api_config.py:99: SyntaxWarning: invalid escape sequence '\c'
        desc += ' between \c ' + cmin + ' and \c ' + cmax
      /Users/haribabukommi/work/code/wiredtiger/dist/./api_config.py:99: SyntaxWarning: invalid escape sequence '\c'
        desc += ' between \c ' + cmin + ' and \c ' + cmax
      /Users/haribabukommi/work/code/wiredtiger/dist/./api_config.py:101: SyntaxWarning: invalid escape sequence '\c'
        desc += ' greater than or equal to \c ' + cmin
      /Users/haribabukommi/work/code/wiredtiger/dist/./api_config.py:103: SyntaxWarning: invalid escape sequence '\c'
        desc += ' no more than \c ' + cmax
      <string>:5: SyntaxWarning: invalid escape sequence '\d'
      <string>:5: SyntaxWarning: invalid escape sequence '\d'
      <string>:5: SyntaxWarning: invalid escape sequence '\d'
      <string>:5: SyntaxWarning: invalid escape sequence '\d'
      /Users/haribabukommi/work/code/wiredtiger/dist/./api_config.py:99: SyntaxWarning: invalid escape sequence '\c'
        desc += ' between \c ' + cmin + ' and \c ' + cmax
      /Users/haribabukommi/work/code/wiredtiger/dist/./api_config.py:99: SyntaxWarning: invalid escape sequence '\c'
        desc += ' between \c ' + cmin + ' and \c ' + cmax
      /Users/haribabukommi/work/code/wiredtiger/dist/./api_config.py:101: SyntaxWarning: invalid escape sequence '\c'
        desc += ' greater than or equal to \c ' + cmin
      /Users/haribabukommi/work/code/wiredtiger/dist/./api_config.py:103: SyntaxWarning: invalid escape sequence '\c'
        desc += ' no more than \c ' + cmax
      <string>:5: SyntaxWarning: invalid escape sequence '\d'
      #########
      ######### s_all run of: api_err.py resulted in:
      /Users/haribabukommi/work/code/wiredtiger/dist/api_err.py:202: SyntaxWarning: invalid escape sequence '\c'
        '@par \c ' + err.name.upper() + '\n' +
      <string>:5: SyntaxWarning: invalid escape sequence '\d'
      <string>:5: SyntaxWarning: invalid escape sequence '\d'
      #########
      ######### s_all run of: flags.py resulted in:
      /Users/haribabukommi/work/code/wiredtiger/dist/flags.py:35: SyntaxWarning: invalid escape sequence '\d'
        m = re.search("\d+", line)
      /Users/haribabukommi/work/code/wiredtiger/dist/flags.py:44: SyntaxWarning: invalid escape sequence '\d'
        m = re.search("\d+", line)
      /Users/haribabukommi/work/code/wiredtiger/dist/flags.py:55: SyntaxWarning: invalid escape sequence '\d'
        m = re.search("\d+", line)
      #########
      ######### s_all run of: log.py resulted in:
      <string>:5: SyntaxWarning: invalid escape sequence '\d'
      #########
      ######### s_all run of: stat.py resulted in:
      /Users/haribabukommi/work/code/wiredtiger/dist/stat.py:103: SyntaxWarning: invalid escape sequence '\c'
        f.write('''
      <string>:5: SyntaxWarning: invalid escape sequence '\d'
      <string>:5: SyntaxWarning: invalid escape sequence '\d'
      #########
      

            Assignee:
            y.ershov@mongodb.com Yury Ershov
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: