ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      PYTHON-5959 raises the pymongocrypt floor for PyMongo 4.20 to pymongocrypt>=1.21.0,<2.0.0. The test suite does not explicitly need version gates: tests should run against what CI installs or fail, not silently skip.

      Definition of done

      • The test-side version gates are removed.
      • The runtime check stays: check_min_pymongocrypt() in pymongo/encryption_options.py. It is the only guard for pip resolver bypass (an old pymongocrypt installed alongside the new PyMongo degrades to a TypeError on every encrypt() call without it).

      Pitfalls

      • Without the gates, a CI variant loading a libmongocrypt older than a test's requirement fails instead of skipping. The pinned libmongocrypt fetched by .evergreen/scripts/setup_tests.py must stay at or above the newest feature requirement (1.20.0 for substring).
      • The unified test format's minLibmongocryptVersion skip is part of the cross-driver spec; removing it diverges from other drivers' runners.

            Assignee:
            Unassigned
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: