From: Alexey Appolonov <alexey@basealt.ru>
To: devel-newbies@lists.altlinux.org
Subject: Re: [newbies] Удаление лишних зависимостей из python-пакета
Date: Wed, 18 Sep 2024 02:35:32 +0300
Message-ID: <761c4e55-7dfb-4a8c-81db-ee56368c8741@basealt.ru> (raw)
In-Reply-To: <21301726614549@mail.yandex.ru>
18.09.2024 02:16, Александр Лубягин пишет:
> 18.09.2024, 02:06, "Alexey Appolonov" <alexey@basealt.ru>:
> >> Допустимо ли такое при сборке пакетов? Не критичные для работы модуля тесты.
>
> > Как вы определяете критичность тестов?
> Отсутствие его в зависимостях самого питоновского модуля.
Не понял вас. Отсутсвие кого в зависимостях? Если в тесте
есть зависимость на некоторый модуль, на который нет зависимости
в основных модулях пакета (не являющихся тестами), то вы считаете
этот тест подлежащим удалению? Если так, то, в общем случае,
мне такой подход видится неверным.
> Например, среди тестов - вызов jupyter notebooks, которые рисуют графики через bokeh
> (такой случай встречается в tests/ питоновского пакета pandora, предназначенного
> для 3D-реконструции
> объекта по "плоским" фотографиям)
> Здесь я полагаюсь на то, "графические" тесты не выявляют ничего дополнительно
> существенного,
> и достаточно покрытия основным набором тестов.
next prev parent reply other threads:[~2024-09-17 23:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-17 23:03 ` Alexey Appolonov
2024-09-17 23:05 ` Alexey Appolonov
2024-09-17 23:35 ` Alexey Appolonov [this message]
2024-09-18 3:55 ` Ivan A. Melnikov
2024-09-18 9:20 ` Alexey Appolonov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=761c4e55-7dfb-4a8c-81db-ee56368c8741@basealt.ru \
--to=alexey@basealt.ru \
--cc=devel-newbies@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
devel@ where you _can_ ask
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
public-inbox-index devel-newbies
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git