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

[Build Failure] Type Check failure for PyOpenSSL

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

      Name of Failure:

      Positional-only parameters are only supported in Python 3.8 and greater

      Link to task:

      https://github.com/mongodb/mongo-python-driver/actions/runs/8235453168/job/22519580114?pr=1546

      Context of when and why the failure occurred:

      Release of types-pyOpenSSL-24.0.0.20240311.

      Stack trace:

      Positional-only parameters are only supported in Python 3.8 and greater 
      [syntax]
              def sock_shutdown(self, how: int, /) -> None: ...  # alias to `_so...
                                                  ^
      Installing missing stub packages:
      /home/runner/work/mongo-python-driver/mongo-python-driver/.tox/typecheck/bin/python -m pip install types-pyOpenSSL types-requests
      
      
      Found 1 error in 1 file (errors prevented further checking)
      

            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: