From 142c0bd03791d4d48b6d8287e2a5ff690915eee8 Mon Sep 17 00:00:00 2001 From: rocky Date: Tue, 27 Oct 2020 04:23:50 -0400 Subject: [PATCH] Get ready for release 5.0.5 --- .gitignore | 2 +- NEWS.md | 10 +++++++++- xdis/bin/pydisasm.py | 2 +- xdis/version.py | 1 + 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6fc99d06..3f34fb7a 100644 --- a/.gitignore +++ b/.gitignore @@ -18,10 +18,10 @@ .idea/**/uiDesigner.xml .idea/**/workspace.xml .idea_modules/ +.mypy_cache /.cache /.coverage /.eggs -/.mypy_cache /.pytest_cache /.python-version /.tox diff --git a/NEWS.md b/NEWS.md index 38e6d118..4822b8d7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,8 +1,16 @@ +5.1.0 2020-10-27 +================ + +* Add support for Python2.7 on Ubuntu 20.04 +* Bump versions for Python 3.8.6 and 3.5.10 +* Release instructions moved to wiki +* `VERSION` -> `__version__` because Python prefers it that way + 5.0.4 2020-08-30 ================ * Add python versions 3.6.12, 3.7.9 -* extended arg disassembly handling for {LOAD,STORE}_ATTR +* extended arg disassembly handling for `LOAD_ATTR` and `STORE_ATTR` 5.0.3 2020-07-28 ================ diff --git a/xdis/bin/pydisasm.py b/xdis/bin/pydisasm.py index 56156078..eae773eb 100644 --- a/xdis/bin/pydisasm.py +++ b/xdis/bin/pydisasm.py @@ -30,7 +30,7 @@ type=click.Choice(["xasm", "bytes", "classic", "extended", "extended-bytes", "header"], **case_sensitive), ) -@click.version_option(version=VERSION) +@click.version_option(version=__version__) @click.argument("files", nargs=-1, type=click.Path(readable=True), required=True) def main(format, files): """Disassembles a Python bytecode file. diff --git a/xdis/version.py b/xdis/version.py index 0673dd85..047b9285 100644 --- a/xdis/version.py +++ b/xdis/version.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- + # This file is suitable for sourcing inside POSIX shell as # well as importing into Python. That's why there is no # space around "=" below.