NCAS-CMS / cfunits

A Python interface to UNIDATA’s UDUNITS-2 library with CF extensions:
http://ncas-cms.github.io/cfunits
MIT License
11 stars 8 forks source link

Actions CI: reinstate Ubuntu 18.04 dist. job #40

Closed sadielbartholomew closed 2 years ago

sadielbartholomew commented 2 years ago

One of the jobs on a workflow was commented out due to incompatibility of the version of the default dist. setuptools and the format of metadata specified in thecftime setup.py. See https://github.com/NCAS-CMS/cfunits/pull/39#issuecomment-970418815 and the commits comprising that PR for details.

daniel-mohr commented 2 years ago

The UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) is not the problem.

The error is error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 due to _cftime.c: No such file or directory.

I'm not sure if 'cython is not installed or the version of cython is to old here. At least the version of cython from ubuntu:18.04 seems to be too old.

sadielbartholomew commented 2 years ago

Ah OK, thanks very much for sharing your thoughts on this @daniel-mohr! I will check out your PR to see if it fixes the issue at hand. I see you opened an issue on cftime about this and thanks for also doing that - I was considering opening an issue there when I realised there was something about the cftime installation which wasn't working as it should, but wasn't convinced it was a problem on their side without further investigation which I didn't have time to do...

sadielbartholomew commented 2 years ago

Closed by #41, with thanks to @daniel-mohr for the fix.