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

Test Failure - OpenSSL 1.0.2 PyPy 3.10 fails to install hatch

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.9
    • 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?

      Caused by hatch PYTHON-4483:

       [2024/08/02 17:23:00.912] + python -m pip install --upgrade hatch
       [2024/08/02 17:23:24.903]   error: subprocess-exited-with-error
       [2024/08/02 17:23:24.903]   × Preparing metadata (pyproject.toml) did not run successfully.
       [2024/08/02 17:23:24.903]   │ exit code: 1
       [2024/08/02 17:23:24.903]   ╰─> [6 lines of output]
       [2024/08/02 17:23:24.903]       Cargo, the Rust package manager, is not installed or is not on PATH.
       [2024/08/02 17:23:24.903]       This package requires Rust and Cargo to compile extensions. Install it through
       [2024/08/02 17:23:24.903]       the system's package manager or via https://rustup.rs/
       [2024/08/02 17:23:24.903]       Checking for Rust toolchain....
       [2024/08/02 17:23:24.903]       [end of output]
       [2024/08/02 17:23:24.903]   note: This error originates from a subprocess, and is likely not a problem with pip.
       [2024/08/02 17:23:24.957] error: metadata-generation-failed
       [2024/08/02 17:23:24.957] × Encountered error while generating package metadata.
       [2024/08/02 17:23:24.957] ╰─> See above for output.
       [2024/08/02 17:23:24.957] note: This is an issue with the package mentioned above, not pip.
       [2024/08/02 17:23:24.957] hint: See above for details.
       [2024/08/02 17:23:25.016] Command 'shell.exec' in function 'run tests' (step 2.2 of 2) failed: shell script encountered problem: exit code 1.
       [2024/08/02 17:23:25.016] Finished command 'shell.exec' in function 'run tests' (step 2.2 of 2) in 35.791908942s.
       [2024/08/02 17:23:25.016] Running task commands failed: running command: command failed: shell script encountered problem: exit code 1
       [2024/08/02 17:23:25.016] Finished running task commands in 1m53.036714239s.
      

      https://spruce.mongodb.com/task/mongo_python_driver_tests_python_version_supports_openssl_102_test_ssl__platform~rhel7_auth_ssl~noauth_nossl_python_version~pypy3.10_test_5.0_replica_set_9c7adf89ef0a317d0300ce7528f7f9680090d087_24_08_02_23_32_11/logs?execution=0&sortBy=STATUS&sortDir=ASC

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: