-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for pywbem using requests
This is done in such a way that pywbemcli can work with pywbem versions before and after the pywbem change (i.e. pywbem 1.0.0). There is no need to increase the minimum required pywbem version to 1.0.0. Details: * Changed the `--ca-certs` general option to support the changes as of pywbem version 1.0.0 (new value 'certifi', and default changed from a fixed set of directories to 'certifi'). The pywbem support for requests is determined via its new pywbem.PYWBEM_USES_REQUESTS attribute. * Download and invoke pywbem_os_setup.* script for installing pywbemtools only when using pywbem before 1.0.0 on Python 2. Note that the script is still downloaded and invoked for development of pywbemtools because pywbemtools needs some of the same packages pywbem needs for development. * Adjusted a test case in test_general_options.py to accomodate the different exception message when using pywbem with requests. * Adjusted the Makefile to the change in the downloaded pywbem_os_setup.* script by removing it in target clobber. This ensures that there is a way to get out of errors resulting from using a previously downloaded script that does not fit to the pywbem version that is used. * Adjusted the Makefile to specify the name for the downloaded pywbem_os_setup.* script. This avoids that wget creates numbered versions of the file if it already exists. Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
- Loading branch information
1 parent
f38a329
commit 438ed3d
Showing
9 changed files
with
111 additions
and
57 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
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
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
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