Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1594941 - python-pytelegrambotapi FTBFS on Python 3.7
Summary: python-pytelegrambotapi FTBFS on Python 3.7
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pytelegrambotapi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vitaly Zaitsev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON37
TreeView+ depends on / blocked
 
Reported: 2018-06-25 19:17 UTC by Vitaly Zaitsev
Modified: 2018-07-02 16:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-02 16:35:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github eternnoir pyTelegramBotAPI issues 524 0 None None None 2018-06-25 19:21:31 UTC

Description Vitaly Zaitsev 2018-06-25 19:17:34 UTC
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:

Comment 1 Vitaly Zaitsev 2018-06-25 19:20:21 UTC
Requested upstream to rename public method async() of class util. Created upstream ticket and attached to this bug.

Comment 2 Vitaly Zaitsev 2018-07-02 16:27:19 UTC
Backported patch from pull request. Now it should builds fine.

Comment 3 Vitaly Zaitsev 2018-07-02 16:35:50 UTC
Build python-pytelegrambotapi-3.6.3-3.fc29 completed successfully.
Requires: python(abi) = 3.7


Note You need to log in before you can comment on or make changes to this bug.