forked from pool/python-ast-decompiler
Accepting request 1222860 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1222860 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ast-decompiler?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:efc3a507e5f8963ec7b4b2ce2ea693e3755c2f52b741c231bc344a4526738337
|
||||
size 18413
|
||||
3
ast_decompiler-0.8.0.tar.gz
Normal file
3
ast_decompiler-0.8.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:daef5ca5c2bcb9ba7cf72a9308c7cd596c092d7201c0bbaf28947c721ce26441
|
||||
size 18526
|
||||
@@ -1,68 +1,74 @@
|
||||
---
|
||||
tests/test_basic.py | 2 +-
|
||||
tests/test_indentation.py | 2 +-
|
||||
tests/test_line_length.py | 2 +-
|
||||
tests/test_literal.py | 2 +-
|
||||
tests/test_patma.py | 2 +-
|
||||
tests/test_precedence.py | 2 +-
|
||||
tests/test_py3_syntax.py | 2 +-
|
||||
7 files changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
--- a/tests/test_basic.py
|
||||
+++ b/tests/test_basic.py
|
||||
diff -Nru ast_decompiler-0.8.0.orig/tests/test_basic.py ast_decompiler-0.8.0/tests/test_basic.py
|
||||
--- ast_decompiler-0.8.0.orig/tests/test_basic.py 2024-05-17 11:24:40.473753700 +0000
|
||||
+++ ast_decompiler-0.8.0/tests/test_basic.py 2024-11-08 10:13:46.230356472 +0000
|
||||
@@ -1,6 +1,6 @@
|
||||
import ast
|
||||
from ast_decompiler import decompile
|
||||
-from .tests import assert_decompiles, check, only_on_version
|
||||
+from tests import assert_decompiles, check, only_on_version
|
||||
-from .tests import assert_decompiles, check
|
||||
+from tests import assert_decompiles, check
|
||||
|
||||
|
||||
def test_non_module() -> None:
|
||||
--- a/tests/test_indentation.py
|
||||
+++ b/tests/test_indentation.py
|
||||
diff -Nru ast_decompiler-0.8.0.orig/tests/test_indentation.py ast_decompiler-0.8.0/tests/test_indentation.py
|
||||
--- ast_decompiler-0.8.0.orig/tests/test_indentation.py 2024-05-17 11:24:40.473753700 +0000
|
||||
+++ ast_decompiler-0.8.0/tests/test_indentation.py 2024-11-08 10:13:46.230356472 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-from .tests import assert_decompiles
|
||||
+from tests import assert_decompiles
|
||||
|
||||
|
||||
def test_indentation() -> None:
|
||||
--- a/tests/test_line_length.py
|
||||
+++ b/tests/test_line_length.py
|
||||
diff -Nru ast_decompiler-0.8.0.orig/tests/test_line_length.py ast_decompiler-0.8.0/tests/test_line_length.py
|
||||
--- ast_decompiler-0.8.0.orig/tests/test_line_length.py 2024-05-17 11:24:40.473753700 +0000
|
||||
+++ ast_decompiler-0.8.0/tests/test_line_length.py 2024-11-08 10:13:46.234356491 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-from .tests import assert_decompiles
|
||||
+from tests import assert_decompiles
|
||||
|
||||
|
||||
def check_split(original: str, multiline: str, length_reduction: int = 2) -> None:
|
||||
--- a/tests/test_literal.py
|
||||
+++ b/tests/test_literal.py
|
||||
diff -Nru ast_decompiler-0.8.0.orig/tests/test_literal.py ast_decompiler-0.8.0/tests/test_literal.py
|
||||
--- ast_decompiler-0.8.0.orig/tests/test_literal.py 2024-05-17 11:24:40.473753700 +0000
|
||||
+++ ast_decompiler-0.8.0/tests/test_literal.py 2024-11-08 10:13:46.234356491 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-from .tests import assert_decompiles, only_on_version
|
||||
+from tests import assert_decompiles, only_on_version
|
||||
-from .tests import assert_decompiles
|
||||
+from tests import assert_decompiles
|
||||
|
||||
|
||||
def test_With() -> None:
|
||||
--- a/tests/test_patma.py
|
||||
+++ b/tests/test_patma.py
|
||||
diff -Nru ast_decompiler-0.8.0.orig/tests/test_patma.py ast_decompiler-0.8.0/tests/test_patma.py
|
||||
--- ast_decompiler-0.8.0.orig/tests/test_patma.py 2024-05-17 11:24:40.473753700 +0000
|
||||
+++ ast_decompiler-0.8.0/tests/test_patma.py 2024-11-08 10:13:46.234356491 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-from .tests import check, skip_before
|
||||
+from tests import check, skip_before
|
||||
|
||||
|
||||
@skip_before((3, 10))
|
||||
--- a/tests/test_precedence.py
|
||||
+++ b/tests/test_precedence.py
|
||||
diff -Nru ast_decompiler-0.8.0.orig/tests/test_pep695.py ast_decompiler-0.8.0/tests/test_pep695.py
|
||||
--- ast_decompiler-0.8.0.orig/tests/test_pep695.py 2024-05-17 11:24:40.477753600 +0000
|
||||
+++ ast_decompiler-0.8.0/tests/test_pep695.py 2024-11-08 10:13:46.234356491 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-from .tests import check, only_on_version
|
||||
+from tests import check, only_on_version
|
||||
-from .tests import check, skip_before
|
||||
+from tests import check, skip_before
|
||||
|
||||
|
||||
@skip_before((3, 12))
|
||||
diff -Nru ast_decompiler-0.8.0.orig/tests/test_precedence.py ast_decompiler-0.8.0/tests/test_precedence.py
|
||||
--- ast_decompiler-0.8.0.orig/tests/test_precedence.py 2024-05-17 11:24:40.477753600 +0000
|
||||
+++ ast_decompiler-0.8.0/tests/test_precedence.py 2024-11-08 10:13:46.238356510 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-from .tests import check
|
||||
+from tests import check
|
||||
|
||||
|
||||
def test_Yield() -> None:
|
||||
--- a/tests/test_py3_syntax.py
|
||||
+++ b/tests/test_py3_syntax.py
|
||||
diff -Nru ast_decompiler-0.8.0.orig/tests/test_py3_syntax.py ast_decompiler-0.8.0/tests/test_py3_syntax.py
|
||||
--- ast_decompiler-0.8.0.orig/tests/test_py3_syntax.py 2024-05-17 11:24:40.477753600 +0000
|
||||
+++ ast_decompiler-0.8.0/tests/test_py3_syntax.py 2024-11-08 10:13:46.238356510 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-from .tests import check, skip_before, skip_after
|
||||
+from tests import check, skip_before, skip_after
|
||||
-from .tests import check
|
||||
+from tests import check
|
||||
|
||||
|
||||
@skip_before((3, 5))
|
||||
def test_MatMult() -> None:
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 8 10:14:29 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 0.8.0
|
||||
* Support Python 3.12 and 3.13; stop testing Python 3.6 and 3.7
|
||||
* Fix all DeprecationWarnings in the codebase
|
||||
- Refresh no-relative-imports.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 18 12:44:05 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-ast-decompiler
|
||||
Version: 0.7.0
|
||||
Version: 0.8.0
|
||||
Release: 0
|
||||
Summary: Python module to decompile AST to Python code
|
||||
License: Apache-2.0
|
||||
|
||||
Reference in New Issue
Block a user