Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951827 - dev-python/sympy has not needed dev-python/pexpect since 2013
Summary: dev-python/sympy has not needed dev-python/pexpect since 2013
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-22 13:34 UTC by C.Blake
Modified: 2025-03-23 13:15 UTC (History)
4 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 C.Blake 2025-03-22 13:34:53 UTC
The last actual use was removed in:
  https://github.com/sympy/sympy/commit/1cf5257b9600424c2742a27d70669d99014f00b5

If you don't believe that, just:
  unpack sympy-1.13.3.gh.tar.gz
  grep -rl pexpect sympy-1.13.3

The only match in the whole tree bin/test_import - which itself not run except manually (and ALSO needs numpy which dev-python/sympy-1.13.3.ebuild does NOT list).  { In fact, using os.chdir and os.popen("..").read() would always have been more portable than pexpect.run anyway and numpy is barely necessary for a near trivial formula, but those are more issues for this dev-convenience script over at the sympy github page. }

That one line containing pexpect should simply be deleted from the ebuild.

--- a/dev-python/sympy/sympy-1.13.3.ebuild 2025-03-02 14:57:27.898408293 -0500
+++ b/dev-python/sympy/sympy-1.13.3.ebuild 2025-03-22 09:31:59.438059758 -0400
@@ -28,7 +28,6 @@
 
 RDEPEND="
        >=dev-python/mpmath-1.1.0[${PYTHON_USEDEP}]
-       dev-python/pexpect[${PYTHON_USEDEP}]
        imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
        ipython? (
                $(python_gen_cond_dep '
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-03-23 13:14:35 UTC
Thanks for the report!
Comment 2 Larry the Git Cow gentoo-dev 2025-03-23 13:15:45 UTC
The bug has been closed via the following commit(s):

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

commit e24bb17fb716ae1ac2d326ba5f3bbf70388f92da
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2025-03-23 13:15:21 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-03-23 13:15:21 +0000

    dev-python/sympy: Update dependencies
    
    Closes: https://bugs.gentoo.org/951827
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/sympy/sympy-1.13.3.ebuild | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)