Skip to content

Latest commit

 

History

History
1460 lines (839 loc) · 60.5 KB

CHANGELOG.md

File metadata and controls

1460 lines (839 loc) · 60.5 KB

Change Log

2.69.5 (2020-11-19)

Source | Diff

Merged pull requests:

2.69.4 (2020-11-17)

Source | Diff

Merged pull requests:

2.69.3 (2020-11-17)

Source | Diff

Merged pull requests:

Closed issues:

  • QFileDialog.getSaveFileName and getOpenFileName return tuple not str #962

2.69.2 (2020-11-17)

Source | Diff

Merged pull requests:

Closed issues:

  • io.UnsupportedOperation when using rez api with pytest #965

2.69.1 (2020-11-17)

Source | Diff

Merged pull requests:

2.69.0 (2020-11-17)

Source | Diff

Merged pull requests:

  • Fix forwarding script on Windows (suite supporting) #968 (davidlatwe)

2.68.5 (2020-10-06)

Source | Diff

Merged pull requests:

  • Handling build/install directory remove error in build process #959 (davidlatwe)

2.68.4 (2020-10-06)

Source | Diff

Merged pull requests:

Closed issues:

  • Alias can't be used on the same line as rez-env #708

2.68.3 (2020-09-22)

Source | Diff

Merged pull requests:

2.68.0 (2020-09-22)

Source | Diff

Backwards Compatibility Issues

