LeastAuthority / python-challenge-bypass-ristretto

Python bindings for Brave's challenge-bypass-ristretto library
4 stars 4 forks source link

Sometimes the macOS 11 CI job fails #55

Open exarkun opened 1 year ago

exarkun commented 1 year ago
Processing /Users/distiller/project
  Preparing metadata (setup.py) ... - done
Building wheels for collected packages: python-challenge-bypass-ristretto
  Building wheel for python-challenge-bypass-ristretto (setup.py) ... - \ | / error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 101
  ╰─> [16 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build/lib
      creating build/lib/challenge_bypass_ristretto
      copying challenge_bypass_ristretto/__init__.py -> build/lib/challenge_bypass_ristretto
      creating build/lib/challenge_bypass_ristretto/tests
      copying challenge_bypass_ristretto/tests/__init__.py -> build/lib/challenge_bypass_ristretto/tests
      copying challenge_bypass_ristretto/tests/test_privacypass.py -> build/lib/challenge_bypass_ristretto/tests
      Running cargo build...
          Updating crates.io index
       Downloading crates ...
      error: failed to download from `https://crates.io/api/v1/crates/libc/0.2.121/download`

      Caused by:
        [60] SSL peer certificate or SSH remote key was not OK (SSL certificate problem: certificate has expired)
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for python-challenge-bypass-ristretto
  Running setup.py clean for python-challenge-bypass-ristretto
Failed to build python-challenge-bypass-ristretto
ERROR: Failed to build one or more wheels

Exited with code exit status 1

The certificate is not expired. The system time, as reported by date earlier in the job, is correct.

exarkun commented 1 year ago

The crate is not always the same. I've only ever seen it on the macOS 11 configuration. It doesn't fail every time.