[Git][debian-gis-team/grass][upstream] New upstream version 8.3.1

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Oct 26 04:13:02 BST 2023



Bas Couwenberg pushed to branch upstream at Debian GIS Project / grass


Commits:
c86a7f28 by Bas Couwenberg at 2023-10-25T21:00:37+02:00
New upstream version 8.3.1
- - - - -


4 changed files:

- − .github/workflows/pylint.yml
- doc/howto_release.md
- include/VERSION
- python/grass/script/array.py


Changes:

=====================================
.github/workflows/pylint.yml deleted
=====================================
@@ -1,119 +0,0 @@
----
-name: Python Pylint Code Quality
-
-on:
-  push:
-    branches:
-      - main
-      - releasebranch_*
-  pull_request:
-    branches:
-      - main
-      - releasebranch_*
-
-jobs:
-  pylint:
-    name: Pylint ${{ matrix.pylint-version }}
-
-    concurrency:
-      group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}-${{
-        matrix.pylint-version }}
-      cancel-in-progress: true
-
-    # Using matrix just to get variables which are not environmental variables
-    # and also to sync with other workflows which use matrix.
-    strategy:
-      matrix:
-        include:
-          - os: ubuntu-22.04
-            python-version: '3.10'
-            min-python-version: '3.7'
-            pylint-version: 2.12.2
-
-    runs-on: ${{ matrix.os }}
-
-    steps:
-      - uses: actions/checkout at v3
-
-      - name: Set up Python
-        uses: actions/setup-python at v4
-        with:
-          python-version: ${{ matrix.python-version }}
-
-      - name: Install non-Python dependencies
-        run: |
-          sudo apt-get update -y
-          sudo apt-get install -y wget git gawk findutils
-          xargs -a <(awk '! /^ *(#|$)/' ".github/workflows/apt.txt") -r -- \
-              sudo apt-get install -y --no-install-recommends --no-install-suggests
-
-      - name: Install Python dependencies
-        run: |
-          python -m pip install --upgrade pip
-          pip install -r .github/workflows/python_requirements.txt
-          pip install -r .github/workflows/optional_requirements.txt
-          pip install pylint==${{ matrix.pylint-version }}
-
-      - name: Create installation directory
-        run: |
-          mkdir $HOME/install
-
-      - name: Set number of cores for compilation
-        run: |
-          echo "MAKEFLAGS=-j$(nproc)" >> $GITHUB_ENV
-
-      - name: Build
-        run: .github/workflows/build_${{ matrix.os }}.sh $HOME/install
-
-      - name: Add the bin directory to PATH
-        run: |
-          echo "$HOME/install/bin" >> $GITHUB_PATH
-
-      - name: Test executing of the grass command
-        run: .github/workflows/test_simple.sh
-
-      - name: Run Pylint on grass package
-        run: |
-          export PYTHONPATH=`grass --config python_path`:$PYTHONPATH
-          export LD_LIBRARY_PATH=$HOME/install/grass83/lib:$LD_LIBRARY_PATH
-          cd python
-          pylint --persistent=no --py-version=${{ matrix.min-python-version }} --jobs=$(nproc) grass
-
-      - name: Run Pylint on wxGUI
-        run: |
-          export PYTHONPATH=`grass --config python_path`:$PYTHONPATH
-          export LD_LIBRARY_PATH=$HOME/install/grass83/lib:$LD_LIBRARY_PATH
-          cd gui/wxpython
-          pylint --persistent=no --py-version=${{ matrix.min-python-version }} --jobs=$(nproc) *
-
-      - name: Run Pylint on other files using pytest
-        run: |
-          pip install pytest pytest-pylint
-          export PYTHONPATH=`grass --config python_path`:$PYTHONPATH
-          export LD_LIBRARY_PATH=$HOME/install/grass83/lib:$LD_LIBRARY_PATH
-          pytest --pylint -m pylint --pylint-rcfile=.pylintrc --pylint-jobs=$(nproc) \
-            --pylint-ignore-patterns="${{ env.PylintIgnore }}"
-        env:
-          PylintIgnore: "python/.*,gui/wxpython/.*,doc/.*,man/.*,utils/.*,locale/.*,raster/.*,\
-            imagery/.*,scripts/r.in.wms/wms_drv.py,scripts/g.extension/g.extension.py,\
-            temporal/t.rast.accdetect/t.rast.accdetect.py,temporal/t.rast.accumulate/t.rast.accumulate.py,\
-            scripts/d.rast.edit/d.rast.edit.py"
-
-      - name: Test compiling example modules
-        run: |
-          ( cd doc/raster/r.example/ && make )
-          ( cd doc/vector/v.example/ && make )
-
-      - name: Run Sphinx to check API documentation build
-        run: |
-          pip install sphinx
-          make sphinxdoclib
-          ARCH=$(cat include/Make/Platform.make | grep ^ARCH | cut -d'=' -f2 | xargs)
-          cp -rp dist.$ARCH/docs/html/libpython sphinx-grass
-
-      - name: Make Sphinx documentation available
-        uses: actions/upload-artifact at v3
-        with:
-          name: sphinx-grass
-          path: sphinx-grass
-          retention-days: 3


=====================================
doc/howto_release.md
=====================================
@@ -329,7 +329,7 @@ jumphost (managed by OSGeo-SAC) - see <https://wiki.osgeo.org/wiki/SAC_Service_S
 ```bash
 # Store the source tarball (twice) in (use scp -p FILES grass:):
 USER=neteler
-SERVER1=osgeo7-grass
+SERVER1=osgeo8-grass
 SERVER1DIR=/var/www/code_and_data/grass$MAJOR$MINOR/source/
 SERVER2=osgeo7-download
 SERVER2DIR=/osgeo/download/grass/grass$MAJOR$MINOR/source/


=====================================
include/VERSION
=====================================
@@ -1,4 +1,4 @@
 8
 3
-1RC1
+1
 2023


=====================================
python/grass/script/array.py
=====================================
@@ -210,6 +210,9 @@ class array(numpy.memmap):
         else:
             raise ValueError(_("Invalid kind <%s>") % kind)
 
+        # ensure all array content is written to the file
+        self.flush()
+
         reg = gcore.region(env=self._env)
 
         try:
@@ -315,6 +318,9 @@ class array3d(numpy.memmap):
         else:
             raise ValueError(_("Invalid kind <%s>") % kind)
 
+        # ensure all array content is written to the file
+        self.flush()
+
         reg = gcore.region(True, env=self._env)
 
         try:



View it on GitLab: https://salsa.debian.org/debian-gis-team/grass/-/commit/c86a7f28579b180d6a0bff36589e863b6acfb265

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/grass/-/commit/c86a7f28579b180d6a0bff36589e863b6acfb265
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20231026/9c9e5ee6/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list