Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 755242

Summary: dev-python/spyder requires <dev-python/coverage-5
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: andrewammerlaan, proxy-maint, sam, treecleaner
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18724
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-11-18 08:46:50 UTC
NonsolvableDepsInDev: version 4.2.0: nonsolvable depset(bdepend) keyword(~amd64) dev profile (default/linux/amd64/17.0/no-multilib/prefix/kernel-3.2+) (3 total): solutions: [ <dev-python/coverage-5.0[-python_single_target_python3_7(-),-python_single_target_python3_8(-),python_targets_python3_7(-),python_targets_python3_8(-)] ]
Comment 1 Andrew Ammerlaan gentoo-dev 2020-11-18 08:49:59 UTC
This is how upstream specifies their test dependencies:

extras_require = {
    'test:platform_system == "Linux"': ['pytest-xvfb'],
    'test:platform_system == "Windows"': ['pywin32'],
    'test': [
        'coverage<5.0',
        'cython',
        'flaky',
        'matplotlib',
        'mock',
        'pandas',
        'pillow',
        'pytest<5.0',
        'pytest-cov',
        'pytest-faulthandler<2.0',
        'pytest-lazy-fixture',
        'pytest-mock',
        'pytest-ordering',
        'pytest-qt',
        'pyyaml',
        'scipy',
        'sympy',
    ],
}

https://github.com/spyder-ide/spyder/blob/master/setup.py
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-18 09:22:41 UTC
https://dev.gentoo.org/~mgorny/python-guide/pytest.html?highlight=coverage#avoiding-dependencies-on-other-pytest-plugins applies here - i.e. if we can ditch coverage and such, we should. It's not relevant for users.
Comment 3 Andrew Ammerlaan gentoo-dev 2020-11-26 11:34:28 UTC
I will fix this in the next version bump
Comment 4 Larry the Git Cow gentoo-dev 2021-01-16 08:05:03 UTC
The bug has been closed via the following commit(s):

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

commit 8002266d0971d60df3d5653b5c4ad83ad257c4c7
Author:     Andrew Ammerlaan <andrewammerlaan@riseup.net>
AuthorDate: 2020-12-19 15:14:50 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-01-16 08:02:59 +0000

    dev-python/spyder: version bump 4.2.1
    
    Closes: https://bugs.gentoo.org/755242
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/18724
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-python/spyder/Manifest                       |   2 +
 dev-python/spyder/files/spyder-4.2.1-build.patch |  36 ++++
 dev-python/spyder/spyder-4.2.1.ebuild            | 241 +++++++++++++++++++++++
 3 files changed, 279 insertions(+)