[Freedombox-pkg-team] Bug#1075997: Bug#1075997: pagekite: Fail with python 3.12 (AttributeError: module 'ssl' has no attribute 'wrap_socket')
Sunil Mohan Adapa
sunil at medhas.org
Wed Aug 14 02:08:31 BST 2024
On 8/12/24 23:06, Petter Reinholdtsen wrote:
[...]
>
> The service emit some strange messages to journald, but I believe those
> are not relevant for this error and not fatal:
>
> pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/pk.py:1242: SyntaxWarning: invalid escape sequence '\.'
> pagekite[20706]: 'localhost': '((::ffff:)?127\..*|::1)',
> pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/common.py:153: SyntaxWarning: invalid escape sequence '\.'
> pagekite[20706]: SERVICE_DOMAIN_RE = re.compile('\.(' + '|'.join(SERVICE_DOMAINS) + ')$')
> pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/proto/selectables.py:656: SyntaxWarning: invalid escape sequence '\s'
> pagekite[20706]: XMPP_REGEXP = re.compile("<[^>]+\sto=([^\s>]+)[^>]*>")
> pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/proto/filters.py:163: SyntaxWarning: invalid escape sequence '\d'
> pagekite[20706]: HTTP_HEADER = re.compile('(?ism)^(([A-Z]+) ([^\n]+) HTTP/\d+\.\d+\s*)$')
> pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/proto/filters.py:216: SyntaxWarning: invalid escape sequence '\.'
> pagekite[20706]: '(?:wp-admin/(?!admin-ajax|css/)|wp-config\.php'
> pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/proto/filters.py:218: SyntaxWarning: invalid escape sequence '\.'
> pagekite[20706]: '|system32/|\.\.|\.ht(?:access|pass)'
> pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/proto/filters.py:222: SyntaxWarning: invalid escape sequence '\.'
> pagekite[20706]: '|(?:adm[^\n]*|install[^\n]*|setup)\.php)'
> pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/proto/filters.py:224: SyntaxWarning: invalid escape sequence '\d'
> pagekite[20706]: ' HTTP/\d+\.\d+\s*)$')
>
> Perhaps worthy of its own bug report, or to be ignored as not fatal?
>
I have pushed a change to the pagekite repository to fix this. We can
release both packages.
Thanks,
--
Sunil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x36C361440C9BC971.asc
Type: application/pgp-keys
Size: 46335 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/freedombox-pkg-team/attachments/20240813/2bcf31d5/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/freedombox-pkg-team/attachments/20240813/2bcf31d5/attachment-0001.sig>
More information about the Freedombox-pkg-team
mailing list