From: | P Purkayastha <ppurka@×××××.com> | ||
---|---|---|---|

To: | gentoo-science@l.g.o | ||

Subject: | Re: [gentoo-science] sci-mathematics/sage-4.7.1 and numpy version |
||

Date: | Thu, 25 Aug 2011 10:31:59 | ||

Message-Id: | 4E562482.6030207@gmail.com |
||

In Reply to: | Re: [gentoo-science] sci-mathematics/sage-4.7.1 and numpy version by fbissey@slingshot.co.nz |

1 | On 08/25/2011 06:24 AM, fbissey@××××××××××××.nz wrote: |

2 | > Quoting Steven Trogdon <strogdon@×××××.edu>: |

3 | > |

4 | >> On Wed, 24 Aug 2011 12:03:19 +0200 |

5 | >> rose@××××××××××××××.de wrote: |

6 | >> |

7 | >>> Hi, |

8 | >>> |

9 | >>> I just installed more or less succesful sage. During the installation |

10 | >>> numpy was downgraded from numpy-1.6.1 to numpy-1.5.1. |

11 | >>> Now every 'emerge -uvDN world' complaines about; |

12 | >>> |

13 | >>> WARNING: One or more updates have been skipped due to a dependency |

14 | >>> conflict: |

15 | >>> |

16 | >>> dev-python/numpy:0 |

17 | >>> |

18 | >>> (dev-python/numpy-1.6.1::gentoo, ebuild scheduled for merge) |

19 | >>> conflicts with |

20 | >>> ~dev-python/numpy-1.5.1 required by |

21 | >>> (sci-mathematics/sage-4.7.1::sage-on-gentoo, installed) |

22 | >>> |

23 | >>> dev-python/pexpect:0 |

24 | >>> |

25 | >>> (dev-python/pexpect-2.4-r1::sage-on-gentoo, ebuild scheduled for |

26 | >>> merge) conflicts with |

27 | >>> ~dev-python/pexpect-2.0 required by |

28 | >>> (sci-mathematics/sage-4.7.1::sage-on-gentoo, installed) |

29 | >>> |

30 | >>> If I try to install couchdb, numpy-1.6.1 will be installed again: |

31 | >>> |

32 | >>> root@caiman:/root(4)# emerge -pvuDN couchdb |

33 | >>> |

34 | >>> These are the packages that would be merged, in order: |

35 | >>> |

36 | >>> Calculating dependencies... done! |

37 | >>> [ebuild N ] dev-lang/erlang-14.2.3 USE="doc emacs java odbc smp ssl |

38 | >>> tk wxwidgets -halfword -hipe -kpoll -sctp" 98,075 kB |

39 | >>> [ebuild N ] dev-db/couchdb-1.1.0 USE="-test" 1,063 kB |

40 | >>> [ebuild U ] dev-python/numpy-1.6.1 [1.5.1] USE="doc lapack -test" 0 kB |

41 | >>> |

42 | >>> Should I mask numpy-1.6.1 or how are the chances that sage will work |

43 | >>> with numpy-1.6.1? |

44 | >>> |

45 | >> At least until this Bug |

46 | >> |

47 | >> https://bugs.gentoo.org/show_bug.cgi?id=371099 |

48 | >> |

49 | >> is resolved (sog) sage requires ~numpy-1.5.1 |

50 | >> |

51 | >> I'm not sure exactly the impact on your system of masking |

52 | >> >=numpy-1.6.0 but you |

53 | >> could try that and see what emerge -puDNv world gives. I don't see which |

54 | >> component, if any, of couchdb is pulling in numpy or where else numpy is |

55 | >> needed on your system. Oh, and you will also have to mask >=pexpect-2.4 |

56 | >> |

57 | > Hi all, |

58 | > |

59 | > Sorry I needed to have a little break. numpy-1.6+ is not compatible with |

60 | > sage |

61 | > at the moment: |

62 | > http://trac.sagemath.org/sage_trac/ticket/11334 |

63 | > so don't try it. I suspect numpy wants to upgrade to 1.6.1 for you for the |

64 | > following reason: |

65 | > 1) you put numpy in your package.keywords file |

66 | > 2) numpy is part of your world set. It is upgraded independently of any |

67 | > dependency requirement. The fact that it is pulled just by -D is |

68 | > somewhat a bug |

69 | > in portage - although there could be a web of dependencies leading to |

70 | > numpy. |

71 | > emerge -puNv couchdb probably won't pick it. |

72 | > |

73 | > If you downgraded from numpy-1.6.x to 1.5.1 don't forget to rebuild scipy. |

74 | > |

75 | > Francois |

76 | > |

77 | |

78 | I think it is a limitation of portage, in that it doesn't do reverse |

79 | dependency checking every time you upgrade a package by its name. |

80 | |

81 | ~> emerge -p numpy |

82 | |

83 | These are the packages that would be merged, in order: |

84 | |

85 | Calculating dependencies... done! |

86 | [ebuild U ] dev-python/numpy-1.6.0 [1.5.1] |

87 | ~> emerge -p numpy sage |

88 | |

89 | These are the packages that would be merged, in order: |

90 | |

91 | Calculating dependencies... done! |

92 | [ebuild R ] dev-python/numpy-1.5.1 |

93 | [ebuild R ~] sci-mathematics/sage-4.7.1 |

94 | |

95 | WARNING: One or more updates have been skipped due to a dependency conflict: |

96 | |

97 | dev-python/numpy:0 |

98 | |

99 | (dev-python/numpy-1.6.0::gentoo, ebuild scheduled for merge) |

100 | conflicts with |

101 | ~dev-python/numpy-1.5.1 required by |

102 | (sci-mathematics/sage-4.7.1::sage-on-gentoo, ebuild scheduled for merge) |

103 | |

104 | ~> emerge -pu numpy sage |

105 | |

106 | These are the packages that would be merged, in order: |

107 | |

108 | Calculating dependencies... done! |

109 | [ebuild U ] dev-python/numpy-1.6.0 [1.5.1] |

110 | ~> emerge -puD numpy sage |

111 | |

112 | These are the packages that would be merged, in order: |

113 | |

114 | Calculating dependencies... done! |

115 | [ebuild N ] virtual/pam-0 |

116 | |

117 | WARNING: One or more updates have been skipped due to a dependency conflict: |

118 | |

119 | dev-python/numpy:0 |

120 | |

121 | (dev-python/numpy-1.6.0::gentoo, ebuild scheduled for merge) |

122 | conflicts with |

123 | ~dev-python/numpy-1.5.1 required by |

124 | (sci-mathematics/sage-4.7.1::sage-on-gentoo, installed) |

125 | |

126 | ~> |

All times displayed are in UTC (GMT+0).

Contents reflect the opinion of the author, not the Gentoo project or the Gentoo Foundation.

Gentoo is a trademark of the Gentoo Foundation, Inc. The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license. The Gentoo Name and Logo Usage Guidelines apply.