Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed sha1 for docs. #31088

Closed
wants to merge 1 commit into from

4 participants

@jimpark

brew install python --with-docs fails with sha1 sum mismatch. Updated the formula with new sha1 sum.

@mikemcquaid
Owner

Hmm. It concerns me a bit that the sha1 has changed without a version bump. Could you check with upstream that they weren't hacked and that this file doesn't change often? Thanks!

@adamv adamv added the python label
@jacknagel
Collaborator

Looking at https://docs.python.org/3/download.html, I assume the tarballs are regenerated whenever the docs are updated, so it's probably not appropriate for us to be installing these.

@jacknagel jacknagel closed this pull request from a commit
@jacknagel jacknagel Remove html docs options from python and python3
The tarballs are updated frequently, so the checksums are not stable.
Since documentation updates happen more often than python releases, the
installed docs will become stale, so it doesn't make sense to tie them
to the installed python in this way. Users are better off viewing the
documentation online or downloading the tarballs manually if an offline
copy is required.

Closes #31088.
Closes #31127.

Squashed commit of the following:

commit 78c5fba482aa827fe0168de04412a1100219cae6
Author: Jack Nagel <jacknagel@gmail.com>
Date:   Sun Jul 27 01:15:05 2014 -0500

    Revert "python3: add with-docs option"

    This reverts commit 0005b34.

commit 8abfb19d51583fa4370eea9b8e33355da830a104
Author: Jack Nagel <jacknagel@gmail.com>
Date:   Sun Jul 27 01:14:57 2014 -0500

    Revert "python: add --with-docs option"

    This reverts commit 97cef60.

commit ada80382f347641ed6b947210d94249d114f9604
Author: Jack Nagel <jacknagel@gmail.com>
Date:   Sun Jul 27 01:14:45 2014 -0500

    Revert "python: fix docs checksum"

    This reverts commit c0bffbc.
d7144bb
@jacknagel jacknagel closed this in d7144bb
@sheurich sheurich referenced this pull request from a commit
@jacknagel jacknagel Remove html docs options from python and python3
The tarballs are updated frequently, so the checksums are not stable.
Since documentation updates happen more often than python releases, the
installed docs will become stale, so it doesn't make sense to tie them
to the installed python in this way. Users are better off viewing the
documentation online or downloading the tarballs manually if an offline
copy is required.

Closes #31088.
Closes #31127.

Squashed commit of the following:

commit 78c5fba482aa827fe0168de04412a1100219cae6
Author: Jack Nagel <jacknagel@gmail.com>
Date:   Sun Jul 27 01:15:05 2014 -0500

    Revert "python3: add with-docs option"

    This reverts commit 0005b34.

commit 8abfb19d51583fa4370eea9b8e33355da830a104
Author: Jack Nagel <jacknagel@gmail.com>
Date:   Sun Jul 27 01:14:57 2014 -0500

    Revert "python: add --with-docs option"

    This reverts commit 97cef60.

commit ada80382f347641ed6b947210d94249d114f9604
Author: Jack Nagel <jacknagel@gmail.com>
Date:   Sun Jul 27 01:14:45 2014 -0500

    Revert "python: fix docs checksum"

    This reverts commit c0bffbc.
e05f750
@aerickson aerickson referenced this pull request from a commit in aerickson/homebrew
@jacknagel jacknagel Remove html docs options from python and python3
The tarballs are updated frequently, so the checksums are not stable.
Since documentation updates happen more often than python releases, the
installed docs will become stale, so it doesn't make sense to tie them
to the installed python in this way. Users are better off viewing the
documentation online or downloading the tarballs manually if an offline
copy is required.

Closes #31088.
Closes #31127.

Squashed commit of the following:

commit 78c5fba482aa827fe0168de04412a1100219cae6
Author: Jack Nagel <jacknagel@gmail.com>
Date:   Sun Jul 27 01:15:05 2014 -0500

    Revert "python3: add with-docs option"

    This reverts commit 0005b34.

commit 8abfb19d51583fa4370eea9b8e33355da830a104
Author: Jack Nagel <jacknagel@gmail.com>
Date:   Sun Jul 27 01:14:57 2014 -0500

    Revert "python: add --with-docs option"

    This reverts commit 97cef60.

commit ada80382f347641ed6b947210d94249d114f9604
Author: Jack Nagel <jacknagel@gmail.com>
Date:   Sun Jul 27 01:14:45 2014 -0500

    Revert "python: fix docs checksum"

    This reverts commit c0bffbc.
23942ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 24, 2014
  1. Fixed sha1 for docs.

    jpark authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  Library/Formula/python.rb
View
2  Library/Formula/python.rb
@@ -32,7 +32,7 @@ class Python < Formula
resource "docs" do
url "https://docs.python.org/2/archives/python-2.7.8-docs-html.tar.bz2"
- sha1 "ba0c2ce0ddf0773306ed859262f405de61e486a6"
+ sha1 "659bd40cc136de58d0754fe69b6366f770e1c4c7"
end
resource "setuptools" do
Something went wrong with that request. Please try again.