Re: Automatic/CI compilation on macOS

Rainer M Krug <[email protected]>
Newsgroups gmane.comp.gis.grass.devel
Message-ID <[email protected]>
OK - found the ci.

The formula installs, but I get a warning at the end, which results in a warning, which is than interpreted as an error. The warning (which I also get locally) is the following:

If it is the case that you can change the shebang at the beginning of

he script to enforce Python 3 usage.

  #!/usr/bin/env python

Should be changed into

  #!/usr/bin/env python3


I suspect that this needs to be done in GRASS itself?

Rainer



> On 5 Mar 2020, at 09:40, Rainer Krug <[email protected]> wrote:
> 
> Sorry for chiming in so late - haven’t followed GRASS closely and I might raise points which have already been discussed.
> 
> I can not comment on conda, as I never used it.
> 
> 
> I made a fix on the home-brew-osgeo4mac branch as the test using for the brew test needs the name of the formula. I tried the installation and the brew test locally, and it works.
> 
> 
> Where can I see the log from the ci?
> 
> 
> There were also discussions on the R mailing list to support Conda, and it definitely has its user base, but O don’t think it is as widely used as home-brew. So supporting both would be the best option.
> 
> Especially, if I am not mistaken, the support for the osgeo4mac-grass formula for home-brew is already taken care of by osgeo4mac.
> 
> Cheers,
> 
> Rainer
> 
> 
> 
>> On 5 Mar 2020, at 04:58, Vaclav Petras <[email protected] <mailto:[email protected]>> wrote:
>> 
>> Dear all,
>> 
>> I made some updates towards updating the conda recipe for GRASS GIS on macOS by Eric Hutton, but it is not working yet. You can find the WIP PR here:
>> 
>> https://github.com/csdms-stack/grass-recipe/pull/1 <https://github.com/csdms-stack/grass-recipe/pull/1>
>> 
>> You can see the current state in Travis linked from the PR or in GitHub Actions of my fork:
>> 
>> https://github.com/wenzeslaus/grass-recipe/tree/updates-for-7.8-and-above <https://github.com/wenzeslaus/grass-recipe/tree/updates-for-7.8-and-above>
>> https://github.com/wenzeslaus/grass-recipe/actions <https://github.com/wenzeslaus/grass-recipe/actions>
>> 
>> If you think a different approach is more appropriate and want to try it out, you can consider contributing to the following repository which now, for example, contains a homebrew-osgeo4mac based branch. Again see the current state in GitHub Actions:
>> 
>> https://github.com/GRASS-GIS/grass-gis-experimental-ci/tree/homebrew-osgeo4mac <https://github.com/GRASS-GIS/grass-gis-experimental-ci/tree/homebrew-osgeo4mac>
>> 
>> If you have some ideas for fixing the errors, please let me know, here, by PRs, issues, or links to other repos.
>> 
>> Thanks,
>> Vaclav
>> 
>> _______________________________________________
>> grass-dev mailing list
>> [email protected] <mailto:[email protected]>
>> https://lists.osgeo.org/mailman/listinfo/grass-dev
> 
> --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)
> 
> Orcid ID: 0000-0002-7490-0066
> 
> Department of Evolutionary Biology and Environmental Studies
> University of Zürich
> Office Y34-J-74
> Winterthurerstrasse 190
> 8075 Zürich
> Switzerland
> 
> Office:	+41 (0)44 635 47 64
> Cell:       	+41 (0)78 630 66 57
> email:      [email protected] <mailto:[email protected]>
> 		[email protected] <mailto:[email protected]>
> Skype:     RMkrug
> 
> PGP: 0x0F52F982
> 
> 
> 

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Orcid ID: 0000-0002-7490-0066

Department of Evolutionary Biology and Environmental Studies
University of Zürich
Office Y34-J-74
Winterthurerstrasse 190
8075 Zürich
Switzerland

Office:	+41 (0)44 635 47 64
Cell:       	+41 (0)78 630 66 57
email:      [email protected]
		[email protected]
Skype:     RMkrug

PGP: 0x0F52F982

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.