Comments (5)
Thank you, @tedpearson, for raising this issue.
Concerning the second warning message about collections, that is due to the version of Requests that we vendor. Requests has addressed it with version 2.19.0 and we are currently preparing a release with version 2.21.0 of Requests.
from oci-python-sdk.
While I'm here I'll just pile this other warning into a comment...
/Users/ted/.local/share/virtualenvs/<snip>/lib/python3.7/site-packages/oci/_vendor/requests/models.py:181: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
if isinstance(hook, collections.Callable):
from oci-python-sdk.
@tedpearson I believe I'm missing something here. Do you have a short sample program which produces the warning, "ResourceWarning: unclosed <socket.socket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.15.15.88', 61087), raddr=('129.146.14.197', 443)>"? I have tried to reproduce the warning in Python 3.5.1 and Python 3.7.2 with the currently vendored packages and the updated packages.
The base_client should be holding open sockets because it uses connection pools, but everything should be cleaned up when a client is no longer needed.
from oci-python-sdk.
Hey Art, previously it was reproducible every time I ran some simple code, and now I can't reproduce at all either. I'm not sure what changed. I guess you can close this, and if it reoccurs I will remember to make a test case for you.
from oci-python-sdk.
Thanks @tedpearson. I'm closing the issue for now.
from oci-python-sdk.
Related Issues (20)
- audit trails in datasafe library fails to return HOT 5
- how to get the resource state in the tenancy HOT 11
- Regression: installation of oci 2.118.1 requires GCC and Python headers which are not available in all environments HOT 7
- Support Async HOT 1
- Cryptography security vulnerabilities CVE-2023-50782, CVE-2023-5678, CVE-2023-6129, CVE-2023-6237 HOT 6
- IDCS Users and group repot aren't generating fully HOT 3
- MissingHeaderBodySeparatorDefect when uploading items to OSS HOT 5
- oci module component is treated as a dictionary object HOT 5
- oci.pagination.list_call_get_all_results fails when using identity domain client HOT 2
- Missing Composite Operations for Identity Domains
- Generate bypass code with python OCI HOT 2
- Packaging Metadata: Classifiers specify as supported already dead python and not mark modern versions HOT 1
- showoci stuck while running for all resources HOT 3
- resource name not getting cost analysis (Usageapi cllent) HOT 13
- Private IP addresses for the db_nodes in ExaCS is not the correct one HOT 21
- problems running in CLI OCI HOT 3
- metrics are geting 429 error when we calling the api filter maximum , minimum and average metrics HOT 6
- Issue with accessing oci.container_instances.ContainerInstanceClient response data HOT 2
- volume backups are not getting all records in this list_volume_backups api call HOT 8
- Report with properties of PDBs HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oci-python-sdk.