Skip to content

Experiment: use hatch for builds, conda and rez packaging#303

Draft
antirotor wants to merge 6 commits into
developfrom
feature/hatch-to-conda-and-rez
Draft

Experiment: use hatch for builds, conda and rez packaging#303
antirotor wants to merge 6 commits into
developfrom
feature/hatch-to-conda-and-rez

Conversation

@antirotor
Copy link
Copy Markdown
Member

Changelog Description

This is experimental exploration of what it would take to standardize build process using hatch. The ultimate end goal would be to create wheels, conda and rez packages from the launcher that could make easier AYON deployment especially in automated environments, like render farm, CI/CD, etc. Having exposed dependencies can also help with rez integration down the line,

Current status

Currently, it can build using hatch, but that's it. The shim part isn't handled well and also the dependencies are not defined properly, although you get conda recipe and rudimentary rez package.

Usage:

There are more commands added to the manage helper scripts:
package-conda, package-rez and package-builds (create both conda and rez)

You can directly use hatch command - uv run hatch build

Note

The targets now are not configured properly. Ideally, there would be target for executable, wheel, conda and rez package. Right now, if you use just hatch build it will build the wheels only and that is not very useful.

add hatch, entry point and a basic system to build conda recipe and rez package
@antirotor antirotor self-assigned this Apr 22, 2026
@antirotor antirotor added the type: feature Adding something new and exciting to the product label Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Adding something new and exciting to the product

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant