ArchiveTeam / wpull

Wget-compatible web downloader and crawler.
GNU General Public License v3.0
545 stars 77 forks source link

Dependency namedlist incompatible with Python 3.8 #451

Open jayvdb opened 4 years ago

jayvdb commented 4 years ago

See https://github.com/ArchiveTeam/wpull/pull/426#issuecomment-593047261

I've also encountered the same in openSUSE Tumbleweed which has switched to 3.8

https://build.opensuse.org/package/show/home:jayvdb:py-new/python-namedlist

https://bitbucket.org/ericvsmith/namedlist/ hasnt been updated for a while.

https://bitbucket.org/ericvsmith/namedlist/pull-requests/4/fix-ast-related-error-with-respect-to/diff is the fix

It is also a HG repo on Bitbucket which means it will be deleted soon.

@ericvsmith, will this be fixed, or should an alternative be found?

ericvsmith commented 4 years ago

I'd suggest switching to dataclasses. I wrote namedlist before I wrote dataclasses, and I can't think of a reason to prefer namedlist. I'm no longer interested in python 2 support enough just to maintain namedlist. dataclasses is supported (via a PyPI project) back to 3.6.

But thanks for the reminder. I really need to move this project to git and make a note that it's no longer supported.