mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 00:14:45 +01:00
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:
parent
8f3bfc3536
commit
db26d60283
4 changed files with 6 additions and 6 deletions
2
Pipfile
2
Pipfile
|
@ -4,7 +4,7 @@ url = "https://pypi.org/simple"
|
||||||
verify_ssl = true
|
verify_ssl = true
|
||||||
|
|
||||||
[packages]
|
[packages]
|
||||||
Cython = "*"
|
Cython = "<3"
|
||||||
Jinja2 = "*"
|
Jinja2 = "*"
|
||||||
black = "*"
|
black = "*"
|
||||||
flake8 = "*"
|
flake8 = "*"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools", "wheel", "pkgconfig", "cython"]
|
requires = ["setuptools", "wheel", "pkgconfig", "cython<3"]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
asyncio_mode = "auto"
|
asyncio_mode = "auto"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
jinja2
|
jinja2
|
||||||
black
|
black
|
||||||
cython
|
cython<3
|
||||||
flake8
|
flake8
|
||||||
setuptools
|
setuptools
|
||||||
pkgconfig
|
pkgconfig
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py37,py38,py39,py310
|
envlist = py37,py38,py39,py310,py311
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -7,7 +7,7 @@ deps=
|
||||||
pkgconfig
|
pkgconfig
|
||||||
Jinja2
|
Jinja2
|
||||||
pytest
|
pytest
|
||||||
cython
|
cython<3
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
python setup.py install
|
python setup.py install
|
||||||
|
|
Loading…
Add table
Reference in a new issue