From 9031295b4d5e4e53d30194695a964157fd520c18 Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Mon, 4 Mar 2024 12:26:59 -0800 Subject: [PATCH] Support Python 3.9 (#6) --- comicfn2dict/parse.py | 1 + comicfn2dict/unparse.py | 1 + poetry.lock | 4 ++-- pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/comicfn2dict/parse.py b/comicfn2dict/parse.py index f289d29..c833a8d 100644 --- a/comicfn2dict/parse.py +++ b/comicfn2dict/parse.py @@ -1,4 +1,5 @@ """Parse comic book archive names using the simple 'parse' parser.""" +from __future__ import annotations from calendar import month_abbr from copy import copy diff --git a/comicfn2dict/unparse.py b/comicfn2dict/unparse.py index 68a221d..c4df994 100644 --- a/comicfn2dict/unparse.py +++ b/comicfn2dict/unparse.py @@ -1,4 +1,5 @@ """Unparse comic filenames.""" +from __future__ import annotations from calendar import month_abbr from collections.abc import Callable, Mapping, Sequence diff --git a/poetry.lock b/poetry.lock index 236b171..aaa13a4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -963,5 +963,5 @@ test = ["pytest (>=6.0.0)", "setuptools (>=65)"] [metadata] lock-version = "2.0" -python-versions = "^3.10" -content-hash = "4515a96c7b7f52c54723925326999a5565d78f6c3c2f25adbd137dd7994ac4ce" +python-versions = "^3.9" +content-hash = "39af5e6f01d257e457a710d8b126cbc467e520d7e2ad5942d3610fb503d5ce3a" diff --git a/pyproject.toml b/pyproject.toml index 341dd7b..7f14472 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ exclude = ["*/**/*~"] include = [] [tool.poetry.dependencies] -python = "^3.10" +python = "^3.9" [tool.poetry.group.dev.dependencies] neovim = "^0.3.1"