Bas Couwenberg pushed to branch master at Debian GIS Project / flox
Commits: b8e33f37 by Bas Couwenberg at 2023-02-20T14:51:54+01:00 Add patch to not use deprecated distutils module. - - - - - 3 changed files: - debian/changelog - + debian/patches/no-distutils.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +flox (0.6.7-2) UNRELEASED; urgency=medium + + * Team upload. + * Add patch to not use deprecated distutils module. + + -- Bas Couwenberg <[email protected]> Mon, 20 Feb 2023 14:44:40 +0100 + flox (0.6.7-1) unstable; urgency=medium [ Bas Couwenberg ] ===================================== debian/patches/no-distutils.patch ===================================== @@ -0,0 +1,26 @@ +Description: Don't use deprecated distutils module. +Author: Bas Couwenberg <[email protected]> +Forwarded: https://github.com/xarray-contrib/flox/pull/221 + +--- a/tests/__init__.py ++++ b/tests/__init__.py +@@ -1,9 +1,9 @@ + import importlib + from contextlib import contextmanager +-from distutils import version + + import numpy as np + import pandas as pd ++import packaging.version + import pytest + + pd_types = (pd.Index,) +@@ -42,7 +42,7 @@ def LooseVersion(vstring): + # Our development version is something like '0.10.9+aac7bfc' + # This function just ignored the git commit id. + vstring = vstring.split("+")[0] +- return version.LooseVersion(vstring) ++ return packaging.version.Version(vstring) + + + has_dask, requires_dask = _importorskip("dask") ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ 0001-Compatibility-with-Pandas-older-than-1.4.patch +no-distutils.patch View it on GitLab: https://salsa.debian.org/debian-gis-team/flox/-/commit/b8e33f3766c3547219cac16fd75ba1f33e2a3e5c -- View it on GitLab: https://salsa.debian.org/debian-gis-team/flox/-/commit/b8e33f3766c3547219cac16fd75ba1f33e2a3e5c You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
