incompatibility sphinx - urllib3

frédéric dubois frederic.dubois at
Tue Jul 25 19:33:43 UTC 2017

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 ?


sphinx build log message

   File "/opt/local/bin/sphinx-build", line 6, in <module>
     from pkg_resources import load_entry_point
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/", line 3038, in <module>
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/", line 3022, in _call_aside
     f(*args, **kwargs)
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/", line 3051, in _initialize_master_working_set
     working_set = WorkingSet._build_master()
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/", line 659, in _build_master
     return cls._build_from_requirements(__requires__)
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/", line 672, in _build_from_requirements
     dists = ws.resolve(reqs, Environment())
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/", 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
--->  Attempting to fetch 
py27-urllib3-1.22_0.darwin_15.x86_64.tbz2.rmd160 from
--->  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
Tel: (33/0) 467144984
Mobile: (33/0) 635490843

More information about the macports-users mailing list