Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-python/ipython: bump to 7.14.0; bug #691294 #15674

Conversation

blinkingtwelve
Copy link

Diff with ipython-7.5.0.ebuild:

--- ipython-7.5.0.ebuild	2020-05-07 09:32:45.302702253 +0200
+++ ipython-7.14.0.ebuild	2020-05-07 10:11:55.144347786 +0200
@@ -24,8 +24,8 @@
 	dev-python/jedi[${PYTHON_USEDEP}]
 	dev-python/pexpect[${PYTHON_USEDEP}]
 	dev-python/pickleshare[${PYTHON_USEDEP}]
-	>=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
-	<dev-python/prompt_toolkit-2.1[${PYTHON_USEDEP}]
+	>=dev-python/prompt_toolkit-3.0.2[${PYTHON_USEDEP}]
+	<dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
 	dev-python/pygments[${PYTHON_USEDEP}]
 	dev-python/traitlets[${PYTHON_USEDEP}]
 	matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )

This was based on changed requirements per https://github.com/ipython/ipython/blob/7.14.0/setup.py#L193 . I've lightly tested with prompt_toolkit v3, and not with v2, hence I didn't include v2 in the deps even though it seems (per requirements) that ipython-7.14.0 should work with v2 as well with v3. Moving forward etc 🌤️ .

Closes: https://bugs.gentoo.org/691294
Signed-off-by: blinkingtwelve blinkingtwelve@gavagai.eu

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @blinkingtwelve
Areas affected: ebuilds
Packages affected: dev-python/ipython

dev-python/ipython: @gentoo/python

Linked bugs

Bugs linked: 691294


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels May 7, 2020
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-05-07 08:35 UTC
Newest commit scanned: 146ad54
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/c14f2c9189/output.html

@mgorny
Copy link
Member

mgorny commented May 7, 2020

I'll give it a spin. I see the package would use some more fixes but nothing urgent or worth your time.

Copy link
Member

@mgorny mgorny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests fail for me: dev-python:ipython-7.14.0:20200507-095542.log

I suppose it's a matter of commenting out the right tests. See https://dev.gentoo.org/~mgorny/python-guide/test.html

@blinkingtwelve
Copy link
Author

Thanks, ran the tests, found the culprit (network-accessing test), and disabled it perusing your guide.

@mgorny mgorny added the no signoff One or more commits do not indicate GCO sign-off. label May 7, 2020
Copy link
Member

@mgorny mgorny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your sign-off needs to contain your real legal name.

@@ -91,6 +91,7 @@ src_test() {

python_test() {
distutils_install_for_testing
sed -i 's/^def \(test_embed_svg_url():$\)/def _\1/g' build/test/lib/IPython/core/tests/test_display.py || die
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just edit the source file in prepare_all, also please wrap lines.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-05-07 13:10 UTC
Newest commit scanned: 8ba681d
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/b41c0be7b6/output.html

inherit distutils-r1 eutils virtualx

DESCRIPTION="Advanced interactive shell for Python"
HOMEPAGE="http://ipython.org/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Closes: https://bugs.gentoo.org/691294
Signed-off-by: Rechiw Nymmaard <nymmaard@gavagai.nl>
@blinkingtwelve blinkingtwelve force-pushed the bump_dev-python/ipython-7.14.0 branch from 8ba681d to ec391fc Compare May 8, 2020 09:59
@boerwastaken
Copy link

Your sign-off needs to contain your real legal name.

Fixed

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-05-08 10:15 UTC
Newest commit scanned: ec391fc
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/7d2761db2c/output.html


LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't bump straight to stable.

nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )"

DEPEND="${CDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is redundant now.

RDEPEND="${CDEPEND}
nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )"

DEPEND="${CDEPEND}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These go to BDEPEND in EAPI 7. Also, I honestly doubt you need this 'CDEPEND' outside test?


PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )

DISTUTILS_IN_SOURCE_BUILD=1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still necessary?

@juippis
Copy link
Member

juippis commented Jun 25, 2020

fc844c7

@juippis juippis closed this Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. no signoff One or more commits do not indicate GCO sign-off.
Projects
None yet
7 participants