Skip to content

Commit 0d791a8

Browse files
authored
[deps] Fixed failing local tests because of incompatible django version
Pin django to 3.1.0
1 parent 7ade204 commit 0d791a8

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,16 @@ jobs:
4444
- name: Install python dependencies
4545
run: |
4646
pip install -U pip wheel
47-
pip install ${{ matrix.django-version }}
4847
pip install -U -r requirements-test.txt
4948
- name: Install npm dependencies
5049
run: sudo npm install -g jshint
5150

5251
- name: Install openwisp-users
5352
run: pip install -e .[rest]
5453

54+
- name: Change Django Version for test
55+
run: pip install -U ${{ matrix.django-version }}
56+
5557
- name: QA checks
5658
run: |
5759
./run-qa-checks

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Install your forked repo:
144144
145145
git clone git://github.com/<your_fork>/openwisp-users
146146
cd openwisp-users/
147-
pip install -e .
147+
pip install -e .[rest]
148148
149149
Install test requirements:
150150

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ phonenumbers>=8.11.0,<8.13.0
77
openwisp-utils[rest] @ https://github.com/openwisp/openwisp-utils/tarball/master
88
packaging
99
swapper~=1.1.0
10+
django~=3.1.0

0 commit comments

Comments
 (0)