[GRASS-dev] [release planning] GRASS GIS 8.3.0

Hi,

út 20. 6. 2023 v 8:49 odesílatel Markus Neteler <neteler@osgeo.org> napsal:

RC1 has been released 2 weeks ago. Is there anything missing in order to release 8.3.0 (what be nice to do for FOSS4G).

Yes, let’s release asap.
As there was no negative feedback, I’d suggest to release this week.
If there are no objections, I could do that eg later tonight.

https://github.com/OSGeo/grass/pull/3024

would be nice to merge before 8.3.0. Martin

Done. I would also like to get this digitizer fix, the digitizer bug was fairly serious.
https://github.com/OSGeo/grass/pull/3027

It’s ready to merge once the checks pass.

I am for a final release, too.

Anna

···

Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi,

st 21. 6. 2023 v 11:10 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

https://github.com/OSGeo/grass/pull/3024

would be nice to merge before 8.3.0. Martin

Done. I would also like to get this digitizer fix, the digitizer bug was fairly serious.

Thanks.

https://github.com/OSGeo/grass/pull/3027

It’s ready to merge once the checks pass.

Checks passed. Please merge and backport to 8.3/8.2. Then I would say we are ready for 8.3.0. Martin

···

Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi Stefan,

út 20. 6. 2023 v 9:20 odesílatel Stefan Blumentrath <Stefan.Blumentrath@gmx.de> napsal:

https://github.com/OSGeo/grass/pull/3051

should probably be backported too, as it significantly improves the user experience with g.extension. it is a tiny change in code, so a new RC is probably not necessary for that?

no need for a new RC I would say. Feel free to backport. Martin

···

Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi,

st 21. 6. 2023 v 11:10 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

https://github.com/OSGeo/grass/pull/3024

would be nice to merge before 8.3.0. Martin

Done. I would also like to get this digitizer fix, the digitizer bug was fairly serious.

Thanks.

https://github.com/OSGeo/grass/pull/3027

It’s ready to merge once the checks pass.

Checks passed. Please merge and backport to 8.3/8.2. Then I would say we are ready for 8.3.0. Martin

Done!

···

Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Dear all,

We are almost there:
https://github.com/OSGeo/grass/milestones/8.3.0

Markus

Dear Markus, all,

st 21. 6. 2023 v 23:14 odesílatel Markus Neteler <neteler@osgeo.org> napsal:

We are almost there:
https://github.com/OSGeo/grass/milestones/8.3.0

I think we can go ahead and release 8.3.0. Thanks, Martin

···

Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Dear all,

On Thu, Jun 22, 2023 at 9:17 AM Martin Landa <landa.martin@gmail.com> wrote:

Dear Markus, all,

st 21. 6. 2023 v 23:14 odesílatel Markus Neteler <neteler@osgeo.org> napsal:

We are almost there:
https://github.com/OSGeo/grass/milestones/8.3.0

I think we can go ahead and release 8.3.0. Thanks, Martin

OK, I'll try to do that later today.

Markus

Hi devs,

Argh. I am half way (version file committed, but building of Debian
based Docker fails):

E: Unable to locate package libopenblas-base

https://github.com/OSGeo/grass/actions/runs/5350453362/jobs/9703565807

Confused,
Markus

PS: Shall we ignore that?

On 6/23/23 00:00, Markus Neteler wrote:

E: Unable to locate package libopenblas-base

That package doesn't exist any more, it was transitional dummy package provided by openblas which has been removed in openblas (0.3.21+ds-1).

https://github.com/OSGeo/grass/actions/runs/5350453362/jobs/9703565807

Confused,
Markus

PS: Shall we ignore that?

The Dockefiles need to be updated to no longer install this package in distribution release where it's not available.

The package in Debian just installs libblas-dev.

Kind Regards,

Bas

--
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1

On Fri, Jun 23, 2023 at 6:26 AM Sebastiaan Couwenberg
<sebastic@xs4all.nl> wrote:

On 6/23/23 00:00, Markus Neteler wrote:
> E: Unable to locate package libopenblas-base

That package doesn't exist any more, it was transitional dummy package
provided by openblas which has been removed in openblas (0.3.21+ds-1).

> https://github.com/OSGeo/grass/actions/runs/5350453362/jobs/9703565807
>
> Confused,
> Markus
>
> PS: Shall we ignore that?

The Dockefiles need to be updated to no longer install this package in
distribution release where it's not available.

The package in Debian just installs libblas-dev.

I am trying to update the Debian Dockerfile:

