Wednesday, November 20, 2024
dev@conference.yunohost.org
November
Mon Tue Wed Thu Fri Sat Sun
        1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
             

[04:02:26] <Yunohost Git/Infra notifications> [nextcloud_ynh] ci-apps-dev: level 2 https://ci-apps-dev.yunohost.org/ci/job/4197 on commit https://github.com/YunoHost-Apps/nextcloud_ynh/commit/eca14472c6cbbdb215550eaf7985d252bf48960a "Update backup" by @Éric Gaspar on branches helpers_2.1-3.0.1
[11:25:57] <Yunohost Git/Infra notifications> [yunohost] A​xolotle created new branch pydantic-typing
[11:25:58] <Yunohost Git/Infra notifications> [yunohost/pydantic-typing] typing: use new Union syntax - axolotle
[11:25:58] <Yunohost Git/Infra notifications> [yunohost] A​xolotle pushed 3 commits to pydantic-typing ([294215288635^...5703f917ba18](https://github.com/YunoHost/yunohost/compare/294215288635^...5703f917ba18))
[11:25:59] <Yunohost Git/Infra notifications> [yunohost/pydantic-typing] typing: repeat options default default value - axolotle
[11:25:59] <Yunohost Git/Infra notifications> [yunohost/pydantic-typing] typing: use Classvar for Optionss private attrs - axolotle
[11:29:12] <Yunohost Git/Infra notifications> [yunohost] A​xolotle opened [pull request #2000](https://github.com/YunoHost/yunohost/pull/2000): typing: pre pydantic v2
[11:31:43] <Yunohost Git/Infra notifications> [yunohost] 🔴 Pipeline [#1552570573](https://gitlab.com/YunoHost/yunohost/-/pipelines/1552570573) failed on branch pydantic-typing
[12:10:50] <Yunohost Git/Infra notifications> [yunohost] A​xolotle pushed 1 commit to pydantic-typing: typing: keep Union when types as string ([12ba5550](https://github.com/YunoHost/yunohost/commit/12ba55501de4af95a367da2748f92365dc4cbdc0))
[12:19:21] <Aleks (he/him/il/lui)> > <@yunohostinfra:matrix.org> [yunohost] A​xolotle opened [pull request #2000](https://github.com/YunoHost/yunohost/pull/2000): typing: pre pydantic v2

LGTM ✅️, u wanna iterate on it or it can already be merged ?
[12:19:49] <Aleks (he/him/il/lui)> PR #2000 wut :O
[12:20:00] <Aleks (he/him/il/lui)> Pydantic 2000
[12:20:21] <axolotle> ahah
[12:20:45] <axolotle> yes we can merge it, i'll make another if needed!
[12:21:06] <Yunohost Git/Infra notifications> [yunohost] a​lexAubin pushed 5 commits to dev ([0bf76f06f5d4...463a8ca8b95b](https://github.com/YunoHost/yunohost/compare/0bf76f06f5d4...463a8ca8b95b))
[12:21:06] <Yunohost Git/Infra notifications> [yunohost] a​lexAubin merged [pull request #2000](https://github.com/YunoHost/yunohost/pull/2000): typing: pre pydantic v2
[12:21:07] <Yunohost Git/Infra notifications> [yunohost/dev] Merge pull request #2000 from YunoHost/pydantic-typing typing: pre pydantic v2 - Alexandre Aubin
[12:21:07] <Yunohost Git/Infra notifications> [yunohost/dev] typing: keep Union when types as string - axolotle
[12:21:07] <Yunohost Git/Infra notifications> [yunohost/dev] typing: use Classvar for Optionss private attrs - axolotle
[12:22:20] <axolotle> i'm working on bookworm for now (with hard install of pydantic v2), but it will be for trixie i guess, so we do not have to package pydantic v2 ourself
[12:24:16] <axolotle> i'll make it into 2 PR i think, one with minimal migration, and one reworked with the new stuff and some small breaking changes
[12:24:26] <Aleks (he/him/il/lui)> adding an external .deb to our repo is easy pizy but what i would be worried is that it replaces python3-pydantic "1" and some other program on the machine could be willing to have v1 and not v2 etc yeah
[12:24:57] <Aleks (he/him/il/lui)> (or rather if we include the .deb for v2, since it's the same package name as v1, every existing server will upgrade to v2 and uuuh we dont want that)
[12:25:09] <axolotle> yep
[12:25:16] <Aleks (he/him/il/lui)> anyway, trixie is good 👍️
[12:28:20] <axolotle> the plan for the reworked PR is to have some generic "constraints" (validation that can be used with `Annotated[]`) that could be used elsewhere in our code (for function parameters for example)
[12:32:34] <axolotle> + be able to use `multiple: true` on all Option that validates list items with the option's type (validates that the list is a list of numbers for exemple)
[12:34:04] <axolotle> - have 2 serializations mode: "bash" for app's config panel which stringify everything and "python" for other config panel and functions (so we do not end up with "0" as boolean or `"a,b,c"` as list for example)
[13:29:26] <Yunohost Git/Infra notifications> [yunohost] 🔴 Pipeline [#1552656883](https://gitlab.com/YunoHost/yunohost/-/pipelines/1552656883) failed on branch dev
[14:54:19] <Yunohost Git/Infra notifications> [yunohost] A​xolotle created new branch pydantic-v2
[14:54:19] <Yunohost Git/Infra notifications> [yunohost/pydantic-v2] pydanticv2: fix EmailOption tests - axolotle
[14:54:19] <Yunohost Git/Infra notifications> [yunohost/pydantic-v2] pydanticv2: fix tests boolean handling in string types - axolotle
[14:54:19] <Yunohost Git/Infra notifications> [yunohost] A​xolotle pushed 21 commits to pydantic-v2 ([43464d577c56^...bfa69c0fc037](https://github.com/YunoHost/yunohost/compare/43464d577c56^...bfa69c0fc037))
[14:54:20] <Yunohost Git/Infra notifications> [yunohost/pydantic-v2] pydanticv2: fix UrlOption tests - axolotle
[14:57:45] <Yunohost Git/Infra notifications> [yunohost] A​xolotle opened [pull request #2001](https://github.com/YunoHost/yunohost/pull/2001): Migration: Pydantic v2
[14:58:29] <Yunohost Git/Infra notifications> [yunohost] 🔴 Pipeline [#1552918665](https://gitlab.com/YunoHost/yunohost/-/pipelines/1552918665) failed on branch pydantic-v2
[15:11:18] <Yunohost Git/Infra notifications> [yunohost/pydantic-v2] pydanticv2: fix missing imports - axolotle
[15:11:18] <Yunohost Git/Infra notifications> [yunohost] A​xolotle pushed 2 commits to pydantic-v2 ([bfa69c0fc037...fe0de4ec9b9a](https://github.com/YunoHost/yunohost/compare/bfa69c0fc037...fe0de4ec9b9a))
[15:11:19] <Yunohost Git/Infra notifications> [yunohost/pydantic-v2] pydanticv2: fix validators return type - axolotle
[15:15:42] <Yunohost Git/Infra notifications> [yunohost] 🔴 Pipeline [#1552950696](https://gitlab.com/YunoHost/yunohost/-/pipelines/1552950696) failed on branch pydantic-v2
[16:53:02] <Yunohost Git/Infra notifications> [yunohost] A​xolotle edited [pull request #2001](https://github.com/YunoHost/yunohost/pull/2001): Migration: Pydantic v2
[16:53:38] <Yunohost Git/Infra notifications> [yunohost] A​xolotle edited [pull request #2001](https://github.com/YunoHost/yunohost/pull/2001): Migration: Pydantic v2
[20:16:04] <Yunohost Git/Infra notifications> [yunohost] S​alamandar [commented](https://github.com/YunoHost/yunohost/pull/2001#issuecomment-2489464026) on [issue #2001](https://github.com/YunoHost/yunohost/pull/2001) Migration: Pydantic v2: Well Id say we should merge this on the trixie branch (or, find a way to properly install pydantic v2 on bookworm ?)
[20:51:50] <Yunohost Git/Infra notifications> [yunohost-portal] J​osue-T pushed 1 commit to email_edit_perm: Get email permission from portal settings ([5958f1a4](https://github.com/YunoHost/yunohost-portal/commit/5958f1a43ee75c7e999ad9b9a35a1343a9fa84cf))
[20:52:03] <Yunohost Git/Infra notifications> [yunohost] J​osue-T pushed 1 commit to email_edit_perm: Use config file from portal directory to fix permissions issues ([33e8780a](https://github.com/YunoHost/yunohost/commit/33e8780abee151a33183d9754550606a3dd59fde))
[23:56:26] <Yunohost Git/Infra notifications> [yunohost] A​xolotle pushed 6 commits to trixie ([3f6eec6879c7...15739aa0fafe](https://github.com/YunoHost/yunohost/compare/3f6eec6879c7...15739aa0fafe))
[23:56:26] <Yunohost Git/Infra notifications> [yunohost/trixie] DONOTMERGE: patch because sury doesnt support trixie yet - Félix Piédallu
[23:56:27] <Yunohost Git/Infra notifications> [yunohost/trixie] nginx now configures server_tokens off in its core config - Félix Piédallu
[23:56:27] <Yunohost Git/Infra notifications> [yunohost/trixie] Replace mysqlshow, mysqldump with mariadb-show, mariadb-dump See https://mariadb.com/kb/en/changes-and-improvements-in-... - Félix Piédallu
[23:58:25] <Yunohost Git/Infra notifications> [yunohost] A​xolotle pushed 30 commits to pydantic-v2 ([fe0de4ec9b9a...0f7a8400cde0](https://github.com/YunoHost/yunohost/compare/fe0de4ec9b9a...0f7a8400cde0))
[23:58:25] <Yunohost Git/Infra notifications> [yunohost/pydantic-v2] pydanticv2: fix missing imports - axolotle
[23:58:25] <Yunohost Git/Infra notifications> [yunohost/pydantic-v2] pydanticv2: fix validators return type - axolotle
[23:58:26] <Yunohost Git/Infra notifications> [yunohost/pydantic-v2] chore: readd pydantic + add pydantic-extra-types dependencies - axolotle
[23:59:15] <Yunohost Git/Infra notifications> [yunohost] A​xolotle edited [pull request #2001](https://github.com/YunoHost/yunohost/pull/2001): Migration: Pydantic v2