Remove py27 pins
fix LFTOOLS_CONFIG_FILE to use os.path
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: Id237c116cecf80c7d827413ac3d63c58960f7b45
__author__ = 'Thanh Ha'
import logging
+import os.path
from six.moves import configparser
from xdg import XDG_CONFIG_HOME
log = logging.getLogger(__name__)
-LFTOOLS_CONFIG_FILE = '/'.join([XDG_CONFIG_HOME, 'lftools', 'lftools.ini'])
+
+LFTOOLS_CONFIG_FILE = os.path.join(XDG_CONFIG_HOME, 'lftools', 'lftools.ini')
def get_config():
-r requirements.txt
lfdocs-conf
-reno~=2.11.2
+reno
sphinxcontrib-programoutput
-# pytest 5 requires Python >= 3.5
-pytest~=4.6.4
-r requirements.txt
-# pytest 5 requires Python >= 3.5
-pytest~=4.6.4
+pytest
pytest-click
pytest-datafiles
pytest-mock
pytest-responses
-
-# Pin transitive dependencies
-more-itertools~=5.0.0 # 6.0.0 requires Python 3.4
-
docker
glob2 # Needed for Python < 3.5 recursive glob support
defusedxml # Needed due to tox complains on parseString not safe
-jsonschema~=2.6.0
-requests>=2.20.0
+jsonschema
+requests
ruamel.yaml
setuptools>=36.5.0
-six~=1.11.0
-python-jenkins~=1.1.0
+six
+python-jenkins
tqdm
-xdg~=1.0.7;python_version<'3'
-xdg~=3.0.0;python_version>='3'
+xdg~=3.0.0;python_version>='3' # xdg requires Python '>=3.6,<4.0' but the running Python is 3.5.7
pygithub
httplib2
email_validator
pygerrit2
bs4
lxml
-
-# workarounds to prevent upstream from breaking us
-netifaces==0.10.5
docs-linkcheck,
license,
pre-commit,
- py27,
py35,
py36,
py37
deps =
coala
coala-bears
- detox~=0.18
- nodeenv==1.1.2
+ detox
+ nodeenv
numpy
commands =
nodeenv -p