Pin cython to below version 3, Python 3.11 support (#320)

* Pin cython to below version 3

Cython 3 includes backwards incompatible changes so it's no longer
possible to install pycapnp from source.

* Add py311 environment

I'm not sure if this is necessary, but 3.11 is out so might as well?
This commit is contained in:
Karl
2023-07-21 09:40:49 +01:00
committed by GitHub
parent 8f3bfc3536
commit db26d60283
4 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools", "wheel", "pkgconfig", "cython"]
requires = ["setuptools", "wheel", "pkgconfig", "cython<3"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_mode = "auto"