Skip to content
Snippets Groups Projects
Commit dfc90807 authored by Krzysztof Mochocki's avatar Krzysztof Mochocki
Browse files

Set fixed versions of packages in setup.py

parent 5d0582bc
No related branches found
No related tags found
1 merge request!15Set fixed versions of packages in setup.py
pip
setuptools
wheel
future==0.18.2
ecdsa==0.16.1
requests==2.27.1
websocket-client==0.58.0
pytz==2021.1
pycryptodomex==3.10.1
scrypt==0.8.18
cryptography==3.4.7
ruamel.yaml
mock==4.0.3
appdirs==1.4.4
Click==7.1.2
click_shell>=2.0
prettytable
pycodestyle==2.7.0
pyflakes==2.3.1
pylibscrypt==2.0.0
six==1.15.0
pytest
pytest-mock
pytest-cov
coverage
parameterized
tox
codacy-coverage
virtualenv
diff_match_patch
asn1crypto
...@@ -18,22 +18,40 @@ except LookupError: ...@@ -18,22 +18,40 @@ except LookupError:
VERSION = '0.26.0' VERSION = '0.26.0'
tests_require = ['mock >= 2.0.0', 'pytest', 'pytest-mock', 'parameterized'] tests_require = [
"mock == 4.0.3",
"pytest == 7.2.2",
"pytest-mock == 3.12.0",
"parameterized == 0.9.0",
"setuptools == 69.1.1",
"wheel == 0.42.0",
"future == 0.18.2",
"cryptography == 3.4.7",
"pycodestyle == 2.7.0",
"pyflakes == 2.3.1",
"pylibscrypt == 2.0.0",
"six == 1.15.0",
"pytest-cov == 4.1.0",
"coverage == 7.4.3",
"tox == 4.13.0",
"codacy-coverage == 1.3.11",
"virtualenv == 20.25.1",
]
requires = [ requires = [
"ecdsa", "ecdsa == 0.16.1",
"requests", "requests == 2.27.1",
"websocket-client", "websocket-client == 0.58.0",
"appdirs", "appdirs == 1.4.4",
"scrypt", "scrypt == 0.8.18",
"pycryptodomex", "pycryptodomex == 3.10.1",
"pytz", "pytz == 2021.1",
"Click", "Click == 8.0.0",
"click_shell", "click_shell == 2.1",
"prettytable", "prettytable == 3.8.0",
"ruamel.yaml", "ruamel.yaml == 0.18.6",
"diff_match_patch", "diff_match_patch == 20230430",
"asn1crypto" "asn1crypto == 1.5.1"
] ]
...@@ -105,5 +123,6 @@ if __name__ == '__main__': ...@@ -105,5 +123,6 @@ if __name__ == '__main__':
}, },
setup_requires=['pytest-runner'], setup_requires=['pytest-runner'],
tests_require=tests_require, tests_require=tests_require,
extras_require={"tests": tests_require},
include_package_data=True, include_package_data=True,
) )
...@@ -3,8 +3,7 @@ envlist = py{27,35,36,37,38,39} ...@@ -3,8 +3,7 @@ envlist = py{27,35,36,37,38,39}
skip_missing_interpreters = true skip_missing_interpreters = true
[testenv] [testenv]
deps = extras = tests
-rrequirements-test.txt
commands = commands =
coverage run --parallel-mode -m pytest {posargs} coverage run --parallel-mode -m pytest {posargs}
coverage combine coverage combine
...@@ -28,8 +27,7 @@ commands = ...@@ -28,8 +27,7 @@ commands =
coverage xml coverage xml
[testenv:py36] [testenv:py36]
deps = extras = tests
-rrequirements-test.txt
commands = commands =
coverage run --parallel-mode -m pytest {posargs} coverage run --parallel-mode -m pytest {posargs}
coverage combine coverage combine
...@@ -120,20 +118,20 @@ basepython= ...@@ -120,20 +118,20 @@ basepython=
python python
changedir= changedir=
docs docs
deps=-rdocs/requirements.txt extras = tests
sphinx deps=sphinx
sphinx-click sphinx-click
commands= commands=
sphinx-build -b html ./ ./html sphinx-build -b html ./ ./html
[testenv:upload_coverage] [testenv:upload_coverage]
deps = deps =
coverage coverage
codacy-coverage codacy-coverage
passenv = CODACY_PROJECT_TOKEN passenv = CODACY_PROJECT_TOKEN
commands = commands =
python-codacy-coverage -r coverage.xml python-codacy-coverage -r coverage.xml
# Flake8 Configuration # Flake8 Configuration
[flake8] [flake8]
# Ignore some flake8-docstrings errors # Ignore some flake8-docstrings errors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment