1 |
В Птн, 24/09/2010 в 20:09 +0000, Arfrever Frehtes Taifersar Arahesis |
2 |
(arfrever) пишет: |
3 |
> Added: sympy-0.6.7-python-2.7.patch |
4 |
> Log: |
5 |
> Fix majority of test failures with Python 2.7 (bug #330713). |
6 |
|
7 |
This patch fixes not test failure, but sympy's ability to work with |
8 |
python-2.7. Although python-2.7 is currently masked it will be unmasked |
9 |
soon and some users may have it installed already. Looks like revision |
10 |
bump to propagate this change in package on users is necessary in this |
11 |
case. Please, bump revision. |
12 |
|
13 |
> Revision Changes Path |
14 |
> 1.1 dev-python/sympy/files/sympy-0.6.7-python-2.7.patch |
15 |
> |
16 |
> file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sympy/files/sympy-0.6.7-python-2.7.patch?rev=1.1&view=markup |
17 |
> plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sympy/files/sympy-0.6.7-python-2.7.patch?rev=1.1&content-type=text/plain |
18 |
> |
19 |
> Index: sympy-0.6.7-python-2.7.patch |
20 |
> =================================================================== |
21 |
> http://github.com/sympy/sympy/commit/717516b8ffae806cdfdea8141ceb839107d92431 |
22 |
> |
23 |
> --- sympy/printing/pretty/stringpict.py |
24 |
> +++ sympy/printing/pretty/stringpict.py |
25 |
> @@ -81,7 +81,7 @@ |
26 |
> return '\n'.join(result), newBaseline |
27 |
> |
28 |
> def right(self, *args): |
29 |
> - """Put pictures next to this one. |
30 |
> + r"""Put pictures next to this one. |
31 |
> Returns string, baseline arguments for stringPict. |
32 |
> (Multiline) strings are allowed, and are given a baseline of 0. |
33 |
> >>> from sympy.printing.pretty.stringpict import stringPict |
34 |
> --- sympy/utilities/runtests.py |
35 |
> +++ sympy/utilities/runtests.py |
36 |
> @@ -778,7 +778,7 @@ |
37 |
> def start(self): |
38 |
> self.write_center("test process starts") |
39 |
> executable = sys.executable |
40 |
> - v = sys.version_info |
41 |
> + v = tuple(sys.version_info) |
42 |
> python_version = "%s.%s.%s-%s-%s" % v |
43 |
> self.write("executable: %s (%s)\n\n" % (executable, python_version)) |
44 |
> self._t_start = clock() |
45 |
|
46 |
-- |
47 |
Peter. |