Rez

Latest version: v3.1.1

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 33 of 33

2.20.0

PR: 523

Addressed Issues

* 492

Notes

The rez-python command now supports all native python args and passes those through to its python
subprocess - so you can now shebang with rez-python if that is useful.

More broadly, rez commands now parse CLI args correctly for each case. Many commands previously
accepted rez-env-style commands (eg rez-env pkgA -- somecommand -- i am ignored), but simply ignored
extraneous args after -- tokens.

2.19.1

Merged PRs

* 522

Addressed Issues

* 514

Notes

The problem occurred because the preprocess function was attempting to be serialized when the package
definition is cached to memcache. However, this function is stripped in installed packages;
furthermore, caching "developer packages" (ie unbuilt packages) was never intentional.

This release disables memcaching of developer packages, thus avoiding the bug and bringing back
originally intended behavior.


Releasing New Rez Versions

To merge a PR to the `main` branch and release a new version:

1. Merge the PR locally, following the instructions given on GitHub in the
`command line instructions` link (but do not push to `main` yet);
2. Run the tests (rez-selftest) to double check nothing is broken;
3. Make sure the [rez version](https://github.com/AcademySoftwareFoundation/rez/blob/main/src/rez/utils/_version.py)
is correct, and change if necessary. The version may have been correct at the
time of PR submission, but may need an update due to releases that have occurred
since;
4. Update [the changelog](CHANGELOG.md). A handy utility is provided to help you do this.
To use it, run the following command, replacing X, Y, Z etc with all pull request
and issue numbers associated with the release:

]$ python ./release-rez.py -c X Y Z

This command prints the changelog entry to stdout, which you can then paste in
to the top of CHANGELOG.md.
5. Commit and push to `main`;
6. Wait for all Github workflows to pass;
7. Run the release-rez utility script. This performs the following actions:
* Creates tag on latest version, and pushes tag to `main`;
* Generates the new GitHub release (https://github.com/AcademySoftwareFoundation/rez/releases).

]$ python ./release-rez.py

8. Relax.

Page 33 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.