[mythtv] Question about python

Bill Meek keemllib at gmail.com
Sat Jun 29 21:40:09 UTC 2024


On Saturday 29 June 2024 08:32:55 AM (-05:00), Peter Bennett wrote:

 > I am upgrading my systems to Ubuntu 24.04 and I have a question about 
the python dependencies. Th deb-light script has a number of python 
dependencies listed, among them is python3-future. The full list is as 
follows
 > 
 >  python3-lxml, python3-mysqldb, python3-future , python3-requests, 
python3-requests-cache,
 > 
 > When installing the package there are a number of error messages from 
the python3-future package, see below. Do we still need python3-future? Is 
this anything to worry about?
 > 
 > Peter
 > 
 > Setting up python3-future (0.18.2-6ubuntu2) ...
 > update-alternatives: using /usr/bin/python3-futurize to provide 
/usr/bin/futurize (futurize) in auto mode
 > update-alternatives: using /usr/bin/python3-pasteurize to provide 
/usr/bin/pasteurize (pasteurize) in auto mode
 > 
/usr/lib/python3/dist-packages/future/backports/email/_header_value_parser.py:662: 
SyntaxWarning: invalid escape sequence '\('
 >   '(', '\(').replace(
 > 
/usr/lib/python3/dist-packages/future/backports/email/_header_value_parser.py:663: 
SyntaxWarning: invalid escape sequence '\)'
 >   ')', '\)')
 > 
/usr/lib/python3/dist-packages/future/backports/email/_header_value_parser.py:1349: 
SyntaxWarning: invalid escape sequence '\]'
 > ''.join(ATOM_ENDS).replace('\\','\\\\').replace(']','\]'))).match
 > 
/usr/lib/python3/dist-packages/future/backports/email/_header_value_parser.py:1352: 
SyntaxWarning: invalid escape sequence '\]'
 > ''.join(TOKEN_ENDS).replace('\\','\\\\').replace(']','\]'))).match
 > 
/usr/lib/python3/dist-packages/future/backports/email/_header_value_parser.py:1354: 
SyntaxWarning: invalid escape sequence '\]'
 > ''.join(ATTRIBUTE_ENDS).replace('\\','\\\\').replace(']','\]'))).match
 > 
/usr/lib/python3/dist-packages/future/backports/email/_header_value_parser.py:1357: 
SyntaxWarning: invalid escape sequence '\]'
 >   '\\','\\\\').replace(']','\]'))).match
 > 
/usr/lib/python3/dist-packages/future/backports/email/_header_value_parser.py:1541: 
SyntaxWarning: invalid escape sequence '\ '
 >   """ctext = <printable ascii except \ ( )>
 > 
/usr/lib/python3/dist-packages/future/backports/email/_header_value_parser.py:1876: 
SyntaxWarning: invalid escape sequence '\ '
 >   """ dtext = <printable ascii except \ [ ]> / obs-dtext
 > /usr/lib/python3/dist-packages/future/backports/email/feedparser.py:37: 
SyntaxWarning: invalid escape sequence '\Z'
 >   NLCRE_eol = re.compile('(\r\n|\r|\n)\Z')
 > /usr/lib/python3/dist-packages/future/backports/email/utils.py:68: 
SyntaxWarning: invalid escape sequence '\A'
 > '([^\ud800-\udbff]|\A)[\udc00-\udfff]([^\udc00-\udfff]|\Z)').search
 > /usr/lib/python3/dist-packages/future/backports/html/parser.py:31: 
SyntaxWarning: invalid escape sequence '\s'
 >   tagfind = re.compile('([a-zA-Z][-.a-zA-Z0-9:_]*)(?:\s|/(?!>))*')
 > /usr/lib/python3/dist-packages/future/backports/html/parser.py:79: 
SyntaxWarning: invalid escape sequence '\s'
 >   endtagfind = re.compile('</\s*([a-zA-Z][-.a-zA-Z0-9:_]*)\s*>')
 > /usr/lib/python3/dist-packages/future/backports/http/client.py:1: 
SyntaxWarning: invalid escape sequence '\_'
 >   """HTTP/1.1 client library
 > /usr/lib/python3/dist-packages/future/backports/http/cookiejar.py:212: 
SyntaxWarning: invalid escape sequence '\d'
 >   "(\d\d\d\d) (\d\d):(\d\d):(\d\d) GMT$", re.ASCII)
 > /usr/lib/python3/dist-packages/future/backports/http/cookiejar.py:293: 
SyntaxWarning: invalid escape sequence '\d'
 >   """^
 > /usr/lib/python3/dist-packages/future/backports/http/cookiejar.py:429: 
SyntaxWarning: invalid escape sequence '\s'
 >   non_junk, nr_junk_chars = re.subn("^[=\s;]*", "", text)
 > /usr/lib/python3/dist-packages/future/backports/test/support.py:1977: 
SyntaxWarning: invalid escape sequence '\d'
 >   m = re.match("2.6.(\d{1,2})", kernel_version)
 > /usr/lib/python3/dist-packages/future/backports/urllib/parse.py:957: 
SyntaxWarning: invalid escape sequence '\?'
 >   _queryprog = re.compile('^(.*)\?([^?]*)$')
 > /usr/lib/python3/dist-packages/past/types/oldstr.py:23: SyntaxWarning: 
invalid escape sequence '\d'
 >   """

python3-future isn't used since we're on Python v3. I hadn't removed it 
from Ansible, so just pushed that
for Ubuntu 24+.
-- 
Bill


More information about the mythtv-dev mailing list