-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove use of deprecated python 3.12 strtobool (#7900)
distutils is not available in python 3.12, so a substitute is needed for the strtobool code. Fixes #7899 ### Description Replace distutils strtobool with local _strtobool version. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [x] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. --------- Signed-off-by: Hans Johnson <[email protected]>
- Loading branch information
1 parent
410109a
commit 58106a6
Showing
2 changed files
with
22 additions
and
3 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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# Requirements for minimal tests | ||
-r requirements.txt | ||
setuptools>=50.3.0,<66.0.0,!=60.6.0 | ||
setuptools>=50.3.0,<66.0.0,!=60.6.0 ; python_version < "3.12" | ||
setuptools>=70.2.0; python_version >= "3.12" | ||
coverage>=5.5 | ||
parameterized |