File tree Expand file tree Collapse file tree 13 files changed +175
-73
lines changed Expand file tree Collapse file tree 13 files changed +175
-73
lines changed Original file line number Diff line number Diff line change 43
43
- run :
44
44
command : | # Use pip to install dependengcies
45
45
sudo pip install --user --upgrade setuptools
46
- # Until the next release
47
- sudo pip install git+https://github.com/rocky/python-xdis#egg=xdis
48
46
pip install --user -e .
47
+ # Not sure why "pip install -e" doesn't work above
48
+ # pip install click spark-parser xdis
49
49
pip install --user -r requirements-dev.txt
50
50
51
51
# Save dependency cache
Original file line number Diff line number Diff line change 22
22
- name : Install dependencies
23
23
run : |
24
24
python -m pip install --upgrade pip
25
- # Until the next xdis release
26
- pip install git+https://github.com/rocky/python-xdis#egg=xdis
27
25
pip install -e .
26
+ # Not sure why "pip install -e" doesn't work above
27
+ # pip install click spark-parser xdis
28
28
pip install -r requirements-dev.txt
29
29
- name : Test uncompyle6
30
30
run : |
Original file line number Diff line number Diff line change 21
21
- name : Install dependencies
22
22
run : |
23
23
python -m pip install --upgrade pip
24
- # Until the next xdis release
25
- pip install git+https://github.com/rocky/python-xdis#egg=xdis
26
24
pip install -e .
25
+ # pip install click spark-parser xdis
27
26
pip install -r requirements-dev.txt
28
27
- name : Test uncompyle6
29
28
run : |
Original file line number Diff line number Diff line change 22
22
- name : Install dependencies
23
23
run : |
24
24
python -m pip install --upgrade pip
25
- # Until the next xdis release
26
- pip install git+https://github.com/rocky/python-xdis#egg=xdis
27
25
pip install -e .
26
+ # Not sure why "pip install -e" doesn't work above
27
+ # pip install click spark-parser xdis
28
28
pip install -r requirements-dev.txt
29
29
- name : Test uncompyle6
30
30
run : |
Original file line number Diff line number Diff line change
1
+ 3.9.1: 2024-05-15
2
+ =================
3
+
4
+ Lots of changes major changes. track xdis API has changes.
5
+
6
+ Separate Phases more clearly:
7
+ * disassembly
8
+ * tokenization
9
+ * parsing
10
+ * abstracting to AST (more is done in newer projects)
11
+ * printing
12
+
13
+ Although we do not decompile bytecode greater than 3.8, code supports running from up to 3.12.
14
+
15
+ Many bugs fixed.
16
+
17
+ A lot of Linting and coding style modernization.
18
+
19
+ Work done in preparation for Blackhat Asia 2024
20
+
1
21
3.9.0: 2022-12-22
2
22
=================
3
23
Original file line number Diff line number Diff line change 62
62
"Programming Language :: Python :: 3.8" ,
63
63
"Programming Language :: Python :: 3.9" ,
64
64
"Programming Language :: Python :: 3.10" ,
65
+ "Programming Language :: Python :: 3.11" ,
66
+ "Programming Language :: Python :: 3.12" ,
65
67
"Programming Language :: Python :: Implementation :: PyPy" ,
66
68
"Topic :: Software Development :: Debuggers" ,
67
69
"Topic :: Software Development :: Libraries :: Python Modules" ,
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ PACKAGE=uncompyle6
3
3
4
4
# FIXME put some of the below in a common routine
5
5
function finish {
6
- cd $owd
6
+ cd $make_dist_uncompyle6_owd
7
7
}
8
- owd =$( pwd)
8
+ make_dist_uncompyle6_owd =$( pwd)
9
9
trap finish EXIT
10
10
11
11
cd $( dirname ${BASH_SOURCE[0]} )
@@ -21,6 +21,11 @@ source $PACKAGE/version.py
21
21
echo $__version__
22
22
23
23
for pyversion in $PYVERSIONS ; do
24
+ echo --- $pyversion ---
25
+ if [[ ${pyversion: 0: 4} == " pypy" ]] ; then
26
+ echo " $pyversion - PyPy does not get special packaging"
27
+ continue
28
+ fi
24
29
if ! pyenv local $pyversion ; then
25
30
exit $?
26
31
fi
@@ -41,3 +46,4 @@ tarball=dist/${PACKAGE}-${__version_}_-tar.gz
41
46
if [[ -f $tarball ]]; then
42
47
rm -v dist/${PACKAGE} -${__version__} -tar.gz
43
48
fi
49
+ finish
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ PACKAGE=uncompyle6
3
+
4
+ # FIXME put some of the below in a common routine
5
+ function finish {
6
+ cd $uncompyle6_30_make_dist_owd
7
+ }
8
+
9
+ cd $( dirname ${BASH_SOURCE[0]} )
10
+ uncompyle6_30_make_dist_owd=$( pwd)
11
+ trap finish EXIT
12
+
13
+ if ! source ./pyenv-3.0-3.2-versions ; then
14
+ exit $?
15
+ fi
16
+ if ! source ./setup-python-3.0.sh ; then
17
+ exit $?
18
+ fi
19
+
20
+ cd ..
21
+ source $PACKAGE /version.py
22
+ echo $__version__
23
+
24
+ for pyversion in $PYVERSIONS ; do
25
+ echo --- $pyversion ---
26
+ if [[ ${pyversion: 0: 4} == " pypy" ]] ; then
27
+ echo " $pyversion - PyPy does not get special packaging"
28
+ continue
29
+ fi
30
+ if ! pyenv local $pyversion ; then
31
+ exit $?
32
+ fi
33
+ # pip bdist_egg create too-general wheels. So
34
+ # we narrow that by moving the generated wheel.
35
+
36
+ # Pick out first two number of version, e.g. 3.5.1 -> 35
37
+ first_two=$( echo $pyversion | cut -d' .' -f 1-2 | sed -e ' s/\.//' )
38
+ rm -fr build
39
+ python setup.py bdist_egg bdist_wheel
40
+ mv -v dist/${PACKAGE} -$__version__ -{py2.py3,py$first_two }-none-any.whl
41
+ echo === $pyversion ===
42
+ done
43
+
44
+ python ./setup.py sdist
45
+ tarball=dist/${PACKAGE} -${__version__} .tar.gz
46
+ if [[ -f $tarball ]]; then
47
+ mv -v $tarball dist/${PACKAGE} _31-${__version__} .tar.gz
48
+ fi
49
+ finish
Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ PACKAGE=uncompyle6
3
3
4
4
# FIXME put some of the below in a common routine
5
5
function finish {
6
- cd $owd
6
+ cd $uncompyle6_33_make_owd
7
7
}
8
8
9
9
cd $( dirname ${BASH_SOURCE[0]} )
10
- owd =$( pwd)
10
+ uncompyle6_33_make_owd =$( pwd)
11
11
trap finish EXIT
12
12
13
13
if ! source ./pyenv-3.3-3.5-versions ; then
@@ -22,6 +22,11 @@ source $PACKAGE/version.py
22
22
echo $__version__
23
23
24
24
for pyversion in $PYVERSIONS ; do
25
+ echo --- $pyversion ---
26
+ if [[ ${pyversion: 0: 4} == " pypy" ]] ; then
27
+ echo " $pyversion - PyPy does not get special packaging"
28
+ continue
29
+ fi
25
30
if ! pyenv local $pyversion ; then
26
31
exit $?
27
32
fi
@@ -33,6 +38,12 @@ for pyversion in $PYVERSIONS; do
33
38
rm -fr build
34
39
python setup.py bdist_egg bdist_wheel
35
40
mv -v dist/${PACKAGE} -$__version__ -{py2.py3,py$first_two }-none-any.whl
41
+ echo === $pyversion ===
36
42
done
37
43
38
44
python ./setup.py sdist
45
+ tarball=dist/${PACKAGE} -${__version__} .tar.gz
46
+ if [[ -f $tarball ]]; then
47
+ mv -v $tarball dist/${PACKAGE} _31-${__version__} .tar.gz
48
+ fi
49
+ finish
Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ PACKAGE=uncompyle6
3
3
4
4
# FIXME put some of the below in a common routine
5
5
function finish {
6
- cd $owd
6
+ cd $make_uncompyle6_newest_owd
7
7
}
8
8
9
9
cd $( dirname ${BASH_SOURCE[0]} )
10
- owd =$( pwd)
10
+ make_uncompyle6_newest_owd =$( pwd)
11
11
trap finish EXIT
12
12
13
13
if ! source ./pyenv-newest-versions ; then
@@ -22,6 +22,11 @@ source $PACKAGE/version.py
22
22
echo $__version__
23
23
24
24
for pyversion in $PYVERSIONS ; do
25
+ echo --- $pyversion ---
26
+ if [[ ${pyversion: 0: 4} == " pypy" ]] ; then
27
+ echo " $pyversion - PyPy does not get special packaging"
28
+ continue
29
+ fi
25
30
if ! pyenv local $pyversion ; then
26
31
exit $?
27
32
fi
@@ -36,3 +41,4 @@ for pyversion in $PYVERSIONS; do
36
41
done
37
42
38
43
python ./setup.py sdist
44
+ finish
You can’t perform that action at this time.
0 commit comments