nutanix / calm-dsl

Keep Calm and DSL On!

Home Page:https://nutanix.github.io/calm-dsl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Improvement] separate out such third party dependencies (i.e. OpenSSL)

ntnx-dlane opened this issue · comments

Describe the request
pre-build the wheel files to remove dependencies on third parties like OpenSSL

Current behaviour
When setting up Calm DSL, wheel files must be built.

For Windows builds (using current versions of openssl) as of 2/16/2024, when the wheel file is built for scrypt, errors are received:

Collecting scrypt
  Downloading scrypt-0.8.20.tar.gz (55 kB)
     ---------------------------------------- 55.9/55.9 kB 1.5 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: scrypt
  Building wheel for scrypt (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for scrypt (pyproject.toml) did not run successfully.
  │ exit code: 1
....
LINK : fatal error LNK1181: cannot open input file 'libcrypto_static.lib'
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX86\\x64\\link.exe' failed with exit code 1181
      [end of output] 

Expected behaviour

pre-building the wheel files will remove the requirement for the client to build the wheel file.