Skip to content

Commit 8b867d6

Browse files
k9ertmoneymanolis
andauthored
Bugfix: upgrade hwi to 2.1.1 to fix #1840 (#1909)
* upgrade hwi to 2.1.1 to fix #1840 * comment on pip-compile in developments.md Co-authored-by: Manolis Mandrapilias <[email protected]> Co-authored-by: moneymanolis <[email protected]>
1 parent 7082552 commit 8b867d6

File tree

3 files changed

+156
-149
lines changed

3 files changed

+156
-149
lines changed

docs/development.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,12 +443,12 @@ If you see this to need some improvements, please make it in small steps and exp
443443
### Some words about dependencies
444444
As a quite young project, we don't have many dependencies yet and as a quite secure-aware use-case, we don't even want to have too many dependencies. That's sometimes the reason that we decide to roll our own rather then taking in new dependencies. This is especially true for javascript. We prefer plain javascript over any kind of frameworks.
445445

446-
If you update `requirements.in` you will need to run the following to update `requirements.txt`:
446+
If you update `requirements.in` you will need to run the code snippet below to generate a new `requirements.txt`.
447+
In order to produce consistent values in `requirements.txt`, delete any pre-existing `requirements.txt` file before doing `pip-compile`.
447448
```sh
448449
$ pip-compile --generate-hashes requirements.in
449450
```
450-
451-
This is good for both security and reproducibility.
451+
This approach is good for both security and reproducibility.
452452

453453
### Some words specific to the frontend
454454
We're aware that currently the app is not very compatible on different browsers and there is no clear strategy yet on how (and whether at all) to fix that.

requirements.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ Flask-Cors==3.0.10
88
Flask-Login==0.5.0
99
Flask-RESTful==0.3.9
1010
Flask-HTTPAuth==4.4.0
11-
hwi==2.1.0
11+
hwi==2.1.1
1212
importlib_metadata==4.8.1
1313
python-dotenv==0.13.0
1414
requests==2.26.0
1515
pysocks==1.7.1
1616
six==1.16.0
1717
stem==1.8.0
18-
embit==0.4.13
18+
embit==0.5.0
1919
psutil==5.9.0
2020
pyopenssl==20.0.1
2121
flask_wtf==0.15.1

0 commit comments

Comments
 (0)