From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] python-requests
Date: Fri, 6 Jul 2018 12:40:06 +0300
Message-ID: <20180706094006.GB22941@altlinux.org> (raw)
In-Reply-To: <CAHRK1yNOgAMhsvGemY-By3axz6atNZscVGEX0CJ0pkp-dq9HSw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1385 bytes --]
On Fri, Jul 06, 2018 at 09:05:05AM +0300, Vladimir Didenko wrote:
> Увидел, что python-requests обновился до 2.19.1, только бомба
> по-прежнему осталось, даже несколько. Из setup.py
>
> requires = [
> 'chardet>=3.0.2,<3.1.0',
> 'idna>=2.5,<2.8',
> 'urllib3>=1.21.1,<1.24',
> 'certifi>=2017.4.17'
> ]
>
> Предлагаю сделать одно из следующих изменений:
>
> 1. Поставить явные зависимости RPM с ограничениями на версию
> (например, Requires: python-module-idna < 2.8). Спасет от мэйнтейнеров
> chardet, idna, urllib3. Но не спасет от мэйнтейнеров, которые будут
> обновлять python-requests вслепую, не тестируя.
> 2. Убрать в зависимостях setup.py ограничения '<'. Я так делаю с
> docker-compose, поскольку эти ограничения ничем не обоснованы. Спасет
> от мэйнтейнеров chardet, idna, urllib3, а также и от обновляющих
> python-requests. Единственный минус - не покрывается ситуация, когда
> при обновлении одного из пакетов совместимость действительно будет
> сломана.
> 3. Собирать python-requests с bundled библиотеками. Спасет всех, но c
> идеологической сторорны выглядит не очень.
>
> Лично я за пункт 2, но готов выслушать другие мнения.
Ранее уже было озвучено предложение:
- генерить зависимости из requires[] автоматически;
- если requires[] кривые, то патчить.
Но главное, конечно - включить в пакете тесты!
--
ldv
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next prev parent reply other threads:[~2018-07-06 9:40 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-03 7:21 ` [devel] not real rebuild errors, cf. --query-repackage; Re: rpm-4.13.0.1-alt2: Sisyphus/x86_64 test rebuild failed Ivan Zakharyaschev
2018-07-03 8:40 ` Dmitry V. Levin
2018-07-03 9:08 ` Ivan Zakharyaschev
2018-07-03 10:31 ` Dmitry V. Levin
2018-07-03 15:20 ` Ivan Zakharyaschev
2018-07-03 16:16 ` Ivan Zakharyaschev
2018-07-04 18:45 ` Dmitry V. Levin
2018-07-04 19:31 ` Ivan Zakharyaschev
2018-07-05 8:00 ` [devel] I: возможный откат Сизифа на состояние от 20180626 Dmitry V. Levin
2018-07-05 8:48 ` Vitaly Lipatov
2018-07-05 9:07 ` Dmitry V. Levin
2018-07-05 9:15 ` Sergey V Turchin
2018-07-05 9:22 ` Dmitry V. Levin
2018-07-05 9:33 ` Sergey V Turchin
2018-07-05 9:43 ` Michael Shigorin
2018-07-05 9:58 ` Dmitry V. Levin
2018-07-05 11:09 ` Michael Shigorin
2018-07-05 13:28 ` Anton Farygin
2018-07-05 13:26 ` Anton Farygin
2018-07-05 15:53 ` Ivan Zakharyaschev
2018-07-05 16:18 ` Ivan Zakharyaschev
2018-07-10 7:46 ` Ivan Zakharyaschev
2018-07-11 10:00 ` Ivan Zakharyaschev
2018-07-05 21:20 ` [devel] откат python*-module-idna для починки sphinx Dmitry V. Levin
2018-07-05 21:48 ` Dmitry V. Levin
2018-07-06 6:05 ` Vladimir Didenko
2018-07-06 9:40 ` Dmitry V. Levin [this message]
2018-07-06 10:00 ` [devel] python-requests Ivan Zakharyaschev
2018-07-06 10:10 ` Dmitry V. Levin
2018-07-06 10:29 ` Ivan Zakharyaschev
2018-07-06 8:30 ` [devel] откат python*-module-idna для починки sphinx Andrey Cherepanov
2018-07-06 8:59 ` Anton Farygin
2018-07-06 10:00 ` Dmitry V. Levin
2018-07-03 9:39 ` [devel] not real rebuild errors, cf. --query-repackage; Re: rpm-4.13.0.1-alt2: Sisyphus/x86_64 test rebuild failed Ivan Zakharyaschev
2018-07-03 10:21 ` Ivan Zakharyaschev
2018-07-03 15:18 ` Vitaly Lipatov
2018-07-03 15:24 ` Ivan Zakharyaschev
2018-07-03 11:16 ` Ivan Zakharyaschev
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=20180706094006.GB22941@altlinux.org \
--to=ldv@altlinux.org \
--cc=devel@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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git