forked from pool/python-omemo-dr
Accepting request 1090701 from home:XRevan86
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
This commit is contained in:
36
omemo-dr-python-3.9.patch
Normal file
36
omemo-dr-python-3.9.patch
Normal file
@@ -0,0 +1,36 @@
|
||||
--- 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
|
||||
Reference in New Issue
Block a user