Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: FTBFS on Python 3.7 Version-Release number of selected component (if applicable): python-pytelegrambotapi-3.6.3-2.fc29 How reproducible: Always. Steps to Reproduce: 1. fedpkg build --target=f29-python 2. 3. Actual results: Build failure: File "/usr/lib/python3.7/site-packages/telebot/util.py", line 146 def async(): ^ SyntaxError: invalid syntax File "/usr/lib/python3.7/site-packages/telebot/__init__.py", line 1353 @util.async() ^ SyntaxError: invalid syntax Expected results: Successful build. Additional info:
Requested upstream to rename public method async() of class util. Created upstream ticket and attached to this bug.
Backported patch from pull request. Now it should builds fine.
Build python-pytelegrambotapi-3.6.3-3.fc29 completed successfully. Requires: python(abi) = 3.7