nutanix / calm-dsl

Keep Calm and DSL On!
https://nutanix.github.io/calm-dsl/
Apache License 2.0
33 stars 51 forks source link

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

Open ntnx-dlane opened 8 months ago

ntnx-dlane commented 8 months ago

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.

gauravpandvia commented 8 months ago

Jira Ticket - https://jira.nutanix.com/browse/CALM-43617