-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
chore: Upgrade html5lib to version 1.1. #5490
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of this!
I chose to use the PyPi URL for the download of the dependency as I had difficulties finding the sha256 hashes for the version of the library at mirror.tensorflow.org and github.com (they differ from the PyPi one).
It's fine to just generate the sha256 hash locally - i.e. download the tarball and compute the hash yourself. In this case it might be easier to still do that, since the github one is already mirrored (see other comment).
FWIW, to justify that a little - the point of the hash isn't really to verify the integrity of the file that you're downloading today from the server, because in general we assume you're downloading it via HTTPS, on a reasonably secure machine and network, etc, and it doesn't really add much protection to separately get a hash from the same server rather than just computing it yourself. The point is to ensure the server doesn't change the contents of the file in the future. That way, we reduce the amount of trust we need to have from "I trust this server in perpetuity" to "I trust this server right now, today".
As noted by tensorflow#5478 , tensorboard fails when run in a python 3.10 environment. The reporter fortunately discovered that the problems would be fixed with an upgrade of our html5lib dependency. I tested by building a python3.10 virtualenv on my machine (this required building python 3.10 from source as we don't have it natively). I also ran the tensorboard with some logdirs and did some basic sanity. I specifically checked that markdown rendering seemed to be working for a couple text plugin logs that I have.
As noted by #5478 , tensorboard fails when run in a python 3.10 environment. The reporter fortunately discovered that the problems would be fixed with an upgrade of our html5lib dependency. I tested by building a python3.10 virtualenv on my machine (this required building python 3.10 from source as we don't have it natively). I also ran the tensorboard with some logdirs and did some basic sanity. I specifically checked that markdown rendering seemed to be working for a couple text plugin logs that I have.
As noted by tensorflow#5478 , tensorboard fails when run in a python 3.10 environment. The reporter fortunately discovered that the problems would be fixed with an upgrade of our html5lib dependency. I tested by building a python3.10 virtualenv on my machine (this required building python 3.10 from source as we don't have it natively). I also ran the tensorboard with some logdirs and did some basic sanity. I specifically checked that markdown rendering seemed to be working for a couple text plugin logs that I have.
As noted by tensorflow#5478 , tensorboard fails when run in a python 3.10 environment. The reporter fortunately discovered that the problems would be fixed with an upgrade of our html5lib dependency. I tested by building a python3.10 virtualenv on my machine (this required building python 3.10 from source as we don't have it natively). I also ran the tensorboard with some logdirs and did some basic sanity. I specifically checked that markdown rendering seemed to be working for a couple text plugin logs that I have.
As noted by #5478 , tensorboard fails when run in a python 3.10 environment. The reporter fortunately discovered that the problems would be fixed with an upgrade of our html5lib dependency.
I tested by building a python3.10 virtualenv on my machine (this required building python 3.10 from source as we don't have it natively).
I also ran the tensorboard with some logdirs and did some basic sanity. I specifically checked that markdown rendering seemed to be working for a couple text plugin logs that I have.