The Travis CI builds are failing with the following messages:
sudo -H pip3 install --upgrade pip setuptools wheel
sudo: pip3: command not found
The command "if [ "$TRAVIS_OS_NAME" = "osx" ]; then bash package/prepare_osx.sh; fi" failed and exited with 1 during .
It appears that homebrew recipes for Python3 and pip3 install and
invocation keep changing (see Homebrew version after 1.5).
https://stackoverflow.com/questions/17271319/how-do-i-install-pip-on-macos-or-os-x
This reverts commit 2fdf8c64bf.
The problem introduced by the commit is that the Editor pane would
incorrectly label book elements with the plural form of a word. For
example "Books 4", "Sections 2", "Chapters 1", or "Scenes 3". Hence
the need to undo the commit.
Closes issue #383.
Update the language translation source '.ts' files with the
translatable strings in the source code with the following command:
$ make translation
This effectively runs the following command:
$ pylupdate5 -noobsolete i18n/manuskript.pro
After updating the '.ts' translation source files from weblate,
compile all of the language translations into '.qm' files.
This was done with the following command:
$ make i18n
This effectively runs the 'lrelease' command on each '.ts' file. For
example:
$ lrelease i18n/manuskript_es.ts
Prior to this step, the weblate language translations were merged into
the manuskript git repository with the following commands:
git remote add weblate https://hosted.weblate.org/git/manuskript/translations/
git remote update weblate
git checkout develop
git merge weblate/develop
The Travis CI build reports the following in the messages from
executing package/prepare_osx.sh:
sudo pip3 install --upgrade pip setuptools wheel
The directory '/Users/travis/Library/Caches/pip/http' or its \
parent directory is not owned by the current user and the cache \
has been disabled. Please check the permissions and owner of that \
directory. If executing pip with sudo, you may want sudo's -H \
flag.
The directory '/Users/travis/Library/Caches/pip' or its parent \
directory is not owned by the current user and caching wheels has \
been disabled. check the permissions and owner of that \
directory. If executing pip with sudo, you may want sudo's -H \
flag.
In an effort to address this issue, add "-H" flag to sudo.
The Travis CI builds have been failing with the following message:
The command "if [ "$TRAVIS_OS_NAME" = "osx" ]; then \
bash package/prepare_osx.sh; fi" \
failed and exited with 1 during .
This above line of code is from .travis.yml. Further examination of
the log from executing package/prepare_osx.sh shows the following
message:
<snip>
brew install python3 enchant
Error: python 2.7.12_1 is already installed
To upgrade to 3.6.5, run `brew upgrade python`
<snip>
Based on this message it appears that the method to install python3
has changed. Hence change command to upgrade python 2.x to 3.x.
Also fix milestone labels and regenerate to update 0.5.0 release.
This update was created with the following command:
$ github_changelog_generator -u olivierkes -p manuskript \
--no-unreleased \
--token {MyChangelogGithubToken}