Skip to content

Commit

Permalink
fix(compat): make compatible down to python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
nikaro committed Dec 14, 2023
1 parent c09017b commit 60c9a6a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "SOPS Python wrapper library"
authors = [{ name = "Nicolas Karolak", email = "[email protected]" }]
dependencies = []
readme = "README.md"
requires-python = ">= 3.11"
requires-python = ">= 3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand Down
5 changes: 4 additions & 1 deletion requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@
# last locked with the following flags:
# pre: false
# features: []
# all-features: false
# all-features: true

-e file:.
exceptiongroup==1.2.0
iniconfig==2.0.0
mypy==1.7.1
mypy-extensions==1.0.0
packaging==23.2
pluggy==1.3.0
pytest==7.4.3
pyyaml==6.0.1
ruff==0.1.7
tomli==2.0.1
types-pyyaml==6.0.12.12
typing-extensions==4.9.0
3 changes: 2 additions & 1 deletion requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# last locked with the following flags:
# pre: false
# features: []
# all-features: false
# all-features: true

-e file:.
pyyaml==6.0.1
3 changes: 1 addition & 2 deletions src/sopsy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from typing import Any
from typing import Literal
from typing import Self
from typing import TypeAlias
from typing import overload

try:
Expand All @@ -20,7 +19,7 @@
else:
_has_yaml = True

SopsyCmdOutput: TypeAlias = bytes | dict[str, Any] | None
SopsyCmdOutput = bytes | dict[str, Any] | None


class SopsyInOutType(StrEnum):
Expand Down

0 comments on commit 60c9a6a

Please sign in to comment.