Commit 1c49bc84 authored by Jérome Perrin's avatar Jérome Perrin Committed by Thomas Gambier

component/statsmodels: version up 0.13.5 ( py3.11 only )

This comes with a patch because the setup.py does not have version,
which is not supported with our old tooling.
parent c61a3662
[buildout]
extends =
../cython/buildout.cfg
../pandas/buildout.cfg
../scipy/buildout.cfg
......@@ -14,5 +15,18 @@ recipe = zc.recipe.egg:custom
egg = statsmodels
environment = statsmodels-env
setup-eggs =
${numpy:egg}
${pandas:egg}
${scipy:egg}
${cython:egg}
setuptools-dso
statsmodels-patches = ${:_profile_base_location_}/statsmodels-add-setup-version.patch#8bb8eac7375e13fa8104a6aa905ef35c
statsmodels-patch-options = -p1
[statsmodels:sys.version_info < (3,10)]
statsmodels-patches =
statsmodels-patch-options =
[statsmodels:python2]
statsmodels-patches =
statsmodels-patch-options =
add a version to make this package compatible with buildout's easy_install
Fixes this issue:
Installing statsmodels 0.13.5
Caused installation of a distribution:
statsmodels 0.0.0
with a different version.
diff '--color=auto' -ru statsmodels-0.13.5.orig/setup.py statsmodels-0.13.5/setup.py
--- statsmodels-0.13.5.orig/setup.py 2022-11-02 01:54:20.000000000 +0900
+++ statsmodels-0.13.5/setup.py 2023-10-26 14:12:35.157708043 +0900
@@ -387,6 +387,7 @@
setup(
name=DISTNAME,
+ version='0.13.5',
maintainer=MAINTAINER,
ext_modules=extensions,
maintainer_email=MAINTAINER_EMAIL,
......@@ -312,7 +312,7 @@ smmap = 5.0.0
sniffio = 1.3.0
sortedcontainers = 2.4.0
soupsieve = 1.9.5
statsmodels = 0.11.1
statsmodels = 0.13.5+SlapOSPatched001
stevedore = 1.21.0:whl
subprocess32 = 3.5.4
supervisor = 4.1.0
......@@ -353,6 +353,10 @@ zope.interface = 5.4.0
zope.testing = 4.7
zope.testrunner = 5.2
[versions:sys.version_info < (3,10)]
# keep old statsmodels by default until slapos.toolbox is updated
statsmodels = 0.11.1
# this is mostly needed for slapos-node
# it can be removed when slapos-node uses current python3
[versions:sys.version_info < (3,8)]
......@@ -388,6 +392,7 @@ selectors34 = 1.2
slapos.toolbox = 0.128.1
smmap = 0.9.0
smmap2 = 2.0.5
statsmodels = 0.11.1
traitlets = 4.3.3
Werkzeug = 1.0.1
wheel = 0.35.1:whl
......
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