AcademySoftwareFoundation / AcademySoftwareFoundation/rez

need to detect rez version incompatibities with package.py's

Open
#406 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.1k
Forks
369
Avg merge
12d 3h
Merged PRs (30d)
5

Description

We now have both built-time and runtime features in package.pys that only newer rez versions can consume.

Need to introduce:
- build-time 'requires_rez_version' package attribute;
- runtime 'format_version' package attribute (MAJOR only). This would be an internal serialization number that gets upped when any new runtime features are added to packages. Only rez with format_version >= this will be able to consume these packages.

Contributor guide

Open the contributing guide

Research direction

Start by locating the package.py handling for build-time and runtime package attributes, then trace how package data is serialized and consumed by Rez. Define the compatibility behavior for the two requested version attributes and verify that packages using newer features cannot be consumed by older Rez versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.