Date: Tue, 10 Dec 2019 13:46:25 -0600 From: Weldon Godfrey <weldon@excelsusphoto.com> To: Kai Knoblich <kai@freefall.freebsd.org> Cc: python@freebsd.org Subject: Re: py36-urllib3 and py-certbot Message-ID: <1ce6629add0174c11fc0efee83f6e698@excelsusphoto.com> In-Reply-To: <20191210093706.GA34410@freefall.freebsd.org> References: <f0be3442c396698101ed3239137c22ae@excelsusphoto.com> <20191210093706.GA34410@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks! That was it. I upgraded py36-requests from 2.21.0 to 2.22.0 and that resolved the error. It appears portmaster wasnt picking up needing to update py36-requests as a dependancy. Below is the info you asked for info. Thanks for helping! Weldon The full traceback when certbot is executed is: root@senna:/usr/ports/net/py-urllib3 # certbot Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 583, in _build_master ws.require(__requires__) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (urllib3 1.25.6 (/usr/local/lib/python3.6/site-packages), Requirement.parse('urllib3<1.25,>=1.21.1'), {'requests'}) Version of py_requests being used: py36-requests-2.21.0 HTTP library written in Python for human beings py36-requests-toolbelt-0.8.0 Utility belt for advanced users of python-requests On 2019-12-10 3:37 am, Kai Knoblich wrote: > Hi Weldon, > > On Thu, Dec 05, 2019 at 10:41:09AM -0600, Weldon Godfrey wrote: > >> Due to a security advisory, I port upgraded py-36-urllib3 to 1.25.6 >> >> Since then, >> >> py36-certbot-0.39.0,1 >> >> is unhappy for the version of urllib3 being too new: >> >> pkg_resources.DistributionNotFound: The 'urllib3<1.25,>=1.21.1' >> distribution was not found and is required by request > > thank you for reporting it and sorry for the late reply as your mail somehow > slipped through the cracks. > > I already did some investigations but I wasn't able to reproduce the issue. > > At the moment I have the assumption that the www/py-requests port is still at > release 2.20 on your system. > > Can you please send me a full backtrace of the error messsage? > > An output of "pkg info -x py" would be also very useful to further > investigate the issue. > -- > Cheers > Kai From owner-freebsd-python@freebsd.org Tue Dec 10 19:49:04 2019 Return-Path: <owner-freebsd-python@freebsd.org> 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 735D61E310A for <freebsd-python@mailman.nyi.freebsd.org>; Tue, 10 Dec 2019 19:49:04 +0000 (UTC) (envelope-from weldon@excelsusphoto.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47XVxX2VZyz4B4p for <freebsd-python@freebsd.org>; Tue, 10 Dec 2019 19:49:04 +0000 (UTC) (envelope-from weldon@excelsusphoto.com) Received: by mailman.nyi.freebsd.org (Postfix) id 53C291E3109; Tue, 10 Dec 2019 19:49:04 +0000 (UTC) Delivered-To: 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 523FC1E3108 for <python@mailman.nyi.freebsd.org>; Tue, 10 Dec 2019 19:49:04 +0000 (UTC) (envelope-from weldon@excelsusphoto.com) Received: from senna.excelsus.com (senna.excelsus.com [96.79.137.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47XVxW3gWfz4B4j for <python@freebsd.org>; Tue, 10 Dec 2019 19:49:03 +0000 (UTC) (envelope-from weldon@excelsusphoto.com) Received: from localhost (localhost [127.0.0.1]) by senna.excelsus.com (Postfix) with ESMTP id 880471A376 for <python@freebsd.org>; Tue, 10 Dec 2019 13:49:02 -0600 (CST) Received: from senna.excelsus.com ([127.0.0.1]) by localhost (host.domain.tld [127.0.0.1]) (maiad, port 10024) with ESMTP id 48176-02 for <python@freebsd.org>; Tue, 10 Dec 2019 13:49:00 -0600 (CST) Received: from webmail.excelsus.com (localhost [127.0.0.1]) (Authenticated sender: weldon@excelsusphoto.com) by senna.excelsus.com (Postfix) with ESMTPA id 5462B1A36E for <python@freebsd.org>; Tue, 10 Dec 2019 13:49:00 -0600 (CST) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_2a7f816094922f9b25ce36973215f835" Date: Tue, 10 Dec 2019 13:49:00 -0600 From: Weldon Godfrey <weldon@excelsusphoto.com> To: python@freebsd.org Subject: Fwd: Undelivered Mail Returned to Sender In-Reply-To: <20191210194637.1A4AF1A34D@senna.excelsus.com> References: <20191210194637.1A4AF1A34D@senna.excelsus.com> Message-ID: <415a751c21a768164f0e2df935dd990e@excelsusphoto.com> X-Sender: weldon@excelsusphoto.com User-Agent: Roundcube Webmail/1.3.8 X-Virus-Scanned: Maia Mailguard 1.0.4 X-Rspamd-Queue-Id: 47XVxW3gWfz4B4j X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of weldon@excelsusphoto.com has no SPF policy when checking 96.79.137.12) smtp.mailfrom=weldon@excelsusphoto.com X-Spamd-Result: default: False [0.60 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.56)[-0.559,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.40)[ipnet: 96.64.0.0/11(-1.64), asn: 7922(-0.31), country: US(-0.05)]; HAS_ATTACHMENT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[python@freebsd.org]; TO_DN_NONE(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,multipart/alternative,text/plain]; RCPT_COUNT_ONE(0.00)[1]; AUTH_NA(1.00)[]; MIME_BAD_ATTACHMENT(1.60)[zip]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-0.94)[-0.940,0]; DMARC_NA(0.00)[excelsusphoto.com]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~,5:~,6:+,7:+,8:~]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 10 Dec 2019 19:49:04 -0000 --=_2a7f816094922f9b25ce36973215f835 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII FYI - I got a bounce back when replying to the last email. -------- Original Message -------- SUBJECT: Undelivered Mail Returned to Sender DATE: 2019-12-10 1:46 pm FROM: MAILER-DAEMON@senna.excelsus.com (Mail Delivery System) TO: weldon@excelsusphoto.com This is the mail system at host senna.excelsus.com. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <kai@freefall.freebsd.org>: host mx1.freebsd.org[96.47.72.80] said: 550-5.1.1 <kai@freefall.freebsd.org>: Recipient address rejected: undeliverable address: No mailbox by that name 550 5.1.1 in case of permanent delivery errors (e.g. 5XX SMTP errors) please send your problem report from a non-blocked location (e.g. gmail/yahoo) to postmaster@FreeBSD.org and include the following information: time (Dec 10 19:46:37) and client (96.79.137.12). (in reply to RCPT TO command) --=_2a7f816094922f9b25ce36973215f835 Content-Transfer-Encoding: 8bit Content-Type: message/rfc822; name="Undelivered Message" Content-Disposition: attachment; filename="Undelivered Message"; size=7591 Return-Path: <weldon@excelsusphoto.com> Received: from localhost (localhost [127.0.0.1]) by senna.excelsus.com (Postfix) with ESMTP id C870A1A34B; Tue, 10 Dec 2019 13:46:26 -0600 (CST) Received: from senna.excelsus.com ([127.0.0.1]) by localhost (host.domain.tld [127.0.0.1]) (maiad, port 10024) with ESMTP id 45532-04; Tue, 10 Dec 2019 13:46:25 -0600 (CST) Received: from webmail.excelsus.com (localhost [127.0.0.1]) (Authenticated sender: weldon@excelsusphoto.com) by senna.excelsus.com (Postfix) with ESMTPA id 0F8091A346; Tue, 10 Dec 2019 13:46:25 -0600 (CST) MIME-Version: 1.0 Date: Tue, 10 Dec 2019 13:46:25 -0600 From: Weldon Godfrey <weldon@excelsusphoto.com> To: Kai Knoblich <kai@freefall.freebsd.org> Cc: python@freebsd.org Subject: Re: py36-urllib3 and py-certbot In-Reply-To: <20191210093706.GA34410@freefall.freebsd.org> References: <f0be3442c396698101ed3239137c22ae@excelsusphoto.com> <20191210093706.GA34410@freefall.freebsd.org> Message-ID: <1ce6629add0174c11fc0efee83f6e698@excelsusphoto.com> X-Sender: weldon@excelsusphoto.com User-Agent: Roundcube Webmail/1.3.8 X-Virus-Scanned: Maia Mailguard 1.0.4 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Thanks! That was it. I upgraded py36-requests from 2.21.0 to 2.22.0 and that resolved the error. It appears portmaster wasnt picking up needing to update py36-requests as a dependancy. Below is the info you asked for info. Thanks for helping! Weldon The full traceback when certbot is executed is: root@senna:/usr/ports/net/py-urllib3 # certbot Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 583, in _build_master ws.require(__requires__) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (urllib3 1.25.6 (/usr/local/lib/python3.6/site-packages), Requirement.parse('urllib3<1.25,>=1.21.1'), {'requests'}) Version of py_requests being used: py36-requests-2.21.0 HTTP library written in Python for human beings py36-requests-toolbelt-0.8.0 Utility belt for advanced users of python-requests On 2019-12-10 3:37 am, Kai Knoblich wrote: > Hi Weldon, > > On Thu, Dec 05, 2019 at 10:41:09AM -0600, Weldon Godfrey wrote: > >> Due to a security advisory, I port upgraded py-36-urllib3 to 1.25.6 >> >> Since then, >> >> py36-certbot-0.39.0,1 >> >> is unhappy for the version of urllib3 being too new: >> >> pkg_resources.DistributionNotFound: The 'urllib3<1.25,>=1.21.1' >> distribution was not found and is required by request > > thank you for reporting it and sorry for the late reply as your mail somehow > slipped through the cracks. > > I already did some investigations but I wasn't able to reproduce the issue. > > At the moment I have the assumption that the www/py-requests port is still at > release 2.20 on your system. > > Can you please send me a full backtrace of the error messsage? > > An output of "pkg info -x py" would be also very useful to further > investigate the issue. > -- > Cheers > Kai --=_2a7f816094922f9b25ce36973215f835--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1ce6629add0174c11fc0efee83f6e698>