openzim / python-libzim

Libzim binding for Python: read/write ZIM files in Python
https://pypi.org/project/libzim/
GNU General Public License v3.0
62 stars 20 forks source link

Support Python 3.9 #89

Closed kelson42 closed 3 years ago

kelson42 commented 3 years ago

.. and update Cython version.

rgaudin commented 3 years ago

Cython doesn't support py39 for the moment. Marking this as upstream.

sobaee commented 3 years ago

Any hope of supporting python 3.9 🤔?

rgaudin commented 3 years ago

I see that Cython 0.29.22 has py39 support so this is no longer upstream. Thanks for the heads up.

rgaudin commented 3 years ago
==================================================== test session starts =====================================================
platform darwin -- Python 3.9.0, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: /Users/reg/src/pylibzim
plugins: cov-2.11.1
collected 83 items

tests/test_libzim_creator.py ............................................                                              [ 53%]
tests/test_libzim_reader.py .......................................                                                    [100%]

---------- coverage: platform darwin, python 3.9.0-final-0 -----------
Name                 Stmts   Miss  Cover   Missing
--------------------------------------------------
libzim/__init__.py       0      0   100%
libzim/reader.py         2      0   100%
libzim/wrapper.pyx     234     11    95%   85, 89, 125-134
libzim/writer.py        72      0   100%
--------------------------------------------------
TOTAL                  308     11    96%
sobaee commented 3 years ago

I see that Cython 0.29.22 has py39 support so this is no longer upstream. Thanks for the heads up.

What about libzim 🤔

rgaudin commented 3 years ago

I see that Cython 0.29.22 has py39 support so this is no longer upstream. Thanks for the heads up.

What about libzim 🤔

????? #101

sobaee commented 3 years ago

Great, many thanks Will this change be available by "pip install libzim" also? Or should I use git to do that?

sobaee commented 3 years ago

Hello developers

Please fix the version in Pypi to be installed in python 3.9

Currently "pip install libzim" is only success with python 3.8 (I tried with python 3.9 but failed)

And I can't get it worked either by git cloning.

Sorry 🙏