Skip to content

Commit c837fb5

Browse files
committed
Administrivia
1 parent a2c7a53 commit c837fb5

4 files changed

Lines changed: 43 additions & 3 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
*.egg
2-
.idea
32
*.egg-info
43
*.py?
54
*~
5+
.idea
66
.python-version
77
/*.egg
8+
/.cache
89
/.coverage
910
/.eggs
1011
/.tox
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
77
exit 1
88
fi
99

10-
export PYVERSIONS='3.5.10 3.3.7 3.4.10 3.2.6'
10+
export PYVERSIONS='3.6.15 pypy3.6-7.3.1 3.7.17 pypy3.7-7.3.9 pypy3.8-7.3.10 pypy3.9-7.3.10 pyston-2.3.5 3.8.18 3.9.18 3.10.13'

admin-tools/pyenv-newer-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
77
exit 1
88
fi
99

10-
export PYVERSIONS='3.6.15 pypy3.6-7.3.1 3.7.17 pypy3.7-7.3.9 pypy3.8-7.3.10 pypy3.9-7.3.10 pyston-2.3.5 3.8.18 3.9.18 3.10.13'
10+
export PYVERSIONS='3.11.7 3.12.1'

admin-tools/setup-python-3.6.sh

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/bin/bash
2+
PYTHON_VERSION=3.6.15
3+
4+
# FIXME put some of the below in a common routine
5+
function checkout_version {
6+
local repo=$1
7+
version=${2:-python-3.0-to-3.2}
8+
echo Checking out $version on $repo ...
9+
(cd ../$repo && git checkout $version && pyenv local $PYTHON_VERSION) && \
10+
git pull
11+
return $?
12+
}
13+
14+
# FIXME put some of the below in a common routine
15+
function finish {
16+
cd $owd
17+
}
18+
19+
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
20+
owd=$(pwd)
21+
bs=${BASH_SOURCE[0]}
22+
if [[ $0 == $bs ]] ; then
23+
echo "This script should be *sourced* rather than run directly through bash"
24+
exit 1
25+
fi
26+
27+
mydir=$(dirname $bs)
28+
fulldir=$(readlink -f $mydir)
29+
(cd $fulldir/.. && \
30+
checkout_version python-spark master && \
31+
checkout_version python-xdis python-3.6-to-3.10 && \
32+
checkout_version python-filecache master && \
33+
checkout_version pycolumnize master && \
34+
checkout_version python-uncompyle6 master \
35+
)
36+
cd $owd
37+
rm -v */.python-version || true
38+
39+
git checkout python-3.6-to-3.10 && pyenv local $PYTHON_VERSION && git pull

0 commit comments

Comments
 (0)