Skip to content

Commit 56ac8f7

Browse files
committed
Administrivia
3.14 tolerance update versions of things
1 parent 926cefa commit 56ac8f7

9 files changed

Lines changed: 39 additions & 129 deletions

File tree

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: uncompyle6 (osx)
1+
name: uncompyle6 (MacOS)
22

33
on:
44
push:
@@ -12,17 +12,17 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [macOS]
15-
python-version: [3.13]
15+
python-version: [3.14]
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#egg=xdis
25+
# pip install --local -e git+https://github.com/rocky/python-xdis.git#egg=xdis
2626
pip install -e .
2727
# Not sure why "pip install -e" doesn't work above
2828
# pip install click spark-parser xdis

.github/workflows/ubuntu.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [3.13]
14+
python-version: [3.14]
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#egg=xdis
24+
# pip install --local -e git+https://github.com/rocky/python-xdis.git#egg=xdis
2525
pip install -e .
2626
# pip install click spark-parser xdis
2727
pip install -r requirements-dev.txt

.github/workflows/windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
os: [windows]
1515
python-version: [3.13]
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#egg=xdis
25+
# pip install --local -e git+https://github.com/rocky/python-xdis.git#egg=xdis
2626
pip install -e .
2727
# Not sure why "pip install -e" doesn't work above
2828
# pip install click spark-parser xdis

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ check-3.0 check-3.1 check-3.2 check-3.6:
4343
check-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

__pkginfo__.py

Lines changed: 0 additions & 109 deletions
This file was deleted.

admin-tools/make-dist-newest.sh

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,28 @@ cd ..
2323
source $PACKAGE/version.py
2424
echo $__version__
2525

26-
# Python 3.12 and 3.13 are more restrictive in packaging
27-
pyenv local 3.11
28-
2926
rm -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+
3149
python -m build --sdist
3250
finish

admin-tools/pyenv-newest-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
77
fi
8-
export PYVERSIONS='3.11 3.12 3.13'
8+
export PYVERSIONS='3.11 3.12 3.13 3.14'

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = "Python cross-version byte-code library and disassembler"
1212
dependencies = [
1313
"click",
1414
"spark-parser >= 1.8.9, < 1.9.2",
15-
"xdis >= 6.2",
15+
"xdis >= 6.3",
1616
]
1717
readme = "README.rst"
1818

@@ -43,6 +43,7 @@ classifiers = [
4343
"Programming Language :: Python :: 3.11",
4444
"Programming Language :: Python :: 3.12",
4545
"Programming Language :: Python :: 3.13",
46+
"Programming Language :: Python :: 3.14",
4647
"Programming Language :: Python :: Implementation :: PyPy",
4748
]
4849
dynamic = ["version"]

test/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)