* [gentoo-user] Python 3.5 @ 2017-10-29 1:17 Philip Webb 2017-10-29 1:22 ` R0b0t1 2017-10-29 8:24 ` Adam Carter 0 siblings, 2 replies; 7+ messages in thread From: Philip Webb @ 2017-10-29 1:17 UTC (permalink / raw To: Gentoo User Python 3.5 has become stable : what are the pro/cons of updating to it ? I have in make.conf : USE_PYTHON="2.7 3.4" PYTHON_TARGETS="python2_7 python3_4" PYTHON_SINGLE_TARGET="python3_4" Is it advisable to replace '3_4' '3.4' with '3_5' '3.5' ? -- ========================,,============================================ SUPPORT ___________//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT `-O----------O---' purslowatchassdotutorontodotca ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Python 3.5 2017-10-29 1:17 [gentoo-user] Python 3.5 Philip Webb @ 2017-10-29 1:22 ` R0b0t1 2017-10-29 8:24 ` Adam Carter 1 sibling, 0 replies; 7+ messages in thread From: R0b0t1 @ 2017-10-29 1:22 UTC (permalink / raw To: gentoo-user On Sat, Oct 28, 2017 at 8:17 PM, Philip Webb <purslow@ca.inter.net> wrote: > Python 3.5 has become stable : what are the pro/cons of updating to it ? > I have in make.conf : > > USE_PYTHON="2.7 3.4" > PYTHON_TARGETS="python2_7 python3_4" > PYTHON_SINGLE_TARGET="python3_4" > > Is it advisable to replace '3_4' '3.4' with '3_5' '3.5' ? > Python 3.5 adds some very novel language features that new projects have already started to depend on. In fact, some packages (such as qutebrowser) are soon to require Python 3.6, which provides some extremely useful extensions to the extremely useful extensions. If you have nothing that requires it at this moment it is unlikely you have any need to update, but it is a good practice to track stable. Cheers, R0b0t1. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Python 3.5 2017-10-29 1:17 [gentoo-user] Python 3.5 Philip Webb 2017-10-29 1:22 ` R0b0t1 @ 2017-10-29 8:24 ` Adam Carter 2017-10-29 8:31 ` Adam Carter 1 sibling, 1 reply; 7+ messages in thread From: Adam Carter @ 2017-10-29 8:24 UTC (permalink / raw To: gentoo-user@lists.gentoo.org [-- Attachment #1: Type: text/plain, Size: 1029 bytes --] On Sun, Oct 29, 2017 at 12:17 PM, Philip Webb <purslow@ca.inter.net> wrote: > Python 3.5 has become stable : what are the pro/cons of updating to it ? > I have in make.conf : > > USE_PYTHON="2.7 3.4" > PYTHON_TARGETS="python2_7 python3_4" > PYTHON_SINGLE_TARGET="python3_4" > > Is it advisable to replace '3_4' '3.4' with '3_5' '3.5' ? > On my amd64 arch machine I; emerged python 3.5 eselected python 3.5 edited make.conf to set PYTHON_TARGETS to "python2_7 python3_5" running emerge -pv --depclean =python-3.4.5 to see what needs to be rebuilt Then tryed to rebuild those packages to allow removal of 3.4, however, it looks like that I would then have to change PYTHON_SINGLE_TARGET to 3.5 too, and some other packages still require it to be set to 2.7, so i've bailed out of trying to get rid of 3.4 on that box. I'll leave PYTHON_TARGETS at "python2_7 python3_5" unless I find something that also needs 3.4 in there. My ~amd64 arch box runs PYTHON_TARGETS="python2_7 python3_5" and PYTHON_SINGLE_TARGET="python3_5" [-- Attachment #2: Type: text/html, Size: 1834 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Python 3.5 2017-10-29 8:24 ` Adam Carter @ 2017-10-29 8:31 ` Adam Carter 2017-10-29 9:11 ` Peter Humphrey 0 siblings, 1 reply; 7+ messages in thread From: Adam Carter @ 2017-10-29 8:31 UTC (permalink / raw To: gentoo-user@lists.gentoo.org [-- Attachment #1: Type: text/plain, Size: 867 bytes --] > On my amd64 arch machine I; > emerged python 3.5 > eselected python 3.5 > edited make.conf to set PYTHON_TARGETS to "python2_7 python3_5" > running emerge -pv --depclean =python-3.4.5 to see what needs to be rebuilt > Then tryed to rebuild those packages to allow removal of 3.4, however, it > looks like that I would then have to change PYTHON_SINGLE_TARGET to 3.5 > too, and some other packages still require it to be set to 2.7, so i've > bailed out of trying to get rid of 3.4 on that box. I'll leave > PYTHON_TARGETS at "python2_7 python3_5" unless I find something that also > needs 3.4 in there. > > Failure came fast, example; The following REQUIRED_USE flag constraints are unsatisfied: python? ( at-most-one-of ( python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 ) So ive unset PYTHON_TARGETS and PYTHON_SINGLE_TARGET again. [-- Attachment #2: Type: text/html, Size: 1433 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Python 3.5 2017-10-29 8:31 ` Adam Carter @ 2017-10-29 9:11 ` Peter Humphrey 2017-10-29 11:15 ` Alan McKinnon 0 siblings, 1 reply; 7+ messages in thread From: Peter Humphrey @ 2017-10-29 9:11 UTC (permalink / raw To: gentoo-user On Sun, 29 Oct 2017 19:31:46 +1100 Adam Carter <adamcarter3@gmail.com> wrote: > > On my amd64 arch machine I; > > emerged python 3.5 > > eselected python 3.5 > > edited make.conf to set PYTHON_TARGETS to "python2_7 python3_5" > > running emerge -pv --depclean =python-3.4.5 to see what needs to be > > rebuilt Then tryed to rebuild those packages to allow removal of 3.4, > > however, it looks like that I would then have to change > > PYTHON_SINGLE_TARGET to 3.5 too, and some other packages still require > > it to be set to 2.7, so i've bailed out of trying to get rid of 3.4 on > > that box. I'll leave PYTHON_TARGETS at "python2_7 python3_5" unless I > > find something that also needs 3.4 in there. > > > > Failure came fast, example; > The following REQUIRED_USE flag constraints are unsatisfied: > python? ( at-most-one-of ( python_targets_python3_4 > python_targets_python3_5 python_targets_python3_6 ) > > So ive unset PYTHON_TARGETS and PYTHON_SINGLE_TARGET again. Do you actually need any python entries in make.conf? I'm running happily here without any. I just let the profile and ebuilds sort out what they need. -- Regards, Peter. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Python 3.5 2017-10-29 9:11 ` Peter Humphrey @ 2017-10-29 11:15 ` Alan McKinnon 2017-10-29 16:32 ` R0b0t1 0 siblings, 1 reply; 7+ messages in thread From: Alan McKinnon @ 2017-10-29 11:15 UTC (permalink / raw To: gentoo-user On 29/10/2017 11:11, Peter Humphrey wrote: > On Sun, 29 Oct 2017 19:31:46 +1100 > Adam Carter <adamcarter3@gmail.com> wrote: > >>> On my amd64 arch machine I; >>> emerged python 3.5 >>> eselected python 3.5 >>> edited make.conf to set PYTHON_TARGETS to "python2_7 python3_5" >>> running emerge -pv --depclean =python-3.4.5 to see what needs to be >>> rebuilt Then tryed to rebuild those packages to allow removal of 3.4, >>> however, it looks like that I would then have to change >>> PYTHON_SINGLE_TARGET to 3.5 too, and some other packages still require >>> it to be set to 2.7, so i've bailed out of trying to get rid of 3.4 on >>> that box. I'll leave PYTHON_TARGETS at "python2_7 python3_5" unless I >>> find something that also needs 3.4 in there. >>> >>> Failure came fast, example; >> The following REQUIRED_USE flag constraints are unsatisfied: >> python? ( at-most-one-of ( python_targets_python3_4 >> python_targets_python3_5 python_targets_python3_6 ) >> >> So ive unset PYTHON_TARGETS and PYTHON_SINGLE_TARGET again. > > Do you actually need any python entries in make.conf? I'm running happily > here without any. I just let the profile and ebuilds sort out what they > need. > For the most part, and for the regular user, that is generally fine. The devs and profile maintainers take care of all the fiddly bits and ensure that the settings are correct across the tree when they update the profile to use the next Pythn version For some users (aka the typical Gentoo'er) that doesn't really cut it. Maybe the user wants to fiddle with python-3.5 before the profile is ready for it. Maybe the user wants to use some nifty new package or take advantage of new features in python-3.5. This is the thing R0b0t1 was referring to. In that case, the user must do for himself what the profile maintainers do for you. That user also gets to keep all the shiny broken bits whilst figuring out what to set for what -- Alan McKinnon alan.mckinnon@gmail.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Python 3.5 2017-10-29 11:15 ` Alan McKinnon @ 2017-10-29 16:32 ` R0b0t1 0 siblings, 0 replies; 7+ messages in thread From: R0b0t1 @ 2017-10-29 16:32 UTC (permalink / raw To: gentoo-user@lists.gentoo.org [-- Attachment #1: Type: text/plain, Size: 2328 bytes --] Hello friends, On Sunday, October 29, 2017, Alan McKinnon <alan.mckinnon@gmail.com> wrote: > On 29/10/2017 11:11, Peter Humphrey wrote: >> On Sun, 29 Oct 2017 19:31:46 +1100 >> Adam Carter <adamcarter3@gmail.com> wrote: >> >>>> On my amd64 arch machine I; >>>> emerged python 3.5 >>>> eselected python 3.5 >>>> edited make.conf to set PYTHON_TARGETS to "python2_7 python3_5" >>>> running emerge -pv --depclean =python-3.4.5 to see what needs to be >>>> rebuilt Then tryed to rebuild those packages to allow removal of 3.4, >>>> however, it looks like that I would then have to change >>>> PYTHON_SINGLE_TARGET to 3.5 too, and some other packages still require >>>> it to be set to 2.7, so i've bailed out of trying to get rid of 3.4 on >>>> that box. I'll leave PYTHON_TARGETS at "python2_7 python3_5" unless I >>>> find something that also needs 3.4 in there. >>>> >>>> Failure came fast, example; >>> The following REQUIRED_USE flag constraints are unsatisfied: >>> python? ( at-most-one-of ( python_targets_python3_4 >>> python_targets_python3_5 python_targets_python3_6 ) >>> >>> So ive unset PYTHON_TARGETS and PYTHON_SINGLE_TARGET again. >> >> Do you actually need any python entries in make.conf? I'm running happily >> here without any. I just let the profile and ebuilds sort out what they >> need. >> > > > For the most part, and for the regular user, that is generally fine. The > devs and profile maintainers take care of all the fiddly bits and ensure > that the settings are correct across the tree when they update the > profile to use the next Pythn version > > For some users (aka the typical Gentoo'er) that doesn't really cut it. > Maybe the user wants to fiddle with python-3.5 before the profile is > ready for it. > > Maybe the user wants to use some nifty new package or take advantage of > new features in python-3.5. This is the thing R0b0t1 was referring to. > In that case, the user must do for himself what the profile maintainers > do for you. That user also gets to keep all the shiny broken bits whilst > figuring out what to set for what > I've mentioned this on the forum, but unless a user is interested in specifically testing Python's interaction with system packages it is probably best to merge new versions explicitly. There will be lots of shiny pieces indeed. Cheers, R0b0t1. [-- Attachment #2: Type: text/html, Size: 2939 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-10-29 16:32 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-10-29 1:17 [gentoo-user] Python 3.5 Philip Webb 2017-10-29 1:22 ` R0b0t1 2017-10-29 8:24 ` Adam Carter 2017-10-29 8:31 ` Adam Carter 2017-10-29 9:11 ` Peter Humphrey 2017-10-29 11:15 ` Alan McKinnon 2017-10-29 16:32 ` R0b0t1
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox