Skip to content

Commit

Permalink
ci: Pin QA requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Synss committed May 24, 2020
1 parent 1a30656 commit fb9cedb
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
- run: *tests
- store_artifacts: *artifacts

python_extra:
python_qa:
docker: *latest
working_directory: ~/python-mbedtls
steps:
Expand All @@ -121,7 +121,7 @@ jobs:
name: Run tests
command: |
python -m pip install --user -r requirements/tests.txt
python -m pip install --user cython pytest-black pytest-cov pytest-isort
python -m pip install --user -r requirements/qa.txt
PYTHONPATH=$(pwd)/src/:$PYTHONPATH
export PYTHONPATH
python -m pytest --black --isort --cov=src/ tests/
Expand Down Expand Up @@ -155,7 +155,7 @@ workflows:
version: 2
build:
jobs:
- python_extra
- python_qa
# - python_39
- python_38
- python_37
Expand Down
1 change: 1 addition & 0 deletions requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ coverage
cython
delocate; sys_platform == 'darwin'
isort
pip-tools
pytest
wheel
14 changes: 14 additions & 0 deletions requirements/qa.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Base
cython
pytest

# Tooling
black
coverage
isort
pylint

# Plugins
pytest-black
pytest-cov
pytest-isort
35 changes: 35 additions & 0 deletions requirements/qa.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile requirements/qa.in
#
appdirs==1.4.4 # via black
astroid==2.4.1 # via pylint
attrs==19.3.0 # via black, pytest
black==19.10b0 # via -r requirements/qa.in, pytest-black
click==7.1.2 # via black
coverage==5.1 # via -r requirements/qa.in, pytest-cov
cython==0.29.19 # via -r requirements/qa.in
importlib-metadata==1.6.0 # via pluggy, pytest
isort==4.3.21 # via -r requirements/qa.in, pylint, pytest-isort
lazy-object-proxy==1.4.3 # via astroid
mccabe==0.6.1 # via pylint
more-itertools==8.3.0 # via pytest
packaging==20.4 # via pytest
pathspec==0.8.0 # via black
pluggy==0.13.1 # via pytest
py==1.8.1 # via pytest
pylint==2.5.2 # via -r requirements/qa.in
pyparsing==2.4.7 # via packaging
pytest-black==0.3.9 # via -r requirements/qa.in
pytest-cov==2.9.0 # via -r requirements/qa.in
pytest-isort==1.0.0 # via -r requirements/qa.in
pytest==5.4.2 # via -r requirements/qa.in, pytest-black, pytest-cov, pytest-isort
regex==2020.5.14 # via black
six==1.15.0 # via astroid, packaging
toml==0.10.1 # via black, pylint, pytest-black
typed-ast==1.4.1 # via astroid, black
wcwidth==0.1.9 # via pytest
wrapt==1.12.1 # via astroid
zipp==3.1.0 # via importlib-metadata

0 comments on commit fb9cedb

Please sign in to comment.