|
2 | 2 |
|
3 | 3 | <!-- start-here-sphinx-start-after -->
|
4 | 4 |
|
| 5 | +## 3.0.0 (TBD) |
| 6 | +[Source](https://github.com/AcademySoftwareFoundation/rez/tree/3.0.0) | [Diff](https://github.com/AcademySoftwareFoundation/rez/compare/2.114.1...3.0.0) |
| 7 | + |
| 8 | +This release marks a big turning point for rez by completely dropping support for Python 2. |
| 9 | +In 2.114.0, it was still possible to install rez with Python 2 using pip. This functionality has |
| 10 | +now been removed. As of now, rez will support Python 3.7+. As of now, we test against 3.7, 3.8, 3.9, |
| 11 | +3.10 and 3.11. |
| 12 | + |
| 13 | +This was a tough decision to make considering that we still have users relying on Python 2, but |
| 14 | +it was becoming more and more complicated and time-consuming to maintain support for Python 2. |
| 15 | + |
| 16 | +Thank you to everyone who's put a lot of effort into supporting Python 2 for that long. Without |
| 17 | +you, it wouldn't have been possible. |
| 18 | + |
| 19 | +As part of the effort to remove support for Python 2, we also refreshed our CI a bit: |
| 20 | +- The GitHub Action workflows are now simplified and unified. We now have one workflow to |
| 21 | + run all tests for all platforms instead of four. |
| 22 | +- We also got rid of the Windows containers. With these changes, our Windows tests are now |
| 23 | + as fast as Linux and macOS tests, it's easier to see test results and we can also more |
| 24 | + easily test all support python versions. |
| 25 | +- Running the tests directly on the GH hosted runners instead of containers, |
| 26 | + we discovered some big flaws in how our tests were set up. These issues are now |
| 27 | + fixed and our tests are now much more portable and don't rely on a centrally installed |
| 28 | + Python or `PATHEXT` to be set. Big thanks to [@Dennis-Lehmann](https://github.com/Dennis-Lehmann) |
| 29 | + and [@MrLixm](https://github.com/MrLixm) for helping us with debugging our Window tests! |
| 30 | + |
| 31 | +The CI refresh is not user-facing, but it took us a significant amount of effort |
| 32 | +and time to do and we hope that it will help increase the quality of rez and make |
| 33 | +for a better contributor experience. This is why we mention these in the release notes. |
| 34 | + |
| 35 | +### Features |
| 36 | + |
| 37 | +- It is now possible to configure the execution policy used when starting PowerShell (and pwsh) shells |
| 38 | + by setting the `execution_policy` setting in the shell's config file. This should hopefully help to |
| 39 | + smooth the transition from the cmd shell to powershell/pwsh.[\#1505](https://github.com/AcademySoftwareFoundation/rez/pull/1505) ([@herronelou](https://github.com/herronelou)) |
| 40 | +- Built-in bind modules can now be overridden by adding your custom implementations to `bind_module_path`. [\#1557](https://github.com/AcademySoftwareFoundation/rez/pull/1557) ([@Pantsworth](https://github.com/Pantsworth)) |
| 41 | + |
| 42 | +### Fixes |
| 43 | + |
| 44 | +- Fix infinite loop in the dot graph generation when `--fail-graph` is used and there are indirect cycles. [\#1620](https://github.com/AcademySoftwareFoundation/rez/pull/1620) ([@Pantsworth](https://github.com/Pantsworth)) |
| 45 | + |
| 46 | +### Removed |
| 47 | + |
| 48 | +As communicated in the 2.114.0 release notes, we've followed through on the removal of certain things. |
| 49 | + |
| 50 | +- Python 2: It is now impossible to install and use rez with Python 2. |
| 51 | + |
| 52 | +- Modules |
| 53 | + - `rez.vendor.version`: Use `rez.version` instead. |
| 54 | + - `rez.build_process_`: Use `rez.build_process` instead. |
| 55 | + - `rez.package_maker__`: Use `rez.package_maker` instead. |
| 56 | + - `rez.package_resources_`: Use `rez.package_resources` instead. |
| 57 | + - `rez.packages_`: Use `rez.packages` instead. |
| 58 | + |
| 59 | +- Configuration settings |
| 60 | + - `rxt_as_yaml`: No replacement. |
| 61 | + - `warn_commands2`: No replacement. This was a no-op. |
| 62 | + - `error_commands2`: No replacement. This was a no-op. |
| 63 | + - `rez_1_cmake_variables`: You can use the `REZ_BUILD_TYPE` CMake variable instead of `CENTRAL`. |
| 64 | + |
| 65 | +- CLI |
| 66 | + - rez-pip: The `--pip-version` is removed. |
| 67 | + - rez-search: The `--sort` is removed. |
| 68 | + |
| 69 | +- API |
| 70 | + - The `isolate` keyword argument of the `rez.rex.RexExecutor.execute_code` method is now officially removed. |
| 71 | + Instead of `executor.execute_code(..., isolate=True)`, use |
| 72 | + ```python |
| 73 | + with executor.reset_globals(): |
| 74 | + executor.execute_code(...) |
| 75 | + ``` |
| 76 | + |
| 77 | +- Build system: |
| 78 | + - `CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT` and `_ECLIPSE_VERSION` were removed from the list of default variables passed to CMake. [\#1623](https://github.com/AcademySoftwareFoundation/rez/pull/1623) ([@JeanChristopheMorinPerso](https://github.com/JeanChristopheMorinPerso)) |
| 79 | + - rez will no longer print a custom error message if no build system is detected or set and an old "bez" `rezbuild.py` is detected. [\#1624](https://github.com/AcademySoftwareFoundation/rez/pull/1624) ([@JeanChristopheMorinPerso](https://github.com/JeanChristopheMorinPerso)) |
| 80 | + |
| 81 | +### Changed |
| 82 | + |
| 83 | +Change of default values as announced in 2.114.0: |
| 84 | + |
| 85 | +- `rez_1_environment_variables`: Now disabled by default. |
| 86 | +- `disable_rez_1_compatibility`: Now enabled by default. |
| 87 | + |
| 88 | +New unannounced changes: |
| 89 | + |
| 90 | +- The default shell on Windows is now PowerShell unless you configure `default_shell` |
| 91 | + to a different value. The previous default was `cmd` and was causing a lot of problems. |
| 92 | + |
| 93 | +### Docs |
| 94 | + |
| 95 | +The effort to improve and add content to our docs continues. |
| 96 | + |
| 97 | +* New documentation dedicated to [caching](https://rez.readthedocs.io/en/stable/caching.html). |
| 98 | + This is only the beginning and only contains information on package payload caching and |
| 99 | + memcached. We hope to add more content in the future. [\#1615](https://github.com/AcademySoftwareFoundation/rez/pull/1615) ([@brycegbrazen](https://github.com/brycegbrazen)) |
| 100 | +- The note about SemVer in the [docs](https://rez.readthedocs.io/en/stable/basic_concepts.html#versions) |
| 101 | + has been clarified. While we encourage SemVer like versioning, rez doesn't know |
| 102 | + what SemVer is. This has been a source of confusion in the past. [\#1614](https://github.com/AcademySoftwareFoundation/rez/pull/1614) ([@brycegbrazen](https://github.com/brycegbrazen)) |
| 103 | + |
5 | 104 | ## 2.114.1 (2023-12-09)
|
6 | 105 | [Source](https://github.com/AcademySoftwareFoundation/rez/tree/2.114.1) | [Diff](https://github.com/AcademySoftwareFoundation/rez/compare/2.114.0...2.114.1)
|
7 | 106 |
|
|
0 commit comments