Skip to content

Commit

Permalink
Update python-uncompyle6 to version 3.7.4 / rev 11 via SR 889730
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/889730
by user dirkmueller + dimstar_suse
- skip python 3.9 (rocky/python-uncompyle6#331)
  • Loading branch information
dirkmueller authored and bmwiedemann committed May 3, 2021
1 parent d9b49dd commit 7855c97
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
Binary file modified packages/p/python-uncompyle6/.files
Binary file not shown.
8 changes: 8 additions & 0 deletions packages/p/python-uncompyle6/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,12 @@
<comment></comment>
<requestid>859980</requestid>
</revision>
<revision rev="11" vrev="2">
<srcmd5>b42da76ce624e43eabd5386e2ca068fa</srcmd5>
<version>3.7.4</version>
<time>1620072478</time>
<user>dimstar_suse</user>
<comment>- skip python 3.9 (https://github.com/rocky/python-uncompyle6/issues/331)</comment>

This comment has been minimized.

Copy link
@rocky

rocky Feb 7, 2022

I should be clear about something.

The Python version or language uses in running the decompiler is separate from the kinds of bytecode that get decompiled.

uncompyle6 will run on 3.9 and 3.10, and probably 3.11 when that appears. It just won't be able to decompile bytecode produced by 3.9, 3.10. Or at least not until someone updates the code to do so. Someone updating the code is a possibility, but right now it doesn't look likely to happen. See the issue cited for more detail on that.

(Just about all of the other Python decompilers other than this companion decompyle3 in fact only decompile whatever bytecode they are running, so I can see why there might be confusion here.)

This comment has been minimized.

Copy link
@dirkmueller

dirkmueller Feb 7, 2022

I'm aware of the distinction, thank you for pointing it out. I don't quite remember anymore the full context of this as its been more than a day ago but iirc the testsuite was failing (most likely because it, when built for 3.9 also used 3.9 bytecode)

<requestid>889730</requestid>
</revision>
</revisionlist>
5 changes: 5 additions & 0 deletions packages/p/python-uncompyle6/python-uncompyle6.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 1 18:35:27 UTC 2021 - Dirk Müller <[email protected]>

- skip python 3.9 (https://github.com/rocky/python-uncompyle6/issues/331)

-------------------------------------------------------------------
Thu Dec 31 08:08:08 UTC 2020 - [email protected]

Expand Down
5 changes: 3 additions & 2 deletions packages/p/python-uncompyle6/python-uncompyle6.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# spec file for package python-uncompyle6
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
Expand All @@ -17,6 +17,7 @@


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python39 1
Name: python-uncompyle6
Version: 3.7.4
Release: 0
Expand All @@ -33,7 +34,7 @@ Requires: python-setuptools
Requires: python-spark_parser >= 1.8.9
Requires: python-xdis >= 5.0.4
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module hypothesis >= 2.0.0}
Expand Down

0 comments on commit 7855c97

Please sign in to comment.