-
Notifications
You must be signed in to change notification settings - Fork 119
Nine tests fails with Python 3.6 but succeed with 3.7 (or is it something about the version of Sphinx) #52
Comments
u need to fix the version of |
Are you sure it helps? v2 is just a prerelease, I don’t like pushing that into our distribution unless there is some real reason to do so. |
Yeah. I mean u need to make sure u are using 0.8 rather than 2.0. U can look at #43 for what I meant. Currently there are no version lock for m2r, this error happens when v2 is install instead of 0.8. |
That is not possible. Take a look at the attached log:
|
Hmmm. Then u probably have a diff error from me. Cuz I was searching for the same question when my Travis for 3.6 failed while 3.7 passed. Then I updated my requirements.txt and it worked. But I can't find my logs any more. Too many runs to remember which one was it. But u probably have a diff issue then? |
In the end it is apparently all about PEP-538, the default encoding with 3.7 is UTF-8, whereas it was US-ASCII with 3.6. This patch provides fix to this issue. |
https://build.opensuse.org/request/show/756648 by user dimstar_suse - Instead of skipping the tests, the patch open-encoding.patch fixes gh#miyakogi/m2r#52.
When running packaging scripts for openSUSE Tumbleweed (with python3-3.7.3 and python3-Sphinx-2.2.2) the test suite passes without any problem, but when I built it for the bit older stable Leap 15.1 distribution (python3-3.6.5 and python3-Sphinx-2.2.2) I get nine tests failing:
Complete build log on Leap_15.1
The text was updated successfully, but these errors were encountered: