[Thread Prev][Thread Next][Index]

Re: [ferret_users] PyFerret/Ferret release v7.4.4



Hi Ryo,

The latest version of PyFerret will be available through conda once it makes it through the conda-forge build system and the packages are approved for release.  Unfortunately, there is currently a problem with the  conda-forge build system with PyFerret.  (The PyFerret code compiled fine; working on figuring out what went wrong after the code was compiled.)

I discovered another issue when attempting to update PyFerret 7.4.2 to 7.4.3 in conda - it thinks it has to downgrade the version of NumPy.  (Another mystery to solve.)  So if you have PyFerret 7.4.2 and want to update to 7.4.3, you need to explicitly tell it to update pyferret, which will downgrade NumPy.  After that I updated everything and it appears to be working just fine (on a Linux system).  So the commands I issued were (where "FERRET" is the conda environment in which PyFerret is installed):
    conda update -c conda-forge -n FERRET pyferret
    conda update --all
    conda update -n FERRET --all

As for updating packages in general, it usually is good to update for the standard reasons: fix bugs and remove security flaws.  But there are occasions where an update causes problems, or a package requires a particular version of another package.  An "update" sometimes will actually downgrade a package when issues such as these are discovered.  Also, if you know you want a particular version of a package (such as libnetcdf 4.4.1.1 instead of 4.6.x), you can "pin" that version of the package.  See https://conda.io/docs/user-guide/tasks/manage-pkgs.html#preventing-packages-from-updating-pinning for more information on that topic.

Best regards,
Karl


On Sun, Dec 9, 2018 at 8:36 PM Ryo Furue <furue@xxxxxxxxxx> wrote:
Dear PyFerret users,

On Sat, Dec 8, 2018 at 10:46 AM Ansley C. Manke <ansley.b.manke@xxxxxxxx> wrote:

A new PyFerret and Ferret v7.4.4 are available:

https://github.com/NOAA-PMEL/PyFerret/releases

I was wondering how to update pyferret through conda.  I tried (by pure guess)

$ conda update --all

and

$ conda update -c conda-forge --all

neither of which proposed to update pyferret . 

(By the way, the latter proposed to update a lot of other packages.  Should I do it?)

Best regards,
Ryo


--
Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement