[MacPorts] #58394: py-upt: incompatible version of py-urllib3 (was: py-upt: missing dependencies)

MacPorts noreply at macports.org
Fri Apr 26 20:57:09 UTC 2019


#58394: py-upt: incompatible version of py-urllib3
--------------------------------+---------------------------
  Reporter:  mojca              |      Owner:  karan.sheth@…
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:
      Port:  py-upt py-urllib3  |
--------------------------------+---------------------------
Changes (by mojca):

 * cc: amake, Steap (added)
 * port:  py-upt => py-upt py-urllib3


Old description:

> {{{
> > upt-3.7 package -b macports -f pypi foo
> Traceback (most recent call last):
>   File "/opt/local/bin/upt-3.7", line 11, in <module>
>     load_entry_point('upt==0.6', 'console_scripts', 'upt')()
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/upt/upt.py", line 250, in main
>     frontends = _get_installed_frontends()
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/upt/upt.py", line 224, in _get_installed_frontends
>     return _get_installed_plugins('upt.frontends')
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/upt/upt.py", line 217, in _get_installed_plugins
>     plugin_cls = ep.load()
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/pkg_resources/__init__.py", line 2433, in load
>     self.require(*args, **kwargs)
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/pkg_resources/__init__.py", line 2456, in require
>     items = working_set.resolve(reqs, env, installer, extras=self.extras)
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/pkg_resources/__init__.py", line 791, in resolve
>     raise VersionConflict(dist, req).with_context(dependent_req)
> pkg_resources.ContextualVersionConflict: (urllib3 1.25.1
> (/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages), Requirement.parse('urllib3<=1.25,>=1.21.1'),
> {'requests'})
> }}}

New description:

 {{{
 > upt-3.7 package -b macports -f pypi foo
 Traceback (most recent call last):
   File "/opt/local/bin/upt-3.7", line 11, in <module>
     load_entry_point('upt==0.6', 'console_scripts', 'upt')()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/upt/upt.py", line 250, in main
     frontends = _get_installed_frontends()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/upt/upt.py", line 224, in _get_installed_frontends
     return _get_installed_plugins('upt.frontends')
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/upt/upt.py", line 217, in _get_installed_plugins
     plugin_cls = ep.load()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/pkg_resources/__init__.py", line 2433, in load
     self.require(*args, **kwargs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/pkg_resources/__init__.py", line 2456, in require
     items = working_set.resolve(reqs, env, installer, extras=self.extras)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/pkg_resources/__init__.py", line 791, in resolve
     raise VersionConflict(dist, req).with_context(dependent_req)
 pkg_resources.ContextualVersionConflict: (urllib3 1.25.1
 (/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages), Requirement.parse('urllib3<=1.25,>=1.21.1'),
 {'requests'})
 }}}

 It seems that urllib3 was update today.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/58394#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list