File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : uncompyle6 (osx )
1+ name : uncompyle6 (MacOS )
22
33on :
44 push :
@@ -14,15 +14,15 @@ jobs:
1414 os : [macOS]
1515 python-version : ['3.8', '3.10']
1616 steps :
17- - uses : actions/checkout@v4
17+ - uses : actions/checkout@v6
1818 - name : Set up Python ${{ matrix.python-version }}
19- uses : actions/setup-python@v5
19+ uses : actions/setup-python@v6
2020 with :
2121 python-version : ${{ matrix.python-version }}
2222 - name : Install dependencies
2323 run : |
2424 # Until the next xdis release
25- pip install --local -e "git+https://github.com/rocky/python-xdis.git@python-3.6-to-3.10#egg=xdis"
25+ # pip install --local -e "git+https://github.com/rocky/python-xdis.git@python-3.6-to-3.10#egg=xdis"
2626 pip install -e .
2727 # Not sure why "pip install -e" doesn't work above
2828 # pip install click spark-parser xdis
Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ jobs:
1313 matrix :
1414 python-version : ['3.8', '3.9']
1515 steps :
16- - uses : actions/checkout@v4
16+ - uses : actions/checkout@v6
1717 - name : Set up Python ${{ matrix.python-version }}
18- uses : actions/setup-python@v5
18+ uses : actions/setup-python@v6
1919 with :
2020 python-version : ${{ matrix.python-version }}
2121 - name : Install dependencies
2222 run : |
2323 # Until the next xdis release
24- pip install --local -e "git+https://github.com/rocky/python-xdis.git@python-3.6-to-3.10#egg=xdis"
24+ # pip install --local -e "git+https://github.com/rocky/python-xdis.git@python-3.6-to-3.10#egg=xdis"
2525 pip install -e .
2626 # pip install click spark-parser xdis
2727 pip install -r requirements-dev.txt
Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ jobs:
1414 os : [windows]
1515 python-version : ['3.8']
1616 steps :
17- - uses : actions/checkout@v4
17+ - uses : actions/checkout@v6
1818 - name : Set up Python ${{ matrix.python-version }}
19- uses : actions/setup-python@v5
19+ uses : actions/setup-python@v6
2020 with :
2121 python-version : ${{ matrix.python-version }}
2222 - name : Install dependencies
2323 run : |
2424 # Until the next xdis release
25- pip install --local -e "git+https://github.com/rocky/python-xdis.git@python-3.6-to-3.10#egg=xdis"
25+ # pip install --local -e "git+https://github.com/rocky/python-xdis.git@python-3.6-to-3.10#egg=xdis"
2626 pip install -e .
2727 # Not sure why "pip install -e" doesn't work above
2828 # pip install click spark-parser xdis
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ check-3.0 check-3.1 check-3.2 check-3.6:
4343check-3.7 : pytest
4444 $(MAKE ) -C test check
4545
46- check-3.8 check-3.9 check-3.10 check-3.11 check-3.12 check-3.13 :
46+ check-3.8 check-3.9 check-3.10 check-3.11 check-3.12 check-3.13 check-3.14 :
4747 $(MAKE ) -C test check-3.8
4848
4949# :PyPy 2.6.1 PyPy 5.0.1, or PyPy 5.8.0-beta0
Original file line number Diff line number Diff line change @@ -23,10 +23,28 @@ cd ..
2323source $PACKAGE /version.py
2424echo $__version__
2525
26- # Python 3.12 and 3.13 are more restrictive in packaging
27- pyenv local 3.11
28-
2926rm -fr build
30- pip wheel --wheel-dir=dist .
27+ for pyversion in $PYVERSIONS ; do
28+ echo --- $pyversion ---
29+ if [[ ${pyversion: 0: 4} == " pypy" ]] ; then
30+ echo " $pyversion - PyPy does not get special packaging"
31+ continue
32+ elif [[ ${pyversion: 0: 4} == " graa" ]] ; then
33+ echo " $pyversion - Graal does not get special packaging"
34+ continue
35+ fi
36+ if ! pyenv local $pyversion ; then
37+ exit $?
38+ fi
39+ # pip bdist_egg create too-general wheels. So
40+ # we narrow that by moving the generated wheel.
41+
42+ # Pick out first two number of version, e.g. 3.5.1 -> 35
43+ first_two=$( echo $pyversion | cut -d' .' -f 1-2 | sed -e ' s/\.//' )
44+ rm -fr build
45+ pip wheel --wheel-dir=dist -e .
46+ mv -v dist/${PACKAGE} -${__version__} -{py3,py$first_two }-none-any.whl
47+ done
48+
3149python -m build --sdist
3250finish
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
55 echo " This script should be *sourced* rather than run directly through bash"
66 exit 1
77fi
8- export PYVERSIONS=' 3.11 3.12 3.13'
8+ export PYVERSIONS=' 3.11 3.12 3.13 3.14 '
Original file line number Diff line number Diff line change 11flake8
22six
3- pytest == 3.2.5 # for 2.7 < PYTHON_VERSION <= 3.2 use pytest 2.9.2; for 3.1 2.10
3+ pytest == 9.0.3 # for 2.7 < PYTHON_VERSION <= 3.2 use pytest 2.9.2; for 3.1 2.10
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ check-3.8: check-bytecode
8080 $(PYTHON ) test_pythonlib.py --bytecode-3.8-run --verify-run
8181 $(PYTHON ) test_pythonlib.py --bytecode-3.8 --syntax-verify $(COMPILE )
8282
83- check-3.9 check-3.10 check-3.11 check-3.12 check-3.13 : check-bytecode
83+ check-3.9 check-3.10 check-3.11 check-3.12 check-3.13 check-3.14 : check-bytecode
8484 @echo " Note that we do not support decompiling this version's bytecode - no 3.9 tests run"
8585
8686
You can’t perform that action at this time.
0 commit comments