diff --git a/requirements/dev.pip b/requirements/dev.pip new file mode 100644 index 00000000..e4245c29 --- /dev/null +++ b/requirements/dev.pip @@ -0,0 +1,9 @@ +# This file specifies all packages required for local development + +-r ./docs.pip +-r ./test.pip + +bumpversion==0.6.0 +ipython==7.26.0 +wheel==0.37.0 +watchdog==2.1.3 diff --git a/requirements/dev.txt b/requirements/dev.txt index ce5b1497..579c16b2 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -4,6 +4,6 @@ -r ./test.txt bumpversion==0.5.3 -ipython==4.2.0 +ipython==5.1.0 wheel==0.29.0 watchdog==0.8.3 diff --git a/requirements/docs.pip b/requirements/docs.pip new file mode 100644 index 00000000..aefb7e7e --- /dev/null +++ b/requirements/docs.pip @@ -0,0 +1,3 @@ +# This file specifies all packages required to build the documentation. + +Sphinx==4.1.2 diff --git a/requirements/docs.txt b/requirements/docs.txt index a25b3f71..2ec40de1 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,3 +1,3 @@ # This file specifies all packages required to build the documentation. -Sphinx==1.4.1 +Sphinx==1.5 diff --git a/requirements/test.pip b/requirements/test.pip new file mode 100644 index 00000000..a5cc9c21 --- /dev/null +++ b/requirements/test.pip @@ -0,0 +1,13 @@ +# This file is used for local testing with and without tox as well as for +# testing on the CI servers. + +coverage==5.5 +fauxfactory==3.1.0 +isort==5.9.3 +pytest==6.2.4 +pytest-faker==2.0.0 +pytest-factoryboy==2.1.0 +tox==3.24.1 +future==0.18.2 +freezegun==1.1.0 +pytest-mock==3.6.1 diff --git a/requirements/test.txt b/requirements/test.txt index a8cce4fa..4b189e79 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,13 +1,13 @@ # This file is used for local testing with and without tox as well as for # testing on the CI servers. -coverage==4.0.3 +coverage==4.2 fauxfactory==2.0.9 isort==4.2.5 -pytest==2.9.1 +pytest==3.0.5 pytest_faker==1.1.0 -pytest-factoryboy==1.1.6 -tox==2.3.1 -future==0.15.2 -freezegun==0.3.7 -pytest-mock==0.11.0 +pytest-factoryboy==1.3.0 +tox==2.5.0 +future==0.16.0 +freezegun==0.3.8 +pytest-mock==1.5.0 diff --git a/setup.py b/setup.py index ac559126..b12dbbe9 100755 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ requirements = [ 'appdirs', 'Click', - 'hamsterlib >= 0.1.0', + 'hamster-lib', 'tabulate', # py27 compatibility related 'six', diff --git a/tox.ini b/tox.ini index 158a3a72..115e7c17 100644 --- a/tox.ini +++ b/tox.ini @@ -8,17 +8,17 @@ whitelist_externals = make passenv = SPHINXOPTS_BUILD SPHINXOPTS_LINKCHECK -commands = - pip install -r requirements/dev.txt +commands = + pip install -r requirements/dev.pip make coverage [testenv:flake8] basepython = python3.4 -deps = - flake8==2.5.4 - flake8-debugger==1.4.0 - flake8-print==2.0.2 - pep8-naming==0.3.3 +deps = + flake8==3.9.2 + flake8-debugger==4.0.0 + flake8-print==4.0.0 + pep8-naming==0.12.1 skip_install = True commands = flake8 setup.py hamster_cli/ tests/ @@ -32,23 +32,23 @@ commands = [testenv:isort] basepython = python3.4 -deps = isort==4.2.5 +deps = isort==5.9.3 skip_install = True commands = isort --check-only --recursive --verbose setup.py hamster_cli/ tests/ [testenv:manifest] basepython = python3.4 -deps = check-manifest==0.31 +deps = check-manifest==0.46 skip_install = True commands = check-manifest -v [testenv:docs] basepython = python3.4 -deps = doc8==0.7.0 +deps = doc8==0.9.0 commands = - pip install -r requirements/docs.txt + pip install -r requirements/docs.pip make docs BUILDDIR={envtmpdir} SPHINXOPTS={env:SPHINXOPTS_BUILD:''} make --directory=docs linkcheck BUILDDIR={envtmpdir} SPHINXOPTS={env:SPHINXOPTS_LINKCHECK:} doc8