diff --git a/.travis.yml b/.travis.yml index 786a217..f7bdf5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ sudo: false language: python python: - - "3.4" - - "3.3" + - "3.11" + - "3.10" + - "3.9" - "2.7" - - "2.6" addons: apt: diff --git a/requirements.txt b/requirements.txt index 1c3b798..3037985 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,5 @@ pytest==2.8.3 pep8==1.6.2 marshmallow>=2.15.1 beautifulsoup4==4.4.1 -ordereddict==1.1 lxml==4.6.5 six==1.9.0 diff --git a/xbrl/xbrl.py b/xbrl/xbrl.py index b93f8e8..946f16b 100644 --- a/xbrl/xbrl.py +++ b/xbrl/xbrl.py @@ -4,7 +4,7 @@ import re from marshmallow import Schema, fields import datetime -import collections +import collections as odict import six import logging @@ -13,11 +13,6 @@ except ImportError: from io import StringIO -if 'OrderedDict' in dir(collections): - odict = collections -else: - import ordereddict as odict - def soup_maker(fh): """ Takes a file handler returns BeautifulSoup"""