Introducing Hawk for Python package management in Code Repositories

Introducing Hawk for Python package management in Code Repositories

We are excited to announce Hawk, a new package manager for Python environments. Hawk will be available in Code Repositories on Foundry enrollments in mid-June 2024. It replaces Mamba, which underwent major breaking changes in September 2023, as the default Python package manager in Code Repositories.

Hawk offers enhanced performance and maintainability, ensuring a more efficient and reliable Python environment management experience. Initial tests of Hawk have shown performance improvements of ~25% in checks execution time relative to Mamba when resolving and installing new packages. Additionally, Hawk is built on top of actively maintained libraries, ensuring that the core infrastructure remains up-to-date and secure.

New Python code repositories will begin using Hawk automatically. For existing repositories, you can upgrade the repository by selecting and then selecting Upgrade.

Upgrade your Python repositories to the new Hawk environment management system.

In Python repositories using Hawk, you can view log lines in the Checks tab that indicate certain tasks are being executed by Hawk instead of Mamba. For example, you can view the log line Executing task 'runVersions' with 'HAWK'.

Hawk is built on top of the open-source library Rattler.