Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-674

deprecation warnings from sdk2 when running sdk3 beta 1

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0-beta.1
    • 3.0.0-beta.3
    • None
    • None
    • 1
    • SDK1: GA and Priority List

    Description

      Running the 'hello couchbase' I see deprecation warnings from Python 3.7.

      /Users/ingenthr/src/python-verification/venv/lib/python3.7/site-packages/couchbase/result.py:283: DeprecationWarning: __class__ not set defining 'SDK2AsyncResult' as <class 'couchbase.result.AsyncWrapper.__new__.<locals>.Wrapped'>. Was __classcell__ propagated to type.__new__?
        class SDK2AsyncResult(with_metaclass(AsyncWrapper, SDK2GetResult)):
      /Users/ingenthr/src/python-verification/venv/lib/python3.7/site-packages/couchbase/result.py:299: DeprecationWarning: __class__ not set defining 'SDK2AsyncMutationResult' as <class 'couchbase.result.AsyncWrapper.__new__.<locals>.Wrapped'>. Was __classcell__ propagated to type.__new__?
        class SDK2AsyncMutationResult(with_metaclass(AsyncWrapper, SDK2MutationResult)):
      /Users/ingenthr/src/python-verification/venv/lib/python3.7/site-packages/couchbase/collection.py:1413: DeprecationWarning: __class__ not set defining 'AsyncCBCollection' as <class 'couchbase_core.asynchronous.bucket.AsyncClientFactory.__new__.<locals>.AsyncClient'>. Was __classcell__ propagated to type.__new__?
        class AsyncCBCollection(with_metaclass(AsyncClientFactory, CBCollection)):
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          There are no comments yet on this issue.

          People

            Ellis.Breen Ellis Breen
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty