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
dev-python/ipython: bump to 7.14.0; bug #691294 #15674
Conversation
Pull Request assignmentSubmitter: @blinkingtwelve dev-python/ipython: @gentoo/python Linked bugsBugs linked: 691294 In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
Pull request CI reportReport generated at: 2020-05-07 08:35 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
I'll give it a spin. I see the package would use some more fixes but nothing urgent or worth your time. |
There was a problem hiding this 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
Thanks, ran the tests, found the culprit (network-accessing test), and disabled it perusing your guide. |
There was a problem hiding this 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Pull request CI reportReport generated at: 2020-05-07 13:10 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
inherit distutils-r1 eutils virtualx | ||
|
||
DESCRIPTION="Advanced interactive shell for Python" | ||
HOMEPAGE="http://ipython.org/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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>
8ba681d
to
ec391fc
Compare
Fixed |
Pull request CI reportReport generated at: 2020-05-08 10:15 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" |
There was a problem hiding this comment.
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}] |
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still necessary?
Diff with
ipython-7.5.0.ebuild
: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