Bug 40020

Summary: Python 3.9 deprecation warnings
Product: Sisyphus Reporter: Stanislav Levin <slev>
Component: rpm-build-python3Assignee: Ivan Zakharyaschev <imz>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: darktemplar, george, glebfm, grenka, imz, iv, kotopesutility, ldv, rider, slev, vitty
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Stanislav Levin 2021-04-30 11:50:21 MSK
Python 3.9 deprecated parser and symbol modules:

https://docs.python.org/3/whatsnew/3.9.html#deprecated

`/usr/lib/rpm/python3.req.py` warns about this:
```
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
/usr/lib/rpm/python3.req.py:6: DeprecationWarning: The parser module is deprecated and will be removed in future versions of Python
  import parser, symbol, token, types
/usr/lib/rpm/python3.req.py:6: DeprecationWarning: The symbol module is deprecated and will be removed in future versions of Python
  import parser, symbol, token, types
```
Comment 1 Grigory Ustinov 2022-02-02 09:19:19 MSK
Уже не актуально.
Comment 2 Stanislav Levin 2022-02-02 10:18:59 MSK
for tracking:
it was fixed in rpm-build-python3 0.1.18-alt1.