Skip to content

Commit

Permalink
Merge pull request #81 from mcoot/pyyaml-patch-version-bump
Browse files Browse the repository at this point in the history
Bump pyyaml 6.0 -> 6.0.1 and Pillow 9.0.1 -> 10.3.0 to avoid local install issues
  • Loading branch information
Andrewki44 authored Apr 20, 2024
2 parents 1fda977 + 2aee00a commit 1df4e5a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
20 changes: 9 additions & 11 deletions docs/running/RUNNING_DIRECTLY.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,26 @@ simpler, you can run the bot on your server or local system.

### System dependencies

You will need Postgres dev tools installed in order to be able to install the
`psycopg2` Python dependency; these are also useful to be able to e.g. `psql` to
your database.
You will need a couple of specific system packages installed:
* `libpq` as a dependency of the `psycopg2` pip package
* `libjpeg-dev` as a dependency of the `Pillow` pip package
* (this is only here as a dependency of scipy, which is only used in the plotting script and not the running app)

You can do this on various operating syste
You can install these on various OSes as described below:

Postgres is the new preferred way of doing development. To install `psycopg2`
you'll need to install `libpq`.

#### Ubuntu
#### Ubuntu (or Ubuntu WSL)
```
sudo apt-get install libpq-dev
sudo apt-get install libpq-dev libjpeg-dev
```

#### Arch linux
```
pacman -S postgresql-libs
pacman -S postgresql-libs libjpeg-turbo
```

#### MacOS
```
brew install postgresql
brew install postgresql jpeg
```

### Python dependencies
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ outcome==1.1.0
packaging==21.3
pandas==2.2.0
pathspec==0.9.0
Pillow==9.0.1
Pillow==10.3.0
platformdirs==2.4.0
pluggy==1.0.0
pre-commit==2.16.0
Expand All @@ -53,7 +53,7 @@ pytest-asyncio==0.16.0
python-dateutil==2.8.2
python-dotenv==0.19.2
pytz==2021.3
PyYAML==6.0
PyYAML==6.0.1
requests==2.27.1
scipy==1.12.0
selenium==4.1.0
Expand Down

0 comments on commit 1df4e5a

Please sign in to comment.