Skip to content

Commit

Permalink
Get ready for release 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Jul 22, 2024
1 parent 244ca51 commit 361e142
Show file tree
Hide file tree
Showing 11 changed files with 94 additions and 20 deletions.
43 changes: 41 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,8 +1,47 @@
2024-07-22 rocky <rb@dusytfeet.com>

* __pkginfo__.py, trepanxpy/version.py: Get ready for release 1.1.1

2024-05-06 rocky <rb@dusytfeet.com>

* Makefile: Administrivia

2024-05-06 rocky <rb@dusytfeet.com>

* __pkginfo__.py, setup.py: Administrivia

2023-05-24 rocky <rb@dusytfeet.com>

* admin-tools/pyenv-versions-newer: Bump testing to newest Python
versions

2022-03-30 rocky <rb@dusytfeet.com>

* admin-tools/pyenv-versions-newer, trepanxpy/fmt.py: Guard agains
RAISE_VARARGS with no arg

2021-11-20 rocky <rb@dusytfeet.com>

* __pkginfo__.py, trepanxpy/debugger_defaults.py: Change autostack
and autopc to default to True

2021-11-08 rocky <rb@dusytfeet.com>

* README.md: Mention bytecode-specific commands

2021-11-07 rocky <rb@dusytfeet.com>

* admin-tools/how-to-make-a-release.md, trepanxpy/version.py: Bump
version

2021-11-07 rocky <rb@dusytfeet.com>

* ChangeLog, NEWS.md, __pkginfo__.py,
admin-tools/how-to-make-a-release.md, trepanxpy/__init__.py,
trepanxpy/version.py: Get ready for release 1.1.0
admin-tools/how-to-make-a-release.md,
admin-tools/make-dist-newer.sh, admin-tools/make-dist-older.sh,
admin-tools/pyenv-versions-newer, setup.cfg, setup.py,
trepanxpy/__init__.py, trepanxpy/__main__.py, trepanxpy/version.py:
Get ready for release 1.1.0

2021-09-12 rocky <rb@dustyfeet.com>

Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
1.1.1 2024-07-22
================

* Adjust for newer xdis, x-python, and trepan3k

1.1.0 2021-11-07
================

Expand Down
8 changes: 4 additions & 4 deletions __pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@
entry_points = {"console_scripts": ["trepan-xpy = trepanxpy.__main__:main"]}
ftp_url = None
install_requires = [
"columnize >= 0.3.10",
"decompyle3 >= 3.9.2",
"nose>=1.0.0, <= 1.3.7",
"pyficache >= 2.0.1",
"x-python >= 1.4.0",
"term-background >= 1.0.1",
"trepan3k >= 1.2.8",
"trepan3k >= 1.2.11",
"uncompyle6 >= 3.9.2",
"x-python >= 1.5.1",
]
license = "GPL3"
mailing_list = "python-debugger@googlegroups.com"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ source trepanxpy/version.py
echo $__version__

for pyversion in $PYVERSIONS; do
echo --- $pyversion ---
if ! pyenv local $pyversion ; then
exit $?
fi
Expand All @@ -34,3 +35,9 @@ for pyversion in $PYVERSIONS; do
python setup.py bdist_egg bdist_wheel
mv -v dist/${PACKAGE}-$__version__-py3-none-any.whl dist/${PACKAGE}-$__version__-py${first_two}-none-any.whl
done

python ./setup.py sdist
tarball=dist/${PACKAGE}-${__version__}.tar.gz
if [[ -f $tarball ]]; then
mv -v $tarball dist/${PACKAGE}_32-${__version__}.tar.gz
fi
5 changes: 5 additions & 0 deletions admin-tools/merge-for-2.7.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#/bin/bash
cd $(dirname ${BASH_SOURCE[0]})
if . ./setup-python-2.7.sh; then
git merge python-3.2-to-3.5
fi
5 changes: 5 additions & 0 deletions admin-tools/merge-for-3.2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#/bin/bash
cd $(dirname ${BASH_SOURCE[0]})
if . ./setup-python-3.2.sh; then
git merge master
fi
2 changes: 1 addition & 1 deletion admin-tools/pyenv-versions-newer
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- shell-script -*-
# Sets PYVERSIONS to be pyenv versions that
# we can use in the master branch.
export PYVERSIONS='3.6.15 3.7.16 3.8.16 3.9.16 3.10.11'
export PYVERSIONS='3.6.15 3.7.16 3.8 3.9 3.10'
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
typeset -p PYVERSIONS
echo "Note: this script should be *sourced* rather than run directly through bash"
Expand Down
2 changes: 1 addition & 1 deletion admin-tools/setup-master.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
PYTHON_VERSION=3.7.7
PYTHON_VERSION=3.8

owd=$(pwd)
bs=${BASH_SOURCE[0]}
Expand Down
18 changes: 18 additions & 0 deletions admin-tools/setup-python-2.7.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
PYTHON_VERSION=2.7

export PATH=$HOME/.pyenv/bin/pyenv:$PATH
trepan_xpy_owd=$(pwd)
bs=${BASH_SOURCE[0]}
if [[ $0 == $bs ]] ; then
echo "This script should be *sourced* rather than run directly through bash"
exit 1
fi
mydir=$(dirname $bs)
fulldir=$(readlink -f $mydir)
cd $fulldir/..
(cd ../python3-trepan && ./admin-tools/setup-python-2.4.sh) && \
(cd ../x-python && ./admin-tools/setup-python-2.7.sh)
git checkout python-2.7 && pyenv local $PYTHON_VERSION && git pull
cd $trepan_xpy_owd
rm -v */.python-version || true
17 changes: 6 additions & 11 deletions admin-tools/setup-python-3.2.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
#!/bin/bash
PYTHON_VERSION=3.2.6
PYTHON_VERSION=3.2

owd=$(pwd)
trepan_xpy_owd=$(pwd)
bs=${BASH_SOURCE[0]}
if [[ $0 == $bs ]] ; then
echo "This script should be *sourced* rather than run directly through bash"
exit 1
fi
mydir=$(dirname $bs)
fulldir=$(readlink -f $mydir)
cd $fulldir/..
(cd ../python-spark && git checkout master && pyenv local $PYTHON_VERSION) && git pull && \
(cd ../python-xdis && git checkout master && pyenv local $PYTHON_VERSION) && \
(cd ../python3-trepan && git checkout master && pyenv local $PYTHON_VERSION) && git pull && \
git checkout python-3.2 && pyenv local $PYTHON_VERSION && git pull
cd $owd
(cd ../python3-trepan && ./admin-tools/setup-python-3.2.sh) && \
(cd ../x-python && ./admin-tools/setup-python-3.1.sh)
git checkout python-3.2-to-3.5 && pyenv local $PYTHON_VERSION && git pull
cd $trepan_xpy_owd
rm -v */.python-version || true
2 changes: 1 addition & 1 deletion trepanxpy/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# debugger version number.

# fmt: off
__version__="1.1.1.dev0" # noqa
__version__="1.1.1" # noqa

0 comments on commit 361e142

Please # to comment.