Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need python2.7 support #2

Open
pikhovkin opened this issue Jun 8, 2020 · 2 comments
Open

Need python2.7 support #2

pikhovkin opened this issue Jun 8, 2020 · 2 comments

Comments

@pikhovkin
Copy link

Need python2.7 support

@gleb-sevruk
Copy link
Owner

The more I'm thinking about Python 2.7, the more I believe we should update our projects to 3.6+

On the other side I'm also working on Python 2.7 codebase, and inability to use own tools there makes me sad.

Does anyone have idea of how much time it will take to make a backport?
Is it possible to use same pip package (codebase) for both Python 2.7 and 3.6+?

@gleb-britecore
Copy link
Collaborator

@pikhovkin I backported/added experimental support for 2.7:
https://github.com/gleb-sevruk/pycrunch-trace/tree/python2.7_support

In case if you interested in testing you can checkout this branch locally and link package in your 2.7 venv using
cd ~/code/pycrunch_tracing
pip install -e .

I'm having issues recording SQLAlchemy variables, but disabling variable tracing helps me:
in file:
~/code/pycrunch_tracing/pycrunch_trace/pycrunch-profiles/default.profile.yaml
set trace_variables: false

I'm not sure where to go with this backport (it seems to add more overhead that python 3+ version)

But this is at least something to start with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants