incompatibility sphinx - urllib3

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

incompatibility sphinx - urllib3

Frédéric Dubois-2
Dear all,

After the last update of my ports it appears a problem with sphinx while
generating some documentation of my code.
As far I understand the problem is due to the update of urllib3.
Any idea on how to fix this problem ?

Regards

%<--
sphinx build log message

   File "/opt/local/bin/sphinx-build", line 6, in <module>
     from pkg_resources import load_entry_point
   File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3038, in <module>
     @_call_aside
   File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3022, in _call_aside
     f(*args, **kwargs)
   File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3051, in _initialize_master_working_set
     working_set = WorkingSet._build_master()
   File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 659, in _build_master
     return cls._build_from_requirements(__requires__)
   File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 672, in _build_from_requirements
     dists = ws.resolve(reqs, Environment())
   File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 857, in resolve
     raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'urllib3<1.22,>=1.21.1'
distribution was not found and is required by requests

%<--

during last update

--->  Computing dependencies for py27-urllib3
--->  Fetching archive for py27-urllib3
--->  Attempting to fetch py27-urllib3-1.22_0.darwin_15.x86_64.tbz2 from
https://packages.macports.org/py27-urllib3
--->  Attempting to fetch
py27-urllib3-1.22_0.darwin_15.x86_64.tbz2.rmd160 from
https://packages.macports.org/py27-urllib3
--->  Installing py27-urllib3 @1.22_0
--->  Cleaning py27-urllib3
--->  Computing dependencies for py27-urllib3
--->  Deactivating py27-urllib3 @1.21.1_0
--->  Cleaning py27-urllib3
--->  Activating py27-urllib3 @1.22_0
--->  Cleaning py27-urllib3

%<--



--
Frédéric Dubois, PhD, Eng.
Laboratoire de Mécanique et Génie Civil - CNRS/UM2
http://www.lmgc.univ-montp2.fr/~dubois
Tel: (33/0) 467144984
Mobile: (33/0) 635490843
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: incompatibility sphinx - urllib3

Michael Dickens-4
Committed in <
https://github.com/macports/macports-ports/commit/83b7e9c9f69e8cc56cda33bab5f856a64cccdb5a
> already. Do a selfupdate / sync & update. - MLD

On Tue, Jul 25, 2017, at 03:33 PM, frédéric dubois wrote:

> Dear all,
>
> After the last update of my ports it appears a problem with sphinx while
> generating some documentation of my code.
> As far I understand the problem is due to the update of urllib3.
> Any idea on how to fix this problem ?
>
> Regards
>
> %<--
> sphinx build log message
>
>    File "/opt/local/bin/sphinx-build", line 6, in <module>
>      from pkg_resources import load_entry_point
>    File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 3038, in <module>
>      @_call_aside
>    File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 3022, in _call_aside
>      f(*args, **kwargs)
>    File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 3051, in _initialize_master_working_set
>      working_set = WorkingSet._build_master()
>    File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 659, in _build_master
>      return cls._build_from_requirements(__requires__)
>    File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 672, in _build_from_requirements
>      dists = ws.resolve(reqs, Environment())
>    File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 857, in resolve
>      raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'urllib3<1.22,>=1.21.1'
> distribution was not found and is required by requests
>
> %<--
>
> during last update
>
> --->  Computing dependencies for py27-urllib3
> --->  Fetching archive for py27-urllib3
> --->  Attempting to fetch py27-urllib3-1.22_0.darwin_15.x86_64.tbz2 from
> https://packages.macports.org/py27-urllib3
> --->  Attempting to fetch
> py27-urllib3-1.22_0.darwin_15.x86_64.tbz2.rmd160 from
> https://packages.macports.org/py27-urllib3
> --->  Installing py27-urllib3 @1.22_0
> --->  Cleaning py27-urllib3
> --->  Computing dependencies for py27-urllib3
> --->  Deactivating py27-urllib3 @1.21.1_0
> --->  Cleaning py27-urllib3
> --->  Activating py27-urllib3 @1.22_0
> --->  Cleaning py27-urllib3
>
> %<--
>
>
>
> --
> Frédéric Dubois, PhD, Eng.
> Laboratoire de Mécanique et Génie Civil - CNRS/UM2
> http://www.lmgc.univ-montp2.fr/~dubois
> Tel: (33/0) 467144984
> Mobile: (33/0) 635490843
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: incompatibility sphinx - urllib3

