From 8693f3b147be390fbf8f92ac8e4a65ea469e8a66 Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 4 Apr 2021 07:24:51 -0400 Subject: [PATCH] Get ready for release 2.1.1 --- NEWS.md | 9 +++++++++ admin-tools/check-versions.sh | 26 ++++++++++++++++++++++++++ admin-tools/pyenv-versions | 2 +- mathicsscript/version.py | 2 +- 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100755 admin-tools/check-versions.sh diff --git a/NEWS.md b/NEWS.md index 17bcc1c..2415050 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,12 @@ +2.1.1 +----- + +Administrative changes but necessary to get this working properly: + +* Bump min version of mathicsscanner. There was a bug in mathicsscanner that prevented +the GNU Readline inputrc files from getting created properly. +* Include settings.m in distribution. There was a typo in setup.py for location of this file. + 2.1.0 ----- diff --git a/admin-tools/check-versions.sh b/admin-tools/check-versions.sh new file mode 100755 index 0000000..19b6793 --- /dev/null +++ b/admin-tools/check-versions.sh @@ -0,0 +1,26 @@ +#!/bin/bash +function finish { + cd $owd +} + +# FIXME put some of the below in a common routine +owd=$(pwd) +trap finish EXIT + +cd $(dirname ${BASH_SOURCE[0]}) +if ! source ./pyenv-versions ; then + exit $? +fi + +cd .. +for version in $PYVERSIONS; do + echo --- $version --- + if ! pyenv local $version ; then + exit $? + fi + make clean && pip install -e . + if ! make check; then + exit $? + fi + echo === $version === +done diff --git a/admin-tools/pyenv-versions b/admin-tools/pyenv-versions index c571c99..cb664a8 100644 --- a/admin-tools/pyenv-versions +++ b/admin-tools/pyenv-versions @@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then echo "This script should be *sourced* rather than run directly through bash" exit 1 fi -export PYVERSIONS='3.6.13 3.7.10 3.8.8 3.9.2' +export PYVERSIONS='3.6.13 3.7.10 3.8.9 3.9.3' diff --git a/mathicsscript/version.py b/mathicsscript/version.py index 4e8cfdc..f46275e 100644 --- a/mathicsscript/version.py +++ b/mathicsscript/version.py @@ -3,4 +3,4 @@ # This file is suitable for sourcing inside POSIX shell as # well as importing into Python. That's why there is no # space around "=" below. -__version__="2.1.1.dev0" # noqa +__version__="2.1.1" # noqa