Open atmaniak opened 2 years ago
Did you try running the tests or on different python versions?
Yes, i have the same errors with the tests.
Tested with python 3.8, 3.9 and 3.10 (using docker)
Seems like the same error is happening on Github actions and the error is not correctly reported :(
https://github.com/rajatomar788/pywebcopy/runs/4058464007?check_suite_focus=true
The error seems to be suppressed in the github workflows. So I guess I have to pull the version 7.0.1 for now.
as the error is happening with 7.0.1, what version should I use to make it work?
Hey you can use the version on the pypi as it doesn't have any error. Or if you can use the github repo then go to this https://github.com/rajatomar788/pywebcopy7
It has the error fixed by a patch.
With the latest release (7.0.1) i get this error message when trying examples from documentation.
I'm using Python 3.9.7
File "**/lib/python3.9/site-packages/pywebcopy/elements.py", line 234, in GenericResource html_content_types.__doc__ = "Set of valid html mimetypes." AttributeError: 'tuple' object attribute '__doc__' is read-only