-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed pywbem install error with ImportError on Python 2.7; Fixed tests
Details: * Fixed pywbem install error with ImportError for "._vendor.nocasedict" on Python 2.7. (issue #3163): The pywbem/_vendor/__init__.py file was missing from the wheel distribution archive and Python 2 cannot deal with that. Fixed by adding the file. * Fixed the test_install.sh script to catch the install error that was previously not detected. The main failure was that the import check was done in the main directory of the repo, so the __init__.py file came from there and had precedence over the resulting installation, so that the installation was not actually tested at all. This was fixed by performing the import check in the install test directory. * Improved the test_install.sh script by: - Adding empty lines around the sections it has, for better readability in the log file. - Echoed the commands that are executed. - Listed the Python packages in the virtualenv after installation, for better debugging issues. - Made directory paths absolute because now directories are changed during the test. Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
- Loading branch information
1 parent
55e2415
commit 75bfee3
Showing
4 changed files
with
71 additions
and
32 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