Closed ADarkDividedGem closed 3 months ago
Hey @ADarkDividedGem I've had a look at this and there are indeed several uses of the union notation for types across the project. While changing them could be a quick fix I suspect there may be other issues with python 3.8 namely in dependencies as this project has been mostly developed with python 3.10.
As such, I'll update the min version of the project to 3.10 for now, since having the support means always testing with 3.8 and we're not doing that atm. The ideal future scenario will be a set of CI tests that run on multiple python versions and would allow us to expand to support older versions too.
Thanks for noticing and adding good reference materials.
I am using Python 3.9.13 and ran into the following error when I run
auto-archiver --help
This happens because union types are only support in Python 3.10: https://peps.python.org/pep-0604/
To get round the issue I added
from __future__ import annotations
to the top of thetwitter_archiver.py
file. https://github.com/tiangolo/typer/issues/371#issuecomment-1073695552Given your readme asks that "python 3.8 or higher" is installed I thought I would report this bug.