OBS-URL: https://build.opensuse.org/request/show/1090701 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-omemo-dr?expand=0&rev=1
37 lines
834 B
Diff
37 lines
834 B
Diff
--- a/pyproject.toml
|
|
+++ b/pyproject.toml
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "omemo-dr"
|
|
-requires-python = ">=3.10"
|
|
+requires-python = ">=3.9"
|
|
description = "OMEMO Double Ratchet"
|
|
readme = "README.md"
|
|
license = {file = "LICENSE"}
|
|
@@ -46,7 +46,7 @@ skip = "*__pycache__*,build,dist,test,*.
|
|
ignore-words-list = "claus,pres,ser,trough"
|
|
|
|
[tool.pyright]
|
|
-pythonVersion = "3.10"
|
|
+pythonVersion = "3.9"
|
|
pythonPlatform = "All"
|
|
typeCheckingMode = "strict"
|
|
|
|
--- a/tests/test_sessionbuilder.py
|
|
+++ b/tests/test_sessionbuilder.py
|
|
@@ -1,3 +1,5 @@
|
|
+from __future__ import annotations
|
|
+
|
|
import time
|
|
import unittest
|
|
|
|
--- a/tests/test_sessioncipher.py
|
|
+++ b/tests/test_sessioncipher.py
|
|
@@ -1,3 +1,5 @@
|
|
+from __future__ import annotations
|
|
+
|
|
import unittest
|
|
|
|
from omemo_dr.ecc.curve import Curve
|