-
-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add depreciation warning in 1.0 for renaming package via cmd. (#1264)
* Add deperication warning for overriding package via cmd. Support for overriding the package via the command line is deprecated since Hydra 1.0.5 and will be removed in Hydra 1.1. For more details, refer #1140. * Correctly raise the warning after creating the override class * Update the tests to work with the depreciation warning * Fix formatting of the error message * Fix some broken tests * Simplify testing logic * Simplify tests * Simplify tests * Add two tests checking for package rename * Format message using dedent * Format message using dedent * Add NEWS Entry
- Loading branch information
1 parent
9331ca7
commit 8bea143
Showing
5 changed files
with
22 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Deprecate support for renaming packages via the command line. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters