Bug 52874

Summary: Ошибки SyntaxWarning при запуске conan
Product: Sisyphus Reporter: Alexander Makeenkov <amakeenk>
Component: conanAssignee: Pavel Vainerman <pv>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: pv
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Alexander Makeenkov 2025-01-30 11:17:00 MSK
Версия пакетв: conan-2.0.8-alt1

Шаги воспроизведения:
```
# apt-get install conan
$ conan --help
$ conan
```

Получаемый результат:
```
/usr/lib/python3/site-packages/patch_ng.py:427: SyntaxWarning: invalid escape sequence '\d'
  re_hunk_start = re.compile(b"^@@ -(\d+)(,(\d+))? \+(\d+)(,(\d+))? @@")
/usr/lib/python3/site-packages/patch_ng.py:578: SyntaxWarning: invalid escape sequence '\s'
  re_filename_date_time = b"^--- ([^\t]+)(?:\s([0-9-]+)\s([0-9:]+)|.*)"
/usr/lib/python3/site-packages/patch_ng.py:621: SyntaxWarning: invalid escape sequence '\+'
  re_filename_date_time = b"^\+\+\+ ([^\t]+)(?:\s([0-9-]+)\s([0-9:]+)|.*)"
/usr/lib/python3/site-packages/patch_ng.py:653: SyntaxWarning: invalid escape sequence '\d'
  match = re.match(b"^@@ -(\d+)(,(\d+))? \+(\d+)(,(\d+))? @@(.*)", line)

Consumer commands
cache      Perform file operations in the local cache (of recipes and/or packages).
config     Manage the Conan configuration in the Conan home.
graph      Compute a dependency graph, without installing or building the binaries.
inspect    Inspect a conanfile.py to return its public fields.
install    Install the requirements specified in a recipe (conanfile.py or conanfile.txt).
list       List existing recipes, revisions, or packages in the cache (by default) or the
             remotes.
lock       Create or manage lockfiles.
profile    Manage profiles.
remote     Manage the remote list and the users authenticated on them.
remove     Remove recipes or packages from local cache or a remote.
search     Search for package recipes in all the remotes (by default), or a remote.
version    Give information about the Conan client version.

```