Commit graph

25 commits

Author SHA1 Message Date
vrtulka23
1085921ab4
Dependancy problems with sqlalchemy Python module
In the newest version of the sqlalchemy 1.4.2 they replaced sqlalchemy.engine.cursor -> ResultProxy with some other stuff.
This leads to the following error:

(.venv) mau@mau maubot % python3 -m maubot
[2021-03-24 10:27:49,912] [INFO@maubot.init] Initializing maubot 0.1.0
[2021-03-24 10:27:49,912] [DEBUG@maubot.instance.zip] Preloading plugins...
Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/mau/Projects/maubot/maubot/maubot/__main__.py", line 61, in <module>
    management_api = init_mgmt_api(config, loop)
  File "/Users/mau/Projects/maubot/maubot/maubot/management/api/__init__.py", line 43, in init
    importlib.import_module(f"maubot.management.api.{pkg}")
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/mau/Projects/maubot/maubot/maubot/management/api/instance_database.py", line 22, in <module>
    from sqlalchemy.engine.result import ResultProxy, RowProxy
ImportError: cannot import name 'ResultProxy' from 'sqlalchemy.engine.result' (/Users/mau/Projects/maubot/.venv/lib/python3.7/site-packages/sqlalchemy/engine/result.py)

Therefore I suggest for now to restrict the module version to <1.4
2021-03-24 10:51:01 +01:00
Tulir Asokan
f0a3fa354d Update mautrix-python. Fixes #108 2021-02-01 22:56:31 +02:00
Tulir Asokan
cfa69a89ce Update dependencies and setup.py classifiers 2020-12-29 12:32:05 +02:00
Tulir Asokan
6d8a05feaf Update mautrix-python 2020-10-24 15:13:50 +03:00
Tulir Asokan
76ae71b133 Update dependencies 2020-10-20 20:33:09 +03:00
Tulir Asokan
c145234c4a Update mautrix-python 2020-09-28 21:10:39 +03:00
Tulir Asokan
8109726444 Update mautrix-python 2020-09-10 17:19:59 +03:00
Tulir Asokan
9d3a4b16bd Update mautrix-python to fix bugs 2020-08-23 14:25:29 +03:00
Tulir Asokan
ba74044e76 Update mautrix-python 2020-07-12 17:23:09 +03:00
Tulir Asokan
69d7a4341b Add support for end-to-end encryption. Fixes #46 2020-07-12 14:55:41 +03:00
Tulir Asokan
09108f6a73 Add device_id to client db 2020-07-11 16:22:27 +03:00
Tulir Asokan
346b1c9dac Bump mautrix-python version 2020-06-16 17:29:32 +03:00
Tulir Asokan
6a74a360ca Update mautrix-python 2020-03-06 15:17:22 +02:00
Tulir Asokan
946c346481 Update mautrix-python again 2020-03-01 14:05:18 +02:00
Tulir Asokan
155526bc14 Improve dockerfile and update mautrix-python 2020-03-01 13:53:10 +02:00
Tulir Asokan
1d03fd83df Switch to commonmark 2019-11-17 22:31:16 +02:00
Tulir Asokan
0ef0acec6c Make new pypi build 2019-09-29 16:55:51 +03:00
Tulir Asokan
2341d29856 Use mautrix-python master branch 2019-09-28 17:31:52 +03:00
Tulir Asokan
7816212190 Add more stuff 2018-12-13 18:15:24 +02:00
Tulir Asokan
8e2f2908a6 Add stuff 2018-12-13 01:28:23 +02:00
Tulir Asokan
07fe46e7f9 Switch to yaml for plugin metadata. Fixes #33 2018-12-09 15:49:57 +02:00
Tulir Asokan
c39cacbab4 Switch to Python-Markdown
Commonmark doesn't have any built-in HTML sanitization
2018-11-28 15:28:35 +02:00
Tulir Asokan
14fd0d6ac9 Finish plugin API and add basic login system 2018-10-31 02:03:38 +02:00
Tulir Asokan
0b246e44a8 Add command matching stuff 2018-10-16 00:25:23 +03:00
Tulir Asokan
c161fd71e7 top 2018-10-08 01:21:18 +03:00