-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix python3 compatibility and switch travis to python3
Python2 is EOL. Switch to py3. The move to python3 requires the 'typing' package to be installed. Add it to the travisci file. Also update to 'focal' Ubuntu release to get a python newer than 3.3. This patch reworks the use of git-describe to work out the document version number. The existing code falls over when using Sphinx on Python 3 due to the string datatype changes. Wrap the output of subprocess with str() to fix. Finally, the changebar version build is currently failing and causing latex to stall. Drop it for now until it can be resolved. Signed-off-by: Grant Likely <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
15 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