Use tblib to pickle errors in `run_in_pyodide`. 
package:
  name: cryptography
  version: 3.4.8

source:
  url: https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz
  sha256: 94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c
build:
  cflags: |
    -Wno-implicit-function-declaration
    $(OPENSSL_INCLUDE_PATH)
  ldflags: |
    $(OPENSSL_LIBRARY_PATH)
  script: |
    export CRYPTOGRAPHY_DONT_BUILD_RUST=1
    export OPENSSL_INCLUDE_PATH=$(pkg-config --cflags-only-I --dont-define-prefix openssl)
    export OPENSSL_LIBRARY_PATH=$(pkg-config --libs-only-L --dont-define-prefix openssl)
requirements:
  run:
    - openssl
    - six
    - cffi
test:
  imports:
    - cryptography
    - cryptography.fernet
    - cryptography.hazmat
    - cryptography.utils
    - cryptography.x509

package:
  name: cryptography
  version: 3.4.8

source:
  url: https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz
  sha256: 94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c
build:
  cflags: |
    -Wno-implicit-function-declaration
    $(OPENSSL_INCLUDE_PATH)
  ldflags: |
    $(OPENSSL_LIBRARY_PATH)
  script: |
    export CRYPTOGRAPHY_DONT_BUILD_RUST=1
    export OPENSSL_INCLUDE_PATH=$(pkg-config --cflags-only-I --dont-define-prefix openssl)
    export OPENSSL_LIBRARY_PATH=$(pkg-config --libs-only-L --dont-define-prefix openssl)
requirements:
  run:
    - openssl
    - six
    - cffi
test:
  imports:
    - cryptography
    - cryptography.fernet
    - cryptography.hazmat
    - cryptography.utils
    - cryptography.x509
