From fe5a2d61835b9f7b67139f8a77ce3c3ce2c6012b Mon Sep 17 00:00:00 2001 From: Mathieu GUIGUE Date: Wed, 7 Aug 2019 18:44:31 +0200 Subject: [PATCH 1/4] Update to pystan 2.19 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b973853b..869ee0c3 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ requirements = [] extras_require = { 'core': ['uproot>=2.8.13', 'colorlog', 'PyYAML>=3.13', 'pyparsing>=2.1.5', - 'pystan==2.17.1.0', 'dnspython==1.12.0', + 'pystan==2.19.0.0', 'dnspython==1.12.0', 'pbr==0.10.8', 'cycler==0.10.0', 'lz4', 'six', 'asteval'], 'doc': ['sphinx', 'sphinx_rtd_theme', 'sphinxcontrib-programoutput', 'six', 'colorlog'] } From 060dd9f5afdf47e46d4550947830f19c2dad598d Mon Sep 17 00:00:00 2001 From: Mathieu GUIGUE Date: Wed, 7 Aug 2019 20:14:03 +0200 Subject: [PATCH 2/4] Adding the Development tools installation in the dockerfile; now running the pystan test script works. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 719899d0..62d88b7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM project8/p8compute_dependencies:v0.4.0 as morpho_common +FROM project8/p8compute_dependencies:v0.7.0 as morpho_common ENV MORPHO_TAG=v2.3.3 ENV MORPHO_BUILD_PREFIX=/usr/local/p8/morpho/$MORPHO_TAG @@ -35,3 +35,5 @@ RUN source $MORPHO_BUILD_PREFIX/setup.sh &&\ FROM morpho_common COPY --from=morpho_done $MORPHO_BUILD_PREFIX $MORPHO_BUILD_PREFIX + +RUN yum groupinstall -y 'Development Tools' From f7bd928333f69f3b5d66edce65627df03323c30a Mon Sep 17 00:00:00 2001 From: Mathieu GUIGUE Date: Thu, 8 Aug 2019 12:38:37 +0200 Subject: [PATCH 3/4] Bypassing the missing pystan installation for travis --- tests/test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test.sh b/tests/test.sh index 00eb22b1..b9b748ce 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -1,5 +1,7 @@ #!/bin/bash +pip3 install pystan==2.19.0 + cd IO && python IO_test.py && cd .. cd misc && python misc_test.py && cd .. cd sampling && python sampling_test.py && cd .. \ No newline at end of file From a929d96cad5e97a420ac48b474394675d28a77d7 Mon Sep 17 00:00:00 2001 From: Mathieu GUIGUE Date: Thu, 8 Aug 2019 13:07:54 +0200 Subject: [PATCH 4/4] no need to use pip3 --- tests/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.sh b/tests/test.sh index b9b748ce..708e16f8 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -1,6 +1,6 @@ #!/bin/bash -pip3 install pystan==2.19.0 +pip install pystan==2.19.0 cd IO && python IO_test.py && cd .. cd misc && python misc_test.py && cd ..