Relax Pipfile python requirement.

Currently there is no way of defining >3.6 or similar in Pipfile (see https://github.com/pypa/pipenv/issues/1050)

But the requirement can be removed completely. The only downside is that someone with only python2.7 on their machine will get other errors if pipenv tries to use 2.7.
This commit is contained in:
Tatu Wikman 2020-05-20 23:04:04 +03:00
parent d59ea52204
commit 6795db57c4
No known key found for this signature in database
GPG Key ID: BF214F789950B74E
2 changed files with 6 additions and 7 deletions

View File

@ -27,8 +27,5 @@ black = "*"
ipython = "*"
isort = "*"
[requires]
python_version = "3.7"
[pipenv]
allow_prereleases = true

View File

@ -368,6 +368,8 @@ MATRIX_USER="@user:matrix.org" MATRIX_ACCESS_TOKEN="MDAxOGxvYlotofcharacters53Cg
python3 bot.py
```
NOTE: The Pipfile does not define the python version as it is always strict and causes problems. See https://github.com/pypa/pipenv/issues/1050 . Python 3.7 and 3.8 should both work fine.
## Running with Docker
Create .env file and set variables: