Setup of Package Manager

Private Preview | Advanced

Setup Guide

If Package Manager is not already configured from the landing page and running, click on the Posit Package Manager logo.

Begin Package Manager installation

Begin Package Manager installation
Note

Package Manager setup requires application roles POSIT_TEAM_ADMIN or POSIT_PACKAGE_MANAGER_ADMIN. See the top right corner to view your permissions. If you originally installed the Posit Team Native App, you already have all roles.

Configuration

License

Posit Package Manager requires a valid Advanced license file. If you think you have a valid license file, just upload via the file input and it will be validated. If you don’t have a license file, please contact Posit sales.

Uploading a valid license

Uploading a valid license

Alternatively, Posit Team supports a free 30-day trial of Package Manager that you can start by clicking the Get a free trial license button. A modal will appear asking you to agree to the Posit EULA. You will need to contact sales (snowflakemarketplace@posit.co) to purchase a license before the 30-day trial expires to continue normal operation of Package Manager.

Start Package Manager Trial

Start Package Manager Trial

Compute pool

The compute pool size you choose is dependent on how you plan to use your instance of Package Manager.

Package Manager generally is not CPU/memory intensive. For small teams (1-20 users) that consume a few packages each day or publish packages weekly, use at least a small (CPU_X64_S) compute cluster. To better understand your team’s needs, we recommend starting with a size slightly larger than you may need (which avoids OOM errors), monitoring the resource usage, and then adjusting your compute cluster size accordingly.

Once you click Continue, Package Manager will begin to provision. This will take roughly 10 minutes to create the compute pool and start the Package Manager container. The compute pool size can be resized later as well, taking about 15 minutes.

Wait for Package Manager to start

Wait for Package Manager to start

Using backups from another Posit Team Native App

You can launch Posit Package Manager within the Posit Team Native App using a previously created backup. Backups from another installation of the Posit Team Native App are supported.

The target Posit Team Native App needs to be granted the POSIT_TEAM_ADMIN application role in order to enumerate and access the backups associated with your source Posit Team Native App.

Assuming that your source Posit Team Native App is named POSIT_TEAM_SOURCE and your target Posit Team Native App is named POSIT_TEAM_TARGET, run the following Snowflake SQL to grant access:

Snowsight UI
GRANT APPLICATION ROLE POSIT_TEAM_SOURCE.POSIT_TEAM_ADMIN TO APPLICATION POSIT_TEAM_TARGET;

After running this code, you can ask that backups from POSIT_TEAM_SOURCE be used when launching Package Manager in the Posit Team Native App named POSIT_TEAM_TARGET.

Caveats

Currently Package Manager’s client rspm does not support connecting from outside of Snowflake. We are actively working to make this possible during the Private Preview, which will unlock publishing packages from CI outside of Snowflake.

Ready

Once Package Manager is fully configured and ready, you are redirected to the product management page.

Package Manager management page

Package Manager management page

Click on the “Service Endpoint” to be taken to Package Manager.

Package Manager home page

Package Manager home page
Note

Users will typically access Package Manager from the landing page.

Using Package Manager in Workbench and Connect

The Posit Team Native App automatically configures Workbench and Connect to use the internal Package Manager. On startup, Workbench and Connect detect if the internal Package Manager is running and use it if available. If Workbench or Connect were launched before you started Package Manager, simply stop and start those services to enable the integration.

You can validate that Workbench is using the internal Package Manager by running cat /etc/pip.conf. You should see an index URL of https://package-manager/pypi/latest/simple.

For Connect, validation can be done by checking the logs of a published Python application. In the Python environment restore section, you will see a line similar to Looking in indexes: https://package-manager/pypi/latest/simple.

FAQ

Are updates to Package Manager automatic?

No. When the Posit Team Native App is updated, the administrator still decides when to upgrade each product in their respective “Manage” screens.

Back to top