Frédéric Dubois-2
In reply to this post by Frédéric Dubois-2
Works fine now.
Thanks

Le 25/07/2017 22:34, [hidden email] a écrit :

> You are not allowed to post to this mailing list, and your message has
> been automatically rejected.  You need to be subscribed to post to
> this list to prevent spam.  Make sure you subscribe with the same
> email address from which you want to post.
>
> https://trac.macports.org/wiki/MailingLists
>
> If you think that your messages are being rejected in error, contact
> the mailing list owner at [hidden email].
>
>
> Return-Path:
> <SRS0=UJa4=64=umontpellier.fr=[hidden email]>
> X-Original-To: [hidden email]
> Delivered-To: [hidden email]
> Received-SPF: Pass (sender SPF authorized) identity=mailfrom;
> client-ip=193.51.152.36; helo=mx5.umontpellier.fr;
> envelope-from=[hidden email];
> receiver=[hidden email]
> Received: from mx5.umontpellier.fr (mx5.umontpellier.fr
> [193.51.152.36])
> by braeburn.macports.org (Postfix) with ESMTPS id 9D97A1003F7
> for <[hidden email]>; Tue, 25 Jul 2017 20:34:14
> +0000 (UTC)
> IronPort-PHdr:
> =?us-ascii?q?9a23=3AIC85kR+Fr+3BJv9uRHKM819IXTAuvvDOBiVQ1KB2?=
>  
> =?us-ascii?q?1eMcTK2v8tzYMVDF4r011RmSDNWds6oMotGVmpioYXYH75eFvSJKW713fDhBt/?=
>  
> =?us-ascii?q?8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1?=
>  
> =?us-ascii?q?Ifn+FpLPg8it2e2//57ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+?=
>  
> =?us-ascii?q?RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTF?=
>  
> =?us-ascii?q?UACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRhHohi?=
>  
> =?us-ascii?q?kZNDA28m/XhNF/g61Hrxyhphtxw5LPbYGJLfpxYr/RcMkGSWdDWMtaSixPApm7?=
>  
> =?us-ascii?q?b4sKF+cPPfxYoJfgqFQQtxu+BBWjD/7hxD9VnXD22qw60/88GgzB0gwgBcwBv2?=
>  
> =?us-ascii?q?nKo9XvNacdTfq5w7TVzTrYaPNW2Cz95ZPVchAkpvGMW65wcdLPxkkrEwPFj0uf?=
>  
> =?us-ascii?q?qZb/MzObzOQAqm6W5PduW+Kojm4osQBxoj63y8cpkIbGmpoVylfe9SVl24Y5P9?=
>  
> =?us-ascii?q?q4SFR0YdK8H5tQtj2aN4trQsw5WW1npCE6yrgetZ6meigKyYonywfaa/yAdYiI?=
>  
> =?us-ascii?q?/grjWPiLLTd2nnJofq+0iRWq8UW41+HxUse53ExKoyZYiNXAq3AA2wLJ5sSaRP?=
>  
> =?us-ascii?q?Zw8V+t1SuL2g3d8O1JIV04mbDGJ5Mh3LI8jIcfvEvdEiLwhU74lrWZdl8+9eit?=
>  
> =?us-ascii?q?8+nnZ7LmqYKCOIJskQH+N7gumtS4AeQlLggCR2ib9vq41L3k5UD5RalKgecvnq?=
>  
> =?us-ascii?q?nerZDaOdoXqrS4Aw9T3IYj8QywAy270NQdmnkHKk5FeAqZgIjtP1HOIe73De2l?=
>  
> =?us-ascii?q?j1Siijdn3/HGPrv/DZXRNnXPjbPscLhn50Nc1QY/181T6pJKBr0bPf7+VED8uM?=
>  
> =?us-ascii?q?TdDhAjMgy0x+jnCM961oMbQW+PDLWZP73PvlCW/OIvIvWDaJUItzbgMPcl4P/u?=
>  
> =?us-ascii?q?jWQilF8AeKmp2p0XaGygHvt4J0WZZXvsjckbEWsQsAo+VvTmiEeeXj5Le3ayQ6?=
>  
> =?us-ascii?q?U86yk+CI28EYjDXoetgKad3CegB5FWe3tGBU6WEXfzbIiEX/YMaDmOIs96iDAE?=
>  
> =?us-ascii?q?UKKuRJM51RGprg/616FnIvDT+i0CupKwnORysujangk17yBvStmG3nuWZ2V1hX?=
>  
> =?us-ascii?q?8TATo/17h4u1BmjFCZ3vtWmftdQPJJ6v9ESAYxfbLBxet7EJimVBjMctqTSV3g?=
>  
> =?us-ascii?q?TsisBjAqZs80xNkSe0t5H9SvlFbNxXz5UPcui7WXCclsoern1H/rKpMlxg=3D?=
>  =?us-ascii?q?=3D?=
> X-IronPort-Anti-Spam-Filtered: true
> X-IronPort-Anti-Spam-Result:
> =?us-ascii?q?A2F/AwA0qndZ/4aYM8FdFgUBAQEDAQEBC?=
>  
> =?us-ascii?q?QEBARYBAQEDAQEBCQEBAYMvZIEUB4MpnCIilhSBQTwHIQ2FGQKDOEMUAQEBAQE?=
>  
> =?us-ascii?q?BAQEBAQECaCiCMyIMBEYpLwEBAQEBAQEBAQEBAQEBARoCDQZYAQEBAwELFwRXC?=
>  
> =?us-ascii?q?wIBBgIYAgINGQICKC8CF4ozDJMunWSBbDqLViaBC4Idg02BYTaCboQ9FgEBHoM?=
>  
> =?us-ascii?q?TgmEFn1d5gS+FJ4ZaiAKJFIcZiU6MGzYigQoyISiDKIRNdAEEhn+BIwGBDQEBA?=
>  =?us-ascii?q?Q?=
> X-IPAS-Result:
> =?us-ascii?q?A2F/AwA0qndZ/4aYM8FdFgUBAQEDAQEBCQEBARYBAQEDAQE?=
>  
> =?us-ascii?q?BCQEBAYMvZIEUB4MpnCIilhSBQTwHIQ2FGQKDOEMUAQEBAQEBAQEBAQECaCiCM?=
>  
> =?us-ascii?q?yIMBEYpLwEBAQEBAQEBAQEBAQEBARoCDQZYAQEBAwELFwRXCwIBBgIYAgINGQI?=
>  
> =?us-ascii?q?CKC8CF4ozDJMunWSBbDqLViaBC4Idg02BYTaCboQ9FgEBHoMTgmEFn1d5gS+FJ?=
>  =?us-ascii?q?4ZaiAKJFIcZiU6MGzYigQoyISiDKIRNdAEEhn+BIwGBDQEBAQ?=
> X-IronPort-AV: E=Sophos;i="5.40,412,1496095200";
>    d="scan'208";a="462735"
> Received: from mta-out2.infra.umontpellier.fr ([193.51.152.134])
>   by smtp-gw5.umontpellier.fr with ESMTP; 25 Jul 2017 22:34:13 +0200
> Received: from zpstore1.infra.umontpellier.fr
> (zpstore1.infra.umontpellier.fr [172.23.41.131])
> by mta-out2.infra.umontpellier.fr (Postfix) with ESMTP id 56EAE80017
> for <[hidden email]>; Tue, 25 Jul 2017 22:34:13
> +0200 (CEST)
> Date: Tue, 25 Jul 2017 22:34:13 +0200 (CEST)
> From: Frederic Dubois <[hidden email]>
> To: [hidden email]
> Message-ID:
> <[hidden email]>
> In-Reply-To:
> <[hidden email]>
> References: <[hidden email]>
> <[hidden email]>
> Subject: Re: incompatibility sphinx - urllib3
> MIME-Version: 1.0
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: quoted-printable
> X-Originating-IP: [193.51.152.142]
> X-Mailer: Zimbra 8.6.0_GA_1211 (ZimbraWebClient - FF54
> (Mac)/8.6.0_GA_1211)
> Thread-Topic: incompatibility sphinx - urllib3
> Thread-Index: m5yAZpKw2EOgyy9/g8jqBb1oWxPn3g==
> X-Spam-Status: No, score=-0.0 required=5.0
> tests=RP_MATCHES_RCVD,SPF_PASS
> autolearn=ham autolearn_force=no version=3.4.0
> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
> braeburn.macports.org
>
> Works fine now.
> Thanks.
>
> ----- Mail original -----
>> De: "Michael Dickens" <[hidden email]>
>> =C3=80: "Fr=EF=BF=BDd=EF=BF=BDric" <[hidden email]>,
>> macp=
> [hidden email]
>> Envoy=C3=A9: Mardi 25 Juillet 2017 22:08:29
>> Objet: Re: incompatibility sphinx - urllib3
>
>> Committed in <
>> https://github.com/macports/macports-ports/commit/83b7e9c9f69e8cc56cda33b=
> ab5f856a64cccdb5a
>>> already. Do a selfupdate / sync & update. - MLD
>> =20
>> On Tue, Jul 25, 2017, at 03:33 PM, fr=C3=A9d=C3=A9ric dubois wrote:
>>> Dear all,
>>> =20
>>> After the last update of my ports it appears a problem with sphinx
>>> while
>>> generating some documentation of my code.
>>> As far I understand the problem is due to the update of urllib3.
>>> Any idea on how to fix this problem ?
>>> =20
>>> Regards
>>> =20
>>> %<--
>>> sphinx build log message
>>> =20
>>>    File "/opt/local/bin/sphinx-build", line 6, in <module>
>>>      from pkg_resources import load_entry_point
>>>    File
>>> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2=
> .7/site-packages/pkg_resources/__init__.py",
>>> line 3038, in <module>
>>>      @_call_aside
>>>    File
>>> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2=
> .7/site-packages/pkg_resources/__init__.py",
>>> line 3022, in _call_aside
>>>      f(*args, **kwargs)
>>>    File
>>> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2=
> .7/site-packages/pkg_resources/__init__.py",
>>> line 3051, in _initialize_master_working_set
>>>      working_set =3D WorkingSet._build_master()
>>>    File
>>> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2=
> .7/site-packages/pkg_resources/__init__.py",
>>> line 659, in _build_master
>>>      return cls._build_from_requirements(__requires__)
>>>    File
>>> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2=
> .7/site-packages/pkg_resources/__init__.py",
>>> line 672, in _build_from_requirements
>>>      dists =3D ws.resolve(reqs, Environment())
>>>    File
>>> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2=
> .7/site-packages/pkg_resources/__init__.py",
>>> line 857, in resolve
>>>      raise DistributionNotFound(req, requirers)
>>> pkg_resources.DistributionNotFound: The 'urllib3<1.22,>=3D1.21.1'
>>> distribution was not found and is required by requests
>>> =20
>>> %<--
>>> =20
>>> during last update
>>> =20
>>> --->  Computing dependencies for py27-urllib3
>>> --->  Fetching archive for py27-urllib3
>>> --->  Attempting to fetch py27-urllib3-1.22_0.darwin_15.x86_64.tbz2
>>> from
>>> https://packages.macports.org/py27-urllib3
>>> --->  Attempting to fetch
>>> py27-urllib3-1.22_0.darwin_15.x86_64.tbz2.rmd160 from
>>> https://packages.macports.org/py27-urllib3
>>> --->  Installing py27-urllib3 @1.22_0
>>> --->  Cleaning py27-urllib3
>>> --->  Computing dependencies for py27-urllib3
>>> --->  Deactivating py27-urllib3 @1.21.1_0
>>> --->  Cleaning py27-urllib3
>>> --->  Activating py27-urllib3 @1.22_0
>>> --->  Cleaning py27-urllib3
>>> =20
>>> %<--
>>> =20
>>> =20
>>> =20
>>> --
>>> Fr=C3=A9d=C3=A9ric Dubois, PhD, Eng.
>>> Laboratoire de M=C3=A9canique et G=C3=A9nie Civil - CNRS/UM2
>>> http://www.lmgc.univ-montp2.fr/~dubois
>>> Tel: (33/0) 467144984
>> > Mobile: (33/0) 635490843
>
> --=20
> Fr=C3=A9d=C3=A9ric Dubois, PhD, Eng.
> Directeur adjoint du LMGC, responsable du service ReMICS.
> Laboratoire de M=C3=A9canique et G=C3=A9nie Civil - CNRS/UM
> cc 048, 163 rue Auguste Broussonnet, 34090 Montpellier
> http://www.lmgc.univ-montp2.fr/~dubois
> Tel: 33/0 467144984
> Mobile: 33/0 635490843

--
Frédéric Dubois, PhD, Eng.
Laboratoire de Mécanique et Génie Civil - CNRS/UM2
cc 048, Place E. Bataillon, 34095 Montpellier Cedex 05
http://www.lmgc.univ-montp2.fr/~dubois
Tel: (33/0) 467144984
Mobile: (33/0) 635490843
Loading...