[Git][debian-gis-team/xarray-safe-rcm][upstream] New upstream version 2026.01.0

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Wed Jan 7 21:38:12 GMT 2026



Antonio Valentino pushed to branch upstream at Debian GIS Project / xarray-safe-rcm


Commits:
1817b58b by Antonio Valentino at 2026-01-07T21:28:12+00:00
New upstream version 2026.01.0
- - - - -


6 changed files:

- .github/workflows/ci.yaml
- .github/workflows/pypi.yaml
- .github/workflows/upstream-dev.yaml
- .pre-commit-config.yaml
- pyproject.toml
- safe_rcm/product/reader.py


Changes:

=====================================
.github/workflows/ci.yaml
=====================================
@@ -22,7 +22,7 @@ jobs:
     outputs:
       triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
     steps:
-      - uses: actions/checkout at v4
+      - uses: actions/checkout at v6
         with:
           fetch-depth: 2
       - uses: xarray-contrib/ci-trigger at v1
@@ -49,7 +49,7 @@ jobs:
 
     steps:
       - name: Checkout the repository
-        uses: actions/checkout at v4
+        uses: actions/checkout at v6
         with:
           # need to fetch all tags to get a correct version
           fetch-depth: 0 # fetch all branches and tags


=====================================
.github/workflows/pypi.yaml
=====================================
@@ -11,9 +11,9 @@ jobs:
     if: github.repository == 'umr-lops/xarray-safe-rcm'
     steps:
       - name: Checkout
-        uses: actions/checkout at v4
+        uses: actions/checkout at v6
       - name: Set up Python
-        uses: actions/setup-python at v5
+        uses: actions/setup-python at v6
         with:
           python-version: "3.x"
       - name: Install dependencies
@@ -27,7 +27,7 @@ jobs:
         run: |
           twine check dist/*
       - name: Upload build artifacts
-        uses: actions/upload-artifact at v4
+        uses: actions/upload-artifact at v6
         with:
           name: packages
           path: dist/*
@@ -45,10 +45,10 @@ jobs:
 
     steps:
       - name: Download build artifacts
-        uses: actions/download-artifact at v4
+        uses: actions/download-artifact at v7
         with:
           name: packages
           path: dist/
 
       - name: Publish to PyPI
-        uses: pypa/gh-action-pypi-publish at 15c56dba361d8335944d31a2ecd17d700fc7bcbc
+        uses: pypa/gh-action-pypi-publish at ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e


=====================================
.github/workflows/upstream-dev.yaml
=====================================
@@ -21,7 +21,7 @@ jobs:
     outputs:
       triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
     steps:
-      - uses: actions/checkout at v4
+      - uses: actions/checkout at v6
         with:
           fetch-depth: 2
       - uses: xarray-contrib/ci-trigger at v1.2
@@ -55,7 +55,7 @@ jobs:
 
     steps:
       - name: checkout the repository
-        uses: actions/checkout at v4
+        uses: actions/checkout at v6
         with:
           # need to fetch all tags to get a correct version
           fetch-depth: 0 # fetch all branches and tags


=====================================
.pre-commit-config.yaml
=====================================
@@ -1,36 +1,36 @@
 ci:
-  autoupdate_schedule: weekly
+  autoupdate_schedule: monthly
 
 # https://pre-commit.com/
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v5.0.0
+    rev: v6.0.0
     hooks:
       - id: trailing-whitespace
       - id: end-of-file-fixer
       - id: check-docstring-first
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.7.3
+    rev: v0.14.7
     hooks:
       - id: ruff
         args: [--fix]
   - repo: https://github.com/psf/black-pre-commit-mirror
-    rev: 24.10.0
+    rev: 25.11.0
     hooks:
       - id: black-jupyter
   - repo: https://github.com/keewis/blackdoc
-    rev: v0.3.9
+    rev: v0.4.6
     hooks:
       - id: blackdoc
-        additional_dependencies: ["black==24.10.0"]
+        additional_dependencies: ["black==25.11.0"]
       - id: blackdoc-autoupdate-black
   - repo: https://github.com/kynan/nbstripout
-    rev: 0.8.0
+    rev: 0.8.2
     hooks:
       - id: nbstripout
         args: [--extra-keys=metadata.kernelspec metadata.language_info.version]
   - repo: https://github.com/rbubley/mirrors-prettier
-    rev: v3.3.3
+    rev: v3.7.3
     hooks:
       - id: prettier
         args: [--cache-location=.prettier_cache]
@@ -42,6 +42,6 @@ repos:
       - id: taplo-lint
         args: [--no-schema]
   - repo: https://github.com/abravalheri/validate-pyproject
-    rev: v0.23
+    rev: v0.24.1
     hooks:
       - id: validate-pyproject


=====================================
pyproject.toml
=====================================
@@ -12,6 +12,7 @@ dependencies = [
   "xmlschema",
   "rioxarray",
   "fsspec",
+  "pandas",
   "exceptiongroup; python_version < '3.11'",
 ]
 dynamic = ["version"]


=====================================
safe_rcm/product/reader.py
=====================================
@@ -1,3 +1,4 @@
+import pandas as pd
 import xarray as xr
 from tlz.dicttoolz import keyfilter, merge, merge_with, valfilter, valmap
 from tlz.functoolz import compose_left, curry, juxt
@@ -55,7 +56,7 @@ def read_product(mapper, product_path):
             "f": compose_left(
                 curry(transformers.extract_dataset)(dims="timeStamp"),
                 lambda ds: ds.assign_coords(
-                    {"timeStamp": ds["timeStamp"].astype("datetime64")}
+                    {"timeStamp": pd.to_datetime(ds["timeStamp"].values).as_unit("ns")}
                 ),
             ),
         },
@@ -64,7 +65,7 @@ def read_product(mapper, product_path):
             "f": compose_left(
                 curry(transformers.extract_dataset)(dims="timeStamp"),
                 lambda ds: ds.assign_coords(
-                    {"timeStamp": ds["timeStamp"].astype("datetime64")}
+                    {"timeStamp": pd.to_datetime(ds["timeStamp"].values).as_unit("ns")}
                 ),
             ),
         },



View it on GitLab: https://salsa.debian.org/debian-gis-team/xarray-safe-rcm/-/commit/1817b58b76f256dcb34b393246320f71de26004d

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/xarray-safe-rcm/-/commit/1817b58b76f256dcb34b393246320f71de26004d
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/20260107/b43a7002/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list