-
Notifications
You must be signed in to change notification settings - Fork 555
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
clarify status of run_tests_py3.sh #664
Comments
It's a bit of an aside, but as the person originally responsible for |
could you test with the 5.0.0-dev branch? IIRC this is somehow related to #375 and the RDFa and microcode duplication issues that are fixed there... |
On Wed, Nov 09, 2016 at 07:51:30AM -0800, Jörn Hees wrote:
i still get failures. there is still an the remaining test fails for lack of the graph_tool dependency (also |
hmm, just to be sure... you're talking about these
The whole tests assume that they're run in a virtualenv which is either py2 or py3 and TBH in light of some distros now calling yet another option would be to just wait for this mess to be fixed by our six'erization: #519 ... as soon as that's done |
On Sun, Nov 13, 2016 at 07:41:32AM -0800, Jörn Hees wrote: yes; at least they have the very arguments i see the
i disagree: the test suite should be runnable in the native environment. crafting a virtualenv to make the test suite runnable seems to limit the applicability of the results to the production environment. i'd suggest that the occurrences of 'python' be replaced with sys.executable. |
👍 thanks for pointing that out, that's obviously a much more portable solution... (sorry for the late reply, my email notifications somehow don't seem to work reliably anymore :-/) |
@chrysn so that part should be fixed in both 4.2.2-dev (current master) and 5.0.0-dev, please reopen / create a new issue if there's still a problem. |
the
run_tests_py3.sh
script seems to be in bad shape; on a debian testing with rdflib 4.2.1 and sparqlwrapper 1.7.6, i got 3 errors and 3 failures.one of the failures i could trace down to
test/test_issue375.py
executingpython
in a subprocess; with all the 2to3'd stuff around, that would only ever work ifpython
is a (symlink to a) python3 implementation, which happens but is rare enough to lead me to the conclusion thatrun_tests_py3.sh
is not regularly used. in comparison,.travis.yml
has explicit precautions against phenomenon, but invokes nosetests explicitly.do the scripts still reflect the test suite that rdflib is supposed to pass, or are they an artifact and plain nosetests should be used instead?
The text was updated successfully, but these errors were encountered: