Closed malaterre closed 2 years ago
Very odd. I can't reproduce the error as I don't have Python 3.9 installed, but as the offending six module is only used/needed under Python 2.x, I made the import conditional on the Python version, see:
https://github.com/openpreserve/jpylyzer/commit/4e3cd5cc20a462f3cb9da832ae6c2b19c8218379
I just created a 2.0.1 bugfix release for this:
https://github.com/openpreserve/jpylyzer/releases/tag/2.0.1
Let me know if this fixes the issue! If so, I'll also merge these changes into the development branch of the upcoming 2.1 release.
That worked !
[WARNING] Note with key '2' defined at line 2280 column 1 but not used.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
rootdir: /<<PKGBUILDDIR>>
collected 8 items
tests/unit/test_jpylyzer.py ........ [100%]
============================== 8 passed in 0.07s ===============================
create-stamp debian/debhelper-build-stamp
fakeroot debian/rules binary-indep
dh binary-indep --with python3 --buildsystem=pybuild
dh_testroot -i -O--buildsystem=pybuild
dh_prep -i -O--buildsystem=pybuild
dh_auto_install -i -O--buildsystem=pybuild
I: pybuild base:237: /usr/bin/python3 setup.py install --root /<<PKGBUILDDIR>>/debian/tmp
running install
thanks !
Perfect, thanks for confirming this!
For some reason jpylyzer does not build anymore on Debian: