Bump requirements.

It's hard to get a freezed set of dependencies working in all tested
versions, so I unpin them from tox.
This commit is contained in:
Julien Palard 2021-10-27 19:04:25 +02:00
parent cafe8f8630
commit 8b0d6d8778
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
5 changed files with 13 additions and 106 deletions

View File

@ -31,7 +31,7 @@ jobs:
- uses: actions/cache@v2
with:
path: .tox
key: ${{ matrix.tox.python-version }}-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements-dev.txt') }}
key: ${{ matrix.tox.python-version }}-${{ hashFiles('tox.ini') }}
- name: Install dependencies
run: |
sudo apt-get update

View File

@ -71,10 +71,15 @@ per line.
## Contributing
In a venv, install the dev requirements:
You can work in a venv, to install the project locally:
```bash
python3 -m venv --prompt pospell .venv
source .venv/bin/activate
python3 -m pip install -r requirements-dev.txt
python -m pip install .
```
And to test it locally:
```bash
python -m pip install tox
tox -p all
```

View File

@ -1,8 +0,0 @@
bandit
black
coverage
flake8
isort
mypy
pylint
pytest

View File

@ -1,92 +0,0 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
#
# pip-compile requirements-dev.in
#
appdirs==1.4.4
# via black
astroid==2.4.2
# via pylint
attrs==20.3.0
# via pytest
bandit==1.6.2
# via -r requirements-dev.in
black==20.8b1
# via -r requirements-dev.in
click==7.1.2
# via black
coverage==5.3
# via -r requirements-dev.in
flake8==3.8.4
# via -r requirements-dev.in
gitdb==4.0.5
# via gitpython
gitpython==3.1.11
# via bandit
iniconfig==1.1.1
# via pytest
isort==5.6.4
# via
# -r requirements-dev.in
# pylint
lazy-object-proxy==1.4.3
# via astroid
mccabe==0.6.1
# via
# flake8
# pylint
mypy==0.790
# via -r requirements-dev.in
mypy-extensions==0.4.3
# via
# black
# mypy
packaging==20.4
# via pytest
pathspec==0.8.1
# via black
pbr==5.5.1
# via stevedore
pluggy==0.13.1
# via pytest
py==1.9.0
# via pytest
pycodestyle==2.6.0
# via flake8
pyflakes==2.2.0
# via flake8
pylint==2.6.0
# via -r requirements-dev.in
pyparsing==2.4.7
# via packaging
pytest==6.1.2
# via -r requirements-dev.in
pyyaml==5.3.1
# via bandit
regex==2020.11.13
# via black
six==1.15.0
# via
# astroid
# bandit
# packaging
smmap==3.0.4
# via gitdb
stevedore==3.2.2
# via bandit
toml==0.10.2
# via
# black
# pylint
# pytest
typed-ast==1.4.1
# via
# black
# mypy
typing-extensions==3.7.4.3
# via
# black
# mypy
wrapt==1.12.1
# via astroid

View File

@ -27,7 +27,9 @@ isolated_build = True
skip_missing_interpreters = True
[testenv]
deps = -r requirements-dev.txt
deps =
pytest
coverage
commands = coverage run -m pytest
setenv =
COVERAGE_FILE={toxworkdir}/.coverage.{envname}