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/pandas-datareader: new package #9834
Conversation
Pull Request assignment Areas affected: ebuilds dev-python/pandas-datareader: @gentoo/proxy-maint (new package) No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and ping us to reset the assignment. In order to force reassignment and/or bug reference scan, please append |
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.
E ImportError: No module named wrapt
when running tests.
" | ||
|
||
python_test() { | ||
./test.sh || 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.
That's just calling pytest
. Inline it, and make it verbose.
8117564
to
8ec8da2
Compare
|
||
DEPEND=" | ||
test? ( | ||
${RDEPEND} |
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.
Erm, variable assignments don't work backwards, yes? ;-P
8ec8da2
to
f32ec3a
Compare
@mgorny ok now? |
Ok, I'll build the other pandas version now ;-). |
Also, |
f32ec3a
to
e228608
Compare
@mgorny ok |
e228608
to
e21f6ad
Compare
|
@mgorny these look like all of the same error:
Which I never got. It sounds like the test suite attempts to connect to the internet (which is what the package does as its functionality), and you are testing it on a machine without outward connection. Is that true? |
e21f6ad
to
322fdb1
Compare
@mgorny I was able to confirm. The errors you are getting stem from your system's network connectivity issues. The package is otherwise ok. Can we merge now? |
Read the big section on how Internet access is forbidden and lets users send Internet bills over to you: https://devmanual.gentoo.org/ebuild-writing/functions/src_test/index.html |
@mgorny ok, I had a alook at other ebuilds and I can't figure out what best to do. Do I:
? |
1 or 2. Figure out how useful the suite is without Internet. Also file a request upstream to consider mocking/replay-based tests since using Internet services is unreliable at best. |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 Signed-off-by: Horea Christian <horea.christ@yandex.com>
322fdb1
to
41bc843
Compare
The test suite is not particularly useful without internet connectivity, since this is what the package does, read data from the internet. Upstream seems uninterested in solving the issue: pydata/pandas-datareader#586 So I have moved to restrict testing. |
Pull request CI reportReport generated at: 2018-10-01 00:59 UTC No issues found |
Thanks. I have verified that all but two Yahoo tests consistently pass on all impls. I'll merge now. |
Package-Manager: Portage-2.3.49, Repoman-2.3.10