[MacPorts] #69590: py-uncompyle6: requires a newer version of py-xdis
MacPorts
noreply at macports.org
Thu Mar 28 01:24:30 UTC 2024
#69590: py-uncompyle6: requires a newer version of py-xdis
----------------------------+------------------------
Reporter: rocky | Owner: reneeotten
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: fixed | Keywords:
Port: py-uncompyle6 |
----------------------------+------------------------
Comment (by reneeotten):
hi Rocky, okay I've made the required changes to update {{{py-xdis}}} and
get {{{py-uncompyle6}}} to build. It appears to me that one has to remove
the {{{setup.py}}} file and then add the following two lines to
{{{pyproject.toml}}} to get things working:
{{{
[tool.setuptools.packages.find]
include = ["uncompyle6"]
}}}
that allows me to build it for Python 3.8 - 3.12.
The only thing that I can't easily get to work is running the test-suite
with newer Python versions. It does work with Python 3.8 where it selects
{{{check-3.8}}} as the test target, but for other Python versions I can't
get it to run. I do notice though that you are also not testing anything
with newer Python versions in your CI so perhaps that's why the
appropriate targets are not defined? Anyway, I think this is resolved now
but if you have any other thoughts/suggestions please feel free to respond
here and I will take a look.
--
Ticket URL: <https://trac.macports.org/ticket/69590#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list