| 1 |
From: Jochen Sprickerhof <[email protected]> |
| 2 |
Date: Sun, 10 Dec 2023 08:45:57 +0100 |
| 3 |
Subject: Drop future import |
| 4 |
|
| 5 |
--- |
| 6 |
bugwarrior/config.py | 2 -- |
| 7 |
bugwarrior/db.py | 2 -- |
| 8 |
bugwarrior/notifications.py | 2 -- |
| 9 |
bugwarrior/services/gitlab.py | 2 -- |
| 10 |
bugwarrior/services/trac.py | 2 -- |
| 11 |
bugwarrior/services/trello.py | 2 -- |
| 12 |
setup.py | 1 - |
| 13 |
tests/test_gitlab.py | 2 -- |
| 14 |
tests/test_trello.py | 2 -- |
| 15 |
tests/test_youtrak.py | 2 -- |
| 16 |
10 files changed, 19 deletions(-) |
| 17 |
|
| 18 |
diff --git a/bugwarrior/config.py b/bugwarrior/config.py |
| 19 |
index 22acf01..88790da 100644 |
| 20 |
--- a/bugwarrior/config.py |
| 21 |
+++ b/bugwarrior/config.py |
| 22 |
@@ -1,5 +1,3 @@ |
| 23 |
-from future import standard_library |
| 24 |
-standard_library.install_aliases() |
| 25 |
import codecs |
| 26 |
from six.moves import configparser |
| 27 |
import os |
| 28 |
diff --git a/bugwarrior/db.py b/bugwarrior/db.py |
| 29 |
index fc1a1d6..2fde62b 100644 |
| 30 |
--- a/bugwarrior/db.py |
| 31 |
+++ b/bugwarrior/db.py |
| 32 |
@@ -1,6 +1,4 @@ |
| 33 |
from __future__ import unicode_literals |
| 34 |
-from future import standard_library |
| 35 |
-standard_library.install_aliases() |
| 36 |
from builtins import zip |
| 37 |
from builtins import object |
| 38 |
|
| 39 |
diff --git a/bugwarrior/notifications.py b/bugwarrior/notifications.py |
| 40 |
index 1da1569..9192181 100644 |
| 41 |
--- a/bugwarrior/notifications.py |
| 42 |
+++ b/bugwarrior/notifications.py |
| 43 |
@@ -1,5 +1,3 @@ |
| 44 |
-from future import standard_library |
| 45 |
-standard_library.install_aliases() |
| 46 |
import datetime |
| 47 |
import os |
| 48 |
import urllib.request, urllib.parse, urllib.error |
| 49 |
diff --git a/bugwarrior/services/gitlab.py b/bugwarrior/services/gitlab.py |
| 50 |
index 5cdd4bf..b0d0693 100644 |
| 51 |
--- a/bugwarrior/services/gitlab.py |
| 52 |
+++ b/bugwarrior/services/gitlab.py |
| 53 |
@@ -1,6 +1,4 @@ |
| 54 |
# coding: utf-8 |
| 55 |
-from future import standard_library |
| 56 |
-standard_library.install_aliases() |
| 57 |
from builtins import map |
| 58 |
from builtins import filter |
| 59 |
|
| 60 |
diff --git a/bugwarrior/services/trac.py b/bugwarrior/services/trac.py |
| 61 |
index 18ce622..ff6556f 100644 |
| 62 |
--- a/bugwarrior/services/trac.py |
| 63 |
+++ b/bugwarrior/services/trac.py |
| 64 |
@@ -1,5 +1,3 @@ |
| 65 |
-from future import standard_library |
| 66 |
-standard_library.install_aliases() |
| 67 |
from builtins import filter |
| 68 |
from builtins import map |
| 69 |
from builtins import range |
| 70 |
diff --git a/bugwarrior/services/trello.py b/bugwarrior/services/trello.py |
| 71 |
index e0760ec..6fb303d 100644 |
| 72 |
--- a/bugwarrior/services/trello.py |
| 73 |
+++ b/bugwarrior/services/trello.py |
| 74 |
@@ -6,8 +6,6 @@ Pulls trello cards as tasks. |
| 75 |
Trello API documentation available at https://developers.trello.com/ |
| 76 |
""" |
| 77 |
from __future__ import unicode_literals |
| 78 |
-from future import standard_library |
| 79 |
-standard_library.install_aliases() |
| 80 |
from six.moves.configparser import NoOptionError |
| 81 |
|
| 82 |
from jinja2 import Template |
| 83 |
diff --git a/setup.py b/setup.py |
| 84 |
index a8501a3..2085a3d 100644 |
| 85 |
--- a/setup.py |
| 86 |
+++ b/setup.py |
| 87 |
@@ -30,7 +30,6 @@ setup(name='bugwarrior', |
| 88 |
install_requires=[ |
| 89 |
"click", |
| 90 |
"dogpile.cache>=0.5.3", |
| 91 |
- "future", |
| 92 |
"jinja2>=2.7.2", |
| 93 |
"lockfile>=0.9.1", |
| 94 |
"python-dateutil", |
| 95 |
diff --git a/tests/test_gitlab.py b/tests/test_gitlab.py |
| 96 |
index a46ebce..ad8aee6 100644 |
| 97 |
--- a/tests/test_gitlab.py |
| 98 |
+++ b/tests/test_gitlab.py |
| 99 |
@@ -1,5 +1,3 @@ |
| 100 |
-from future import standard_library |
| 101 |
-standard_library.install_aliases() |
| 102 |
from builtins import next |
| 103 |
from six.moves import configparser |
| 104 |
import datetime |
| 105 |
diff --git a/tests/test_trello.py b/tests/test_trello.py |
| 106 |
index b0f1381..d025c29 100644 |
| 107 |
--- a/tests/test_trello.py |
| 108 |
+++ b/tests/test_trello.py |
| 109 |
@@ -1,6 +1,4 @@ |
| 110 |
from __future__ import unicode_literals, print_function |
| 111 |
-from future import standard_library |
| 112 |
-standard_library.install_aliases() |
| 113 |
from builtins import next |
| 114 |
from unittest.mock import patch |
| 115 |
|
| 116 |
diff --git a/tests/test_youtrak.py b/tests/test_youtrak.py |
| 117 |
index 36f2025..d3a5ac1 100644 |
| 118 |
--- a/tests/test_youtrak.py |
| 119 |
+++ b/tests/test_youtrak.py |
| 120 |
@@ -1,5 +1,3 @@ |
| 121 |
-from future import standard_library |
| 122 |
-standard_library.install_aliases() |
| 123 |
from builtins import next |
| 124 |
from six.moves import configparser |
| 125 |
import responses |