Retrieving latest version of TIPCommon and its dependencies

Prerequisites:

  • A Linux host with an x86 architecture.
  • Python 3.11 installed on the Linux host.
  • Admin access to SOAR

  1. Open SOAR Marketplace Screen 
  2. Find a Recently Upgraded Certified Integration in Latest Releases
  3. Install the Integration (later you can delete it)
  4. Export installed integration in IDE
  5. Unzip and Locate TIPCommon in Dependencies folder (e.g., TIPCommon-2.1.0-py2.py3-none-any.whl)
  6. Rename TIPCommon .whl file to a .zip file (e.g., TIPCommon-2.1.0-py2.py3-none-any.zip) and unzip it
  7. Open the METADATA file within this .dist-info directory using a text editor
  8. Look for lines that start with Requires-Dist:. These lines list the Python packages that TIPCommon depends on.
    • ExampleMETADATAcontent:
      Requires-Dist: httpx
      Requires-Dist: google-auth
      Requires-Dist: google-auth-httplib2
      Requires-Dist: google-api-python-client
      Requires-Dist: pycryptodome
      Requires-Dist: requests
  9. Using data from previous step create requirements.txt in your Linux host directory
    • Examplerequirements.txt:
      httpx
      google-auth
      google-auth-httplib2
      google-api-python-client
      pycryptodome
      requests
  10. Open terminal and execute command
    python3.11 -m pip wheel --no-binary :all: -r requirements.txt -w ./wheelhouse
    
  11. Once all dependencies are gathered import them together with TIPCommon-2.1.0-py2.py3-none-any.whl using + button in settings of your custom integration in IDE

Documentation links:

4 0 202
0 REPLIES 0
OSZAR »