Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IA-1552 fix ggplot #80

Merged
merged 2 commits into from
Jan 2, 2020
Merged

IA-1552 fix ggplot #80

merged 2 commits into from
Jan 2, 2020

Conversation

Qi77Qi
Copy link
Collaborator

@Qi77Qi Qi77Qi commented Dec 25, 2019

# the next few `sed` lines are workaround for a ggplot bug. See https://github.com/yhat/ggpy/issues/662
&& sed -i 's/pandas.tslib.Timestamp/pandas.Timestamp/g' /usr/local/lib/python3.7/dist-packages/ggplot/stats/smoothers.py \
&& sed -i 's/pd.tslib.Timestamp/pd.Timestamp/g' /usr/local/lib/python3.7/dist-packages/ggplot/stats/smoothers.py \
&& sed -i 's/pd.tslib.Timestamp/pd.Timestamp/g' /usr/local/lib/python3.7/dist-packages/ggplot/utils.py \
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are the fixes for ggplot

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are those the strictest patterns to match? Like would 's/^pandas.tslib.Timestamp$/^pandas.Timestamp$/g' or something stricter be better?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think anywhere pandas.tslib.Timestamp is called will need to be replaced

&& pip3 install google-cloud-datastore==1.10.0 \
&& pip3 install google-cloud-resource-manager==0.30.0 \
&& pip3 install google-cloud-storage==1.23.0 \
&& pip3 install --ignore-installed firecloud==0.16.25 \
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upgrade google-cloud-xxx to latest

&& pip3 install bokeh==1.0.0 \
&& pip3 install pyfasta==0.5.2 \
&& pip3 install markdown==2.4.1 \
&& pip3 install pdoc==0.3.2 \
&& pip3 install pdoc3==0.7.2 \
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pdoc doesn't support python 3...pdoc 3 does

@@ -73,7 +77,7 @@ RUN pip3 -V \
&& pip3 install intel-openmp==2018.0.0 \
&& pip3 install mkl==2018.0.3 \
&& pip3 install readline==6.2 \
&& pip3 install setuptools==36.4.0 \
&& pip3 install setuptools==42.0.2 \
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

six and setuptools are upgraded due to some google-cloud-xxx lib requires higher version

Copy link
Contributor

@kyuksel kyuksel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 with one inline question

@Qi77Qi Qi77Qi merged commit 2a64414 into master Jan 2, 2020
@Qi77Qi Qi77Qi deleted the pandas branch January 2, 2020 15:09
@Qi77Qi Qi77Qi changed the title fix ggplot IA-1552 fix ggplot Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants