Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671590 - dev-lang/python-{2.7.16,3.6.8,3.7.2} version bump
Summary: dev-lang/python-{2.7.16,3.6.8,3.7.2} version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 673752 674306 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-11-20 20:58 UTC by Ulenrich
Modified: 2019-03-03 16:52 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for Python-3.7.2 (python-3.7.2.ebuild,9.43 KB, text/plain)
2018-12-26 15:52 UTC, Helmut Jarausch
Details
Patches for Python 3.7.2 (python-gentoo-patches-3.7.2.tar.xz,11.39 KB, application/octet-stream)
2018-12-26 15:53 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulenrich 2018-11-20 20:58:40 UTC
dev-lang/python-3.6.7 seems to be a simple bump update, 
but  0006-tests-environment.patch
from python-gentoo-patches-3.6.6.tar.xz doesn't fit any more

I did emerge using these USE flags:
# emerge -p1 python                                                                                                                                  ......... done!
[ebuild   R    ] dev-lang/python-3.6.7:3.6/3.6m::pmaci  USE="bluetooth -build examples gdbm hardened ipv6 libressl ncurses readline sqlite ssl -test (threads) tk -wininst xml" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
---

Upstream also delivered dev-lang/python-3.7.1
Comment 1 Ulenrich 2018-11-29 13:44:27 UTC
Since more than a week without problem using dev-lang/python-3.6.7 with portage
Having this setting:
--- 
# eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7
---
To further help this bug to bump python, I did remerge python with USE "test" activated. I then searched for a script "test-all" , but I cannot find such starter for testing.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-12-26 12:16:30 UTC
*** Bug 673752 has been marked as a duplicate of this bug. ***
Comment 3 Helmut Jarausch 2018-12-26 15:52:23 UTC
Created attachment 558492 [details]
Ebuild for Python-3.7.2

I have adapted python-gentoo-patches-3.7.2.tar.xz analogous to python-gentoo-patches-3.7.0.tar.xz

Once has to copy python-gentoo-patches-3.7.2.tar.xz to /usr/portage/distfiles.

Ebuilding Python-3.7.2 proceeds just fine, and it seems to be working, e.g.
emerging packages works just fine (Python-3.7 is my default version)
Comment 4 Helmut Jarausch 2018-12-26 15:53:39 UTC
Created attachment 558494 [details]
Patches for Python 3.7.2
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-01-02 09:32:34 UTC
*** Bug 674306 has been marked as a duplicate of this bug. ***
Comment 6 Mike Gilbert gentoo-dev 2019-01-02 16:56:13 UTC
I'm a bit busy. If someone else on the python team wants to take this, please feel free.

We have a fork of the cpython repo on github.

https://github.com/gentoo/cpython

There are tags for each version of the patch set. For example:

gentoo-3.7.0
gentoo-3.6.6

In case the existing patches fail, please rebase the patches on the upstream release tag, and push new gentoo tags to our fork. You can then generate a new patchset using git format-patch. For example:

git format-patch -o patches v3.7.2..gentoo-3.7.2
Comment 7 Mike Gilbert gentoo-dev 2019-03-03 15:37:07 UTC
Working on this today.
Comment 8 Larry the Git Cow gentoo-dev 2019-03-03 16:52:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1229b00ec716d6f719c7aa5d65c2114ac6eb2ef1

commit 1229b00ec716d6f719c7aa5d65c2114ac6eb2ef1
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-03-03 16:50:32 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-03-03 16:51:15 +0000

    dev-lang/python: bump to 2.7.16
    
    Closes: https://bugs.gentoo.org/671590
    Package-Manager: Portage-2.3.59_p2, Repoman-2.3.12_p67
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 dev-lang/python/Manifest             |   2 +
 dev-lang/python/python-2.7.16.ebuild | 356 +++++++++++++++++++++++++++++++++++
 2 files changed, 358 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85ffc0e1f88866fcb9986e49160e7d08c8b7ec83

commit 85ffc0e1f88866fcb9986e49160e7d08c8b7ec83
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-03-03 16:13:25 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-03-03 16:51:00 +0000

    dev-lang/python: bump to 3.6.8
    
    Bug: https://bugs.gentoo.org/671590
    Package-Manager: Portage-2.3.59_p2, Repoman-2.3.12_p67
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 dev-lang/python/Manifest            |   2 +
 dev-lang/python/python-3.6.8.ebuild | 349 ++++++++++++++++++++++++++++++++++++
 2 files changed, 351 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27d42c807129ca0a9bb9351426d3fefe99e416e6

commit 27d42c807129ca0a9bb9351426d3fefe99e416e6
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-03-03 15:44:07 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-03-03 16:51:00 +0000

    dev-lang/python: bump to 3.7.2
    
    Bug: https://bugs.gentoo.org/671590
    Package-Manager: Portage-2.3.59_p2, Repoman-2.3.12_p67
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 dev-lang/python/Manifest            |   2 +
 dev-lang/python/python-3.7.2.ebuild | 324 ++++++++++++++++++++++++++++++++++++
 2 files changed, 326 insertions(+)