#1147300 python-django-pyscss: please patch-out trivial usage of python3-mock

#1147300#5
Date:
2026-09-10 13:59:50 UTC
From:
To:
Dear Maintainer,

python3-mock is an obsolete package.
"mock" has been merge in the Python Standard Library a long time ago,
around the times of Python3.7


python-django-pyscss looks inactive

Please apply this tiny pseudo-patch on Debian in the meantime


There is no defined timeline yet that says wether this should happen
before of after Forky is released.

Greetings

Alexandre


diff --git a/debian/control b/debian/control
index 92fd09b..5407359 100644
--- a/debian/control
+++ b/debian/control
@@ -16,7 +16,6 @@ Build-Depends:
 Build-Depends-Indep:
  python3-django,
  python3-django-compressor,
- python3-mock,
  python3-pil,
  python3-pytest,
  python3-pyscss,
diff --git a/tests/test_scss.py b/tests/test_scss.py
index c1410e1..47092a1 100644
--- a/tests/test_scss.py
+++ b/tests/test_scss.py
@@ -1,6 +1,6 @@
 import os
 import re
-import mock
+from unittest import mock

 from django.test import TestCase
 from django.conf import settings