smihica / pyminizip

To create a password encrypted zip file in python.
Other
106 stars 37 forks source link

Pyminizip is not working with python 3.10.0 #38

Closed InsomniakD closed 2 years ago

InsomniakD commented 2 years ago

Code which work with python 3.9.7 now don't work anymore in python 3.10.0 it always return an error an error which is this one : "expected arguments are compress_multiple([src], [srcpath], dst, pass, level)" but after a 100 hundred recheck everything is correct and work with the past version so I guess it's an issue with the latest python version.

rdeterre commented 2 years ago

As stated here, Python 3.10 broke support for # formats if PY_SSIZE_T_CLEAN is not defined.

@smihica, I should be able to send a pull request to fix this. Would you be open to reviewing it?

smihica commented 2 years ago

Supported: https://pypi.org/project/pyminizip/0.2.6/