Note that this release changes OS detection on linux. The results should be the same, but if they do differ, and you need to retain the same OS name (which you probably will, because you'll have packages that depend on the analogous implicit package), then you can use the platform_map setting.

Merged pull requests:

  • Replace platform.linux_distribution by distro #954 (predat)

Closed issues:

  • rez platform_ broken with python3.8 #883

2.67.1 (2020-09-11)

Source | Diff

Merged pull requests:

Closed issues:

  • this.root is None in package preprocessor #952

2.67.0 (2020-08-25)

Source | Diff

Merged pull requests:

Closed issues:

  • don't raise on missing package cache dir #941

2.66.1 (2020-08-25)

Source | Diff

Merged pull requests:

Closed issues:

  • Installed package not including latest module #934

2.66.0 (2020-08-11)

Source | Diff

Merged pull requests:

  • [docs] Sphinx API hosted on GitHub Pages #832 (j0yu)

2.65.0 (2020-08-11)

Source | Diff

Notes

This release cleans up the wiki-based doc generation code, and adds a github workflow to automatically update the wiki.

Merged pull requests:

  • [wiki] Move update utils into main repo #831 (j0yu)

2.64.0 (2020-08-11)

Source | Diff

Merged pull requests:

Closed issues:

  • add 'delay_load' config primitive #921
  • New spawned shell's PATH is random ordered on Windows #925
  • Packages that contains Unicode character failed on install/release #927

2.63.0 (2020-08-04)

Source | Diff

Merged pull requests:

  • don't attempt to update pkg cache on failed resolve #916 (nerdvegas)
  • fix pkg cache fail on windows, py<=2.7 #917 (nerdvegas)
  • raise metadata error on bad pkg, rather than build-system-notfound #918 (nerdvegas)
  • default to disable package caching during build #920 (nerdvegas)

Closed issues:

  • rez-packaage-cache issue on conflicting context #905
  • Package caching does not work on windows due to device not being implemented in py2 on Windows #912
  • Miss-leaded error message while building with invalid package metadata #915
  • add ability to disable pkg caching during build #919

2.62.0 (2020-07-22)

Source | Diff

Merged pull requests:

  • Allow configuration of filesystem lock mechanism #903 (dbr)
  • make context tracking tolerant of errors #911 (nerdvegas)

Closed issues:

  • SSL crash related to context tracking #910

2.61.1 (2020-07-10)

Source | Diff

Merged pull requests:

  • fix for rez occasionally installed into lib64 dir #902 (nerdvegas)

Closed issues:

  • occasional missing rez cli in rez-env #901

2.61.0 (2020-07-10)

Source | Diff

Notes

Package caching feature added, see here.

Merged pull requests:

2.60.1 (2020-05-23)

Source | Diff

Merged pull requests:

Closed issues:

  • context sourcing broken (ResolvedContext.append_sys_path not serialised) #889

2.60.0 (2020-05-12)

Source | Diff

Backwards Compatibility Issues

Please note that #887 introduces a subtle change to CLI behaviour. Previously, rez-context --resolve would print a space-separated list of packages, even when piped to another process. Now however, if the output is piped, it will print one package per line. This is an improvement, as it means you can more easily chain rez-context with other utilities such as grep, xargs etc.

Merged pull requests:

2.59.1 (2020-05-09)

Source | Diff

Merged pull requests:

  • fixed - rez-context -g with prune-package fails #885 (nerdvegas)

Closed issues:

  • rez-context -g with prune-package fails #884

2.59.0 (2020-04-30)

Source | Diff

Merged pull requests:

  • Fix issue 826 - correct python and pip fallback #878 (j0yu)

Closed issues:

  • rez-pip issues finding pip executable #826

2.58.1 (2020-04-22)

Source | Diff

Merged pull requests:

  • Fix ISSUE-879: AttributeError: 'Namespace' object has no attribute 'func' #880 (rfletchr)

Closed issues:

  • AttributeError: 'Namespace' object has no attribute 'func' #879

2.58.0 (2020-04-15)

Source | Diff

Merged pull requests:

Closed issues:

  • add configurability of package orderers #329

2.57.0 (2020-04-14)

Source | Diff

Merged pull requests:

Closed issues:

  • rez-pip - Add help / authors attributes #838

2.56.2 (2020-04-14)

Source | Diff

Merged pull requests:

  • Fix for git rev-parse error out before checking for allow_no_upstream #872 (alexxbb)

Closed issues:

  • override git plugin config in package.py #871

2.56.1 (2020-03-31)

Source | Diff

Merged pull requests:

2.56.0 (2020-03-31)

Source | Diff

Merged pull requests:

Closed issues:

  • rez-pip - no case for ../../include/... file #861

2.55.0 (2020-03-21)

Source | Diff

Merged pull requests:

Closed issues:

  • tests "on_variants" not working as expected in some cases #841
  • pre_test_commands #843

2.54.0 (2020-02-20)

Source | Diff

Merged pull requests:

Closed issues:

  • "rez-pip -i ptvsd" produces bad package #821

2.53.1 (2020-02-12)

Source | Diff

Notes

Misc Python-3 related issues.

Merged pull requests:

  • PR: Fix "StringIO" imports and accesses. #850 (KelSolaar)
  • PR: Use "QtCompat" to handle "QHeaderView" incompatibilities and fix broken "resolve" button in "rez-gui". #851 (KelSolaar)

Closed issues:

  • "ImportError" exception raised while using "rez-gui" in Python 3. #848
  • "AttributeError" exception raised when using "rez-gui" Package Browser with Pyside2 . #849

2.53.0 (2020-02-04)

Source | Diff

Merged pull requests:

Closed issues:

  • rez-pip creates .pyc files by default #816

2.52.2 (2020-01-31)

Source | Diff

Merged pull requests:

2.52.1 (2020-01-21)

Source | Diff

Merged pull requests:

  • added new env vars - REZ_SHELL_INIT_TIMESTAMP, REZ_SHELL_INTERACTIVE #834 (nerdvegas)

Closed issues:

  • add env-var to record shell init time #833

2.52.0 (2020-01-18)

Source | Diff

Notes

Adds a new pre_build_commands package.py attribute, for adding runtime build configuration.

Merged pull requests:

2.51.0 (2020-01-18)

Source | Diff

Notes

This release goes a large way to implementing REP-001

Includes:

  • Pre-install/release running of package tests;
  • New rez-test --inplace option;
  • Correct iteration of tests over variants (variant iteration did not previously exist)

Still to do:

  • rez-test --interactive option;
  • rez-test 'development' mode.

Merged pull requests:

2.50.0 (2019-12-12)

Source | Diff

Merged pull requests:

Closed issues:

  • potential memcached client incompatibility #817
  • Remove hard prevention of colorization on windows #819

2.49.0 (2019-12-05)

Source | Diff

Merged pull requests:

2.48.1 (2019-12-05)

Source | Diff

Merged pull requests:

Closed issues:

  • cmd handles empty echo incorrectly #792

2.48.0 (2019-11-26)

Source | Diff

Merged pull requests:

Closed issues:

  • find_pip_from_context failing on Windows platform #796

2.47.14 (2019-11-13)

Source | Diff

Notes

Several Windows CI improvements:

  • Base and Py docker images are only rebuilt if necessary;
  • Docker hub no longer requires a login to pull the image (meaning that tests now pass on forked PRs);
  • Rather than checking out the rez github repo in the image entrypoint, the existing checkout (done by the workflow) is bind mounted instead.

With these updates, tests are now passing on all platforms.

Known Issues

If the image is changed, there is a delay in the new image becoming available on docker hub (5-10 mins). If a separate push is made in this time, it can fail, as the Windows test expects to see the new image (which is tagged by commit).

Merged pull requests:

  • Windows docker enhancements #794 (bfloch)
  • Remove the login so that PR work at least for the non-image workflows. #795 (bfloch)
  • Issue 800 windows ci use checkout #801 (nerdvegas)

Closed issues:

  • windows ci: Use Actions checkout #800

2.47.13 (2019-11-08)

Source | Diff

Notes

This release just makes some minor changes related to the CI tests. As well as the changes in the PR shown below, the following changes were also made:

  • 'Windows Docker' workflow was renamed 'Windows'
  • MacOS version used in workflow was changed from 10.14 to 'latest', as per Github's instructions (which were emailed to me).

Merged pull requests:

  • Updated actions badges in README #786 (j0yu)

Closed issues:

  • Fix README actions badges not showing current master status #785

2.47.12 (2019-11-06)

Source | Diff

Notes

This release adds a docker-based workflow for the Github Actions Windows test. This was done specifically because Github's available Windows runtimes come with an already long %PATH%. Rez adds to PATH and hits a limit, causing the cmd shell to fail in several tests.

Merged pull requests:

2.47.11 (2019-11-06)

Source | Diff

Merged pull requests:

  • Fixes some failing tests on windows #775 (willjp)

2.47.10 (2019-11-06)

Source | Diff

Merged pull requests:

Closed issues:

  • rez-release UnicodeDecodeError (windows) #776
  • Errors in pip installation part go unnoticed by rez install.py #777

2.47.9 (2019-10-25)

Source | Diff

Merged pull requests:

  • rez.util.ProgressBar checks Bar.__del__ exists before invocation #769 #774 (willjp)

Closed issues:

  • rez-depends -- AttributeError: type object 'Bar' has no attribute 'del' (win, py-3, rez-2.47.7) #769

2.47.8 (2019-10-24)

Source | Diff

Merged pull requests:

  • Issue 763 prompt leak #767 (nerdvegas)
  • Fixes cmd due to oversight in 9c8334a106de900964e52f1ed8ee4155acdfe142 #770 (bfloch)
  • Skip test_build_cmake on Windows. #772 (bfloch)

Closed issues:

  • cross-shell prompt leakage can cause error #763

2.47.7 (2019-10-22)

Source | Diff

Notes

  • Rez-pip: Add a new logic to find which pip will be used to install pip packages.
  • Rez-pip: New deprecation warning when --pip-version is used.
  • See https://github.com/nerdvegas/rez/wiki/Pip for more details on rez-pip.

Merged pull requests:

Closed issues:

  • rez-pip should assume python provided pip #706
  • rez-pip python 3 error #764

2.47.6 (2019-10-22)

Source | Diff

Merged pull requests:

Closed issues:

  • ResourceWarning with ResolvedContext.execute_shell (py3) #761

2.47.5 (2019-10-22)

Source | Diff

Merged pull requests:

  • revert progress iteration and update vendored #766 (maxnbk)

Closed issues:

  • rez-depends -- 'ProgressBar' object is not an iterator (py-3, rez-2.47.4) #765

2.47.4 (2019-10-11)

Source | Diff

Notes

More Python3 compatibility changes.

Merged pull requests:

2.47.3 (2019-09-28)

Source | Diff

Notes

  • GitHub Actions CI test suite added
  • Windows not passing currently, fixes to come
  • Note that pwsh shell implementation was using the subprocess 'universal_newlines' arg - this has been removed. This was causing execute_shell to return an str-type stdout/stderr tuple, rather than bytes as every other shell impl does, and this was causing tests to fail.

Merged pull requests:

2.47.2 (2019-09-17)

Source | Diff

Notes

Py3 fixes found after testing.

Merged pull requests:

2.47.1 (2019-09-17)

Source | Diff

Merged pull requests:

Closed issues:

  • Shell plugin Support API #696

2.47.0 (2019-09-13)

Source | Diff

Notes

This fixes and improves the shell plugins, especially on Windows for cmd and PowerShell-like. Formerly excluded shell-dependent tests are now passing.

Note also that this release fixes a regression in Windows, introduced in 2.35.0.

Merged pull requests:

Closed issues:

  • Quotation marks issues on Windows. #691
  • Rex and expandable in other shells #694

2.46.0 (2019-09-13)

Source | Diff

Notes

Last round of Py3 updates (not counting further bugfixes found from testing).

Please take note if you notice any changes in performance in Py2. This release includes a number of changes from methods like iteritems to items, which in Py2 means a list construction rather than just an iterator. Tests have shown performance to be identical, but you may find a case where it is not.

Merged pull requests:

2.45.1 (2019-09-11)

Source | Diff

Notes

Misc Py3 compatibility updates, part 4.

Merged pull requests:

Closed issues:

  • #712 merged in 2.43.0 caused external environ not to pass through to resolve #744

2.45.0 (2019-09-10)

Source | Diff

Notes

Misc Py3 compatibility updates, part 3.

Merged pull requests:

2.44.2 (2019-09-07)

Source | Diff

Merged pull requests:

  • install variant.json file in the same manner as other extra install files #731 (nerdvegas)

Closed issues:

  • permissions failure on release (variant.json) #730

2.44.1 (2019-09-07)

Source | Diff

Notes

Misc Py3 compatibility updates, part 2.

Merged pull requests:

  • update imports in vendored pydot for py3 #728 (maxnbk)
  • update vendored schema for py3 #729 (maxnbk)

2.44.0 (2019-09-06)

Source | Diff

Notes

Misc Py3 compatibility updates, part 2.

Merged pull requests:

  • pull basestring from six.string_types - py2 gets basestring, py3 gets str #721 (maxnbk)
  • import StringIO from six.moves #722 (maxnbk)
  • update vendored colorama from 0.3.1 to 0.4.1 #723 (maxnbk)
  • update vendored memcache from 1.5.3 to 1.5.9 #724 (maxnbk)
  • make Version properly iterable in py3 #725 (maxnbk)
  • modernize function manipulations and attrs #727 (maxnbk)

2.43.0 (2019-09-05)

Source | Diff

Notes

Misc Py3 compatibility updates.

Merged pull requests:

2.42.2 (2019-08-31)

Source | Diff

Merged pull requests:

  • fixed bez rezbuild.py breaking on old-style print #705 (nerdvegas)
  • zsh tests passing by way of enabling analogue for bash shell completion #711 (maxnbk)

2.42.1 (2019-08-31)

Source | Diff

Notes

This PR introduces py3 compatibilities that do not functionally alter py2 code.

Merged pull requests:

  • miscellanous atomic nonaffective py2/py3 compatibilities #710 (maxnbk)

2.42.0 (2019-08-30)

Source | Diff

Merged pull requests:

2.41.0 (2019-08-29)

Source | Diff

Merged pull requests:

2.40.3 (2019-08-15)

Source | Diff

Notes

This update allows custom plugins to override the builtin rez plugins. It does so by reversing the order in which plugins are loaded, so that builtins are loaded last.

Merged pull requests:

Closed issues:

  • rezplugins loading order #677

2.40.2 (2019-08-15)

Source | Diff

Notes

This release fixes an issue on Windows, which has non-case-sensitive filepaths. Requesting a package with a case differing from that on disk would cause two packages to exist in the resolve, which really were just different cases of the same package.

The behaviour on Windows is now:

  • Packages are case-sensitive - rez-env Foo will fail if the package folder on disk is foo;
  • Package repository paths are case-insensitive - ~/packages and ~/Packages are regarded as the same repo.

Merged pull requests:

  • [FIX] Make package resolve request respect case sensitivity -- Windows #689 (lambdaclan)

2.40.1 (2019-08-07)

Source | Diff

Notes

Fixes regression introduced in v2.39.0.

Merged pull requests:

Closed issues:

  • [Regression - Version >= 2.39.0] ConfigurationError: Error in Rez configuration under plugins.shell #688

2.40.0 (2019-08-07)

Source | Diff

Notes

  • Adds new Zsh shell plugin (BETA)

Merged pull requests:

  • initial implementation of zsh shell plugin #686 (maxnbk)

Closed issues:

  • zsh plugin for rez #451

2.39.0 (2019-08-07)

Source | Diff

Notes

  • Fixes errors in new powershell plugin
  • Adds new powershell core 6+ plugin (BETA).

Merged pull requests:

Closed issues:

  • Add shell plugin for poweshell 6+ #678

2.38.2 (2019-07-23)

Source | Diff

Notes

Fixes regression in 2.38.0 that unintentionally renamed _rez_fwd tool to _rez-fwd.

Merged pull requests:

  • fixed regression in 2.38.0 that unintentionally renamed _rez_fwd to _rez-fwd #676 (nerdvegas)

Closed issues:

  • build scripts generated with incorrect shebang arg #671

2.38.1 (2019-07-20)

Source | Diff

Notes

Fixes issue on Windows where rez-bind'ing pip creates a broken package.

Merged pull requests:

2.38.0 (2019-07-20)

Source | Diff

Notes

Updates the installer (install.py).

  • patched distlib (in build_utils) has been removed. The patch we were relying on has since been made part of the main distlib release, which we already have vendored;
  • virtualenv has been updated to latest;
  • scripts have been removed, and entry points are used instead;
  • install.py code has been cleaned up and simplified. Specifically, standard use of distlib.ScriptMaker has been put in place;
  • INSTALL.md has been updated with a full explanation of the installer, and why a pip-based installation is not the same as using install.py.

Merged pull requests:

2.37.1 (2019-07-20)

Full Changelog

Notes

This fixes a regression introduced in 2.34.0, which causes rez-context -g to fail. The pydot vendor package was updated, and the newer version includes a breaking change. Where pydot.graph_from_dot_data used to return a single graph object, it now returns a list of graph objects.

Merged pull requests:

2.37.0 (2019-07-19)

Full Changelog

Notes

Adds PowerShell support. https://docs.microsoft.com/en-us/powershell/

Merged pull requests:

2.36.2 (2019-07-16)

Full Changelog

Merged pull requests:

2.36.1 (2019-07-16)

Full Changelog

Merged pull requests:

  • [Fix] Sh failing in test_shells.TeshShells.text_rex_code_alias #663 (bfloch)

2.36.0 (2019-07-16)

Full Changelog

Merged pull requests:

Closed issues:

  • Support "additive" preprocess functions #609

2.35.0 (2019-07-10)

Full Changelog

Backwards Compatibility Issues

Please note that this update alters the process hierarchy of a resolved rez environment, for Windows users. This does not necessarily represent a compatibility issue, but please be on the lookout for unintended side effects and report them if they arise.

Merged pull requests:

  • WIP No more "Terminate Batch Job? (Y/N)" - Take 2 #627 (mottosso)

Closed issues:

  • Shell history not working in cmd.exe or PowerShell #616

2.34.0 (2019-07-10)

Full Changelog

Merged pull requests:

2.33.0 (2019-06-26)

Full Changelog

Merged pull requests:

2.32.1 (2019-06-24)

Full Changelog

Merged pull requests:

  • Support for external PyYAML and Python 3 #622 (mottosso)
  • Fix escaping backslashes in tcsh on Mac OS #497 (skral)

2.32.0 (2019-06-23)

Full Changelog

Merged pull requests:

2.31.4 (2019-06-22)

Full Changelog

Merged pull requests:

  • Expose Python standard module file and name to rezconfig #636 (mottosso)

2.31.3 (2019-06-22)

Full Changelog

Merged pull requests:

2.31.2 (2019-06-22)

Full Changelog

Merged pull requests:

Closed issues:

  • rez-build breaks if "|" in a required package's version on Windows #558

2.31.1 (2019-06-18)

Full Changelog

Merged pull requests:

  • Automatically create missing package repository dir #623 (mottosso)

2.31.0 (2019-06-04)

Full Changelog

Merged pull requests:

2.30.2 (2019-06-03)

Full Changelog

Merged pull requests:

  • Update print statements to be Python 3 compatible #641 (bpabel)

2.30.1 (2019-06-03)

Full Changelog

Merged pull requests:

  • WIP Fix file permissions of package.py on Windows #598 (mottosso)

2.30.0 (2019-05-07)

Full Changelog

Merged pull requests:

Closed issues:

  • rezbuild.py broken #619
  • rez-env Performance and socket.getfqdn() #617
  • "parse_build_args.py" file parser arguments are not accessible anymore in "os.environ". #590

2.29.1 (2019-04-22)

Full Changelog

Merged pull requests:

Closed issues:

  • bug in rez-build --bs option #604

2.29.0 (2019-04-09)

Full Changelog

Implemented enhancements:

  • hash-based variant subpaths #583

Closed issues:

  • rez variant environment var during build #304

2.28.0 (2019-03-15)

Full Changelog

Fixed bugs:

  • nargs errors for logging_.print_* functions #580

Merged pull requests:

  • Ignore versions if .ignore file exists #453 (Pixomondo)
  • Fix/logging print nargs #581 (wwfxuk)
  • package_test.py: fix rez-test header command with % #572 (rodeofx)
  • Call the flush method every time a Printer instance is called #540 (rodeofx)

2.27.1 (2019-03-15)

Full Changelog

Merged pull requests:

2.27.0 (2019-01-24)

Full Changelog

Implemented enhancements:

  • facilitate variant install when target package is read-only #565

Fixed bugs:

  • timestamp override no working in package copy #568
  • shallow rez-cp can corrupt package if there are overlapping variants #563

Merged pull requests:

2.26.4 [#562] Fixed Regression in 2.24.0

Addressed Issues

  • #561 timestamp not written to installed package

2.26.3 [#560] Package.py permissions issue

Addressed Issues

  • #559 package.py permissions issue

Notes

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

2.26.2 [#557] Package Copy Fixes For Non-Varianted Packages

Addressed Issues

  • #556 rez-cp briefly copies original package definition in non-varianted packages
  • #555 rez-cp inconsistent symlinking when --shallow=true
  • #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 [#552] Bugfix in Package Copy

Addressed Issues

  • #551 package copy fails if symlinks in root dir

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 [#550] Build System Detection Fixes

Addressed Issues

  • #549 '--build-system' rez-build option not always available

Notes

To fix this issue:

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 [#548] Various Build-related issues

Addressed Issues

  • #433: "package_definition_build_python_paths" defined paths are not available from top level in package.py
  • #442: "rez-depends" and "private_build_requires"
  • #416: Need currently-building-variant build variables
  • #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/nerdvegas/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.

2.24.0: Package Copying

This release adds a new tool, rez-cp, for copying packages/variants from one package repository to another, with optional renaming/reversioning. The associated API can be found in src/package_copy.py.

Addressed Issues

  • #541
  • #510
  • #477

Notes

  • Package definition file writes are now atomic;
  • private_build_requires is kept in installed/released packages;
  • Fixes include modules not being copied into released packages;
  • File lock is no longer created when variant installation happens in dry mode.

2.23.1: Fixed Regression in 2.20.0

Addressed Issues

  • #532

Notes

Bug was introduced in: https://github.com/nerdvegas/rez/releases/tag/2.20.0

2.23.0: Package Usage Tracking, Better Config Overrides

Addressed Issues

  • #528

Notes

Two new features are added in this release:

Override any config setting with an env-var. For any setting "foo", you can now set the env-var REZ_FOO_JSON to a JSON-encoded string. This works for any config setting. Note that the existing REZ_FOO env-var overrides are still in place also; if both are defined, REZ_FOO takes precedence. This feature means you can now override some of the more complicated settings with env-vars, such as package_filter.

Track context creation and sourcing via AMQP. Messages are published (on a separate thread) to the nominated broker/exchange/routing_key. You have control over what parts of the context are published. For more details: https://github.com/nerdvegas/rez/blob/master/src/rez/rezconfig.py#L414

The embedded simplejson lib was removed. The native json lib is used instead, and for cases where loads-without-unicoding-everything is needed, utils/json.py now addresses that instead.

2.22.1: Stdin-related fixes

Addressed Issues

  • #512
  • #526

2.22.0: Search API

PR: #213

Notes

Package/variant/family search API is now available in package_search.py. This gives the same functionality as provided by the rez-search CLI tool.

2.21.0: Added mingw as a rez build_system for cmake

PR: #501

2.20.1: Windows Fixes

Merged PRs

  • #490: Fix alias command in Windows when PATH is modified
  • #489: Fix cmd.exe not escaping special characters
  • #482: Fix selftest getting stuck on Windows

Addressed Issues

  • #389
  • #343
  • #432
  • #481

2.20.0: Better CLI Arg Parsing

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: Fixed bug with rez-build and package preprocess

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.