Blob Blame History Raw
From 6d0c40eed71c1e4777fc28f110c5a6d74a55bf92 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sun, 26 Sep 2021 04:04:18 -0400
Subject: [PATCH 1/3] Remove unnecessary dependencies

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 docs/conf.py   | 2 +-
 pyproject.toml | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index d2641828..ad3b2669 100755
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -99,7 +99,7 @@ if on_rtd:
 
 
 # The full version, including alpha/beta/rc tags.
-release = package_version('ocrmypdf')
+release = os.environ.get('OCRMYPDF_VERSION')
 version = '.'.join(release.split('.')[:2])
 
 
diff --git a/pyproject.toml b/pyproject.toml
index 7c8db814..7706c36f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -52,14 +52,10 @@ Tracker = "https://github.com/ocrmypdf/OCRmyPDF/issues"
 docs = ["sphinx", "sphinx-issues", "sphinx-rtd-theme"]
 extended_test = ["PyMuPDF>=1.19.1"]
 test = [
-  "coverage[toml]>=6.2",
   "hypothesis>=6.36.0",
   "pytest>=6.2.5",
-  "pytest-cov>=3.0.0",
   "pytest-xdist>=2.5.0",
   "python-xmp-toolkit==2.0.1", # also requires apt-get install libexempi3
-  "types-Pillow",
-  "types-humanfriendly",
 ]
 watcher = ["watchdog>=1.0.2", "typer[all]", "python-dotenv"]
 webservice = ["Flask>=2.0.1"]
-- 
2.44.0