Is pypy supported?
See original GitHub issueQuestion - Is cloud-sql-python-connector supported in a pypy runtime?
I’m seeing regular errors (eg 90% of the time) when the ‘Requesting ephemeral certificate’ runs.
2022-09-02T05:37:16.155338489ZTraceback (most recent call last): File "/opt/pypy/lib/pypy3.9/asyncio/tasks.py", line 258, in __step
result = coro.throw(exc) File "/opt/pypy/lib/pypy3.9/site-packages/google/cloud/sql/connector/refresh_utils.py", line 176, in _get_ephemeral resp = await client_session.post( File "/opt/pypy/lib/pypy3.9/site-packages/aiohttp/client.py", line 535, in _request
conn = await self._connector.connect( File "/opt/pypy/lib/pypy3.9/site-packages/aiohttp/connector.py", line 542, in connect proto = await self._create_connection(req, traces, timeout) File "/opt/pypy/lib/pypy3.9/site-packages/aiohttp/connector.py", line 907, in
_create_connection _, proto = await self._create_direct_connection(req, traces, timeout) File "/opt/pypy/lib/pypy3.9/site-
packages/aiohttp/connector.py", line 1175, in _create_direct_connection transp, proto = await self._wrap_create_connection( File
"/opt/pypy/lib/pypy3.9/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa File "/opt/pypy/lib/pypy3.9/asyncio/base_events.py",
line 1050, in create_connection sock = await self._connect_sock( File "/opt/pypy/lib/pypy3.9/asyncio/base_events.py", line 961, in _connect_sock await self.sock_connect(sock, address) File "/opt/pypy/lib/pypy3.9/asyncio/selector_events.py", line 499, in
sock_connect return await fut File "/opt/pypy/lib/pypy3.9/asyncio/futures.py", line 284, in __await__ yield self # This tells Task to wait for completion. File "/opt/pypy/lib/pypy3.9/asyncio/tasks.py", line 328, in __wakeup future.result() File
"/opt/pypy/lib/pypy3.9/asyncio/futures.py", line 196, in result raise exc
Then
2022-09-02T05:37:16.155571559Zasyncio.exceptions.CancelledError
It does randomly occasionally work
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
Frequently Asked Questions - PyPy documentation
On which platforms does PyPy run?¶. PyPy currently supports: x86 machines on most common operating systems (Linux 32/64 bits, Mac OS X 64...
Read more >PyPy - Wikipedia
PyPy does not have full compatibility with more recent versions of the CPython ecosystem. While it claims compatibility with Python 2.7, 3.7, 3.8...
Read more >PyPy Is Faster than Python, but at What Cost?
Looking back, PyPy did not have support for Pandas and NumPy a couple of years ago, but it supports them now. So, there...
Read more >PyPy support - PyO3 user guide
Using PyPy is supported via cpyext. Support is only provided for building Rust extension for code running under PyPy. This means that PyPy...
Read more >What is PyPy? Faster Python without pain - InfoWorld
In addition to supporting all of the core Python language, PyPy works with the vast majority of the tools in the Python ecosystem,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m attempting to put together a minimal reproducible example to demonstrate the problem, hopefully not much longer
I can re-produce this problem and it is not related to PyPy. I’ll open a new issue for it