From owner-freebsd-python@freebsd.org Fri Dec 20 14:04:58 2019 Return-Path: Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C27B71DAA67 for ; Fri, 20 Dec 2019 14:04:58 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: from mx2.dismail.de (mx2.dismail.de [159.69.191.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.dismail.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47fVqs5cq3z40m4 for ; Fri, 20 Dec 2019 14:04:57 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id bd87f940 for ; Fri, 20 Dec 2019 15:04:55 +0100 (CET) Received: from smtp1.dismail.de ( [10.240.26.11]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 6e3e60f5 for ; Fri, 20 Dec 2019 15:04:55 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id d7617aae for ; Fri, 20 Dec 2019 15:04:54 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id c908eefd (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 20 Dec 2019 15:04:54 +0100 (CET) Date: Fri, 20 Dec 2019 09:04:50 -0500 From: To: freebsd-python@freebsd.org Subject: python default version Message-ID: <20191220090450.1fbd8fc7@dismail.de> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47fVqs5cq3z40m4 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.79 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; IP_SCORE(-2.09)[ip: (-9.91), ipnet: 159.69.0.0/16(1.04), asn: 24940(-1.56), country: DE(-0.02)]; R_SPF_ALLOW(-0.20)[+ip4:159.69.191.136]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-python@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[dismail.de.dwl.dnswl.org : 127.0.5.1]; RCVD_COUNT_THREE(0.00)[4]; RCVD_IN_DNSWL_MED(-0.20)[136.191.69.159.list.dnswl.org : 127.0.5.2]; DKIM_TRACE(0.00)[dismail.de:+]; FROM_NO_DN(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 14:04:58 -0000 Hi! I am using FreeBSD 12.1-RELEASE-p1 (amd64) and Python default version is 3.7. I did follow "how to' from /etc/ports/UPDATING (for i in $(pkg query -g %n 'py36-*'); do pkg set -yn ${i}:py37-${i#py36-}; done} but I got: pkg: sqlite error while executing UPDATE packages SET name=3D?1 WHERE id=3D?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name pkg: sqlite error while executing UPDATE packages SET name=3D?1 WHERE id=3D?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name pkg: sqlite error while executing UPDATE packages SET name=3D?1 WHERE id=3D?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name pkg: sqlite error while executing UPDATE packages SET name=3D?1 WHERE id=3D?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name pkg: sqlite error while executing UPDATE packages SET name=3D?1 WHERE id=3D?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name I have some files for py36 an py27 on. And I am using ports and portmaster. How should update ports correct to use the default Python version. Thank you. --=20 =E2=80=9Cgood people do not need laws to tell them to act responsibly, while bad people will find a way around the laws=E2=80=9D=20 Plato