Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717636 - <dev-python/pydns-3.2.0 uses 'async' keyword that cannot be used as a attibute name in python 3.7+
Summary: <dev-python/pydns-3.2.0 uses 'async' keyword that cannot be used as a attibut...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 721378
Blocks:
  Show dependency tree
 
Reported: 2020-04-15 23:29 UTC by Pavol Cupka
Modified: 2020-05-19 22:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavol Cupka 2020-04-15 23:29:09 UTC
pydns < 3.2.0 doesn't install for python-3.7+ since with python 3.7, await and async are resevered keywords and cannot be used as attribute names.

upstream bug https://bugs.launchpad.net/py3dns/+bug/1776027

fixed in version 3.2.0, latest version 3.2.1

please bump.

Reproducible: Always

Steps to Reproduce:
1. emerge pydns

Actual Results:  
>>> Compiling source in /var/tmp/portage/dev-python/pydns-3.1.1/work/py3dns-3.1.1 ...
 * python3_8: running distutils-r1_run_phase distutils-r1_python_compile                                                                                                                      
 * DISTUTILS_USE_SETUPTOOLS value is probably incorrect                                                                                                                                       
 *   value:    DISTUTILS_USE_SETUPTOOLS=bdepend (default?)                                                                                                                                    
 *   expected: DISTUTILS_USE_SETUPTOOLS=no                                                                                                                                                    
python3.8 setup.py build -j 4                                                                                                                                                                 
Traceback (most recent call last):                                                             
  File "setup.py", line 7, in <module>                                                         
    import DNS                                                                                 
  File "/var/tmp/portage/dev-python/pydns-3.1.1/work/py3dns-3.1.1/DNS/__init__.py", line 27, in <module>
    from .Base import DnsRequest
  File "/var/tmp/portage/dev-python/pydns-3.1.1/work/py3dns-3.1.1/DNS/Base.py", line 96
    self.async=None
         ^                                                                                                                                                                                    
SyntaxError: invalid syntax    

Expected Results:  
It compiles and installs.