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

Branch 0.8.0 doesn't build on py36; unicode error #571

Closed
jayfurmanek opened this issue Sep 27, 2019 · 7 comments
Closed

Branch 0.8.0 doesn't build on py36; unicode error #571

jayfurmanek opened this issue Sep 27, 2019 · 7 comments

Comments

@jayfurmanek
Copy link

jayfurmanek commented Sep 27, 2019

Hi. I'm trying to pair a TFP build with Tensorflow 1.15 (rc). I picked the TFP 0.8 branch because it has an RC tagged and has 1.15 as a requirement as listed here:

https://github.com/tensorflow/probability/blob/r0.8/tensorflow_probability/__init__.py#L56

This branch doesn't build for me. I'm using python 3.6 (anaconda).

I'm seeing the same problem as discussed in this issue:
#539
and the same fix seems to work - this commit from master:
2c54a4c

Then on the bazel-bin/pip_pkg step, I'm getting a UnicodeDecodeError: 'ascii' codec can't decode error. I found if I revert this commit, which adds in the README, it works:
8bf2f95

Update:
The first problem is fixed now (thanks!)

@brianwa84
Copy link
Contributor

brianwa84 commented Sep 27, 2019 via email

@jayfurmanek
Copy link
Author

OK. thanks! Is there a release that is intended to parallel TF 1.15 then?

I still think the cherry-pick is needed in any case.

@jayfurmanek
Copy link
Author

I do see this commit though:
bb302df

Which is why I was confused a bit.

@brianwa84
Copy link
Contributor

brianwa84 commented Sep 30, 2019 via email

@jayfurmanek
Copy link
Author

jayfurmanek commented Sep 30, 2019

Master seems to be ok for the import problem. I still see the unicode problem though.
I'm using py36, which is why the unicode problem is strange. It's Anacoda py36, but that should'nt make a difference. Pulling the README out does avoid the problem.

I will try to have 0.8.0 compatible with both 1.15 and 2.0, since they are progressing simultaneously.

This is good to know, thanks. I don't see any other issue vs 1.15, but have not really run anything yet since it I thought it was only for 2.0. I can try it a bit more.

@jayfurmanek
Copy link
Author

Thanks for the cherry-pick!
On the README issue, I still see the unicode problem, but only on python 3.6. It works fine on python 3.7, which is odd.

@brianwa84
Copy link
Contributor

brianwa84 commented Oct 2, 2019 via email

@jayfurmanek jayfurmanek changed the title Branch 0.8.0 doesn't build; needs cherry-pick Branch 0.8.0 doesn't build on py36; unicode error Oct 2, 2019
@srvasude srvasude closed this as completed Feb 7, 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

No branches or pull requests

3 participants