PyMongo wheels have multiple versions of C extensions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Infrastructure
    • None
    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Looking at the wheel files for pymongo: https://pypi.org/project/pymongo/4.17.0/#files.

      The files have C extensions built for all the python versions, instead of just the one they're targeting. For example, pymongo-4.17.0-cp314-cp314-macosx_11_0_arm64.whl has:

      _cmessage.cpython-310-darwin.so
      _cmessage.cpython-311-darwin.so
      _cmessage.cpython-312-darwin.so
      _cmessage.cpython-313-darwin.so
      _cmessage.cpython-314-darwin.so
      _cmessage.cpython-39-darwin.so

      This looks to be an issue with our cibuildwheel setup in https://github.com/mongodb/mongo-python-driver/blob/master/.github/workflows/dist.yml.

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

              Created:
              Updated: