Bug 43620

Summary: deprecated package
Product: Sisyphus Reporter: Stanislav Levin <slev>
Component: python3-module-pytest-runnerAssignee: Антон Мидюков <antohami>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: antohami
Version: unstable   
Hardware: x86_64   
OS: Linux   
Bug Depends on: 44632, 44633, 44634, 44635, 44636, 44637, 44638, 44639    
Bug Blocks:    

Description Stanislav Levin 2022-08-25 12:40:09 MSK
Согласно:
https://github.com/pytest-dev/pytest-runner/#deprecation-notice

> pytest-runner depends on deprecated features of setuptools and relies on features that break security mechanisms in pip. For example 'setup_requires' and 'tests_require' bypass pip --require-hashes. See also pypa/setuptools#1684.
> It is recommended that you:
>- Remove 'pytest-runner' from your setup_requires, preferably removing the setup_requires option.
>- Remove 'pytest' and any other testing requirements from tests_require, preferably removing the tests_requires option.
> - Select a tool to bootstrap and then run tests such as tox.

Новые пакеты не должны иметь зависимость на pytest-runner, в собранных *со временем* надо убрать эту зависимость. В итоге pytest-runner должен быть удален.

На сегодняшний день в сизифе 29 пакетов хотят pytest-runner для своей сборки:
https://packages.altlinux.org/ru/sisyphus/srpms/python3-module-pytest-runner/what_depends/by_source
Comment 1 Антон Мидюков 2022-08-25 14:07:21 MSK
Удалять сейчас или ждать, когда перестанет нужен другим пакетам?
Мне он уже не нужен. И я так понимаю, что в тех пакетах, которым он действительно нужен, можно временно отключить %check.
Comment 2 Stanislav Levin 2022-08-25 14:42:36 MSK
Ответственные апстримы уже давно ушли с pytest-runner.
То есть, скорее всего, достаточно обновить затронутые пакеты и убрать зависимость в их RPM спекфайлах на pytest-runner. Но нет причин, чтобы заставлять делать это наших мейнтейнеров в режиме "как можно скорее".

Предлагаю срок неудаления pytest-runner - конец этого года или отсутствие зависимостей (что наступит раньше).
Comment 3 Антон Мидюков 2023-02-20 13:40:57 MSK
[#315526] DONE del=python3-module-pytest-runner