pip install raven 6.2.0 is missing contextlib2
See original GitHub issueWe are getting the following error on our jenkins :
[snip]
raven/__init__.py:54: in <module>
from raven.base import *
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
from __future__ import absolute_import
import zlib
import logging
import os
import sys
import time
import uuid
import warnings
from datetime import datetime
from inspect import isclass
from random import Random
from types import FunctionType
from threading import local
if sys.version_info >= (3, 2):
import contextlib
else:
> import contextlib2 as contextlib
E ImportError: No module named contextlib2
it seems to have appeared since the release of 6.2.0.
pip install raven in a clean virtualenv doesn’t seem to be pulling contextlib2…
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:9 (2 by maintainers)
Top Results From Across the Web
raven · PyPI
Raven is a Python client for Sentry. It provides full out-of-the-box support for many of the popular frameworks, including Django, Flask, and Pylons....
Read more >Cellprofiler 3.1.9 on Ubuntu 18.04 LTS - Image.sc Forum
So I am trying to install Cellprofiler 3.1.9 on Ubuntu 18.04 (as the title might have hinted) so I can use the generated...
Read more >Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. It is automatically generated based on the packages in this Spack version....
Read more >Index of /pub/archive/epel/6/x86_64/Packages/p - Fedora
perl-Inline-Python-0.49-3.el6.x86_64.rpm 2015-06-26 12:45 52K [ ] ... perl-Sysadm-Install-0.36-1.el6.noarch.rpm 2011-05-02 17:18 34K [ ] ...
Read more >Open Source Used In Stealthwatch Enterprise (official) 7.3.2
1.212 libsub-install-perl 0.928-1 ... 1.2246 objectweb-asm 6.2.0 ... No license file was found, but licenses were detected in source scan.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I guess the package shouldn’t be declared as a universal wheel, because dependencies are computed dynamically.
Maybe you should use extra Python requirements, with a “marker” as in: https://github.com/kdeldycke/meta-package-manager/blob/v2.6.0/setup.py#L49
It seems like it’s a problem with the way the wheel is built: