gnu: python: Update to 3.7.1.

Remove the replacement, as version 3.7.1 includes the fix for this issue.

* gnu/packages/python.scm (python-3.7): Update to 3.7.1.
(python-3/fixed): Remove this.
This commit is contained in:
Christopher Baines 2018-12-05 20:03:54 +00:00
parent 89e7f90d0b
commit e66c6eb2bc
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -341,8 +341,7 @@ (define-public python2-called-python
(define-public python-3.7
(package (inherit python-2)
(name "python")
(version "3.7.0")
(replacement python-3/fixed)
(version "3.7.1")
(source (origin
(method url-fetch)
(uri (string-append "https://www.python.org/ftp/python/"
@ -355,7 +354,7 @@ (define-public python-3.7
(patch-flags '("-p0"))
(sha256
(base32
"0j9mic5c9lbd2b20wka7hily7szz740wy9ilfrczxap63rnrk0h3"))
"0v9x4h22rh5cwpsq1mwpdi3c9lc9820lzp2nmn9g20llij72nzps"))
(snippet
'(begin
(for-each delete-file
@ -414,14 +413,6 @@ (define-public python-3.7
;; Current 3.x version.
(define-public python-3 python-3.7)
(define python-3/fixed
(package
(inherit python-3)
(source (origin
(inherit (package-source python-3))
(patches (append (origin-patches (package-source python-3))
(search-patches "python-CVE-2018-14647.patch")))))))
;; Current major version.
(define-public python python-3)