Commit Graph

1039 Commits (master)

Author SHA1 Message Date
Hubert Chathi 7e0c827703 release 3.2.16 2023-11-23 12:38:51 -05:00
Hubert Chathi 972faaadd5 use pypa/build instead of setup.py when building sdist 2023-11-21 21:25:55 -05:00
Hubert Chathi 807b252331 update Python versions in CI 2023-11-21 21:25:02 -05:00
parona' via Olm bbdac4045d Fix breakage in setuptools-69.0.0 by cleaning up setup.py
Hello,

Setuptools 69.0.0 deprecated a bunch stuff leading to a nasty errors during install.

> File "/tmp/pip-build-env-w815o5v3/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 183, in _license
>          _set_config(dist, "license", val["text"])
>                                       ~~~^^^^^^^^
> KeyError: 'text'
> [end of output]

__version__.py wasn't used anywhere except setup.py so removing and setting it all pyproject.toml is safe.

During this decided to move as much as I could out of setup.py, zip-safe has been obsolete for modern setuptools installation methods so dropped it.

From c0be008217350f03de7f856866a402d95b5db2a3 Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
Date: Tue, 21 Nov 2023 15:13:35 +0200
Subject: [PATCH] Move metadata to project.toml

* Setuptools 69.0.0 deprecated a slew of old style configurations.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-21 16:07:46 -05:00
Hubert Chathi 4beb2487ce JS packages are now uploaded to npmjs.com rather than gitlab.matrix.org 2023-11-21 16:06:00 -05:00
Hubert Chathi b54fa37fae add missing line from changelog 2023-11-21 16:05:27 -05:00
Hubert Chathi 66294cf7f6 release 3.2.15 2023-05-01 11:35:20 -04:00
Hubert Chathi 366520ebfd aha, it's lowercase 2023-04-27 19:53:44 -04:00
Hubert Chathi d27f162316 attempt to fix js build 2023-04-27 19:48:16 -04:00
Hubert Chathi 4b69958c95 improve compatibility with Windows (though it still doesn't work) 2023-04-27 18:52:39 -04:00
Hubert Chathi 5cfe6c3dbd more packaging improvements 2023-04-27 17:19:53 -04:00
Hubert Chathi bbdc12c569 Merge branch 'master' of https://gitlab.matrix.org/matrix-org/olm 2023-04-26 10:02:02 -04:00
Hubert Chathi afb3d403e1 actually remove dependency on future 2023-04-26 10:00:34 -04:00
Hubert Chathi 418656ee9f make sure the headers are up to date when creating the sdist 2023-04-26 09:58:10 -04:00
Hubert Chathi 0d367baa5b add script for creating Python sdist 2023-04-25 18:47:37 -04:00
Hubert Chathi 8cbb60e476 improve Python packaging 2023-04-25 18:47:14 -04:00
Michael Telatynski 0880461134 Correct `message_index` type in return signature of `InboundGroupSession::decrypt` 2023-03-29 08:33:55 +00:00
Hubert Chathi 8f4b81b512 remove workaround for closure compiler that is now causing problems
was added in 5a60e543a5
2023-03-17 17:50:10 -04:00
Jon Ringer ab4cbcd01a Enable darwin builds in Nix for olm
From 04f1249a66e75e91ef009ed04304cbc88dea798d Mon Sep 17 00:00:00 2001
From: Jonathan Ringer <jonringer117@gmail.com>
Date: Sun, 26 Feb 2023 15:14:23 -0800
Subject: [PATCH] Enable darwin builds in Nix

Move most packaging concerns into nix/overlay.nix. Alter packaging
to mostly align with nixpkgs best practices.

Signed-off-by: Jonathan Ringer <jonringer117@gmail.com>
2023-03-17 16:53:50 -04:00
Hubert Chathi 704b198f5a we are already living in the future, part 2 2023-01-19 13:46:34 -05:00
Hubert Chathi 0eb4550a8f we are already living in the future 2023-01-09 09:51:37 -05:00
Hubert Chathi 249acc9e0b fix tox config to work with newer version 2022-12-23 17:50:09 -05:00
Hubert Chathi 5efd38c990 release 3.2.14 2022-12-05 17:58:00 -05:00
Hubert Chathi ad76fc1570 allow multiple arguments to be passed when linking Python library 2022-12-02 19:38:45 -05:00
Michael Telatynski b5d68376b5 Improve Typescript typing 2022-12-01 18:36:00 +00:00
Hubert Chathi dbd8a44fa2 add documentation for installation, and other doc improvements 2022-11-28 18:39:49 -05:00
Michael Telatynski 722f4df4aa Update javascript/index.d.ts 2022-11-18 16:09:55 +00:00
Hubert Chathi 6d767aaf29 release 3.2.13 2022-10-07 11:00:05 -04:00
Hubert Chathi 21e84095e6 pkgconfig improvements 2022-10-06 22:22:56 -04:00
Hubert Chathi 464e193dad update nix info 2022-10-06 15:26:39 -04:00
Brendan Abolivier df2cfcb6d0 Python bindings: add `py.typed` to wheels 2022-10-06 17:59:11 +00:00
Hubert Chathi ed94b56d16 fix compatibility with newer versions of emscripten 2022-10-06 13:14:38 -04:00
Hubert Chathi f52d179c18 and update URL for Trixnity 2022-09-12 09:14:01 -04:00
Hubert Chathi 85c0be5fbc update license for Trixnity 2022-09-12 09:11:50 -04:00
Denis Kasak 203083cdd4 fix(megolm spec): Correct the version for the session export format.
It was mistakenly claimed to be 2 when it's supposed to be 1.
2022-09-01 14:58:16 +02:00
David Robertson 983e78dc53 Fix dead link to e2ee guide in the README 2022-06-22 16:47:15 +00:00
Hubert Chathi 92769cec71 release 3.2.12 2022-05-30 13:55:34 -04:00
Hubert Chathi d18d12d379 minor documentation fixes 2022-05-30 13:55:10 -04:00
Denis Kasak 14c5ea70d4 Describe the session export format.
This is the Megolm session format used for `m.forwarded_room_key`, the
server-side room key backups and Megolm key file exports in the Matrix
specification and implementations.
2022-05-26 14:14:44 +02:00
Denis Kasak ee1b0c8a9a Update megolm.md: Fix broken section link. 2022-05-26 10:43:28 +00:00
Hubert Chathi 84807125c0 allow memory to grow in wasm 2022-05-13 16:28:04 -04:00
Hubert Chathi eb21951124 allow passing linker flag to link to standard C++ library 2022-05-13 16:23:58 -04:00
Hubert Chathi 39252b012b re-add olm-python3 rule that was accidentally removed 2022-05-13 16:21:54 -04:00
Brendan Abolivier 86a3d95855 Fix type hints on the PkDecryption class 2022-05-13 11:39:44 +01:00
Faye Duxovni 81f5c4a3cd Make sure checks actually run 2022-05-12 20:56:17 -04:00
Faye Duxovni d0b2b8702f fix deprecated output attribute 2022-05-12 20:55:00 -04:00
Faye Duxovni e000c33a58 don't try to harden unoptimized debug builds, it just causes errors 2022-05-12 20:55:00 -04:00
Faye Duxovni 43672251e4 ensure use of gcc/clang at stdenv level for checks 2022-05-12 19:42:47 -04:00
Hubert Chathi e116efa752 Add check to nix flake: compile C library with gcc and clang 2022-05-12 17:05:22 -04:00
Faye Duxovni a4a700739e ignore nix build result symlinks 2022-05-11 14:39:17 -04:00