[Python-modules-commits] [napalm-base] 01/05: Use gtextfsm instead of jtextfsm

Vincent Bernat bernat at moszumanska.debian.org
Wed Nov 2 18:52:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

bernat pushed a commit to branch master
in repository napalm-base.

commit fe790a74fc94d9e891164d6c47457cd5422bfacf
Author: Vincent Bernat <vincent at bernat.im>
Date:   Wed Nov 2 19:44:23 2016 +0100

    Use gtextfsm instead of jtextfsm
    
    While gtextfsm is not compatible with Python 3, jtextfsm is not in
    Debian and tests are failing with Python 2. Since the remaining of the
    ecosystem is mostly Python 2 and the freeze is soon, let's use the
    simpler solution.
---
 napalm_base.egg-info/requires.txt | 2 +-
 napalm_base/helpers.py            | 2 +-
 requirements.txt                  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/napalm_base.egg-info/requires.txt b/napalm_base.egg-info/requires.txt
index d8a6f3e..695a0d6 100644
--- a/napalm_base.egg-info/requires.txt
+++ b/napalm_base.egg-info/requires.txt
@@ -1,3 +1,3 @@
-jtextfsm
+gtextfsm
 jinja2
 netaddr
diff --git a/napalm_base/helpers.py b/napalm_base/helpers.py
index 0dc3bfe..47c75ac 100644
--- a/napalm_base/helpers.py
+++ b/napalm_base/helpers.py
@@ -10,7 +10,7 @@ import sys
 
 # third party libs
 import jinja2
-import jtextfsm as textfsm
+import gtextfsm as textfsm
 from netaddr import EUI
 from netaddr import mac_unix
 from netaddr import IPAddress
diff --git a/requirements.txt b/requirements.txt
index d8a6f3e..695a0d6 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,3 @@
-jtextfsm
+gtextfsm
 jinja2
 netaddr

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/napalm-base.git



More information about the Python-modules-commits mailing list