Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937080 - dev-util/maturin-1.7.0 QA Notice: setuptools warnings detected: `install_requires` overwritten in `pyproject.toml` (dependencies)
Summary: dev-util/maturin-1.7.0 QA Notice: setuptools warnings detected: `install_requ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-01 13:26 UTC by Arniii
Modified: 2024-08-22 01:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
how_it_was_called.txt emerge_--info.txt /var/tmp/portage/dev-util/maturin-1.7.0/{build-info/**,files/**,temp/**,work/**.log} /var/lib/portage/** /etc/portage/** /var/log/portage/elog/dev-util/maturin-1.7.0:20240801-122618.log (dev_util_maturin-1.7.0_qa_notice.tar.lz,272.67 KB, application/x-lzip)
2024-08-01 13:28 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2024-08-01 13:26:45 UTC
* QA Notice: setuptools warnings detected:
 *
 *      `install_requires` overwritten in `pyproject.toml` (dependencies)
Comment 1 Arniii 2024-08-01 13:28:39 UTC
Created attachment 898754 [details]
how_it_was_called.txt emerge_--info.txt /var/tmp/portage/dev-util/maturin-1.7.0/{build-info/**,files/**,temp/**,work/**.log} /var/lib/portage/** /etc/portage/** /var/log/portage/elog/dev-util/maturin-1.7.0:20240801-122618.log
Comment 2 Ionen Wolkens gentoo-dev 2024-08-01 22:11:29 UTC
It'd be trivial to fix it (afaik can just yank the install_requires from setup.py), but please send bugs about setuptools deprecation notices upstream instead. Not planning to touch these downstream unless it's urgent or when upstream is dead (not the case for maturin). No idea when it'll become a problem though, this deprecation notice is roughly 2 years old from >=setuptools-62.3.

That aside, note QA notices are primarily aimed at developers -- when they are important enough then bugs are automatically filed by our CI, and setuptools notices are intentionally ignored at the moment as typically we hope upstreams will notice and fix them on their own first, but sometimes workflow or using old setuptools may make them miss it and then may need to report.
Comment 3 Ionen Wolkens gentoo-dev 2024-08-01 22:16:15 UTC
(In reply to Ionen Wolkens from comment #2)
> deprecation
Or err my bad, it's just a warning rather than a deprecation. So I guess it'll keep working? So I guess this "may" never break actually.

Not important anyhow, it'd be nice if upstream silenced it but I wouldn't worry too much about this.
Comment 4 Ionen Wolkens gentoo-dev 2024-08-01 22:27:37 UTC
Actually, not sure if a bug should even be sent upstream.. it may have a use case but I don't know python build systems enough to know -- and given it's just a warning...
Comment 5 Ionen Wolkens gentoo-dev 2024-08-01 22:31:16 UTC
(but since already sent one, guess we'll know -- they'll know better)
Comment 6 Arniii 2024-08-02 08:19:24 UTC
Seems to be solved upstream.
Comment 7 Larry the Git Cow gentoo-dev 2024-08-22 01:52:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea78d797e0cdcb094881027e5ff5547032c5df96

commit ea78d797e0cdcb094881027e5ff5547032c5df96
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-08-22 01:01:38 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-08-22 01:45:09 +0000

    dev-util/maturin: add 1.7.1
    
    Closes: https://bugs.gentoo.org/937080
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-util/maturin/Manifest             |  19 ++
 dev-util/maturin/maturin-1.7.1.ebuild | 537 ++++++++++++++++++++++++++++++++++
 2 files changed, 556 insertions(+)