[Bug 2075551] [NEW] SyntaxWarning messages on python3-boto install

Eric Lopez 2075551 at bugs.launchpad.net
Thu Aug 1 22:08:40 UTC 2024


Public bug reported:

Description:	Ubuntu 24.04 LTS
Release:	24.04

apt-cache policy  python3-boto
python3-boto:
  Installed: 2.49.0-4.1
  Candidate: 2.49.0-4.1
  Version table:
 *** 2.49.0-4.1 500
        500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        100 /var/lib/dpkg/status

python3:
  Installed: 3.12.3-0ubuntu1
  Candidate: 3.12.3-0ubuntu1
  Version table:
 *** 3.12.3-0ubuntu1 500
        500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu noble/main amd64 Packages
        100 /var/lib/dpkg/status


Setting up python3-boto (2.49.0-4.1) ...
/usr/lib/python3/dist-packages/boto/__init__.py:1105: SyntaxWarning: invalid escape sequence '\c'
  """
/usr/lib/python3/dist-packages/boto/cloudfront/distribution.py:512: SyntaxWarning: invalid escape sequence '\*'
  """
/usr/lib/python3/dist-packages/boto/cloudsearchdomain/layer1.py:79: SyntaxWarning: invalid escape sequence '\`'
  """
/usr/lib/python3/dist-packages/boto/connection.py:672: SyntaxWarning: invalid escape sequence '\w'
  '(?:(?P<user>[\w\-\.]+):(?P<pass>.*)@)?'
/usr/lib/python3/dist-packages/boto/connection.py:673: SyntaxWarning: invalid escape sequence '\w'
  '(?P<host>[\w\-\.]+)'
/usr/lib/python3/dist-packages/boto/connection.py:674: SyntaxWarning: invalid escape sequence '\d'
  '(?::(?P<port>\d+))?'
/usr/lib/python3/dist-packages/boto/gs/resumable_upload_handler.py:238: SyntaxWarning: invalid escape sequence '\d'
  m = re.search('bytes=(\d+)-(\d+)', range_spec)
/usr/lib/python3/dist-packages/boto/https_connection.py:80: SyntaxWarning: invalid escape sequence '\.'
  host_re = host.replace('.', '\.').replace('*', '[^.]*')
/usr/lib/python3/dist-packages/boto/opsworks/layer1.py:2640: SyntaxWarning: invalid escape sequence '\A'
  """
/usr/lib/python3/dist-packages/boto/pyami/config.py:98: SyntaxWarning: invalid escape sequence '\s'
  match = re.match("^#import[\s\t]*([^\s^\t]*)[\s\t]*$", line)
/usr/lib/python3/dist-packages/boto/redshift/layer1.py:327: SyntaxWarning: invalid escape sequence '\,'
  """
/usr/lib/python3/dist-packages/boto/redshift/layer1.py:2164: SyntaxWarning: invalid escape sequence '\)'
  """
/usr/lib/python3/dist-packages/boto/redshift/layer1.py:2264: SyntaxWarning: invalid escape sequence '\,'
  """
/usr/lib/python3/dist-packages/boto/sdb/db/manager/sdbmanager.py:348: SyntaxWarning: invalid escape sequence '\/'
  match = re.match("^s3:\/\/([^\/]*)\/(.*)$", value.id)
/usr/lib/python3/dist-packages/boto/sdb/db/manager/sdbmanager.py:363: SyntaxWarning: invalid escape sequence '\/'
  match = re.match("^s3:\/\/([^\/]*)\/(.*)$", value)
/usr/lib/python3/dist-packages/boto/sdb/db/property.py:265: SyntaxWarning: invalid escape sequence '\/'
  validate_regex = "^s3:\/\/([^\/]*)\/(.*)$"

** Affects: python-boto (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/2075551

Title:
  SyntaxWarning messages on python3-boto install

Status in python-boto package in Ubuntu:
  New

Bug description:
  Description:	Ubuntu 24.04 LTS
  Release:	24.04

  apt-cache policy  python3-boto
  python3-boto:
    Installed: 2.49.0-4.1
    Candidate: 2.49.0-4.1
    Version table:
   *** 2.49.0-4.1 500
          500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
          100 /var/lib/dpkg/status

  python3:
    Installed: 3.12.3-0ubuntu1
    Candidate: 3.12.3-0ubuntu1
    Version table:
   *** 3.12.3-0ubuntu1 500
          500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu noble/main amd64 Packages
          100 /var/lib/dpkg/status

  
  Setting up python3-boto (2.49.0-4.1) ...
  /usr/lib/python3/dist-packages/boto/__init__.py:1105: SyntaxWarning: invalid escape sequence '\c'
    """
  /usr/lib/python3/dist-packages/boto/cloudfront/distribution.py:512: SyntaxWarning: invalid escape sequence '\*'
    """
  /usr/lib/python3/dist-packages/boto/cloudsearchdomain/layer1.py:79: SyntaxWarning: invalid escape sequence '\`'
    """
  /usr/lib/python3/dist-packages/boto/connection.py:672: SyntaxWarning: invalid escape sequence '\w'
    '(?:(?P<user>[\w\-\.]+):(?P<pass>.*)@)?'
  /usr/lib/python3/dist-packages/boto/connection.py:673: SyntaxWarning: invalid escape sequence '\w'
    '(?P<host>[\w\-\.]+)'
  /usr/lib/python3/dist-packages/boto/connection.py:674: SyntaxWarning: invalid escape sequence '\d'
    '(?::(?P<port>\d+))?'
  /usr/lib/python3/dist-packages/boto/gs/resumable_upload_handler.py:238: SyntaxWarning: invalid escape sequence '\d'
    m = re.search('bytes=(\d+)-(\d+)', range_spec)
  /usr/lib/python3/dist-packages/boto/https_connection.py:80: SyntaxWarning: invalid escape sequence '\.'
    host_re = host.replace('.', '\.').replace('*', '[^.]*')
  /usr/lib/python3/dist-packages/boto/opsworks/layer1.py:2640: SyntaxWarning: invalid escape sequence '\A'
    """
  /usr/lib/python3/dist-packages/boto/pyami/config.py:98: SyntaxWarning: invalid escape sequence '\s'
    match = re.match("^#import[\s\t]*([^\s^\t]*)[\s\t]*$", line)
  /usr/lib/python3/dist-packages/boto/redshift/layer1.py:327: SyntaxWarning: invalid escape sequence '\,'
    """
  /usr/lib/python3/dist-packages/boto/redshift/layer1.py:2164: SyntaxWarning: invalid escape sequence '\)'
    """
  /usr/lib/python3/dist-packages/boto/redshift/layer1.py:2264: SyntaxWarning: invalid escape sequence '\,'
    """
  /usr/lib/python3/dist-packages/boto/sdb/db/manager/sdbmanager.py:348: SyntaxWarning: invalid escape sequence '\/'
    match = re.match("^s3:\/\/([^\/]*)\/(.*)$", value.id)
  /usr/lib/python3/dist-packages/boto/sdb/db/manager/sdbmanager.py:363: SyntaxWarning: invalid escape sequence '\/'
    match = re.match("^s3:\/\/([^\/]*)\/(.*)$", value)
  /usr/lib/python3/dist-packages/boto/sdb/db/property.py:265: SyntaxWarning: invalid escape sequence '\/'
    validate_regex = "^s3:\/\/([^\/]*)\/(.*)$"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-boto/+bug/2075551/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list