Skip to content

Commit

Permalink
Add warning about REZ_LOG_DEPRECATION_WARNINGS forcefully loading all…
Browse files Browse the repository at this point in the history
… configs

Signed-off-by: Jean-Christophe Morin <[email protected]>
  • Loading branch information
JeanChristopheMorinPerso committed Nov 18, 2023
1 parent 334d1d6 commit 427c3a4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ Probably the last release before 3.0.0
Rez installations now only support Python 3.7+. It is important to note that the API
can still be used with Python 2.7+ but this will be dropped in 3.0.0

### Features

* New environment variable `REZ_LOG_DEPRECATION_WARNINGS` that will force
all deprecation warnings to be printed, ignoring `PYTHONWARNINGS` and custom
warning filters. Note that enabling this will forcefully load every
configuration file instead of loading them lazilly.

### Deprecations

We decided to deprecated some things that have been "deprecated" for a while but were never
Expand Down
5 changes: 5 additions & 0 deletions docs/source/environment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,11 @@ Development Environment Variables
Prior to updating, you should set this environment variable to see if you need to
change some things to be compatible with newer versions.

.. warning::

Enabling this will forcefully load every configuration file instead of loading them
lazilly. This can have an impact on startup time.

.. envvar:: REZ_SIGUSR1_ACTION

If you set this to ``print_stack``, rez will prints its
Expand Down

0 comments on commit 427c3a4

Please sign in to comment.