Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Commit

Permalink
Bump requirements.
Browse files Browse the repository at this point in the history
It's hard to get a freezed set of dependencies working in all tested
versions, so I unpin them from tox.
  • Loading branch information
JulienPalard committed Oct 27, 2021
1 parent cafe8f8 commit 8b0d6d8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 106 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
8 changes: 0 additions & 8 deletions requirements-dev.in

This file was deleted.

92 changes: 0 additions & 92 deletions requirements-dev.txt

This file was deleted.

4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 8b0d6d8

Please sign in to comment.