Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-3929

Fix "pip install" to work with Python3

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • WT3.0.0
    • WT3.2.1, 4.1.12
    • None
    • Ubuntu 17.10

    Description

      Doing pip install wiredtiger with a python 3.6 environment leads to an error message saying that wiredtiger is not available in Python 3.

      Python 2 will retire in 2 years in theory.

      I might be the only user of the python bindings still it will be nice to have bindings to help any future users of wiredtiger with bindings in the version of Python that is current and nowdays that version is 3.6. FWIW, I think Python is good way to get used to how wiredtiger works.

      I tried in the past to create cffi bindings for Python 3 but failed. Maybe I (or someone else) should try harder or try cython.

      Attachments

        1. testbase.py
          0.5 kB
        2. testpack.py
          0.3 kB

        Activity

          People

            donald.anderson@mongodb.com Donald Anderson
            amz3 Amirouche
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: