[Git][debian-gis-team/pyninjotiff][master] 6 commits: New upstream version 0.4.1

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sun Aug 10 17:42:01 BST 2025



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


Commits:
d430250c by Antonio Valentino at 2025-08-09T08:58:40+00:00
New upstream version 0.4.1
- - - - -
acb41c0b by Antonio Valentino at 2025-08-09T08:58:41+00:00
Update upstream source from tag 'upstream/0.4.1'

Update to upstream version '0.4.1'
with Debian dir 012308eae913fbf7a254416f7bb0bfdc81340616
- - - - -
b2d6c986 by Antonio Valentino at 2025-08-09T08:59:10+00:00
New upstream release

- - - - -
3259d386 by Antonio Valentino at 2025-08-09T09:01:54+00:00
Update dependencies

- - - - -
8ecab788 by Antonio Valentino at 2025-08-09T09:02:49+00:00
Update dates in d/copyright

- - - - -
3ee15f13 by Antonio Valentino at 2025-08-09T09:04:46+00:00
Set distribution to update

- - - - -


9 changed files:

- .github/workflows/ci.yaml
- .github/workflows/deploy-sdist.yaml
- + .github/workflows/test-deploy-sdist.yaml
- + CHANGELOG.md
- debian/changelog
- debian/control
- debian/copyright
- − pyninjotiff/version.py
- pyproject.toml


Changes:

=====================================
.github/workflows/ci.yaml
=====================================
@@ -9,7 +9,7 @@ jobs:
       fail-fast: true
       matrix:
         os: ["ubuntu-latest"]
-        python-version: ["3.7", "3.8", "3.9"]
+        python-version: ["3.11", "3.12", "3.13"]
 
     env:
       PYTHON_VERSION: ${{ matrix.python-version }}
@@ -18,24 +18,24 @@ jobs:
 
     steps:
       - name: Checkout source
-        uses: actions/checkout at v2
+        uses: actions/checkout at v3
 
       - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python at v2
+        uses: actions/setup-python at v3
         with:
           python-version: ${{ matrix.python-version }}
 
-      - name: Install Poetry
-        uses: abatilo/actions-poetry at v2.0.0
-
       - name: Install dependencies
-        run: poetry install
+        run: |
+          python -m pip install --upgrade pip
+          python -m pip install pytest pytest-cov
+          python -m pip install -e .
 
       - name: Run pytest
-        run: poetry run pytest --cov=pyninjotiff pyninjotiff/tests --cov-report=xml
+        run: pytest --cov=pyninjotiff pyninjotiff/tests --cov-report=xml
 
       - name: Upload unittest coverage to Codecov
-        uses: codecov/codecov-action at v1
+        uses: codecov/codecov-action at v4.0.1
         with:
           flags: unittests
           file: ./coverage.xml


=====================================
.github/workflows/deploy-sdist.yaml
=====================================
@@ -16,12 +16,5 @@ jobs:
       - name: Install Poetry
         uses: abatilo/actions-poetry at v2.0.0
 
-      - name: Create sdist and wheel
-        run: poetry build
-
-      - name: Publish package to PyPI
-        if: github.event.action == 'published'
-        uses: pypa/gh-action-pypi-publish at v1.4.1
-        with:
-          user: __token__
-          password: ${{ secrets.pypi_password }}
+      - name: Build and publish
+        run: poetry publish --build -u __token__ -p ${{ secrets.pypi_password }}


=====================================
.github/workflows/test-deploy-sdist.yaml
=====================================
@@ -0,0 +1,21 @@
+name: Test deploy sdist
+
+on:
+  - push
+
+jobs:
+  test:
+    runs-on: ubuntu-latest
+
+    steps:
+      - name: Checkout source
+        uses: actions/checkout at v2
+
+      - name: Install Poetry
+        uses: abatilo/actions-poetry at v2.0.0
+
+      - name: Setup test pypi repo
+        run: poetry config repositories.test https://test.pypi.org/legacy/
+
+      - name: Build and publish
+        run: poetry publish --build --repository test -u __token__ -p ${{ secrets.test_pypi_password }}


=====================================
CHANGELOG.md
=====================================
@@ -0,0 +1,13 @@
+## Version 0.4.1 (2025/07/21)
+
+
+### Pull Requests Merged
+
+#### Features added
+
+* [PR 35](https://github.com/pytroll/pyninjotiff/pull/35) - Update python and dask versions
+* [PR 30](https://github.com/pytroll/pyninjotiff/pull/30) - Add test deployment to pypi
+
+In this release 2 pull requests were closed.
+
+


=====================================
debian/changelog
=====================================
@@ -1,9 +1,15 @@
-pyninjotiff (0.4.0-5) UNRELEASED; urgency=medium
+pyninjotiff (0.4.1-1) unstable; urgency=medium
 
-  * Team upload.
+  [ Bas Couwenberg ]
   * Bump Standards-Version to 4.7.2, no changes.
 
- -- Bas Couwenberg <sebastic at debian.org>  Thu, 20 Mar 2025 06:18:17 +0100
+  [ Antonio Valentino ]
+  * New upstream release.
+  * debian/control:
+    - Replace dependency on poetry with hatchling.
+  * Update dates in d/copyright.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 09 Aug 2025 09:04:19 +0000
 
 pyninjotiff (0.4.0-4) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -12,9 +12,10 @@ Build-Depends: debhelper-compat (= 13),
                pybuild-plugin-pyproject,
                python3-all,
                python3-dask,
+               python3-hatchling,
+               python3-hatch-vcs,
                python3-matplotlib,
                python3-numpy,
-               python3-poetry-core,
                python3-pyproj,
                python3-pyresample,
                python3-pytest <!nocheck>,


=====================================
debian/copyright
=====================================
@@ -14,7 +14,7 @@ Copyright: 2008-2014, Christoph Gohlke
 License: BSD-3-clause
 
 Files: debian/*
-Copyright: 2018-2024, Antonio Valentino <antonio.valentino at tiscali.it>
+Copyright: 2018-2025, Antonio Valentino <antonio.valentino at tiscali.it>
 License: GPL-3+
 
 License: GPL-3+


=====================================
pyninjotiff/version.py deleted
=====================================
@@ -1,25 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-# Copyright (c) 2017 Martin Raspaud
-
-# Author(s):
-
-#   Martin Raspaud <martin.raspaud at smhi.se>
-
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-"""Version file."""
-
-__version__ = "v0.3.0"


=====================================
pyproject.toml
=====================================
@@ -1,9 +1,10 @@
-[tool.poetry]
+[project]
 name = "pyninjotiff"
-version = "0.3.0"
+dynamic = ["version"]
 description = "Python Ninjo TIFF writing library"
-authors = ["Martin Raspaud <martin.raspaud at smhi.se>"]
-license = "GPLv3"
+authors = [ { name = "Martin Raspaud", email = "martin.raspaud at smhi.se" } ]
+license = { text = "GPLv3" }
+requires-python = ">=3.11"
 classifiers = [
     "Topic :: Software Development :: Libraries :: Python Modules",
     "Development Status :: 5 - Production/Stable",
@@ -13,23 +14,24 @@ classifiers = [
     "Programming Language :: Python",
     "Topic :: Scientific/Engineering"
 ]
+dependencies = [
+    "numpy >=1.6",
+    "pyproj >=3.2.1",
+    "pyresample >=1.21.1",
+    "dask >=2024.9.0",
+    "xarray >=0.19.0",
+    "trollimage >=1.15.1",
+]
 
-[tool.poetry.dependencies]
-python = "^3.7"
-numpy = ">=1.6"
-pyproj = "^3.2.1"
-pyresample = "^1.21.1"
-dask = {extras = ["array"], version = "^2021.9.1"}
-xarray = "^0.19.0"
-trollimage = "^1.15.1"
-
-[tool.poetry.dev-dependencies]
-pytest = "^5.2"
-pytest-cov = "^3.0.0"
+[project.optional-dependencies]
+dev = ['pytest', 'pre-commit', 'pytest-cov']
 
 [build-system]
-requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
-build-backend = "poetry.core.masonry.api"
+requires = ["hatchling", "hatch-vcs"]
+build-backend = "hatchling.build"
+
+[tool.hatch.version]
+source = "vcs"
 
-[tool.poetry-dynamic-versioning]
-enable = true
+[tool.hatch.build.hooks.vcs]
+version-file = "pyninjotiff/version.py"



View it on GitLab: https://salsa.debian.org/debian-gis-team/pyninjotiff/-/compare/459f473ec43f85b95d7161c81c7e2b944e6aaee4...3ee15f13b4f9d9df984b115e027be591e09cd2fa

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyninjotiff/-/compare/459f473ec43f85b95d7161c81c7e2b944e6aaee4...3ee15f13b4f9d9df984b115e027be591e09cd2fa
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/20250810/349aad3d/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list