Uploaded image for project: 'Python Integrations'
  1. Python Integrations
  2. INTPYTHON-248

Set upper bounds for distutils

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.5.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      https://github.com/mongodb-labs/mongo-arrow/actions/runs/10965200904/job/30450473822?pr=234

       

        running build_ext
        building 'pymongoarrow.lib' extension
        creating build/temp.linux-x86_64-cpython-38/pymongoarrow
        g++ -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tmp/build-env-enxg91zw/lib/python3.8/site-packages/numpy/core/include -I/tmp/build-env-enxg91zw/lib/python3.8/site-packages/pyarrow/include -I/tmp/build-env-enxg91zw/include -I/opt/_internal/cpython-3.8.20/include/python3.8 -c pymongoarrow/lib.cpp -o build/temp.linux-x86_64-cpython-38/pymongoarrow/lib.o -std=c++17
        pymongoarrow/lib.cpp:1451:10: fatal error: bson/bson.h: No such file or directory
         1451 | #include <bson/bson.h>
              |          ^~~~~~~~~~~~~
        compilation terminated.
        error: command '/opt/rh/gcc-toolset-12/root/usr/bin/g++' failed with exit code 1

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            alex.clark@mongodb.com Alex Clark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: