bali icon indicating copy to clipboard operation
bali copied to clipboard

在python3.12环境下安装bali失败

Open aonoa opened this issue 7 months ago • 0 comments

root@cartdrgdip:/app/pyfgserver# python3 --version
Python 3.12.3
root@cartdrgdip:/app/pyfgserver# pip install bali-core
WARNING: Skipping /usr/lib/python3.12/dist-packages/argcomplete-3.1.4.dist-info due to invalid metadata entry 'name'
Collecting bali-core
  Using cached bali_core-3.5.1-py3-none-any.whl.metadata (10 kB)
Collecting greenlet<=2.0.1,>1.0 (from bali-core)
  Using cached greenlet-2.0.1.tar.gz (163 kB)
  Preparing metadata (setup.py) ... done
Collecting aiomysql (from bali-core)
  Using cached aiomysql-0.2.0-py3-none-any.whl.metadata (11 kB)
Collecting aiosqlite (from bali-core)
  Using cached aiosqlite-0.20.0-py3-none-any.whl.metadata (4.3 kB)
Collecting dateparser>=1.1.0 (from bali-core)
  Using cached dateparser-1.2.0-py2.py3-none-any.whl.metadata (28 kB)
Collecting fastapi<=0.92,>=0.69.0 (from fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached fastapi-0.92.0-py3-none-any.whl.metadata (25 kB)
Collecting fastapi-migrate==0.1.1 (from bali-core)
  Using cached fastapi_migrate-0.1.1-py3-none-any.whl.metadata (425 bytes)
Collecting fastapi-pagination<=0.10,>=0.9.0 (from bali-core)
  Using cached fastapi_pagination-0.10.0-py3-none-any.whl.metadata (7.9 kB)
Collecting grpcio<=1.50.0,>=1.32.0 (from bali-core)
  Using cached grpcio-1.50.0.tar.gz (22.1 MB)
  Preparing metadata (setup.py) ... done
Collecting grpcio-tools<=1.50.0,>=1.32.0 (from bali-core)
  Using cached grpcio-tools-1.50.0.tar.gz (2.3 MB)
  Preparing metadata (setup.py) ... done
Collecting grpc-interceptor==0.15.0 (from bali-core)
  Using cached grpc_interceptor-0.15.0-py3-none-any.whl.metadata (7.4 kB)
Collecting importlib-metadata<5.0.0 (from bali-core)
  Using cached importlib_metadata-4.13.0-py3-none-any.whl.metadata (4.9 kB)
Collecting kombu<6.0,>=5.2.4 (from bali-core)
  Using cached kombu-5.3.7-py3-none-any.whl.metadata (3.1 kB)
Collecting MarkupSafe==2.0.1 (from bali-core)
  Using cached MarkupSafe-2.0.1-cp312-cp312-linux_x86_64.whl
Collecting PyMySQL<=1.0.2,>=0.9 (from bali-core)
  Using cached PyMySQL-1.0.2-py3-none-any.whl.metadata (5.1 kB)
Collecting passlib==1.7.2 (from passlib[bcrypt]==1.7.2->bali-core)
  Using cached passlib-1.7.2-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting pillow<8.4,>=7.2.0 (from bali-core)
  Using cached Pillow-8.3.2.tar.gz (48.8 MB)
  Preparing metadata (setup.py) ... done
Collecting pydantic-sqlalchemy<1,>=0.0.7 (from bali-core)
  Using cached pydantic_sqlalchemy-0.0.9-py3-none-any.whl.metadata (6.1 kB)
Collecting pyhumps (from bali-core)
  Using cached pyhumps-3.8.0-py3-none-any.whl.metadata (4.0 kB)
Collecting pytz==2021.1 (from bali-core)
  Using cached pytz-2021.1-py2.py3-none-any.whl.metadata (21 kB)
Collecting redis<4.3,>=3.5.3 (from bali-core)
  Using cached redis-4.2.2-py3-none-any.whl.metadata (51 kB)
Collecting regex==2022.1.18 (from bali-core)
  Using cached regex-2022.1.18-cp312-cp312-linux_x86_64.whl
Collecting sqla-wrapper<5.6,>=5.0.0 (from bali-core)
  Using cached sqla_wrapper-5.5-py3-none-any.whl.metadata (2.7 kB)
Collecting typer>=0.4 (from bali-core)
  Using cached typer-0.12.3-py3-none-any.whl.metadata (15 kB)
Collecting alembic<2.0.0,>=1.4.2 (from fastapi-migrate==0.1.1->bali-core)
  Using cached alembic-1.13.2-py3-none-any.whl.metadata (7.4 kB)
Collecting click<8.0.0,>=7.1.2 (from fastapi-migrate==0.1.1->bali-core)
  Using cached click-7.1.2-py2.py3-none-any.whl.metadata (2.9 kB)
Requirement already satisfied: bcrypt>=3.1.0 in /usr/lib/python3/dist-packages (from passlib[bcrypt]==1.7.2->bali-core) (3.2.2)
Collecting python-dateutil (from dateparser>=1.1.0->bali-core)
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting tzlocal (from dateparser>=1.1.0->bali-core)
  Using cached tzlocal-5.2-py3-none-any.whl.metadata (7.8 kB)
Collecting pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 (from fastapi<=0.92,>=0.69.0->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached pydantic-1.10.17-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (151 kB)
Collecting starlette<0.26.0,>=0.25.0 (from fastapi<=0.92,>=0.69.0->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached starlette-0.25.0-py3-none-any.whl.metadata (5.8 kB)
Collecting email-validator>=1.1.1 (from fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached email_validator-2.2.0-py3-none-any.whl.metadata (25 kB)
Collecting httpx>=0.23.0 (from fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB)
Requirement already satisfied: itsdangerous>=1.1.0 in /usr/lib/python3.12/dist-packages (from fastapi[all]<=0.92,>=0.69.0->bali-core) (2.2.0)
Requirement already satisfied: jinja2>=2.11.2 in /usr/lib/python3/dist-packages (from fastapi[all]<=0.92,>=0.69.0->bali-core) (3.1.2)
Collecting orjson>=3.2.1 (from fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached orjson-3.10.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (50 kB)
Collecting python-multipart>=0.0.5 (from fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached python_multipart-0.0.9-py3-none-any.whl.metadata (2.5 kB)
Requirement already satisfied: pyyaml>=5.3.1 in /usr/lib/python3/dist-packages (from fastapi[all]<=0.92,>=0.69.0->bali-core) (6.0.1)
Collecting ujson!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,>=4.0.1 (from fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached ujson-5.10.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.3 kB)
Collecting uvicorn>=0.12.0 (from uvicorn[standard]>=0.12.0; extra == "all"->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached uvicorn-0.30.1-py3-none-any.whl.metadata (6.3 kB)
Requirement already satisfied: six>=1.5.2 in /usr/lib/python3/dist-packages (from grpcio<=1.50.0,>=1.32.0->bali-core) (1.16.0)
Collecting protobuf<5.0dev,>=4.21.6 (from grpcio-tools<=1.50.0,>=1.32.0->bali-core)
  Using cached protobuf-4.25.3-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from grpcio-tools<=1.50.0,>=1.32.0->bali-core) (68.1.2)
Collecting zipp>=0.5 (from importlib-metadata<5.0.0->bali-core)
  Using cached zipp-3.19.2-py3-none-any.whl.metadata (3.6 kB)
Collecting amqp<6.0.0,>=5.1.1 (from kombu<6.0,>=5.2.4->bali-core)
  Using cached amqp-5.2.0-py3-none-any.whl.metadata (8.9 kB)
Collecting vine (from kombu<6.0,>=5.2.4->bali-core)
  Using cached vine-5.1.0-py3-none-any.whl.metadata (2.7 kB)
Collecting sqlalchemy<2.0.0,>=1.3.16 (from pydantic-sqlalchemy<1,>=0.0.7->bali-core)
  Using cached SQLAlchemy-1.4.52-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (10 kB)
Collecting deprecated>=1.2.3 (from redis<4.3,>=3.5.3->bali-core)
  Using cached Deprecated-1.2.14-py2.py3-none-any.whl.metadata (5.4 kB)
Requirement already satisfied: packaging>=20.4 in /usr/lib/python3/dist-packages (from redis<4.3,>=3.5.3->bali-core) (24.0)
Collecting async-timeout>=4.0.2 (from redis<4.3,>=3.5.3->bali-core)
  Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
INFO: pip is looking at multiple versions of typer to determine which version is compatible with other requirements. This could take a while.
Collecting typer>=0.4 (from bali-core)
  Using cached typer-0.12.2-py3-none-any.whl.metadata (15 kB)
  Using cached typer-0.12.1-py3-none-any.whl.metadata (15 kB)
  Using cached typer-0.12.0-py3-none-any.whl.metadata (15 kB)
Collecting typer-slim==0.12.0 (from typer-slim[standard]==0.12.0->typer>=0.4->bali-core)
  Using cached typer_slim-0.12.0-py3-none-any.whl.metadata (15 kB)
Collecting typer-cli==0.12.0 (from typer>=0.4->bali-core)
  Using cached typer_cli-0.12.0-py3-none-any.whl.metadata (3.5 kB)
INFO: pip is looking at multiple versions of typer-slim to determine which version is compatible with other requirements. This could take a while.
Collecting typer>=0.4 (from bali-core)
  Using cached typer-0.11.1-py3-none-any.whl.metadata (13 kB)
  Using cached typer-0.11.0-py3-none-any.whl.metadata (13 kB)
INFO: pip is still looking at multiple versions of typer to determine which version is compatible with other requirements. This could take a while.
  Using cached typer-0.10.0-py3-none-any.whl.metadata (14 kB)
Collecting typing-extensions>=3.7.4.3 (from typer>=0.4->bali-core)
  Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting Mako (from alembic<2.0.0,>=1.4.2->fastapi-migrate==0.1.1->bali-core)
  Using cached Mako-1.3.5-py3-none-any.whl.metadata (2.9 kB)
Collecting wrapt<2,>=1.10 (from deprecated>=1.2.3->redis<4.3,>=3.5.3->bali-core)
  Using cached wrapt-1.16.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)
Collecting dnspython>=2.0.0 (from email-validator>=1.1.1->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached dnspython-2.6.1-py3-none-any.whl.metadata (5.8 kB)
Requirement already satisfied: idna>=2.0.0 in /usr/lib/python3/dist-packages (from email-validator>=1.1.1->fastapi[all]<=0.92,>=0.69.0->bali-core) (3.6)
Collecting anyio (from httpx>=0.23.0->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx>=0.23.0->fastapi[all]<=0.92,>=0.69.0->bali-core) (2023.11.17)
Collecting httpcore==1.* (from httpx>=0.23.0->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached httpcore-1.0.5-py3-none-any.whl.metadata (20 kB)
Collecting sniffio (from httpx>=0.23.0->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx>=0.23.0->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Collecting httptools>=0.5.0 (from uvicorn[standard]>=0.12.0; extra == "all"->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached httptools-0.6.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.6 kB)
Collecting python-dotenv>=0.13 (from uvicorn[standard]>=0.12.0; extra == "all"->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB)
Collecting uvloop!=0.15.0,!=0.15.1,>=0.14.0 (from uvicorn[standard]>=0.12.0; extra == "all"->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached uvloop-0.19.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.9 kB)
Collecting watchfiles>=0.13 (from uvicorn[standard]>=0.12.0; extra == "all"->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached watchfiles-0.22.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.9 kB)
Collecting websockets>=10.4 (from uvicorn[standard]>=0.12.0; extra == "all"->fastapi[all]<=0.92,>=0.69.0->bali-core)
  Using cached websockets-12.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)
Using cached bali_core-3.5.1-py3-none-any.whl (47 kB)
Using cached fastapi_migrate-0.1.1-py3-none-any.whl (8.0 kB)
Using cached grpc_interceptor-0.15.0-py3-none-any.whl (20 kB)
Using cached passlib-1.7.2-py2.py3-none-any.whl (507 kB)
Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Using cached dateparser-1.2.0-py2.py3-none-any.whl (294 kB)
Using cached fastapi-0.92.0-py3-none-any.whl (56 kB)
Using cached fastapi_pagination-0.10.0-py3-none-any.whl (21 kB)
Using cached importlib_metadata-4.13.0-py3-none-any.whl (23 kB)
Using cached kombu-5.3.7-py3-none-any.whl (200 kB)
Using cached pydantic_sqlalchemy-0.0.9-py3-none-any.whl (4.5 kB)
Using cached PyMySQL-1.0.2-py3-none-any.whl (43 kB)
Using cached redis-4.2.2-py3-none-any.whl (226 kB)
Using cached sqla_wrapper-5.5-py3-none-any.whl (16 kB)
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Using cached typer-0.10.0-py3-none-any.whl (46 kB)
Using cached aiomysql-0.2.0-py3-none-any.whl (44 kB)
Using cached aiosqlite-0.20.0-py3-none-any.whl (15 kB)
Using cached pyhumps-3.8.0-py3-none-any.whl (6.1 kB)
Using cached alembic-1.13.2-py3-none-any.whl (232 kB)
Using cached amqp-5.2.0-py3-none-any.whl (50 kB)
Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Using cached Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB)
Using cached email_validator-2.2.0-py3-none-any.whl (33 kB)
Using cached httpx-0.27.0-py3-none-any.whl (75 kB)
Using cached httpcore-1.0.5-py3-none-any.whl (77 kB)
Using cached orjson-3.10.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141 kB)
Using cached protobuf-4.25.3-cp37-abi3-manylinux2014_x86_64.whl (294 kB)
Using cached pydantic-1.10.17-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB)
Using cached python_multipart-0.0.9-py3-none-any.whl (22 kB)
Using cached SQLAlchemy-1.4.52-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB)
Using cached starlette-0.25.0-py3-none-any.whl (66 kB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Using cached ujson-5.10.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (53 kB)
Using cached uvicorn-0.30.1-py3-none-any.whl (62 kB)
Using cached vine-5.1.0-py3-none-any.whl (9.6 kB)
Using cached zipp-3.19.2-py3-none-any.whl (9.0 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached tzlocal-5.2-py3-none-any.whl (17 kB)
Using cached anyio-4.4.0-py3-none-any.whl (86 kB)
Using cached dnspython-2.6.1-py3-none-any.whl (307 kB)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Using cached httptools-0.6.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (344 kB)
Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Using cached uvloop-0.19.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB)
Using cached watchfiles-0.22.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
Using cached websockets-12.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (131 kB)
Using cached wrapt-1.16.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (87 kB)
Using cached Mako-1.3.5-py3-none-any.whl (78 kB)
Building wheels for collected packages: greenlet, grpcio, grpcio-tools, pillow
  Building wheel for greenlet (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [158 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-312
      creating build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/__init__.py -> build/lib.linux-x86_64-cpython-312/greenlet
      creating build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/__init__.py -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      creating build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_generator.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_greenlet.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_throw.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/__init__.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_gc.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_cpp.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_generator_nested.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/leakcheck.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_stack_saved.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_contextvars.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_version.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_greenlet_trash.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_extension_interface.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_weakref.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_leaks.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/test_tracing.py -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      running egg_info
      writing src/greenlet.egg-info/PKG-INFO
      writing dependency_links to src/greenlet.egg-info/dependency_links.txt
      writing requirements to src/greenlet.egg-info/requires.txt
      writing top-level names to src/greenlet.egg-info/top_level.txt
      reading manifest file 'src/greenlet.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files found matching 'benchmarks/*.json'
      no previously-included directories found matching 'docs/_build'
      warning: no files found matching '*.py' under directory 'appveyor'
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '*.pyd' found anywhere in distribution
      warning: no previously-included files matching '*.so' found anywhere in distribution
      warning: no previously-included files matching '.coverage' found anywhere in distribution
      adding license file 'LICENSE'
      adding license file 'LICENSE.PSF'
      adding license file 'AUTHORS'
      writing manifest file 'src/greenlet.egg-info/SOURCES.txt'
      copying src/greenlet/greenlet.cpp -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/greenlet.h -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/greenlet_allocator.hpp -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/greenlet_compiler_compat.hpp -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/greenlet_cpython_compat.hpp -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/greenlet_exceptions.hpp -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/greenlet_greenlet.hpp -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/greenlet_internal.hpp -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/greenlet_refs.hpp -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/greenlet_slp_switch.hpp -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/greenlet_thread_state.hpp -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/greenlet_thread_state_dict_cleanup.hpp -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/greenlet_thread_support.hpp -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/slp_platformselect.h -> build/lib.linux-x86_64-cpython-312/greenlet
      copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_arm64_masm.asm -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_arm64_masm.obj -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_arm64_msvc.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_mips_unix.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_s390_unix.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_x32_unix.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/platform/switch_x86_unix.h -> build/lib.linux-x86_64-cpython-312/greenlet/platform
      copying src/greenlet/tests/_test_extension.c -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.linux-x86_64-cpython-312/greenlet/tests
      running build_ext
      building 'greenlet._greenlet' extension
      creating build/temp.linux-x86_64-cpython-312
      creating build/temp.linux-x86_64-cpython-312/src
      creating build/temp.linux-x86_64-cpython-312/src/greenlet
      x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c src/greenlet/greenlet.cpp -o build/temp.linux-x86_64-cpython-312/src/greenlet/greenlet.o
      In file included from src/greenlet/greenlet_internal.hpp:20,
                       from src/greenlet/greenlet.cpp:19:
      src/greenlet/greenlet_greenlet.hpp: In member function ‘void greenlet::PythonState::operator<<(const PyThreadState*)’:
      src/greenlet/greenlet_greenlet.hpp:831:41: error: ‘_PyCFrame’ {aka ‘struct _PyCFrame’} has no member named ‘use_tracing’
        831 |     this->use_tracing = tstate->cframe->use_tracing;
            |                                         ^~~~~~~~~~~
      src/greenlet/greenlet_greenlet.hpp:834:37: error: ‘const PyThreadState’ {aka ‘const struct _ts’} has no member named ‘recursion_limit’; did you mean ‘py_recursion_limit’?
        834 |     this->recursion_depth = tstate->recursion_limit - tstate->recursion_remaining;
            |                                     ^~~~~~~~~~~~~~~
            |                                     py_recursion_limit
      src/greenlet/greenlet_greenlet.hpp:834:63: error: ‘const PyThreadState’ {aka ‘const struct _ts’} has no member named ‘recursion_remaining’; did you mean ‘c_recursion_remaining’?
        834 |     this->recursion_depth = tstate->recursion_limit - tstate->recursion_remaining;
            |                                                               ^~~~~~~~~~~~~~~~~~~
            |                                                               c_recursion_remaining
      src/greenlet/greenlet_greenlet.hpp:848:42: error: ‘const PyThreadState’ {aka ‘const struct _ts’} has no member named ‘trash_delete_nesting’
        848 |     this->trash_delete_nesting = tstate->trash_delete_nesting;
            |                                          ^~~~~~~~~~~~~~~~~~~~
      src/greenlet/greenlet_greenlet.hpp: In member function ‘void greenlet::PythonState::operator>>(PyThreadState*)’:
      src/greenlet/greenlet_greenlet.hpp:867:21: error: ‘_PyCFrame’ {aka ‘struct _PyCFrame’} has no member named ‘use_tracing’
        867 |     tstate->cframe->use_tracing = this->use_tracing;
            |                     ^~~~~~~~~~~
      src/greenlet/greenlet_greenlet.hpp:870:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_remaining’; did you mean ‘c_recursion_remaining’?
        870 |     tstate->recursion_remaining = tstate->recursion_limit - this->recursion_depth;
            |             ^~~~~~~~~~~~~~~~~~~
            |             c_recursion_remaining
      src/greenlet/greenlet_greenlet.hpp:870:43: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_limit’; did you mean ‘py_recursion_limit’?
        870 |     tstate->recursion_remaining = tstate->recursion_limit - this->recursion_depth;
            |                                           ^~~~~~~~~~~~~~~
            |                                           py_recursion_limit
      src/greenlet/greenlet_greenlet.hpp:881:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘trash_delete_nesting’
        881 |     tstate->trash_delete_nesting = this->trash_delete_nesting;
            |             ^~~~~~~~~~~~~~~~~~~~
      src/greenlet/greenlet_greenlet.hpp: In member function ‘void greenlet::PythonState::will_switch_from(PyThreadState*)’:
      src/greenlet/greenlet_greenlet.hpp:891:48: error: ‘_PyCFrame’ {aka ‘struct _PyCFrame’} has no member named ‘use_tracing’
        891 |     this->use_tracing = origin_tstate->cframe->use_tracing;
            |                                                ^~~~~~~~~~~
      src/greenlet/greenlet_greenlet.hpp: In member function ‘void greenlet::PythonState::set_initial_state(const PyThreadState*)’:
      src/greenlet/greenlet_greenlet.hpp:899:37: error: ‘const PyThreadState’ {aka ‘const struct _ts’} has no member named ‘recursion_limit’; did you mean ‘py_recursion_limit’?
        899 |     this->recursion_depth = tstate->recursion_limit - tstate->recursion_remaining;
            |                                     ^~~~~~~~~~~~~~~
            |                                     py_recursion_limit
      src/greenlet/greenlet_greenlet.hpp:899:63: error: ‘const PyThreadState’ {aka ‘const struct _ts’} has no member named ‘recursion_remaining’; did you mean ‘c_recursion_remaining’?
        899 |     this->recursion_depth = tstate->recursion_limit - tstate->recursion_remaining;
            |                                                               ^~~~~~~~~~~~~~~~~~~
            |                                                               c_recursion_remaining
      In file included from /usr/include/c++/13/ext/alloc_traits.h:34,
                       from /usr/include/c++/13/bits/basic_string.h:39,
                       from /usr/include/c++/13/string:54,
                       from src/greenlet/greenlet.cpp:10:
      /usr/include/c++/13/bits/alloc_traits.h: In instantiation of ‘struct std::__allocator_traits_base::__rebind<greenlet::PythonAllocator<_greenlet*>, _greenlet*, void>’:
      /usr/include/c++/13/bits/alloc_traits.h:94:11:   required by substitution of ‘template<class _Alloc, class _Up> using std::__alloc_rebind = typename std::__allocator_traits_base::__rebind<_Alloc, _Up>::type [with _Alloc = greenlet::PythonAllocator<_greenlet*>; _Up = _greenlet*]’
      /usr/include/c++/13/bits/alloc_traits.h:228:8:   required by substitution of ‘template<class _Alloc> template<class _Tp> using std::allocator_traits< <template-parameter-1-1> >::rebind_alloc = std::__alloc_rebind<_Alloc, _Tp> [with _Tp = _greenlet*; _Alloc = greenlet::PythonAllocator<_greenlet*>]’
      /usr/include/c++/13/ext/alloc_traits.h:126:65:   required from ‘struct __gnu_cxx::__alloc_traits<greenlet::PythonAllocator<_greenlet*>, _greenlet*>::rebind<_greenlet*>’
      /usr/include/c++/13/bits/stl_vector.h:88:21:   required from ‘struct std::_Vector_base<_greenlet*, greenlet::PythonAllocator<_greenlet*> >’
      /usr/include/c++/13/bits/stl_vector.h:428:11:   required from ‘class std::vector<_greenlet*, greenlet::PythonAllocator<_greenlet*> >’
      src/greenlet/greenlet_thread_state.hpp:115:16:   required from here
      /usr/include/c++/13/bits/alloc_traits.h:70:31: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_type> must be A
         70 |                         _Tp>::value,
            |                               ^~~~~
      /usr/include/c++/13/bits/alloc_traits.h:70:31: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
      src/greenlet/greenlet.cpp: In function ‘PyObject* mod_get_tstate_trash_delete_nesting(PyObject*)’:
      src/greenlet/greenlet.cpp:3090:36: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘trash_delete_nesting’
       3090 |     return PyLong_FromLong(tstate->trash_delete_nesting);
            |                                    ^~~~~~~~~~~~~~~~~~~~
      error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for greenlet
  Running setup.py clean for greenlet

aonoa avatar Jul 17 '24 09:07 aonoa