MagicStack / asyncpg

A fast PostgreSQL Database Client Library for Python/asyncio.
Apache License 2.0
6.88k stars 399 forks source link

Populate asyncpg/pgproto directory in source tarball #1012

Closed OTLabs closed 1 year ago

OTLabs commented 1 year ago

I am building the py3-asyncpg package for Alpine Linux and receive following error:

File "/usr/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 816, in create_extension_list
    for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
  File "/usr/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 114, in nonempty
    raise ValueError(error_msg)
ValueError: 'asyncpg/pgproto/pgproto.pyx' doesn't match any files

I assume it is due to the fact the asyncpg/pgproto directory is not populated in published source tarball.

Would it be possible to populate mentioned directory? Or do you have any plans to release py-pgproto as a standalone package?

elprans commented 1 year ago

Fixed in #1045.