Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pyyaml 6.0 -> 6.0.1 and Pillow 9.0.1 -> 10.3.0 to avoid local install issues #81

Merged
merged 2 commits into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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