Re: [GRASS-dev] How to install grass development package

2020-09-04 Thread Peter Petrik
you need to use QGIS nightly2 for grass with python3

On Fri, Sep 4, 2020 at 2:31 PM Veronica Andreo  wrote:

> Hello Ming
>
> Yes, GRASS 7.6 is the last version with python 2, you should aim at grass
> 7.8 line. The current stable is grass 7.8.3. See here
> https://grass.osgeo.org/download/mac/. Dunno if that includes also
> grass-dev package though.
> I hope someone using grass in mac can answer that
>
> best,
> Vero
>
> El vie., 4 sept. 2020 a las 4:55, ming han ()
> escribió:
>
>> Hi everyone
>>
>>Is GRASS76 in the QGIS compiled with python2?  Because I got a new
>> error which complains that "NameError:name 'file' is not defined". While
>> the file is used in python2.
>>
>> [image: image.png]
>>
>> Thanks
>> Ming
>>
>> ming han  于2020年9月3日周四 下午2:34写道:
>>
>>> Hi everyone
>>>
>>>Hope this email finds you well.
>>> I installed a QGIS that includes GRASS from here [
>>> https://www.kyngchaos.com/software/qgis/]. The GRASS does not contain a
>>> g.extension to install grass addon. When I copy a g.extension from other
>>> grass installation. It complains "Please install GRASS development
>>> package".
>>>
>>> So my questions are:
>>> 1) How to install GRASS addon without g.extension on MacOS
>>>
>>>  2) How to install GRASS development packages on MacOS.
>>>
>>> Many thanks for your help
>>> Looking forward to hearing from you soon
>>>
>>> Best regards
>>> Ming
>>>
>> ___
>> grass-dev mailing list
>> grass-dev@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-dev
>
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] How to install grass development package

2020-09-03 Thread Peter Petrik
Hi,

you can try to install QGIS with all-in-one package (official), where
g.extension is included. https://qgis.org/downloads/macos/nightly2/ are
builds based on GDAL3 which I would try first.

Kind regards,
Peter

On Thu, Sep 3, 2020 at 8:35 PM ming han  wrote:

> Hi everyone
>
>Hope this email finds you well.
> I installed a QGIS that includes GRASS from here [
> https://www.kyngchaos.com/software/qgis/]. The GRASS does not contain a
> g.extension to install grass addon. When I copy a g.extension from other
> grass installation. It complains "Please install GRASS development
> package".
>
> So my questions are:
> 1) How to install GRASS addon without g.extension on MacOS
>
>  2) How to install GRASS development packages on MacOS.
>
> Many thanks for your help
> Looking forward to hearing from you soon
>
> Best regards
> Ming
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [QGIS-Developer] Bump to proj 6/gdal 3

2019-08-05 Thread Peter Petrik
Hi,

so if I understand correctly, we need to hold it until GRASS is compatible
with PROJ6 or should we switch to proj6 nevertheless for mac packages?

Thanks, Peter

On Tue, Jul 23, 2019 at 6:40 PM Markus Metz 
wrote:

>
>
> On Tue, Jul 23, 2019 at 10:24 AM Jürgen E. Fischer  wrote:
> >
> > Hi,
> >
> > On Tue, 23. Jul 2019 at 10:11:59 +1000, Nyall Dawson wrote:
> > > Discussion welcome :)
> >
> > What's the state of GRASS with PROJ 6?
>
> GRASS compiles with PROJ 6, but does not work properly with PROJ 6 because
> PROJ 6 behaves differently compared to PROJ 5. PROJ 6 isupport in GRASS is
> WIP.
>
> Markus M
> >
> >
> > Jürgen
> >
> > --
> > Jürgen E. Fischer   norBIT GmbH Tel.
> +49-4931-918175-31
> > Dipl.-Inf. (FH) Rheinstraße 13  Fax.
> +49-4931-918175-50
> > Software Engineer   D-26506 Norden
> https://www.norbit.de
> > QGIS release manager (PSC)  GermanyIRC: jef on
> FreeNode
> > ___
> > grass-dev mailing list
> > grass-dev@lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-dev
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] git howto get a single diff for a PR with multiple commits

2019-06-04 Thread Peter Petrik
Hi,

you can diff the branch agains the branch origin point (see eg
https://stackoverflow.com/questions/29810331/is-there-a-quick-way-to-git-diff-from-the-point-or-branch-origin).
For example if you PR 28 is on local branch pr_28, branched from master you
can do:

git checkout pr_28
git diff master...

P.



On Wed, Jun 5, 2019 at 6:44 AM Ken Mankoff  wrote:

>
> On 2019-06-04 at 23:12 +02, Markus Metz 
> wrote...
> > I would like to speed up reviewing of a PR with multiple commits by
> > reading a single diff file. How is this possible with git? [...] can
> > git (on CLI on my local copies) also do this?
>
> I think git can diff any two commits. Do this by providing two commit
> hashes instead of just one (which defaults to that v. the currently checked
> out hash + any local changes).
>
>   -k.
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] GRASS + Python3 + QGIS (vs Python2)

2018-12-21 Thread Peter Petrik
Hi,

I am trying to sort out support of GRASS for QGIS in Mac package
https://lutraconsulting.github.io/qgis-mac-packager/.

The package is self-standing and bundles its own Python 3, GRASS 7.4.3
(taken from homebrew) and QGIS 3.4.x

Due to some issues (
https://github.com/OSGeo/homebrew-osgeo4mac/issues/452#issuecomment-413650370),
homebrew forces python2 interpreter to run, which is incompatible with
bundled Python3 in the package.

I would like to ask if GRASS fully supports Python 3 (and from which
version)

Thanks,
Peter
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev