pycrunch-trace
pycrunch-trace copied to clipboard
Need python2.7 support
Need python2.7 support
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+?
@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.