mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2024-11-23 05:00:07 +00:00
Administrivia
This commit is contained in:
parent
f2750cff50
commit
162423895e
29
admin-tools/check-newest-versions.sh
Executable file
29
admin-tools/check-newest-versions.sh
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
#!/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-newest-versions ; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
if ! source ./setup-master.sh ; 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-short; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
echo === $version ===
|
||||||
|
done
|
||||||
|
make check
|
8
admin-tools/pyenv-newest-versions
Normal file
8
admin-tools/pyenv-newest-versions
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# -*- shell-script -*-
|
||||||
|
# Sets PYVERSIONS to be pyenv versions that
|
||||||
|
# we can use in the master branch.
|
||||||
|
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.15 3.7.12 3.8.11'
|
Loading…
Reference in New Issue
Block a user