From owner-freebsd-python@freebsd.org Sun Apr 24 02:32:13 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A285EB12D3C for ; Sun, 24 Apr 2016 02:32:13 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id 3F5FF1F76 for ; Sun, 24 Apr 2016 02:32:12 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp118-210-182-127.lns20.adl6.internode.on.net (HELO leader.local) ([118.210.182.127]) by ipmail06.adl2.internode.on.net with ESMTP; 24 Apr 2016 12:01:55 +0930 Subject: Re: PYDISTUTILS_INSTALLNOSINGLE error To: Ben Woods , freebsd-python@freebsd.org References: From: Shane Ambler Message-ID: <571C3018.6020809@ShaneWare.Biz> Date: Sun, 24 Apr 2016 12:01:52 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2016 02:32:13 -0000 On 23/04/2016 17:16, Ben Woods wrote: > Hi everyone, > > Does anyone know why PYDISTUTILS_INSTALLNOSINGLE is marked as deprecated? > It is still used by 9 ports... > > I am working on an update to multimedia/quodlibet in PR208988, and it gives > the warning "PYDISTUTILS_INSTALLNOSINGLE is deprecated, please do not use > it anymore". However, if I remove that line from the Makefile, the build > fails with "error: option --single-version-externally-managednot > recognized". > > --single-version-externally-managed is added by USES=python if you dont set > PYDISTUTILS_INSTALLNOSINGLE=yes. > > Regards, > Ben > > I had that error for some time and when I finally looked into it, it turned out an old copy of setuptools was (partly) in place. This error also caused entry_points in setup.py to fail. Look in /usr/local/lib/python${VERS}/site-packages for multiple setuptools-**-egg-info folders. You might have (for py27) setuptools-20.0-py2.7.egg-info setuptools_hg-0.4-py2.7.egg-info setuptools_scm-1.10.1-py2.7.egg-info which is ok, but if you have setuptools-18.7-py2.7.egg-info setuptools-5.4.1-py2.7.egg-info then you should delete the setuptools-5.4.1-py2.7.egg-info Check that the old port is not installed - pkg info -ox setuptools for me the old version of the egg-info dir was an empty dir left behind from the old port version and I deleted it manually - no more problem. Check each python version as it most likely happen to each version installed at the time the old version was meant to be removed. -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-python@freebsd.org Sun Apr 24 21:00:23 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF424B1B137 for ; Sun, 24 Apr 2016 21:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E178013B6 for ; Sun, 24 Apr 2016 21:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id E0D25B1B136; Sun, 24 Apr 2016 21:00:23 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0861B1B135 for ; Sun, 24 Apr 2016 21:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BEEE813B3 for ; Sun, 24 Apr 2016 21:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u3OL01Zf027824 for ; Sun, 24 Apr 2016 21:00:23 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201604242100.u3OL01Zf027824@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: python@FreeBSD.org Subject: Problem reports for python@FreeBSD.org that need special attention Date: Sun, 24 Apr 2016 21:00:23 +0000 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2016 21:00:24 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 204435 | [NEW PORT] graphics/py-mayavi: Application and li Open | 186316 | [NEW PORT] devel/spyder: Scientific PYthon Develo Open | 204982 | [NEW PORT] mail/py-alot: Terminal MUA using notmu Open | 205960 | lang/python35: (and lang/python34) building with 4 problems total for which you should take action. From owner-freebsd-python@freebsd.org Mon Apr 25 10:03:15 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36AB3B1AB32 for ; Mon, 25 Apr 2016 10:03:15 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 254F01D9A for ; Mon, 25 Apr 2016 10:03:15 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 24B22B1AB30; Mon, 25 Apr 2016 10:03:15 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 245F6B1AB2F for ; Mon, 25 Apr 2016 10:03:15 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.freebsd.org (portscout.freebsd.org [IPv6:2001:1900:2254:206a::50:6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 18AF31D99 for ; Mon, 25 Apr 2016 10:03:15 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.freebsd.org ([127.0.1.123]) by portscout.freebsd.org (8.15.2/8.15.2) with ESMTP id u3PA3EKV035159 for ; Mon, 25 Apr 2016 10:03:14 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.freebsd.org (8.15.2/8.15.2/Submit) id u3PA3EX5035157; Mon, 25 Apr 2016 10:03:14 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201604251003.u3PA3EX5035157@portscout.freebsd.org> X-Authentication-Warning: portscout.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Mon, 25 Apr 2016 10:03:14 +0000 From: portscout@FreeBSD.org To: python@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2016 10:03:15 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/python@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ devel/nuitka | 0.5.20 | 0.5.21 ------------------------------------------------+-----------------+------------ www/py-werkzeug | 0.11.8 | 0.11.9 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Thanks. From owner-freebsd-python@freebsd.org Mon Apr 25 11:24:42 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A20FB1C215 for ; Mon, 25 Apr 2016 11:24:42 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EFDBE13B5 for ; Mon, 25 Apr 2016 11:24:41 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id e201so81983903wme.0 for ; Mon, 25 Apr 2016 04:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=usPpRU+JG1+aBkalR19Psnc2jjJ3h8d5m42Zugsr26Q=; b=mRuJWPuy/8MlDLQ3wlFV34xy8moPifveUj6/4c/uyU8w/lQpX9yjkFZ0wYMEBfi9EJ SxvAc89JpSj8dojefJkNwBGZMO/AC5lm6dAXC6M0+Aq87bTUh9TAmhySmgFgRSsKXXOt pfJJ+ip5RLksew+4wVIIbMRp/FshPj+pjgjhfz2EeYd3dkNTjwMCWyM4ELK2dsy/Z8nQ MHA2UhWEwGjmsKIray18TFscdpWw8963+wMt6nqTr79DKGpIonlGlhFAhgyx4uS2Zx41 M5ROuoP1kFOQCE2VdakpKBmub+s5CyWev+pTwrHy0jU+IvuHXMN1qGQlpezMWpaNtPYS pEOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=usPpRU+JG1+aBkalR19Psnc2jjJ3h8d5m42Zugsr26Q=; b=G86XKqMZ7QunU4zYOSHj3P3Ipz853qdkSAEnWEk05hL0cmF2DO0ZSKr+t6ZqkLIIyX IkKzHJrBY62X2aOelXRxNImjvQiKWRzGvdUBYfPoL7LsBKzVjw9yLVcxiXqQr+XG88dR PzuHIsLA/CdbGsT114iivHDSJ7eGjRa26e2G9Iz5P3zwGJuuO3vAbn7wB1vAfnRp2eIU Fkb21CEcJIqSC4CScJqobkhDJ5gP1N0NImCT2QIfvO1oZGnHEo/IuceVblsvx5jVngON 0weXBqIGr9tXhmmXY0dmtzNvtbiAVCZDSWFM1xEW5pFuz7anr5OSUFbd+xPu3cExX3zz SDIw== X-Gm-Message-State: AOPr4FU3wWb21HGs1qp1/djfOhjnsW0Z9cSAFWnyFmdtmVb8I31T/5+rChCqML/6xGIBXDVFMjpo+P0HEHC7xA== MIME-Version: 1.0 X-Received: by 10.194.157.195 with SMTP id wo3mr34132944wjb.155.1461583480573; Mon, 25 Apr 2016 04:24:40 -0700 (PDT) Received: by 10.194.42.41 with HTTP; Mon, 25 Apr 2016 04:24:40 -0700 (PDT) In-Reply-To: <571C3018.6020809@ShaneWare.Biz> References: <571C3018.6020809@ShaneWare.Biz> Date: Mon, 25 Apr 2016 13:24:40 +0200 Message-ID: Subject: Re: PYDISTUTILS_INSTALLNOSINGLE error From: Ben Woods To: Shane Ambler Cc: freebsd-python@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2016 11:24:42 -0000 On 24 April 2016 at 04:31, Shane Ambler wrote: > On 23/04/2016 17:16, Ben Woods wrote: > >> Hi everyone, >> >> Does anyone know why PYDISTUTILS_INSTALLNOSINGLE is marked as deprecated? >> It is still used by 9 ports... >> >> I am working on an update to multimedia/quodlibet in PR208988, and it >> gives >> the warning "PYDISTUTILS_INSTALLNOSINGLE is deprecated, please do not use >> it anymore". However, if I remove that line from the Makefile, the build >> fails with "error: option --single-version-externally-managednot >> recognized". >> >> --single-version-externally-managed is added by USES=python if you dont >> set >> PYDISTUTILS_INSTALLNOSINGLE=yes. >> >> Regards, >> Ben >> >> >> > I had that error for some time and when I finally looked into it, > it turned out an old copy of setuptools was (partly) in place. > This error also caused entry_points in setup.py to fail. > > Look in /usr/local/lib/python${VERS}/site-packages for multiple > setuptools-**-egg-info folders. > > You might have (for py27) > > setuptools-20.0-py2.7.egg-info > setuptools_hg-0.4-py2.7.egg-info > setuptools_scm-1.10.1-py2.7.egg-info > > which is ok, but if you have > > setuptools-18.7-py2.7.egg-info > setuptools-5.4.1-py2.7.egg-info > > then you should delete the setuptools-5.4.1-py2.7.egg-info > > Check that the old port is not installed - pkg info -ox setuptools > > for me the old version of the egg-info dir was an empty dir left behind > from the old port version and I deleted it manually - no more problem. > > Check each python version as it most likely happen to each version > installed at the time the old version was meant to be removed. > > -- > FreeBSD - the place to B...Software Developing > > Shane Ambler > > Hi Shane, Thanks for your reply. I have had a look, and there is only 1 version of setuptools-20.0-py2.7.egg-info in /usr/local/lib/python2.7/site-packages/ So this does not seem to be the issue. In fact, I think it may be that the setup.py that comes bundled with the multimedia/quodlibet software does not support --single-version-externally-managed and therefore requires PYDISTUTILS_INSTALLNOSINGLE=yes? Is PYDISTUTILS_INSTALLNOSINGLE being deprecated because each piece of software that comes bundled with setup.py should be updating it to the latest which supports --single-version-externally-managed ? Regards, Ben From owner-freebsd-python@freebsd.org Mon Apr 25 19:12:46 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E2DAB1C446 for ; Mon, 25 Apr 2016 19:12:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 889DD1BEA for ; Mon, 25 Apr 2016 19:12:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 87ED9B1C445; Mon, 25 Apr 2016 19:12:46 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 878FEB1C444 for ; Mon, 25 Apr 2016 19:12:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 777AB1BE9 for ; Mon, 25 Apr 2016 19:12:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u3PJCkIJ078631 for ; Mon, 25 Apr 2016 19:12:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 208486] lang/python27 lang/python33 lang/python34 lang/python35: correct __FreeBSD_version check for ctype UTF-8 bug workaround Date: Mon, 25 Apr 2016 19:12:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: antoine@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? exp-run? X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2016 19:12:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208486 Antoine Brodin changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|python@FreeBSD.org |dim@FreeBSD.org --- Comment #11 from Antoine Brodin --- Exp-run looks good, approved by portmgr. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-python@freebsd.org Tue Apr 26 09:44:59 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 466A7AACDF0 for ; Tue, 26 Apr 2016 09:44:59 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 353F41129 for ; Tue, 26 Apr 2016 09:44:59 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3494BAACDEE; Tue, 26 Apr 2016 09:44:59 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34496AACDED for ; Tue, 26 Apr 2016 09:44:59 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.freebsd.org (portscout.freebsd.org [IPv6:2001:1900:2254:206a::50:6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 288921128 for ; Tue, 26 Apr 2016 09:44:59 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.freebsd.org ([127.0.1.123]) by portscout.freebsd.org (8.15.2/8.15.2) with ESMTP id u3Q9ixGM010982 for ; Tue, 26 Apr 2016 09:44:59 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.freebsd.org (8.15.2/8.15.2/Submit) id u3Q9ixAP010981; Tue, 26 Apr 2016 09:44:59 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201604260944.u3Q9ixAP010981@portscout.freebsd.org> X-Authentication-Warning: portscout.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Tue, 26 Apr 2016 09:44:59 +0000 From: portscout@FreeBSD.org To: python@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2016 09:44:59 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/python@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ devel/py-setuptools | 20.0 | 20.10.1 ------------------------------------------------+-----------------+------------ devel/py-setuptools27 | 20.0 | 20.10.1 ------------------------------------------------+-----------------+------------ devel/py-setuptools33 | 20.0 | 20.10.1 ------------------------------------------------+-----------------+------------ devel/py-setuptools34 | 20.0 | 20.10.1 ------------------------------------------------+-----------------+------------ devel/py-setuptools35 | 20.0 | 20.10.1 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Thanks. From owner-freebsd-python@freebsd.org Tue Apr 26 13:39:16 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C80E8B1D52C for ; Tue, 26 Apr 2016 13:39:16 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 696B61CDA for ; Tue, 26 Apr 2016 13:39:15 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp118-210-182-127.lns20.adl6.internode.on.net (HELO leader.local) ([118.210.182.127]) by ipmail06.adl6.internode.on.net with ESMTP; 26 Apr 2016 23:04:05 +0930 Subject: Re: PYDISTUTILS_INSTALLNOSINGLE error To: Ben Woods References: <571C3018.6020809@ShaneWare.Biz> Cc: freebsd-python@freebsd.org From: Shane Ambler Message-ID: <571F6E49.3030500@ShaneWare.Biz> Date: Tue, 26 Apr 2016 23:04:01 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2016 13:39:16 -0000 On 25/04/2016 20:54, Ben Woods wrote: > On 24 April 2016 at 04:31, Shane Ambler wrote: > >> On 23/04/2016 17:16, Ben Woods wrote: >> >>> Hi everyone, >>> >>> Does anyone know why PYDISTUTILS_INSTALLNOSINGLE is marked as deprecated? >>> It is still used by 9 ports... >>> >>> I am working on an update to multimedia/quodlibet in PR208988, and it >>> gives >>> the warning "PYDISTUTILS_INSTALLNOSINGLE is deprecated, please do not use >>> it anymore". However, if I remove that line from the Makefile, the build >>> fails with "error: option --single-version-externally-managednot >>> recognized". >>> >>> --single-version-externally-managed is added by USES=python if you dont >>> set >>> PYDISTUTILS_INSTALLNOSINGLE=yes. >>> > In fact, I think it may be that the setup.py that comes bundled with the > multimedia/quodlibet software does not support > --single-version-externally-managed and therefore requires > PYDISTUTILS_INSTALLNOSINGLE=yes? Just had a look at the new version and the issue comes from using gdist for distclass If you remove 'distclass': GDistribution, from setup_kwargs then you no longer get the error, but you get other warnings from distclass related settings. -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-python@freebsd.org Wed Apr 27 11:23:25 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D7B1B1E33B for ; Wed, 27 Apr 2016 11:23:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 084171A14 for ; Wed, 27 Apr 2016 11:23:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 03B7DB1E33A; Wed, 27 Apr 2016 11:23:25 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03590B1E339 for ; Wed, 27 Apr 2016 11:23:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E79441A13 for ; Wed, 27 Apr 2016 11:23:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u3RBNOrZ010692 for ; Wed, 27 Apr 2016 11:23:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 186316] [NEW PORT] devel/spyder: Scientific PYthon Development EnviRonment Date: Wed, 27 Apr 2016 11:23:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch, patch-ready X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: robak@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: cc resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2016 11:23:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186316 Bartek Rutkowski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robak@freebsd.org Resolution|--- |FIXED Status|Open |Closed --- Comment #59 from Bartek Rutkowski --- Seems like this is already completed and there's no action on it for a whil= e, so I'm closing this PR. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-python@freebsd.org Wed Apr 27 11:35:11 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C62D2B1E612 for ; Wed, 27 Apr 2016 11:35:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B0BEC1EAC for ; Wed, 27 Apr 2016 11:35:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AC654B1E611; Wed, 27 Apr 2016 11:35:11 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC0A0B1E610 for ; Wed, 27 Apr 2016 11:35:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C6F01EAB for ; Wed, 27 Apr 2016 11:35:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u3RBZBL5036021 for ; Wed, 27 Apr 2016 11:35:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 207894] devel/py-decorator: Update to 4.0.9 Date: Wed, 27 Apr 2016 11:35:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy, patch, patch-ready X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: robak@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: koobs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2016 11:35:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207894 Bartek Rutkowski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robak@freebsd.org Resolution|--- |FIXED Status|Open |Closed --- Comment #2 from Bartek Rutkowski --- Seems like this is already completed and there's no action on it for a whil= e, so I'm closing this PR. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-python@freebsd.org Thu Apr 28 10:35:56 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B512B1F00B for ; Thu, 28 Apr 2016 10:35:56 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 59E4C1C0B for ; Thu, 28 Apr 2016 10:35:56 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 59406B1F009; Thu, 28 Apr 2016 10:35:56 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 568C0B1F007 for ; Thu, 28 Apr 2016 10:35:56 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.freebsd.org (portscout.freebsd.org [IPv6:2001:1900:2254:206a::50:6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 499481C0A for ; Thu, 28 Apr 2016 10:35:56 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.freebsd.org ([127.0.1.123]) by portscout.freebsd.org (8.15.2/8.15.2) with ESMTP id u3SAZu1n030355 for ; Thu, 28 Apr 2016 10:35:56 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.freebsd.org (8.15.2/8.15.2/Submit) id u3SAZuOe030354; Thu, 28 Apr 2016 10:35:56 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201604281035.u3SAZuOe030354@portscout.freebsd.org> X-Authentication-Warning: portscout.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Thu, 28 Apr 2016 10:35:56 +0000 From: portscout@FreeBSD.org To: python@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2016 10:35:56 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/python@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ archivers/py-lz4 | 0.7.0 | 0.8.1 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Thanks. From owner-freebsd-python@freebsd.org Fri Apr 29 14:09:07 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6052BB1F4F9 for ; Fri, 29 Apr 2016 14:09:07 +0000 (UTC) (envelope-from bart@mikasoftware.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 43CC81C71 for ; Fri, 29 Apr 2016 14:09:07 +0000 (UTC) (envelope-from bart@mikasoftware.com) Received: by mailman.ysv.freebsd.org (Postfix) id 433CCB1F4F8; Fri, 29 Apr 2016 14:09:07 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42E47B1F4F7 for ; Fri, 29 Apr 2016 14:09:07 +0000 (UTC) (envelope-from bart@mikasoftware.com) Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF7611C6F for ; Fri, 29 Apr 2016 14:09:06 +0000 (UTC) (envelope-from bart@mikasoftware.com) Received: by mail-lf0-x22a.google.com with SMTP id c126so135994570lfb.2 for ; Fri, 29 Apr 2016 07:09:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mikasoftware-com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=IR+Wg/AcmT8FCvYgaR62Iq/v3LIc1bvMugvTp3E9UQE=; b=mgY6P5Rc5fmONhL6xzVWQ7XhxvUE6Nylibqonl3/EZgMxZEf6E1agonst2GjTpuPpK 6cnyAHJ9XnSyg9tzIn4108PBMJQ/VVCFL7XvN3BY/6p+Q6Y/26MxwcDaES94GpwbtV0v ytIvdq3hgeR8iqHjowymbFTmOCqqJRm5g/o2HVUwc5sw5exBXbMDJgiuQsEdrbWkCSHX aExAL3y470a68rCY4PG7oTEv04rn6PCAUivdB8Xi1GXK71vJpHpqPPwPBld+/tKdQmML 3IgVBa4DGg17YRZd0RylP0FSwFhteHKG+OES+Jw1tBbKSBSwo+3melBhEac+2obJ0QKA hFlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=IR+Wg/AcmT8FCvYgaR62Iq/v3LIc1bvMugvTp3E9UQE=; b=O7jzrCHJvHG1HUf4nN3c4nhzgJHjNIOLAgLJh8g6oAta9ypbo/4G5G8GnejBAYFTC4 DDkKMn4jL0yDhrgteOZEtBl1byyg6W80v+x1eg9jcguDCfJDtu5WNuPFgcCoNnRGu2lw V6Otj4pkKPj2ESofPGDwTHvOzu9Lr8sdBWyvZ3Yy0L0iqPcYziNcF4aWf3BfWSR8DWKX 54OWyvvmp4xxy2Ui8aE8/BJimxGAA+nggMDfS0eTCeXRBlG+kGTebPrVcGJ9QFgU3sEu PGaZ+ymsToxCHMqg9XO676Fll6S5/hLMzU7t2VVTyFlj5GhcSRf238sSDLVCbV7/rxA5 NhGQ== X-Gm-Message-State: AOPr4FVDdxqO+Xlh3E09TKbNhoYhg7ByyCgeRvqZTTwzfoj2Dp7/tW3Hb4e2Yv+rg3uM56QlHCTCtAQZCwypPw== MIME-Version: 1.0 X-Received: by 10.25.165.129 with SMTP id o123mr4045053lfe.105.1461938944632; Fri, 29 Apr 2016 07:09:04 -0700 (PDT) Received: by 10.25.78.143 with HTTP; Fri, 29 Apr 2016 07:09:04 -0700 (PDT) Date: Fri, 29 Apr 2016 10:09:04 -0400 Message-ID: Subject: django-tenants From: Bartlomiej Mika To: python@FreeBSD.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2016 14:09:07 -0000 Salutations! I have the following python installed: python34-3.4.4_2 I am also using *pip 8.1.1* I am trying to install *django-tenants* using these two things and python gives me this error: % pip install django-tenants Collecting django-tenants Using cached django-tenants-1.1.5.zip Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-814hp86j/django-tenants/setup.py", line 31, in long_description=open('README.rst').read() if exists("README.rst") else "", File "/usr/home/django/py-bizmula/env/lib/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 604: ordinal not in range(128) ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-814hp86j/django-tenants/ Can you investigate why *python 3.4* is messing up when doing this? I've asked the* django-tenants* package managers as well: https://github.com/tomturner/django-tenants/issues/80 Thank you! -- *Bartlomiej Mika*, President, London, Ontario Mobile: 226-235-1368 www.mikasoftware.com From owner-freebsd-python@freebsd.org Sat Apr 30 02:49:56 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 918A4B20A19 for ; Sat, 30 Apr 2016 02:49:56 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7F16818E7 for ; Sat, 30 Apr 2016 02:49:56 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: by mailman.ysv.freebsd.org (Postfix) id 7ACBEB20A18; Sat, 30 Apr 2016 02:49:56 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A721B20A17 for ; Sat, 30 Apr 2016 02:49:56 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id ACDEA18E4 for ; Sat, 30 Apr 2016 02:49:55 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp118-210-182-127.lns20.adl6.internode.on.net (HELO leader.local) ([118.210.182.127]) by ipmail05.adl6.internode.on.net with ESMTP; 30 Apr 2016 12:19:53 +0930 Subject: Re: django-tenants To: Bartlomiej Mika , python@FreeBSD.org References: From: Shane Ambler Message-ID: <57241D50.1050106@ShaneWare.Biz> Date: Sat, 30 Apr 2016 12:19:52 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------040203090204000609050907" X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2016 02:49:56 -0000 This is a multi-part message in MIME format. --------------040203090204000609050907 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 29/04/2016 23:39, Bartlomiej Mika wrote: > Salutations! > > I have the following python installed: python34-3.4.4_2 > > I am also using *pip 8.1.1* > > I am trying to install *django-tenants* using these two things and python > gives me this error: > > % pip install django-tenants > > > Collecting django-tenants > > Using cached django-tenants-1.1.5.zip > > Complete output from command python setup.py egg_info: > > Traceback (most recent call last): > > File "", line 1, in > > File "/tmp/pip-build-814hp86j/django-tenants/setup.py", line 31, in > > > long_description=open('README.rst').read() if exists("README.rst") > else "", > > File > "/usr/home/django/py-bizmula/env/lib/python3.4/encodings/ascii.py", line > 26, in decode > > return codecs.ascii_decode(input, self.errors)[0] > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position > 604: ordinal not in range(128) The file README.rst has non-ascii characters in it but python is trying to read it as an ascii file Specifically it uses the "right single quotation mark" instead of a "modifier letter apostrophe" or a simple ascii apostrophe https://tedclancy.wordpress.com/2015/06/03/which-unicode-character-should-represent-the-english-apostrophe-and-why-the-unicode-committee-is-very-wrong/ This would be an automatic thing from the text editor used. One solution is to patch django-tenants - that could be done in a port not(?) when using pip directly. You could patch README.rst to have only ascii chars or patch setup.py to use - long_description=open('README.rst', encoding='utf-8').read() if exists("README.rst") else "", A quick solution for you is to set your locale Currently you would see the following - % python3.4 ... >>> import locale >>> locale.getpreferredencoding() 'US-ASCII' >>> t = open('README.rst').read() Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.5/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 604: ordinal not in range(128) If you set your locale to use utf-8 then you won't get this error. using tcsh - % setenv LC_ALL en_US.UTF-8 using sh - % LC_ALL=en_US.UTF-8;export LC_ALL % python3.4 ... >>> import locale >>> locale.getpreferredencoding() 'UTF-8' >>> t = open('README.rst').read() >>> Oddly python2.7 recognises that the file is utf-8 even when the locale is ascii but python 3.4 and 3.5 don't. I don't expect to use django-tenants but it is a simple port - if you want to add yourself as the maintainer you could submit the following as a new port to https://bugs.freebsd.org -- FreeBSD - the place to B...Software Developing Shane Ambler --------------040203090204000609050907 Content-Type: text/plain; charset=UTF-8; name="py-django-tenants.shar.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="py-django-tenants.shar.txt" IyBUaGlzIGlzIGEgc2hlbGwgYXJjaGl2ZS4gIFNhdmUgaXQgaW4gYSBmaWxlLCByZW1vdmUg YW55dGhpbmcgYmVmb3JlCiMgdGhpcyBsaW5lLCBhbmQgdGhlbiB1bnBhY2sgaXQgYnkgZW50 ZXJpbmcgInNoIGZpbGUiLiAgTm90ZSwgaXQgbWF5CiMgY3JlYXRlIGRpcmVjdG9yaWVzOyBm aWxlcyBhbmQgZGlyZWN0b3JpZXMgd2lsbCBiZSBvd25lZCBieSB5b3UgYW5kCiMgaGF2ZSBk ZWZhdWx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