Package: python3-uritemplate
Version: 0.6-4
Severity: important

Got following exception with python3.9 (now default for python3) while trying
to run the tests for our code where we react to deprecation warnings etc

    ...
        venvs/dev3/lib/python3.9/site-packages/pyout/__init__.py:10: in <module>
                from pyout.elements import schema
        venvs/dev3/lib/python3.9/site-packages/pyout/elements.py:5: in <module>
                import jsonschema
        /usr/lib/python3/dist-packages/jsonschema/__init__.py:14: in <module>
                from jsonschema._format import (
        /usr/lib/python3/dist-packages/jsonschema/_format.py:411: in <module>
                import uritemplate.exceptions
        E     File "/usr/lib/python3/dist-packages/uritemplate/__init__.py", 
line 36
        E       TEMPLATE = re.compile("{([^\}]+)}")
        E                             ^
        E   SyntaxError: invalid escape sequence \}


This package needs to react to two existing already reported where active
new maintainer upstream probably already addressed this issue:

  1) #945530  python-uritemplate: upstream have changed hands
  2) #974040  python3-uritemplate: New upstream version is available (new 
upstream maintainer)

at least looking at 
https://github.com/python-hyper/uritemplate/blob/master/uritemplate/template.py#L22
        template_re = re.compile('{([^}]+)}')

it seems tobe kosher

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 
'unstable-debug'), (100, 'stable-updates'), (100, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-4-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-uritemplate depends on:
ii  python3  3.9.0-4

python3-uritemplate recommends no packages.

python3-uritemplate suggests no packages.

-- debconf-show failed

Reply via email to