Opened 6 years ago
Closed 6 years ago
#58394 closed defect (fixed)
py-upt: incompatible version of py-urllib3
Reported by: | mojca (Mojca Miklavec) | Owned by: | Korusuke (Karan Sheth) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | reneeotten (Renee Otten), amake (Aaron Madlon-Kay), Steap (Cyril Roelandt) | |
Port: | py-upt py-urllib3 |
Description (last modified by mojca (Mojca Miklavec))
> 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.
Change History (4)
comment:1 Changed 6 years ago by mojca (Mojca Miklavec)
Cc: | amake Steap added |
---|---|
Description: | modified (diff) |
Port: | py-urllib3 added |
Summary: | py-upt: missing dependencies → py-upt: incompatible version of py-urllib3 |
comment:2 Changed 6 years ago by jmroot (Joshua Root)
comment:3 Changed 6 years ago by reneeotten (Renee Otten)
the incompatibility is due to py-requests
and py-urllib3
; the latter one was indeed recently upgraded and that version isn't compatible with py-requests
yet. The issue was reported before, see Trac ticket 58382, and an attempt was made to resolve this in this commit. The latest update of py-urllib3
to 1.25.1 now doesn't work with py-requests
anymore.
So I suppose a quick-fix would be to update the patches in py-requests
for now. There is an open issue and PR upstream for py-requests
that will address the incompatibility issue for real.
comment:4 Changed 6 years ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Why does it even specify a maximum version? Does urllib3 make incompatible changes that often?