python fails asyncio tests (py 3.7 & 3.8)

Marco Atzeri marco.atzeri@gmail.com
Tue Dec 29 06:20:49 GMT 2020


On 29.12.2020 06:41, Marco Atzeri wrote:
> On 29.12.2020 01:08, Mark Geisert wrote:
>> Hi Marco,
>>

>>> Hi Mark,
>>> is this the expected result ?
>>>
>>> test_connection_attributes (__main__.TestAPI_UseUnixSocketsPoll) ... 
>>> ERROR
>>> /usr/lib/python3.8/unittest/case.py:704: ResourceWarning: unclosed 
>>> <socket.socket fd=5, family=AddressFamily.AF_UNIX, 
>>> type=SocketKind.SOCK_STREAM, proto=0>
>>>  outcome.errors.clear()
>>>
>>> It does not freeze
>>
>> That's a new error to me; I haven't run that test.  I could have been 
>> more specific in my test instructions.  There are apparently two test 
>> series (which is also news to me).  They are /usr/lib/python3.8/test 
>> and .../unittest.  It seems you were in the latter?  The script to run 
>> is in .../test.  Here's how:
>>      cd /usr/lib/python3.8/test
>>      python3.8 test_asyncore.py -v
>> <
> 
> I run this, but I am building 3.8.6
> I see also other problem around so I am rebuiling without your patch
> to see if this problem is due to the patch or to other
> 

the other problems seem not related to your patch.
I was hoping to release all updated python packages, but the
current problem is blocking

I need to check what is causing this issue :

   File 
"/usr/lib/python3.6/site-packages/pip/_vendor/urllib3/connection.py", 
line 71, in <modul
     class HTTPConnection(_HTTPConnection, object):
   File 
"/usr/lib/python3.6/site-packages/pip/_vendor/urllib3/connection.py", 
line 99, in HTTPCo
     default_socket_options = [(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)]
AttributeError: module 'socket' has no attribute 'TCP_NODELAY'
*** ERROR: pip3.6 install failed



More information about the Cygwin-apps mailing list