Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743466 - dev-python/spyder has exact-version dep on dev-python/parso-0.7.0
Summary: dev-python/spyder has exact-version dep on dev-python/parso-0.7.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-19 06:38 UTC by Michał Górny
Modified: 2021-07-23 13:49 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-19 06:38:33 UTC
Are you really sure parso-0.7.1 wouldn't work?
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-03-02 08:40:59 UTC
ping.
Comment 2 Nowa Ammerlaan gentoo-dev 2021-03-02 08:46:27 UTC
(In reply to Michał Górny from comment #0)
> Are you really sure parso-0.7.1 wouldn't work?

A version bump of spyder is incoming soonish, I will check if it works with newer versions of parso when I'm working on that. But I expect not, since upstream is very specific about which versions of parso are supported.
Comment 3 Nowa Ammerlaan gentoo-dev 2021-03-02 08:51:43 UTC
See also: https://github.com/spyder-ide/spyder/issues/11975
Comment 4 Larry the Git Cow gentoo-dev 2021-07-02 11:49:22 UTC
The bug has been closed via the following commit(s):

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

commit 1e9f01bf1d97ba8a52a2d90ddccfe108787e1c92
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2021-07-02 11:26:11 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2021-07-02 11:49:18 +0000

    dev-python/spyder: allow parso 0.7.1
    
    Otherwise we get stuck in a dependency conflict with python_targets_python3_10
    
    Closes: https://bugs.gentoo.org/743466
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/spyder/spyder-5.0.5.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Comment 5 Larry the Git Cow gentoo-dev 2021-07-23 13:49:14 UTC
The bug has been referenced in the following commit(s):

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

commit 055a054ea9a8208395f8fcee5c84d0bfab841e0a
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2021-07-23 13:45:08 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2021-07-23 13:49:09 +0000

    dev-python/spyder: do not depend on parso,jedi,pylsp
    
    spyder does not use these directly, instead it imports
    pyls-spyder, which imports pylsp, which imports jedi,
    which imports parso.
    
    We remove the indirect dependencies here so we don't
    have to touch this ebuilds if e.g. pylsp becomes
    (in)compatible with a certain version of jedi. Instead
    we record this infomration in the downstream ebuilds
    where it belongs.
    
    This requires some sed magic to make sure spyder's
    dependency checks don't complain.
    
    This is intended to once and for all fix
    Bug 743466 and prevent the repeating issue
    of bugs such as Bug 803269
    
    Closes: https://bugs.gentoo.org/803269
    Bug: https://bugs.gentoo.org/743466
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/spyder/Manifest                         |  2 +-
 ...yder-4.2.5-r1.ebuild => spyder-4.2.5-r2.ebuild} | 68 +++++++++-------------
 ...{spyder-5.0.5.ebuild => spyder-5.0.5-r1.ebuild} | 58 ++++++++----------
 3 files changed, 55 insertions(+), 73 deletions(-)