Package Details: python-asyncpg 0.20.1-1

Git Clone URL: (read-only, click to copy)
Package Base: python-asyncpg
Description: An asyncio PosgtreSQL driver
Upstream URL:
Licenses: Apache
Submitter: None
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 5
Popularity: 0.000037
First Submitted: 2017-01-07 07:07
Last Updated: 2020-05-11 02:00

Latest Comments

minus commented on 2018-08-18 14:02

The package fails to build for me because the download 404's; looking at the github release page the URL seems to be a bit different:



Oddly enough, former URL works in the browser though

gosella commented on 2018-08-05 02:40

Version 0.17.0 is out!

BTW, the tests fail if the system language isn't set to English. You can fix that by calling pytest like this:

LANG=C pytest

Here is a simple patch for PKGBUILD:

Anonymous comment on 2017-05-13 19:29

@thrasibule I finally remembered why I was removing the "include_package_data=True" line from the file. That causes the "*.c" and "*.pyx" source files to be installed in the site-packages directory. I added a patch to remove it again and scan for the sub-modules to ensure only the necessary files are included. I also submitted that fix upstream.

Anonymous comment on 2017-03-02 23:50

@thrasibule Sorry for the delay. I just pushed 0.9.0-1 which should resolve this for you. For some reason that I can't remember now, I was deleting the "include_package_data=True" line from the file during the prep(). After removing that, the package now contains the /usr/lib/python3.6/site-packages/asyncpg/exceptions directory and related files.

thrasibule commented on 2017-02-07 19:47

By setting include_package=True, the install is incomplete. Doing asyncpg from the prompt errors out with "ImportError: cannot import name 'exceptions'". I suggest to use the following patch to fix it:

diff -urN asyncpg-0.8.4-orig/ asyncpg-0.8.4/
--- asyncpg-0.8.4-orig/ 2017-02-07 14:27:15.630575969 -0500
+++ asyncpg-0.8.4/ 2017-02-07 14:27:50.773635252 -0500
@@ -197,7 +197,7 @@
license='Apache License, Version 2.0',
- packages=['asyncpg'],
+ packages=['asyncpg', 'asyncpg.exceptions'],