Commit ab1a5a25 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

component/pygolang: force to use a fixed cython version until pygolang supports cython3

parent 9171497e
......@@ -10,6 +10,14 @@ parts =
pygolang
gpython-interpreter
[cython-for-pygolang]
recipe = slapos.recipe.build:download-unpacked
url = https://github.com/cython/cython/releases/download/0.29.35/Cython-0.29.35.tar.gz
md5sum = 138dba31e20e178b431a2e403154f906
[pygolang-env]
PYTHONPATH=${cython-for-pygolang:location}
# pygolang is installed from git checkout
[pygolang]
......@@ -17,9 +25,9 @@ recipe = zc.recipe.egg:develop
setup = ${pygolang-repository:location}
egg = pygolang
setup-eggs =
${cython:egg}
setuptools-dso
gevent
environment = pygolang-env
[pygolang-repository]
recipe = slapos.recipe.build:gitclone
......
......@@ -19,8 +19,15 @@ parts =
recipe = zc.recipe.egg:develop
setup = ${wendelin.core-repository:location}
egg = wendelin.core
# we can't directly set pygolang[pyx.build] as setup-egg because buildout will
# complain that the cython version is wrong so we install the dependencies of
# pygolang[pyx.build] manually and we will simply point to the pygolang
# repository in PYTHONPATH
setup-eggs =
${pygolang:egg}[pyx.build]
six
decorator
${pygolang:setup-eggs}
Importing
environment = wendelin.core-env
# dependent eggs that must come through in-tree recipes
......@@ -29,11 +36,11 @@ depends =
${zodbtools:egg}
${numpy:egg}
[wendelin.core-env]
# wendelin.core needs git(dev) and go to build
PATH = ${git:location}/bin:%(PATH)s
GO = ${go:exe}
PYTHONPATH=${cython-for-pygolang:location}:${pygolang:setup}
# wcfs needs this:
[gowork]
......
......@@ -194,6 +194,7 @@ contextlib2 = 0.6.0.post1
croniter = 0.3.25
cryptography = 3.3.2+SlapOSPatched001
cycler = 0.11.0
cython = 3.0.11
dataclasses = 0.8
dateparser = 0.7.6
debugpy = 1.8.1
......@@ -426,6 +427,7 @@ zope.testrunner = 6.6
[versions:sys.version_info < (3,10)]
# keep old statsmodels by default until slapos.toolbox is updated
# this statsmodels need an old cython
statsmodels = 0.11.1
# this is mostly needed for slapos-node
......@@ -448,6 +450,7 @@ certifi = 2020.4.5.1
charset-normalizer = 2.0.12
click = 6.7
cycler = 0.10.0
cython = 0.29.35
distro = 1.6.0
feedparser = 5.2.1
Flask = 1.1.2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment