From 73ffd2609442987a0cfd1a82d2d216379108cc9e Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Thu, 28 Mar 2024 21:02:02 +0800 Subject: [PATCH] Kivy dependencies downgrade - also fixes video recording - tests are flakey but sometimes pass --- kivy-requirements.txt | 7 ++++++- tests-kivy.py | 3 +-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/kivy-requirements.txt b/kivy-requirements.txt index a28241c6..185a3ae7 100644 --- a/kivy-requirements.txt +++ b/kivy-requirements.txt @@ -1,6 +1,11 @@ kivy-garden.qrcode kivymd==1.0.2 +kivy==2.1.0 opencv-python pyzbar git+https://github.com/tito/telenium@9b54ff1#egg=telenium -Pillow \ No newline at end of file +Pillow==9.4.0 +jaraco.collections==3.8.0 +jaraco.classes==3.2.3 +pytz==2022.7.1 +pydantic==1.10.6 diff --git a/tests-kivy.py b/tests-kivy.py index c5e3dcd0..9bc08880 100644 --- a/tests-kivy.py +++ b/tests-kivy.py @@ -17,8 +17,7 @@ def unittest_discover(): if __name__ == "__main__": - with open("/proc/self/cgroup", "rt", encoding='ascii', errors='replace') as f: - in_docker = "docker" in f.read() + in_docker = os.path.exists("/.dockerenv") if in_docker: try: -- 2.45.1