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...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
Depends on: 721378
  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: ---


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

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 build -j 4                                                                                                                                                                 
Traceback (most recent call last):                                                             
  File "", line 7, in <module>                                                         
    import DNS                                                                                 
  File "/var/tmp/portage/dev-python/pydns-3.1.1/work/py3dns-3.1.1/DNS/", line 27, in <module>
    from .Base import DnsRequest
  File "/var/tmp/portage/dev-python/pydns-3.1.1/work/py3dns-3.1.1/DNS/", line 96
SyntaxError: invalid syntax    

Expected Results:  
It compiles and installs.