-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid pyproject.toml
#899
Comments
For those who can't wait for the next release, you may temporarily use my fork. It just added the
|
I confirm. Faced this problem today. Thx @Rongronggg9 for this solution |
Exactly the same trouble |
For temporary fixing you can use this instructions in your Dockerfile - and delete asyncpg from requirements.txt RUN pip install --upgrade pip RUN pip install asyncpg/dist/* |
In fact, there is a pretty simple solution: |
Python 3.10.3 (main, Mar 18 2022, 05:09:31) [GCC 10.2.1 20210110] on linux
Linux ecd864aa501c 5.10.60-sunxi64 #21.08.1 SMP Wed Aug 25 18:29:57 UTC 2021 aarch64 GNU/Linux
In most cases, it is not really a problem because we have prebuilt wheels. However, this is not true for aarch64 (#870). I'd always built it by myself, but after a recent update of Python (or
setuptools
or some other?), I could never build it successfully.After some tests, I found this issue occurs on amd64 too.
According to PEP 621,
[project]
must contain thename
of the project.apt-get update && apt-get install -y build-essential git --no-install-recommends pip install -U pip setuptools
Build from PyPI:
Or, Build from source:
Output:
The text was updated successfully, but these errors were encountered: