python-uncompyle6 icon indicating copy to clipboard operation
python-uncompyle6 copied to clipboard

Go over code to all it to run on Python 3.11

Open rocky opened this issue 3 years ago • 2 comments

Description

Go over the code to ensure it runs on Python 3.11

Background

Note that xdis needs to support Python 3.11 See https://github.com/rocky/python-xdis/issues/98

Some Output you may get if you run on 3.11

Installing xdis:

$ pip install -e .
Obtaining file:///src/external-vcs/github/rocky/python-xdis
  Preparing metadata (setup.py) ... done
Collecting six>=1.10.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: click in /tmp/.pyenv/versions/3.11.0/lib/python3.11/site-packages (from xdis==6.0.5.dev0) (8.1.3)
ERROR: Package 'xdis' requires a different Python: 3.11.0 not in '<3.11,>=3.6'

Tests

Once things are fixed make check should work from Python 3.11

rocky avatar Nov 12 '22 20:11 rocky

@rocky i want unpack app python 3.11 i will pay for this task

jerusalemEG avatar Jan 09 '23 07:01 jerusalemEG

@mostafakamelomarrslan Send a small sample, a complete module. But pick the smallest one. It should have less than 4k of bytecode (or 100 lines). Send the PYC file to [email protected] and I will look at this when I get a chance.

rocky avatar Jan 09 '23 12:01 rocky