[Git][debian-gis-team/pyresample][master] 5 commits: New upstream version 1.28.4

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Wed Jul 3 07:23:24 BST 2024



Antonio Valentino pushed to branch master at Debian GIS Project / pyresample


Commits:
fa030633 by Antonio Valentino at 2024-07-03T05:50:29+00:00
New upstream version 1.28.4
- - - - -
3eb94a1b by Antonio Valentino at 2024-07-03T05:51:11+00:00
Update upstream source from tag 'upstream/1.28.4'

Update to upstream version '1.28.4'
with Debian dir b78581820bb0e541f056f405a9de1c5b5e701f3f
- - - - -
eb22af60 by Antonio Valentino at 2024-07-03T05:53:29+00:00
New upstream release

- - - - -
84f6c53c by Antonio Valentino at 2024-07-03T05:54:58+00:00
Refresh all patches

- - - - -
aad5de25 by Antonio Valentino at 2024-07-03T05:55:17+00:00
Set distribution to unstable

- - - - -


9 changed files:

- .github/workflows/ci.yaml
- .github/workflows/deploy.yaml
- .pre-commit-config.yaml
- CHANGELOG.md
- debian/changelog
- debian/patches/0005-Compatibility-with-numpy-2.0.patch
- pyproject.toml
- pyresample/test/test_dask_ewa.py
- pyresample/version.py


Changes:

=====================================
.github/workflows/ci.yaml
=====================================
@@ -60,7 +60,6 @@ jobs:
           git+https://github.com/storpipfugl/pykdtree \
           git+https://github.com/dask/dask \
           git+https://github.com/dask/distributed \
-          git+https://github.com/zarr-developers/zarr \
           git+https://github.com/Unidata/cftime \
           git+https://github.com/mapbox/rasterio \
           git+https://github.com/pyproj4/pyproj \


=====================================
.github/workflows/deploy.yaml
=====================================
@@ -44,7 +44,7 @@ jobs:
           - os: windows-2019
             cibw_archs: "AMD64 ARM64"
             artifact_name: "win"
-          - os: macos-11
+          - os: macos-12
             cibw_archs: "x86_64 arm64"
             artifact_name: "mac"
           - os: "ubuntu-20.04"
@@ -66,9 +66,9 @@ jobs:
           platforms: all
 
       - name: Build wheels
-        uses: pypa/cibuildwheel at v2.17.0
+        uses: pypa/cibuildwheel at v2.19.1
         env:
-          CIBW_SKIP: "cp36-* cp37-* cp38-* pp* *i686 *-musllinux* cp312-*"
+          CIBW_SKIP: "cp36-* cp37-* cp38-* pp* *i686 *-musllinux*"
           CIBW_ARCHS: "${{ matrix.cibw_archs }}"
           CIBW_TEST_COMMAND: "python -c \"import pyresample; assert 'unknown' not in pyresample.__version__, 'incorrect version found'\""
           CIBW_TEST_SKIP: "*_arm64 *_universal2:arm64"
@@ -112,7 +112,7 @@ jobs:
           path: dist
       - name: Publish package to PyPI
         if: github.event.action != 'published'
-        uses: pypa/gh-action-pypi-publish at v1.8.14
+        uses: pypa/gh-action-pypi-publish at v1.9.0
         with:
           user: __token__
           password: ${{ secrets.test_pypi_password }}
@@ -149,7 +149,7 @@ jobs:
           path: dist
       - name: Publish package to PyPI
         if: github.event.action == 'published'
-        uses: pypa/gh-action-pypi-publish at v1.8.14
+        uses: pypa/gh-action-pypi-publish at v1.9.0
         with:
           user: __token__
           password: ${{ secrets.pypi_password }}


=====================================
.pre-commit-config.yaml
=====================================
@@ -2,7 +2,7 @@ exclude: '^$'
 fail_fast: false
 repos:
 - repo: https://github.com/astral-sh/ruff-pre-commit
-  rev: 'v0.3.5'
+  rev: 'v0.4.7'
   hooks:
   - id: ruff
 # once https://github.com/astral-sh/ruff/issues/2402 is fully resolved then we can get rid of flake8:
@@ -11,7 +11,7 @@ repos:
   hooks:
   - id: flake8
 - repo: https://github.com/pre-commit/pre-commit-hooks
-  rev: v4.5.0
+  rev: v4.6.0
   hooks:
     - id: trailing-whitespace
     - id: end-of-file-fixer
@@ -23,7 +23,7 @@ repos:
     - id: bandit
       args: [--ini, .bandit]
 - repo: https://github.com/pre-commit/mirrors-mypy
-  rev: 'v1.9.0'  # Use the sha / tag you want to point at
+  rev: 'v1.10.0'  # Use the sha / tag you want to point at
   hooks:
     - id: mypy
       additional_dependencies:


=====================================
CHANGELOG.md
=====================================
@@ -1,3 +1,18 @@
+## Version 1.28.4 (2024/07/01)
+
+### Pull Requests Merged
+
+#### Bugs fixed
+
+* [PR 603](https://github.com/pytroll/pyresample/pull/603) - Add Python 3.12 wheels and bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0
+
+#### Features added
+
+* [PR 598](https://github.com/pytroll/pyresample/pull/598) - Add NPY to ruff rules
+
+In this release 2 pull requests were closed.
+
+
 ## Version 1.28.3 (2024/04/15)
 
 ### Issues Closed


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+pyresample (1.28.4-1) unstable; urgency=medium
+
+  * New upstream release.
+  * debian/patches:
+    - Refresh all patches.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Wed, 03 Jul 2024 05:55:02 +0000
+
 pyresample (1.28.3-2) unstable; urgency=medium
 
   [ Bas Couwenberg ]


=====================================
debian/patches/0005-Compatibility-with-numpy-2.0.patch
=====================================
@@ -8,7 +8,7 @@ Forwarded: not-needed
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/pyproject.toml b/pyproject.toml
-index 75ce58c..dc50fd1 100644
+index d426912..9beac6f 100644
 --- a/pyproject.toml
 +++ b/pyproject.toml
 @@ -1,5 +1,5 @@


=====================================
pyproject.toml
=====================================
@@ -3,20 +3,22 @@ requires = ["setuptools", "wheel", "numpy>=2.0.0rc1,<2.3", "Cython>=3", "version
 build-backend = "setuptools.build_meta"
 
 [tool.ruff]
+line-length = 120
+exclude = ["versioneer.py", "pyresample/version.py"]
+
+[tool.ruff.lint]
 # See https://docs.astral.sh/ruff/rules/
-select = ["E", "W", "B", "D", "T10", "C90"]
+select = ["E", "W", "B", "D", "T10", "C90", "NPY"]
 # Remove D416 when all docstrings have been converted to google-style
 ignore = ["D107", "D416"]
-line-length = 120
-exclude = ["versioneer.py", "pyresample/version.py"]
 
-[tool.ruff.per-file-ignores]
+[tool.ruff.lint.per-file-ignores]
 "pyresample/test/*.py" = ["D102", "S101"]  # assert allowed in tests
 
-[tool.ruff.pydocstyle]
+[tool.ruff.lint.pydocstyle]
 convention = "google"
 
-[tool.ruff.mccabe]
+[tool.ruff.lint.mccabe]
 max-complexity = 10
 
 [tool.mypy]


=====================================
pyresample/test/test_dask_ewa.py
=====================================
@@ -343,7 +343,7 @@ class TestDaskEWAResampler:
                                                 maximum_weight_mode=maximum_weight_mode)
         legacy_arr = legacy_data.compute()
 
-        np.testing.assert_allclose(new_arr, legacy_arr)
+        np.testing.assert_allclose(new_arr, legacy_arr, atol=1e-6)
 
     @pytest.mark.parametrize(
         ('input_shape', 'input_dims', 'as_np'),


=====================================
pyresample/version.py
=====================================
@@ -26,9 +26,9 @@ def get_keywords() -> Dict[str, str]:
     # setup.py/versioneer.py will grep for the variable names, so they must
     # each be defined on a line of their own. _version.py will just call
     # get_keywords().
-    git_refnames = " (HEAD -> main, tag: v1.28.3)"
-    git_full = "b3214579cfa372599d2c7d9c456bdaead1e007fd"
-    git_date = "2024-04-15 14:11:28 -0500"
+    git_refnames = " (tag: v1.28.4)"
+    git_full = "8944215aab82ba2e941d4dfa4141ef23ac63ee2b"
+    git_date = "2024-07-01 15:42:30 -0500"
     keywords = {"refnames": git_refnames, "full": git_full, "date": git_date}
     return keywords
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/pyresample/-/compare/f250affb5cd311746c24fa46f355567857fed128...aad5de25a3ee89c46a8293a9763d6e5c99ae8c96

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyresample/-/compare/f250affb5cd311746c24fa46f355567857fed128...aad5de25a3ee89c46a8293a9763d6e5c99ae8c96
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/20240703/fc5f55b1/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list