Bug 40020 - Python 3.9 deprecation warnings
Summary: Python 3.9 deprecation warnings
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build-python3 (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Ivan Zakharyaschev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-30 11:50 MSK by Stanislav Levin
Modified: 2022-02-02 10:18 MSK (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.