diff --git a/docker/debian/Dockerfile b/docker/debian/Dockerfile
index 66134a2f67..d697738633 100644
--- a/docker/debian/Dockerfile
+++ b/docker/debian/Dockerfile
@@ -1,5 +1,5 @@
FROM debian:stable
-# currently Debian 11
+# currently Debian 12

# docker run -it --rm debian:stable bash
# apt-get update && apt-get install lsb-release -y && lsb_release -a
@@ -11,7 +11,7 @@ ENV DEBIAN_FRONTEND noninteractive

# define versions to be used (PDAL is not available on Debian, so we
compile it here)
# https://github.com/PDAL/PDAL/releases
-ARG PDAL_VERSION=2.4.3
+ARG PDAL_VERSION=2.5.5

SHELL ["/bin/bash", "-c"]

@@ -43,7 +43,6 @@ RUN apt-get update && apt-get upgrade -y && \
     libjsoncpp-dev \
     libnetcdf-dev \
     libncurses5-dev \
- libopenblas-base \
     libopenblas-dev \
     libopenjp2-7 \
     libopenjp2-7-dev \

So far it seems to be ok but then I get

...
STEP 45/59: RUN apt-get clean -y
--> 60d9dd420330
STEP 46/59: RUN rm -r /src/grass_build/.git
--> c9ea0db622e8
STEP 47/59: WORKDIR /scripts
--> 14099929847b
STEP 48/59: RUN pip3 install grass-session
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python
installation or OS distribution provider. You can override this, at
the risk of breaking your Python installation or OS, by passing
--break-system-packages.
hint: See PEP 668 for the detailed specification.
Error: building at STEP "RUN pip3 install grass-session": while
running runtime: exit status 1

What is the best practice for Debian Dockerfiles here? A venv doesn't
make sense in this context.

Best,
Markus

Hi,

pá 23. 6. 2023 v 10:31 odesílatel Markus Neteler <neteler@osgeo.org> napsal:

note: If you believe this is a mistake, please contact your Python
installation or OS distribution provider. You can override this, at
the risk of breaking your Python installation or OS, by passing
–break-system-packages.
hint: See PEP 668 for the detailed specification.
Error: building at STEP “RUN pip3 install grass-session”: while
running runtime: exit status 1

I think that --break-system-packages could be used in this case. Martin

···

Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

On 6/23/23 10:31, Markus Neteler wrote:

diff --git a/docker/debian/Dockerfile b/docker/debian/Dockerfile
index 66134a2f67..d697738633 100644
--- a/docker/debian/Dockerfile
+++ b/docker/debian/Dockerfile
@@ -1,5 +1,5 @@
  FROM debian:stable
-# currently Debian 11
+# currently Debian 12

  # docker run -it --rm debian:stable bash
  # apt-get update && apt-get install lsb-release -y && lsb_release -a
@@ -11,7 +11,7 @@ ENV DEBIAN_FRONTEND noninteractive

  # define versions to be used (PDAL is not available on Debian, so we
compile it here)
  # https://github.com/PDAL/PDAL/releases
-ARG PDAL_VERSION=2.4.3
+ARG PDAL_VERSION=2.5.5

There is no PDAL in bookworm:

  https://tracker.debian.org/pkg/pdal

STEP 48/59: RUN pip3 install grass-session
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
     python3-xyz, where xyz is the package you are trying to
     install.

     If you wish to install a non-Debian-packaged Python package,
     create a virtual environment using python3 -m venv path/to/venv.
     Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
     sure you have python3-full installed.

     If you wish to install a non-Debian packaged Python application,
     it may be easiest to use pipx install xyz, which will manage a
     virtual environment for you. Make sure you have pipx installed.

     See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python
installation or OS distribution provider. You can override this, at
the risk of breaking your Python installation or OS, by passing
--break-system-packages.
hint: See PEP 668 for the detailed specification.
Error: building at STEP "RUN pip3 install grass-session": while
running runtime: exit status 1

What is the best practice for Debian Dockerfiles here? A venv doesn't
make sense in this context.

The best option is to package all Python modules and install those.

For CI containers you can break the system packages as suggested.

Kind Regards,

Bas

--
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1

On Fri, Jun 23, 2023 at 10:38 AM Sebastiaan Couwenberg
<sebastic@xs4all.nl> wrote:

