rajatomar788 / pywebcopy

Locally saves webpages to your hard disk with images, css, js & links as is.
https://rajatomar788.github.io/pywebcopy/
Other
520 stars 105 forks source link

[Python 3.10] TypeError: multiple bases have instance lay-out conflict #90

Closed jaraco closed 2 years ago

jaraco commented 2 years ago

Attempting to import the module on Python 3.10 results in this error:

~ $ python3.10 -m pip-run -q --use-pep517 pywebcopy -- -c "import pywebcopy"
WARNING: You are using pip version 21.3; however, version 21.3.1 is available.
You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m pip install --upgrade pip' command.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-run-6toqwjfg/pywebcopy/__init__.py", line 49, in <module>
    from .configs import config, SESSION
  File "/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-run-6toqwjfg/pywebcopy/configs.py", line 18, in <module>
    from .exceptions import AccessError
  File "/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-run-6toqwjfg/pywebcopy/exceptions.py", line 46, in <module>
    class UrlTransformerNotSetup(PywebcopyError, UnboundLocalError):
TypeError: multiple bases have instance lay-out conflict

Importing on Python 3.9 works fine.

rajatomar788 commented 2 years ago

Fixed in version 7.

jaraco commented 2 years ago

Are there any plans to release version 7? Other users are encountering this issue. It doesn't help much to have a fix that isn't released.

rajatomar788 commented 2 years ago

Version 7 will be released in 15 days top.

Having a fix doesn't mean that it is compatible with the existing code base.

It will be released as soon as possible, mind the bugs.

sTiKyt commented 1 year ago

image