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

"typing-extensions" dependency version conflict on 3.2.x if using Python 3.7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 3.x
    • 3.2.7
    • None
    • None
    • 1

    Description

      What is the issue?
      Recently our CV started failing with the following error:

      ERROR: Some build dependencies for couchbase==3.2.0 from https://files.pythonhosted.org/packages/ea/6e/5bda2ba94e0173f69026631df9e73eed42885ba0c9e5e183bb6a8f1bc3f9/couchbase-3.2.0.tar.gz#sha256=c90ced177430c60255a41a838c985b331aa22debdb48b8e77a3f6eb14d29c1b9 (from -r requirements.txt (line 8)) conflict with the backend dependencies: typing-extensions==4.4.0 is incompatible with typing-extensions==3.7.4.3; python_version < "3.8".
      

      NOTE: This is a recent issue, we weren't hitting this before with the same version.

      Since our CV runs Python 3.7, I assume this is due to this line in the couchbase Python SDK requirements.txt:

      typing-extensions==3.7.4.3; python_version<"3.8"
      

      and some other couchbase Python SDK dependency now using the incompatible 4.4.0 version.

      This is also an issue on the latest 3.2.x version:

      ERROR: Some build dependencies for couchbase==3.2.7 from https://files.pythonhosted.org/packages/e3/b1/b77badb03e77a9ee9e20c6b9a4374e892aaaffa80600e3287f9567d7fde8/couchbase-3.2.7.tar.gz#sha256=76d9c81197b55d04890f9834f5c4599888f58f1bfeaba50a708d659b920f8dae (from -r requirements.txt (line 1)) conflict with the backend dependencies: typing-extensions==4.4.0 is incompatible with typing-extensions==3.7.4.3; python_version<"3.8".
      

      This isn't an issue with the latest 4.1.0 version and Python 3.7.

      Not sure if we want to fix it in any way since it's an old version but I think we might need to address it in some way because some random users are hitting this as well:
      https://stackoverflow.com/questions/74279308/pip-conflict-with-the-backend-dependencies

      Attachments

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

        Activity

          People

            jared.casey Jared Casey
            maks.januska Maksimiljans Januska
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty