From a1a1ba4eac5be84fd7bf70225c7de6a9edf56b1a Mon Sep 17 00:00:00 2001 From: Jeff Casavant Date: Sat, 19 Dec 2020 14:49:31 -0500 Subject: [PATCH] Dep updates. Fixes #7 (#8) * Update to new library version * Update deps * Bump version --- maubot.yaml | 8 +++---- plugin.py | 2 +- requirements.txt | 49 +++++++++++++++++++------------------- top-level-requirements.txt | 6 ++--- 4 files changed, 33 insertions(+), 32 deletions(-) diff --git a/maubot.yaml b/maubot.yaml index 9bd752f..362bfa1 100644 --- a/maubot.yaml +++ b/maubot.yaml @@ -1,6 +1,6 @@ maubot: 0.1.0 id: casavant.jeff.trumptweet -version: 1.0.4 +version: 1.0.7 license: MIT modules: - plugin @@ -57,6 +57,6 @@ extra_files: - res/img/verified.png dependencies: - - maubot==0.1.0.dev28 - - mautrix==0.4.0.dev79 - - Pillow==6.2.1 + - maubot==0.1.0 + - mautrix==0.7.14 + - Pillow==8.0.1 diff --git a/plugin.py b/plugin.py index 1a4bf84..a82cccd 100644 --- a/plugin.py +++ b/plugin.py @@ -11,7 +11,7 @@ from PIL import Image, ImageDraw, ImageFont from maubot import Plugin, MessageEvent from maubot.handlers import command -from mautrix.client.api.types.event.message import MediaMessageEventContent, ImageInfo +from mautrix.types.event.message import MediaMessageEventContent, ImageInfo BASE_PATH = path.dirname(path.realpath(__file__)) diff --git a/requirements.txt b/requirements.txt index 5a0b33c..321f761 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,32 +1,33 @@ -aiohttp==3.6.2 -alembic==1.3.1 +aiohttp==3.7.3 +alembic==1.4.3 async-timeout==3.0.1 -attrs==19.3.0 -bcrypt==3.1.7 -cffi==1.13.2 +attrs==20.3.0 +bcrypt==3.2.0 +cffi==1.14.4 chardet==3.0.4 -Click==7.0 -colorama==0.4.1 +click==7.1.2 +colorama==0.4.4 commonmark==0.9.1 -idna==2.8 -Jinja2==2.10.3 -Mako==1.1.0 +idna==2.10 +Jinja2==2.11.2 +Mako==1.1.3 MarkupSafe==1.1.1 -maubot==0.1.0.dev28 -mautrix==0.4.0.dev79 -multidict==4.6.1 -packaging==19.2 -Pillow==6.2.1 +maubot==0.1.0 +mautrix==0.7.14 +multidict==5.1.0 +packaging==20.8 +Pillow==8.0.1 prompt-toolkit==1.0.14 -pycparser==2.19 -Pygments==2.4.2 +pycparser==2.20 +Pygments==2.7.3 PyInquirer==1.0.3 -pyparsing==2.4.5 +pyparsing==2.4.7 python-dateutil==2.8.1 python-editor==1.0.4 -regex==2019.11.1 -ruamel.yaml==0.16.5 -six==1.13.0 -SQLAlchemy==1.3.11 -wcwidth==0.1.7 -yarl==1.3.0 +regex==2020.11.13 +ruamel.yaml==0.16.12 +six==1.15.0 +SQLAlchemy==1.3.22 +typing-extensions==3.7.4.3 +wcwidth==0.2.5 +yarl==1.6.3 diff --git a/top-level-requirements.txt b/top-level-requirements.txt index 5083d70..17fedc3 100644 --- a/top-level-requirements.txt +++ b/top-level-requirements.txt @@ -1,3 +1,3 @@ -maubot==0.1.0.dev28 -mautrix==0.4.0.dev79 -Pillow==6.2.1 +maubot==0.1.0 +mautrix==0.7.14 +Pillow==8.0.1