Rez

Latest version: v3.2.1

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

Scan your dependencies

Page 35 of 37

2.26.4

2.26.3

Addressed Issues

* [559](https://github.com/AcademySoftwareFoundation/rez/issues/559) package.py permissions issue [\#560](https://github.com/AcademySoftwareFoundation/rez/pull/560)

Notes

Fixes issue where installed `package.py` can be set to r/w for only the current user.

2.26.2

Package Copy Fixes For Non-Varianted Packages. See [\557](https://github.com/AcademySoftwareFoundation/rez/pull/557).

Addressed Issues

* [556](https://github.com/AcademySoftwareFoundation/rez/issues/556) rez-cp briefly copies original package definition in non-varianted packages
* [555](https://github.com/AcademySoftwareFoundation/rez/issues/555) rez-cp inconsistent symlinking when --shallow=true
* [554](https://github.com/AcademySoftwareFoundation/rez/issues/554) rez-cp doesn't keep file metadata in some cases

Notes

There were various minor issues related to copying non-varianted packages.

2.26.1

Bugfix in Package Copy

Addressed Issues

* [551](https://github.com/AcademySoftwareFoundation/rez/issues/551) package copy fails if symlinks in root dir [\#552](https://github.com/AcademySoftwareFoundation/rez/pull/552)

Notes

This was failing when symlinks were present within a non-varianted package being copied. Now, these
symlinks are retained in the target package, unless `--follow-symlinks` is specified.

2.26.0

Build System Detection Fixes

Addressed Issues

* [549](https://github.com/AcademySoftwareFoundation/rez/issues/549) '--build-system' rez-build option not always
available [\550](https://github.com/AcademySoftwareFoundation/rez/pull/550)

Notes

To fix this issue:
* The '--build-system' rez-build option is now always present.
* To provide further control over the build system type, the package itself can now specify its build
system - see https://github.com/AcademySoftwareFoundation/rez/wiki/Package-Definition-Guide#build_system

COMPATIBILITY ISSUE!

Unfortunately, the 'cmake' build system had its own '--build-system' commandline option also. This
was possible because previous rez versions suppressed the standard '--build-system' option if only
one valid build system was present for a given package working directory. **This option has been
changed to '--cmake-build-system'**.

2.25.0

Various Build-related issues [\548](https://github.com/AcademySoftwareFoundation/rez/pull/548)

Addressed Issues

* [433](https://github.com/AcademySoftwareFoundation/rez/issues/433): "package_definition_build_python_paths" defined
paths are not available from top level in package.py
* [442](https://github.com/AcademySoftwareFoundation/rez/issues/442): "rez-depends" and "private_build_requires"
* [416](https://github.com/AcademySoftwareFoundation/rez/issues/416): Need currently-building-variant build variables
* [547](https://github.com/AcademySoftwareFoundation/rez/issues/547): rez-cp follows symlinks within package payload

Notes

The biggest update in this release is the introduction of new variables accessible at early-bind time:
building, build_variant_index and build_variant_requires. This allows you to do things like define
different private_build_requires per-variant, or a requires that is different at runtime than it is
at build time. In order to get this to work, a package.py is now re-evaluated multiple times when a
build occurs - once pre-build (where 'building' is set to False), and once per variant build. Please
see the updated wiki for more details: https://github.com/AcademySoftwareFoundation/rez/wiki/Package-Definition-Guide#available-objects

A new build-time env-var, REZ_BUILD_VARIANT_REQUIRES, has been added. This mirrors the new
build_variant_requires var mentioned above.

rez-depends has been updated to only include the private_build_requires of the package being queried
(previously, all packages' private build reqs were included, which is not useful). Recall that the
previous release fixes the issue where private_build_requires was being stripped from released
packages.

The entirety of a package definition file can now see the extra build-time modules available via the
package_definition_build_python_paths config setting. Previously, only early bound functions could
see these.

There was an issue with package copying (and thus the rez-cp tool) where symlinks within a package's
payload were expanded out to their source files at copy time. The default now is to keep such symlinks
intact - but hte previous behavior can still be accessed with the rez-cp --follow-symlinks option.

Page 35 of 37

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.