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

Fix the Python distribution script for Python3 changes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT3.2.1, 4.3.1, 4.2.0-rc3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Storage Engines 2019-06-03, Storage Engines 2019-06-17, Storage Engines 2019-07-01

      During a recent WiredTiger release, I encountered an error while running "python setup_pip.py sdist" to generate the wiredtiger Python package/tarball. It was a clean wiredtiger git tree, and Python2 was used to run the command. 

      Traceback (most recent call last):
        File "setup_pip.py", line 322, in <module>
          shutil.copy2(src, os.path.join(stage_dir, f))
        File "/usr/lib/python2.7/shutil.py", line 144, in copy2
          copyfile(src, dst)
        File "/usr/lib/python2.7/shutil.py", line 96, in copyfile
          with open(src, 'rb') as fsrc:
      IOError: [Errno 2] No such file or directory: 'lang/python/wiredtiger/__init__.py' 

       

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: