File: 002-remove-configparser-requirement.patch

package info (click to toggle)
elastalert 0.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,368 kB
  • sloc: python: 12,267; makefile: 101
file content (40 lines) | stat: -rw-r--r-- 1,072 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From: Sophie Brun <sophie@freexian.com>
Date: Mon, 26 Aug 2019 14:30:34 +0200
Subject: Remove configparser requirement

Last-Update: 2021-01-21

python-configparser is a backport of changes in Python 3.2
No more required with Python 3.7
We need to remove it because in elastalert, pkg_resources looks for the
requirement and fails if it's not found
Last-Update: 2019-08-22
---
 requirements.txt | 1 -
 setup.py         | 1 -
 2 files changed, 2 deletions(-)

diff --git a/requirements.txt b/requirements.txt
index c66ca8d..78286c9 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -3,7 +3,6 @@ aws-requests-auth>=0.3.0
 blist>=1.3.6
 boto3>=1.4.4
 cffi>=1.11.5
-configparser>=3.5.0
 croniter>=0.3.16
 elasticsearch>=7.0.0
 envparse>=0.2.0
diff --git a/setup.py b/setup.py
index 30ef949..4056492 100644
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,6 @@ setup(
         'aws-requests-auth>=0.3.0',
         'blist>=1.3.6',
         'boto3>=1.4.4',
-        'configparser>=3.5.0',
         'croniter>=0.3.16',
         'elasticsearch==7.0.0',
         'envparse>=0.2.0',