Closed yan12125 closed 2 years ago
It seems that we don't need to close the sessions now. I'll try a test to see if all versions are good.
2e042d75764b0d97097ecdb68304e8b2db5c4303 looks good.
There are some Unclosed connector
warnings in the aiohttp tests run, but it doesn't show up with normal invocations. I'm going to leave it like that.
Thanks! I don't get Unclosed connector
with aiohttp, either.
I'm investigating running nvchecker on Windows. The default pycurl httpclient requires libcurl and makes deployment harder, so I checked the pure-Python httpx httpclient and found some issues that are also reproducible on Arch Linux.
For httpx httpclient, there is an exception upon exit:
On GitHub Actions, the exception is different: (from https://github.com/lilydjwg/nvchecker/actions/runs/2080914454)
aiohttp is also affected per GitHub Actions logs. Moreoever, aiohttp does not work locally for me:
asyncio-related codes may need non-trivial changes.