On 6/23/23 10:31, Markus Neteler wrote:
> diff --git a/docker/debian/Dockerfile b/docker/debian/Dockerfile
> index 66134a2f67..d697738633 100644
> --- a/docker/debian/Dockerfile
> +++ b/docker/debian/Dockerfile
> @@ -1,5 +1,5 @@
> FROM debian:stable
> -# currently Debian 11
> +# currently Debian 12
>
> # docker run -it --rm debian:stable bash
> # apt-get update && apt-get install lsb-release -y && lsb_release -a
> @@ -11,7 +11,7 @@ ENV DEBIAN_FRONTEND noninteractive
>
> # define versions to be used (PDAL is not available on Debian, so we
> compile it here)
> # https://github.com/PDAL/PDAL/releases
> -ARG PDAL_VERSION=2.4.3
> +ARG PDAL_VERSION=2.5.5

There is no PDAL in bookworm:

  https://tracker.debian.org/pkg/pdal

For that reason we compile it when building the image:
https://github.com/OSGeo/grass/blob/51e962abbc1176211ad2c4cb7857a61a2b6d1c6f/docker/debian/Dockerfile#L104

> STEP 48/59: RUN pip3 install grass-session
> error: externally-managed-environment
>
> × This environment is externally managed
> ╰─> To install Python packages system-wide, try apt install
> python3-xyz, where xyz is the package you are trying to
> install.
>
> If you wish to install a non-Debian-packaged Python package,
> create a virtual environment using python3 -m venv path/to/venv.
> Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
> sure you have python3-full installed.
>
> If you wish to install a non-Debian packaged Python application,
> it may be easiest to use pipx install xyz, which will manage a
> virtual environment for you. Make sure you have pipx installed.
>
> See /usr/share/doc/python3.11/README.venv for more information.
>
> note: If you believe this is a mistake, please contact your Python
> installation or OS distribution provider. You can override this, at
> the risk of breaking your Python installation or OS, by passing
> --break-system-packages.
> hint: See PEP 668 for the detailed specification.
> Error: building at STEP "RUN pip3 install grass-session": while
> running runtime: exit status 1
>
> What is the best practice for Debian Dockerfiles here? A venv doesn't
> make sense in this context.

The best option is to package all Python modules and install those.

If anyone wants to take over - I have no time to package that.

For CI containers you can break the system packages as suggested.

Like

RUN pip3 install grass-session --break-system-packages

?

Best,
Markus

Hi,

pá 23. 6. 2023 v 12:33 odesílatel Markus Neteler <neteler@osgeo.org> napsal:

For CI containers you can break the system packages as suggested.

Like

RUN pip3 install grass-session --break-system-packages

yes. Martin

···

Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

On Fri, Jun 23, 2023 at 12:37 PM Martin Landa <landa.martin@gmail.com> wrote:

pá 23. 6. 2023 v 12:33 odesílatel Markus Neteler <neteler@osgeo.org> napsal:

> For CI containers you can break the system packages as suggested.

Like

RUN pip3 install grass-session --break-system-packages

Thanks. Debian dockerfile PR submitted:

https://github.com/OSGeo/grass/pull/3062

After success and backports I can resume the 8.3.0 release procedure.

Markus

Hi devs,

The 8.3.0 release is done:
https://github.com/OSGeo/grass/releases/tag/8.3.0

Before announcing it publicly we need winGRASS and other binaries +
release news etc as per doc/howto_release.md.

Congrats and thanks to all contributors!

Cheers
Markus

Hi,

Binder fails:

Error loading OSGeo/grass/8.3.0
...
configure ...
pdal error.

(don't have the precise error message right now).

Markus

Perhaps adding '-std=gnu++17’ to CXXFLAGS might solve it?

N.

On 24 Jun 2023, at 18:24, Markus Neteler <neteler@osgeo.org> wrote:

Hi,

Binder fails:

Error loading OSGeo/grass/8.3.0
...
configure ...
pdal error.

(don't have the precise error message right now).

Markus
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Hi,

Nicklas Larsson <n_larsson@yahoo.com> schrieb am Sa., 24. Juni 2023, 18:31:

Perhaps adding '-std=gnu++17’ to CXXFLAGS might solve it?

I have tried to address it differently, by updating done binder dependencies:

https://github.com/OSGeo/grass/pull/3063

Markus

Hi,

so 24. 6. 2023 v 17:24 odesílatel Markus Neteler <neteler@osgeo.org> napsal:

Hi devs,

The 8.3.0 release is done:
https://github.com/OSGeo/grass/releases/tag/8.3.0

Before announcing it publicly we need winGRASS and other binaries +
release news etc as per doc/howto_release.md.

Windows installer available for testing:

https://grass.osgeo.org/grass83/binary/mswindows/native/WinGRASS-8.3.0-1-Setup.exe

Martin

···

Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa