Skip to main content

Artifactory Setup

In this guide we will set up access to the QuantCo Artifactory instance and how to enable your pixi project to pull conda packages from our Virdx channel.

Pixi will use conda-forge by default. In general, this is very useful. Most of our dependencies can be found there.

However, we have some custom Virdx conda packages that are private. These packages are published to our virdx conda channel, and this channel requires authentication to access.

Authenticate pixi to the private Virdx channel

  1. Setup your Artifactory - JFROG user account. This requires your QuantCo SSO to login to the web page.

  2. Generate a token (in the UI)

  3. Allow pixi to use that token (you only need to do this once)

    pixi auth login quantco.jfrog.io --token <your_token>

Read the full guide in notion to setup pixi with your artifactory account.

tip

be sure to use the virdx channel "https://quantco.jfrog.io/artifactory/api/conda/virdx" rather than the qc-internal channel if following the Artifactory guide from Notion.

Add the virdx channel to your pyproject.toml file

Ensure that your tool.pixi.project section of your pyproject.toml file has the following channel setup.

[tool.pixi.project]
channels = ["https://quantco.jfrog.io/artifactory/api/conda/virdx", "conda-forge"]

You can add more channels, but the virdx conda channel should always be first. This sets the priority order of package search.