← Back to team overview

freeipa team mailing list archive

[Bug 2060298] [NEW] Python 3.12 SyntaxWarnings when installing python3-ipaclient

 

Public bug reported:

On a system with python 3.12 installing the python ipaclient package
(this is on Ubuntu 24.04 using the distro packages) produces the
warnings:

Setting up python3-ipaclient (4.10.2-2) ...
/usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_164/automember.py:19: SyntaxWarning: invalid escape sequence '.'
doc = ("""
/usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_164/group.py:19: SyntaxWarning: invalid escape sequence '\D'
doc = ("""
/usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_164/hbactest.py:19: SyntaxWarning: invalid escape sequence '\A'
doc = ("""
/usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_164/trust.py:19: SyntaxWarning: invalid escape sequence '\D'
doc = ("""
/usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_49/automember.py:19: SyntaxWarning: invalid escape sequence '.'
doc = ("""
/usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_49/group.py:19: SyntaxWarning: invalid escape sequence '\D'
doc = ("""
/usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_49/trust.py:19: SyntaxWarning: invalid escape sequence '\D'
doc = _(""" 

I reported the issue upstream at https://pagure.io/freeipa/issue/9565
where it has already been fixed, including in the 4.10 branch that
Ubuntu 24.04 is on. Please rebase to a version that has that commit
(though it's just a warning shown at install time, so not the end of the
world either).

** Affects: freeipa (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of FreeIPA,
which is subscribed to freeipa in Ubuntu.
https://bugs.launchpad.net/bugs/2060298

Title:
  Python 3.12 SyntaxWarnings when installing python3-ipaclient

Status in freeipa package in Ubuntu:
  New

Bug description:
  On a system with python 3.12 installing the python ipaclient package
  (this is on Ubuntu 24.04 using the distro packages) produces the
  warnings:

  Setting up python3-ipaclient (4.10.2-2) ...
  /usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_164/automember.py:19: SyntaxWarning: invalid escape sequence '.'
  doc = ("""
  /usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_164/group.py:19: SyntaxWarning: invalid escape sequence '\D'
  doc = ("""
  /usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_164/hbactest.py:19: SyntaxWarning: invalid escape sequence '\A'
  doc = ("""
  /usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_164/trust.py:19: SyntaxWarning: invalid escape sequence '\D'
  doc = ("""
  /usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_49/automember.py:19: SyntaxWarning: invalid escape sequence '.'
  doc = ("""
  /usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_49/group.py:19: SyntaxWarning: invalid escape sequence '\D'
  doc = ("""
  /usr/lib/python3/dist-packages/ipaclient/remote_plugins/2_49/trust.py:19: SyntaxWarning: invalid escape sequence '\D'
  doc = _(""" 

  I reported the issue upstream at https://pagure.io/freeipa/issue/9565
  where it has already been fixed, including in the 4.10 branch that
  Ubuntu 24.04 is on. Please rebase to a version that has that commit
  (though it's just a warning shown at install time, so not the end of
  the world either).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/2060298/+subscriptions



Follow ups