Anders Kaseorg
c48ef926e1
mypy: Add types-defusedxml.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-19 11:09:34 -08:00
Anders Kaseorg
532aee926c
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-19 11:09:34 -08:00
Anders Kaseorg
ffad6e7486
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-10-31 18:44:56 -07:00
Anders Kaseorg
3ec58fd3d5
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-10-20 18:16:27 -07:00
Anders Kaseorg
a9fb8dccae
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-09-24 19:27:21 -07:00
Anders Kaseorg
8589becc48
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-24 19:44:39 -07:00
Anders Kaseorg
2a14a08e63
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-01 16:46:58 -07:00
Anders Kaseorg
b115d44b6a
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-06-27 15:31:43 -07:00
Alex Vandiver
16f8d12285
requirements: Remove now-unused pillow.
2024-06-26 16:42:59 -07:00
Alex Vandiver
fd50f12548
requirements: Remove now-unused cairosvg.
2024-06-20 23:06:08 -04:00
Alex Vandiver
475d4800f9
thumbnailing: Add pyvips dependency.
2024-06-20 23:06:08 -04:00
Mateusz Mandera
4917e01ffb
push_notifications: Migrate to FCM HTTP v1 API.
...
The legacy API we use via python-gcm is deprecated and about to be
disabled.
Fixes #29768 .
2024-06-17 18:26:26 -07:00
Anders Kaseorg
fd55da4ed8
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-05-31 14:32:33 -07:00
Anders Kaseorg
f72f156c0e
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-05-07 13:11:28 -07:00
Anders Kaseorg
f13e94d9ae
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-05-06 12:56:30 -07:00
Anders Kaseorg
ff3b284440
requirements: Add pyasyncore, to fix pyinotify on Python 3.12.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-29 13:13:20 -07:00
Anders Kaseorg
3b4527843d
requirements: Upgrade Django to 5.0.5.dev.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-18 12:39:47 -07:00
Alex Vandiver
693b959656
markdown: Switch to directly URL-escaping CSS URLs.
...
soupsieve is a heavy-weight dependency, and Tornado pulls it in by way
of markdown rendering; since we are only using it for a very simple
process, perform that manually.
Per CSS spec[^1]:
> In quoted <string> url()s, only newlines and the character used to
> quote the string need to be escaped.
[^1]: https://drafts.csswg.org/css-values/#urls
2024-04-16 10:48:51 -07:00
Anders Kaseorg
0d1ed06762
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-04-10 15:32:37 -07:00
Anders Kaseorg
70914b0475
Remove support for Ubuntu 20.04 and Debian 11.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2024-04-01 13:27:39 -07:00
Anders Kaseorg
e3340774ce
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-21 08:59:17 -07:00
Robert Dyer
4d337cfc0d
docs: Add dependency on sphinx_design.
...
Adds a dependency on "sphinx_design" for the docs system. Allows
supporting tabs inside the developer documentatoin. This is a
preparation commit for later refactoring of the OS-specific setup
documentation.
2024-03-15 17:37:34 -07:00
Anders Kaseorg
0d30ae8f44
requirements: Fix Python 3.12 issue in pip._vendor.pkg_resources.
...
76ef30913d
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-15 17:37:11 -07:00
Anders Kaseorg
e00641b0c4
requirements: Move pip and zoneinfo forks to zulip organization.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-07 18:44:04 -05:00
Anders Kaseorg
119900120e
requirements: Patch pip 20 to run on Python 3.12.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-01 17:38:08 -08:00
Anders Kaseorg
c85b2edbd4
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-29 16:24:43 -08:00
Alex Vandiver
dfdaddea38
kandra: Add a memcached exporter using bmemcached.
2024-02-23 13:32:04 -08:00
Anders Kaseorg
1fdc09a88f
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-22 21:57:38 -08:00
Anders Kaseorg
d9f2f23c6a
requirements: Upgrade to openapi-core pre-release.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-05 19:57:21 -05:00
Alex Vandiver
437361de32
requirements: Revert orjson upgrade due to segfault.
...
Version 3.9.11 and 3.9.12 are susceptible to random segfaults:
- https://github.com/ijl/orjson/issues/452
2024-02-05 08:42:29 -08:00
Anders Kaseorg
93198a19ed
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-29 10:41:54 -08:00
Anders Kaseorg
55b26da82b
run-dev: Rewrite development proxy with aiohttp.
...
This allows request cancellation to be propagated to the server.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-12 08:07:41 -08:00
Anders Kaseorg
069925b9a7
requirements: Remove direct requirement on Twisted.
...
It’s still used indirectly via Scrapy, but we haven’t used it directly
since commit 09e17fbe17
(#2002 ).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-11 12:52:20 -08:00
Anders Kaseorg
396e995502
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-07 14:41:01 -08:00
Anders Kaseorg
1efc6efd23
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-01 18:52:00 -08:00
Greg Price
40e5243c35
requirements: Support multiple APNs topics in aioapns.
2023-11-16 12:03:30 -08:00
Anders Kaseorg
f4e7a11c35
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-11-15 15:27:54 -08:00
Anders Kaseorg
7807bff526
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-09 11:55:16 -07:00
Anders Kaseorg
9a53baea93
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-09-15 10:12:26 -07:00
Anders Kaseorg
cf4791264c
python: Replace functools.partial with type-safe returns.curry.partial.
...
The type annotation for functools.partial uses unchecked Any for all
the function parameters (both early and late). returns.curry.partial
uses a mypy plugin to check the parameters safely.
https://returns.readthedocs.io/en/latest/pages/curry.html
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-09-11 18:03:45 -07:00
Anders Kaseorg
1905df2342
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-09-09 12:53:39 -07:00
Zixuan James Li
7da4e73d57
requirements: Add pydantic and configure mypy plugin.
...
Along with pydantic we add annotated_types for Annotated utils that can
be used for more specific validation constraints.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2023-09-08 08:20:17 -07:00
Anders Kaseorg
0ce6dcb905
mypy: Upgrade mypy from 1.4.1 to 1.5.1.
...
_default_manager is the same as objects on most of our models. But
when a model class is stored in a variable, the type system doesn’t
know which model the variable is referring to, so it can’t know that
objects even exists (Django doesn’t add it if the user added a custom
manager of a different name). django-stubs used to incorrectly assume
it exists unconditionally, but it no longer does.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-09-07 17:51:42 -07:00
Alex Vandiver
2612a3b657
requirements: Downgrade orjson to 3.9.2.
...
orjson 3.9.3 introduced a crash (ijl/orjson#415 ) -- revert to the last
version before the bug.
2023-08-31 10:13:10 -07:00
Alex Vandiver
2e760f18ac
requirements: Use greenlet>=3.0.0a1 to fix uwsgi segfault.
...
Pull in the fix for python-greenlet/greenlet#330 .
2023-08-30 11:58:30 -07:00
Alex Vandiver
733c6da298
push_notifications: Upgrade aioapns.
2023-08-30 11:56:52 -07:00
Anders Kaseorg
4300ec3293
requirements: Fix transitively replaced two_factor migrations.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-08-23 22:22:15 -07:00
evykassirer
0289beb784
emoji: Match emoji sequences in markdown.
...
Fixes #11767 .
Previously multi-character emoji sequences weren't matched in the
emoji regex, so we'd convert the characters to separate images,
breaking the intended display.
This change allows us to match the full emoji sequence, and
therefore show the correct image.
2023-08-23 16:18:15 -07:00
Anders Kaseorg
113ac6eb98
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-08-18 21:05:53 -07:00
Anders Kaseorg
e32366638a
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-08-17 17:05:34 -07:00