[PDB Tech] peeringDB Python Module Issues with Python 3?
Chris Caputo
ccaputo at alt.net
Tue Feb 11 09:03:25 PST 2020
Same here:
https://github.com/peeringdb/django-peeringdb/issues/37
"errors with django 3 so limit to django 2 or fix them #37"
Bill, if your issue is unique after review of:
https://github.com/peeringdb/django-peeringdb/issues
consider a new issue with details. The django 3 issue manifests as:
- django.core.exceptions.SynchronousOnlyOperation: You cannot call this
from an async context - use a thread or sync_to_async.
Thanks,
Chris
On Tue, 11 Feb 2020, Milton Ngan wrote:
> The only issue I had was with django-peeringdb needing to use Django <
> 3.x. A whole bunch of things don’t work with the latest version of the
> framework. I had to put this requirement into my python projects that
> used the django-peeringdb module and PY3.
>
> Django<=2.2.9
>
>
> On Feb 11, 2020, at 8:38 AM, William Marantz <wmarantz at salesforce.com> wrote:
> > Hi All,
> >
> > Has anyone seen issues with the peeringDB python module when
> > converting to Python 3.x? I was unable to get the module working
> > during my python 3 conversion as it seemed to require a localDB and no
> > longer performed remote calls properly. The documents seem a bit
> > light.
> >
> > This is not a current issue for me, I just wanted to bring it up in
> > case others were aware of the issue and/or a fix. I rewrote my code to
> > make API calls instead of using the python module and all is working
> > perfectly.
> >
> > Best Regards,
> >
> > -Bill
> > _______________________________________________
> > Pdb-tech mailing list
> > Pdb-tech at lists.peeringdb.com
> > https://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech
>
> _______________________________________________
> Pdb-tech mailing list
> Pdb-tech at lists.peeringdb.com
> https://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech
More information about the Pdb-tech
mailing list