Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4976

Replace hatch with uv as our python environment and workflow tool

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.11
    • Affects Version/s: None
    • Component/s: 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?
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Hatch has a single maintainer, and is under-developed. It is difficult to configure and has a lot of dependencies. We have identified uv as a suitable replacement that is well-maintained, fully-featured, well-documented, and standards-compliant. For example, we can use UV_PYTHON to set the python interpreter that will be used to make environments.

      Definition of done

      Replace our hatch config with uv config and update script running and documentation.

      Pitfalls

      Ensure that we run all variants in CI to make sure we do not have any regressions.

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None