GithubHelp home page GithubHelp logo

Comments (5)

arthall avatar arthall commented on August 13, 2024 1

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.

tedpearson avatar tedpearson commented on August 13, 2024

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.

arthall avatar arthall commented on August 13, 2024

@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.

tedpearson avatar tedpearson commented on August 13, 2024

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.

arthall avatar arthall commented on August 13, 2024

Thanks @tedpearson. I'm closing the issue for now.

from oci-python-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.