Closed Jamim closed 5 years ago
Affected code of Peewee ORM: peewee.py#L3293-L3295
I am not sure what problem this is fixing, could you please expand the description with a sample / stacktrace, etc.?
Unfortunately, I'm not able to share existing stacktraces. I'll prepare some sample and expand the description tomorrow.
Hello @yurishkuro,
Sorry for the delay. Below you can find the steps to reproduce the issue and to check the proposed solution using a minimal demo app (please use some temporary virtual env):
git clone https://github.com/Jamim/peewee-tracing-demo.git
cd peewee-tracing-demo
docker-compose up -d
pip install -r requirements.txt
python demo.py
# checking of the solution
git checkout fixed
pip install -U -r requirements.txt
python demo.py
Hi @yurishkuro, Could you please take a look at this PR once again? Thank you!
You can find a traceback example at the description.
the build is failing consistently
the build is failing consistently
If you mean errors on CI, then it's the same issue as on the master branch. https://travis-ci.org/uber-common/opentracing-python-instrumentation/branches
opentracing/opentracing-python#120 should fix it.
restarted (it should pick the new release of opentracing-python)
Tests are passed :tada:
This patch adds handling for
psycopg2.extensions.register_type
The original
register_type
method checks a type of theconn_or_curs
and it doesn't accept wrappers, so we need to make sure that it will not be broken.Here is a sample traceback: