Skip to content

pyferret for recent python (3.14) #148

@bzfbmsch

Description

@bzfbmsch

Dear ferreters,
it is a little bit quiet around ferret. This is a pity. May be, one reason is that the good graphics of ferret is only in pyferret that is bound to python8, which has got some age. So I tried to build ferret from source for the most recent python3.14.

There are issues to be resolved related to the more strict typing of new gcc-compilers. I was using gcc-14 coming with debian_13. Only a few changes simple to guess are needed.

Another group of issues comes from the changes in numpy introduced with python3.11. A a programmer bound to fortran and with pretty limited C or python knowledge, it took a few hours of a rainy day with coffee and some cookies to get it running. At least the coads_climatology figures come up and some simple operations work too. So I have hope that ferret can continue its life also in a recent compiler/python environment.

Only a few files need changes. But I am not sure, if I should simply publish the files. As said, I am not very skilled with python and C and the changes are not really tested. Once out, it would be difficult to catch erronous code. So may be, some streamlining should be done by the ferret developers or otherwise interested persons. Please let me know, where to send the changed files to.

Finally, python complains also that a direct call of setup.py should be avoided and will be blocked in future. So may be, ferret could be embedded in a new development environment for builds from source.

Cheers,
Martin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions