From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A28EB1584AD for ; Sun, 11 May 2025 12:43:23 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 8FF7E3431F3 for ; Sun, 11 May 2025 12:43:23 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id AB95E11049F; Sun, 11 May 2025 12:42:21 +0000 (UTC) Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A411D110277 for ; Sun, 11 May 2025 12:42:20 +0000 (UTC) Received: by mail-il1-x133.google.com with SMTP id e9e14a558f8ab-3d812103686so11423665ab.0 for ; Sun, 11 May 2025 05:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746967340; x=1747572140; darn=lists.gentoo.org; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:from:to:cc:subject :date:message-id:reply-to; bh=nGaJdyCsKIFudEnm+puGXJ4bp/WbUJc8kTMp8y7xlOE=; b=LBbIYOCZ/wz1UcF4vsJcH6efwzExwu/0EkUIAe5Qy7Crzdxl7vpoXNzORyox/COsbj ZLnYrEFwKT5IzvLKjmSMD9q9lhAq8K235R2Sx65jcF04LZALmb+6pAlR6xCSdgI0zR1q /zcvfvueeu2QH88DeqIyj2Rqk4RSaCh6XpIbsib5CuhTpYhe92mCtf/nR4b+pYKCzcMX Kw07QV4XkGwiGf7bsll35ZJNiwphfHkD8+tWR8AKDr1CR6rkarLgyAk25jZjabcoFA/j 6e8ZgZJpUjQABpixkk2KPTcenVhorRdI/dh5zZwYLfW80YalfBSuuyviWElBUus45fs9 XNfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746967340; x=1747572140; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=nGaJdyCsKIFudEnm+puGXJ4bp/WbUJc8kTMp8y7xlOE=; b=DFMup5TFSezlkS98eDkI1TEnPeYNdbUkJvewyurM4liwrqPsoxsm+TnuTmJA0vtrrT 4DyXqeL7VU4xKddsHIpMj+RnegfMhTt43fyaZTaLC8ZrAUEgbH1pVULsWg9Xdb6g4xA+ CTWzt5VrSVkEswXFHmr5IOvgv8MdIKZDzksTX6YXnqQ+adP4VKnqHfY6lrvwXbTpVXPo PzOTtaeu54S1v/mLoEruxfast3tSOam0kL8eSTPjDDyqU3D5ZJgod8G8b+26V9cTedzT hiThs6df93E+p2cT/pxKZWTBY7BYja0TXlXSFRRTKKbpeXwNrrnGat+rE9AVV7PQrP0k Agfg== X-Gm-Message-State: AOJu0YxpyZ3EB0jnofOSi+ksPZg4m3rthoY0u5RiuyBx0t5TNPGeNaID sxVdw9BFT9CJwGX2wsDbQm/wBT/2cTClJx6JxUsc0e1SvLCE3PhF X-Gm-Gg: ASbGncu8PbgvCn40M9zkA8Ctsga4fxaFsdDm7DUkJ+TNDqL+8GVIcmRY4QZwbwkmr2A WaIAR4ds33T7O3oDRH9zRIdkeRdsIy2w4WnwEWbvXWAyJYKkvpbNzAum1qmXN9RYGiyU74YIUFr b9cGKES20LFWGtB0bzGgu/287Oq4BeSCwI0KvJG04kXBbNCBSkrd7cO1n6E8qkuOg89iUfUguBu aM1kxvHak+XNBDWOvR413BYsgULIaaSkU+q0doQpA1JM+Xqz/76vB1XlMy6R9Wn56c4+nWgCDBr Qq6OJJJAwx/tYWmHe6xiy1o2/iceQIj2Vr1fCR2T/fVD5zoXhDYvhOA833hXaV4= X-Google-Smtp-Source: AGHT+IGFVLPjvPFV1C1uPXSAC5Z5SBKgfeGaGifErWftI7cND7yv9SuEKl/x1mo5e4NTBnCSkvTxMg== X-Received: by 2002:a05:6e02:1fc8:b0:3d0:26a5:b2c with SMTP id e9e14a558f8ab-3da7e34871amr87414725ab.8.1746967339577; Sun, 11 May 2025 05:42:19 -0700 (PDT) Received: from [10.8.8.13] ([212.102.44.114]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3da7e159adbsm17275005ab.57.2025.05.11.05.42.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 11 May 2025 05:42:18 -0700 (PDT) Subject: Re: [gentoo-user] Fragile python update is wedged. To: gentoo-user@lists.gentoo.org References: <5cdb6f3b-8d20-4578-8429-c532b221be16@youngman.org.uk> From: Dale Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJS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1zB63iuFvvrhxBkEHzmbRtVDOhl0Xp BVEDR1w3QRACw9QJD/KM05Czv9JNQYlwinWO/OaQ9cMlUpKLgswUPg9IZ5vucxScfuAUA5uC B1jlAQ8ZPlVukBmbEv5RGOv+lpuEbA3YDMVtEeH4YMFbjt/+vH3Cr2vTbp5JlpByLburJEH0 WXZLUawEfUsZvVwpOuJK75vaa2HYXee+Cb3iCIzwfIfctdlqzUcbGRczlRNM59hpvj4z29Gh 3kAxVHItAYq54ikxQ9l4hQ8s9sLYPbX/WtcBxNX8crBSw0FLnmzGleVEtBHyqtt5CLzQNgrj GYWl1vKDUmRPw1CdZ1c+fMN9CY11jOM5B5ZnqZWfDeVYO2iJ5SuvTycChexCb8WYn1bdCBIo bBtga2RBXbVt4Mh9E4owsszefn51MwfjXxB20Fc5k3GU1AVpTCMs3ayYCzo0b2pvEvdjtDcA CYLEFPWgaFX9iQAM/CDfKvTtvgGWpqtCL2raq/mQoJEU Message-ID: Date: Sun, 11 May 2025 07:42:16 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.20 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <5cdb6f3b-8d20-4578-8429-c532b221be16@youngman.org.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: e7baecc7-a784-4e65-9b0b-2492f97cbfd5 X-Archives-Hash: ba767bba9de23b7c1c89efc398dfd058 Wol wrote: > > > On 02/05/2025 18:07, Alan Mackenzie wrote: >> Hello, Gentoo. >> >> I've just been trying the update for python 3.13.  It went well on my >> new machine (well, after unmerging app-portage/unsymlink-lib, which was >> debris from some 2019 update). > > I'm now trying to update my system. And it's not even fragile or > wedged, it just won't. > > I followed the instructions at the end - depclean, -1uVD, and it just > fails completely with "requires just one of 3_11 or 3_12". Including > important stuff like most of kde, systemd-dbus, and so on. > > I thought I'd try increasing backtrack like I usually do - to 100 - > but that made no difference. > > I missed out the stuff at the start of the news item, sorry, but see > below ... > > Giveb that I don't "do" Python, I've got nothing in make.conf that > mentions python. I guess I have nothing in package.use etc unless the > system set it for me ... > > So I guess I need to do the "safer" upgrade, but it gives me two lines > that look like comments, and says "use these to blah blah", How do I > use them? Where do I put them? I don't "do" python - this is double > dutch to me. > > Cheers, > Wol > > I'm going to do this in segments from the news item.  I had to read it a couple times to get the idea myself.  Keep in mind, I ran into the same thing as you and ended up stopping at step two.  I have not done a complete switch yet because several packages still want 3.12.  NEWS ITEM: First, enable both Python 3.12 and Python 3.13, and then run the upgrade commands:     */* PYTHON_TARGETS: -* python3_12 python3_13     */* PYTHON_SINGLE_TARGET: -* python3_12 END NEWS ITEM Put that in package.use, or some other file you may want to use.  I ran my normal emerge -auDN world.  I have some defaults like --with-bdeps y --backtrack=500 in make.conf.  You may or may not want to use those as well. If you get a clean update from that, nothing fails, then move to the next step.  You only change the second line from 12 to 13 next.  NEWS ITEM: Then switch PYTHON_SINGLE_TARGET and run the second batch of upgrades:     */* PYTHON_TARGETS: -* python3_12 python3_13     */* PYTHON_SINGLE_TARGET: -* python3_13 END NEWS ITEM If you get a clean update with that, then change to the next step.  The top line changes this time.  Just remove the 3.12 bit.  Keep in mind, I haven't got that far yet.  I need to try again tho.  I forgot during the update I did this morning.  NEWS ITEM: Finally, switch to the final version and upgrade:     */* PYTHON_TARGETS: -* python3_13     */* PYTHON_SINGLE_TARGET: -* python3_13 END NEWS ITEM If you lucky, that last part works and you get a clean update.  If you get a long list of packages that won't work, you either have to set it back to step two and wait until the packages update or make exceptions for each package in package.use and try to check for updates later so you can remove all the python stuff in package.use.  I've read that unless you really know what you doing, setting python versions long term in package.use isn't a good idea.  If one forgets, which I do a LOT, packages can start to fail and cause all sorts of issues that makes emerge spit out encrypted error messages that most of us can't decode.  I might add, Eli said it is safe to stop at step two if the last step is just to soon.  I have some packages, Kicad and such, that you likely don't and that is one set that is causing problems for me.  Unless you have a lot of packages that have to have 3.12, it should work.  It just results in compiling the same packages several times.  If nothing else, maybe the above will give you a idea on how you can adjust the above to fit your needs.  Basically, it's a three step process.  I hope you can make it to the end and get a clean update.  Oh, don't forget --depclean too.  Dale :-)  :-)