Bizarre enpkg accident

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bizarre enpkg accident

Michael Aye
I just typed

"sudo enpkg basemap"

and this happened:

prefix: /Library/Frameworks/EPD64.framework/Versions/7.3
matplotlib-1.2.0-4.egg                                             [removing]
 51.17 MB [.................................................................]
matplotlib-1.1.0-2.egg                                           [installing]
 13.91 MB [.................................................................]

Does that make sense?

Michael



_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Bizarre enpkg accident

Jonathan March
Michael,

Whether it "makes sense" or not, this is unfortunately the expected behavior, since this is an old version of basemap which specifies an explicit matplotlib version dependency. You can certainly try `enpkg matplotlib` and see whether this basemap works with the latest matplotlib, though I have some recollection of an API break.

For reference, you can also avoid such dependency downgrading with enpkg's --no-deps option, though there is always the risk (as here) of combining incompatible versions.

A new basemap build is in the queue.

hth,
Jonathan


On Wed, Apr 10, 2013 at 6:15 PM, K.-Michael Aye <[hidden email]> wrote:
I just typed

"sudo enpkg basemap"

and this happened:

prefix: /Library/Frameworks/EPD64.framework/Versions/7.3
matplotlib-1.2.0-4.egg                                             [removing]
 51.17 MB [.................................................................]
matplotlib-1.1.0-2.egg                                           [installing]
 13.91 MB [.................................................................]

Does that make sense?

Michael



_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Bizarre enpkg accident

Michael Aye
On 2013-04-10 23:25:15 +0000, Jonathan March said:

> Michael,
>
> Whether it "makes sense" or not, this is unfortunately the expected
> behavior, since this is an old version of basemap which specifies an
> explicit matplotlib version dependency. You can certainly try `enpkg
> matplotlib` and see whether this basemap works with the latest
> matplotlib, though I have some recollection of an API break.
>
> For reference, you can also avoid such dependency downgrading with
> enpkg's --no-deps option, though there is always the risk (as here) of
> combining incompatible versions.
>
> A new basemap build is in the queue.
>
> hth,
> Jonathan

Ok, but in that case wouldn't it be better if enpkg first asks before
downgrading?
And It is anyway interesting that the upgrade to the newer matplotlib
works without any error message regarding the to-be-incompatible
version of basemap? In other words, isn't it inconsistent that I never
used --no-deps and still enpkg upgrades and downgrades me without any
request for user input?

Michael

>
>
> On Wed, Apr 10, 2013 at 6:15 PM, K.-Michael Aye
> <[hidden email]> wrote:
> I just typed
>
> "sudo enpkg basemap"
>
> and this happened:
>
> prefix: /Library/Frameworks/EPD64.framework/Versions/7.3
> matplotlib-1.2.0-4.egg                                             [removing]
>  51.17 MB [.................................................................]
> matplotlib-1.1.0-2.egg                                           [installing]
>  13.91 MB [.................................................................]
>
> Does that make sense?
>
> Michael
>
>
>
> _______________________________________________
> Enthought-Dev mailing list
> [hidden email]
> https://mail.enthought.com/mailman/listinfo/enthought-dev
>
> _______________________________________________
> Enthought-Dev mailing list
> [hidden email]
> https://mail.enthought.com/mailman/listinfo/enthought-dev



_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev