Closed ignaciofite closed 11 months ago
@fmunozmiranda hello Fernando, did you have a chance to review the above? @zapodeanu can share that this issue is coming up for other people (as we have seen it in other forums).
Sorry if you're not the right one, trying to help :).
@gigiogigo, Sorry for the delay, the change is applied in develop, for the next version, it will be reflected, thanks for the report.
@fmunozmiranda hey I have been waiting for a while for the new version with this fix, is it coming soon? This bug is quite annoying, thanks :)
Hi Team, I've also ran into this issue recently.
It can certainly be annoying.
Maybe a couple of additions to what @gigiogigo have already commented to benefit of the community.
pip freeze
python3 -m pip uninstall urllib3
python3 -m pip install urllib3==1.26.16
pip freeze > requirements.txt
The previous is just a workaround. I guess best approach is to validate the dependencies and just keep the ones that are required for the SDK to work properly.
@gigiogigo sorry for delay, changes are included in new version
Hi @fmunozmiranda , can you elaborate a little bit on the changes? what is being implemented?
@fmunozmiranda I'm sorry to keep asking but the latest version 2.6.5 from May 29 doesn't have the fix. Would it be possible to release a new one? Thanks
@gigiogigo could you please pass me functions are you using on you're client_detail_report.py
just to try to replicate you're fail. Thanks
Here is sample app to create a new client report. https://github.com/cisco-en-programmability/dnacenter_reports_operations. You may find there a payload request that you may use with the SDK.
@gigiogigo could you please pass me functions are you using on you're
client_detail_report.py
just to try to replicate you're fail. Thanks
This commit 9419fc2 fixed it, I was just asking for you to officially release 2.6.6, it seems that you only created the tag.
Thanks!
Prerequisites
Describe the bug Currently, the SDK has the following limit: dnacentersdk 2.6.3 depends on requests-toolbelt<0.11.0 and >=0.10.1
However, if my understanding is correct there is a recent bug (
ImportError: cannot import name 'appengine' from 'urllib3.contrib' (/.../Downloads/venv/lib/python3.9/site-packages/urllib3/contrib/__init__.py)
present in requests-toolbet <1.0.0.The ask is to change the dependency (requests-toolbet>=1.0.0) on the SDK to avoid hitting this error.
Screenshots This is a sample output of the a script that uses the SDK that is broke:
Environment (please complete the following information):