Nilesh Patra pushed to branch master at Debian Med / patsy
Commits: caf415e3 by Nilesh Patra at 2021-02-16T00:01:27+05:30 Use collections.abc to remove deprecation warning - - - - - f5bff60e by Nilesh Patra at 2021-02-16T00:02:02+05:30 Add myself to uploaders - - - - - 8219e757 by Nilesh Patra at 2021-02-16T00:02:27+05:30 Declare compliance with policy 4.5.1 - - - - - 204794a1 by Nilesh Patra at 2021-02-16T00:07:41+05:30 Bump watch version to 4 - - - - - bfff7b74 by Nilesh Patra at 2021-02-16T00:08:04+05:30 Update changelog - - - - - 5 changed files: - debian/changelog - debian/control - debian/patches/series - + debian/patches/use-collections.abc.patch - debian/watch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,13 @@ +patsy (0.5.1-3) unstable; urgency=medium + + * Use collections.abc to remove deprecation warning + (Closes: #982612) + * Add myself to uploaders + * Declare compliance with policy 4.5.1 + * Bump watch version to 4 + + -- Nilesh Patra <[email protected]> Tue, 16 Feb 2021 00:02:49 +0530 + patsy (0.5.1-2) unstable; urgency=medium * Team Upload. ===================================== debian/control ===================================== @@ -1,7 +1,8 @@ Source: patsy Maintainer: Debian Med Packaging Team <[email protected]> Uploaders: Yaroslav Halchenko <[email protected]>, - Michael Hanke <[email protected]> + Michael Hanke <[email protected]>, + Nilesh Patra <[email protected]> Section: python Priority: optional Build-Depends: debhelper-compat (= 13), @@ -16,7 +17,7 @@ Build-Depends: debhelper-compat (= 13), python3-matplotlib, python3-sphinx, ipython3, -Standards-Version: 4.5.0 +Standards-Version: 4.5.1 Vcs-Browser: https://salsa.debian.org/med-team/patsy Vcs-Git: https://salsa.debian.org/med-team/patsy.git Homepage: https://github.com/pydata/patsy ===================================== debian/patches/series ===================================== @@ -2,3 +2,4 @@ up_six_PY print3.patch Allow-warning-in-ipython.patch Remove-external-image-links.patch +use-collections.abc.patch ===================================== debian/patches/use-collections.abc.patch ===================================== @@ -0,0 +1,20 @@ +Description: Replace collections with collections.abc at needed places for python 3.10 compatibility +Author: Nilesh Patra <[email protected]> +Last-Update: 2021-02-16 +--- a/patsy/constraint.py ++++ b/patsy/constraint.py +@@ -10,7 +10,13 @@ + __all__ = ["LinearConstraint"] + + import re +-from collections import Mapping ++ ++import collections ++if hasattr(collections, "abc"): ++ from collections.abc import Mapping ++else: ++ from collections import Mapping ++ + import six + import numpy as np + from patsy import PatsyError ===================================== debian/watch ===================================== @@ -1,3 +1,3 @@ -version=3 +version=4 opts="dversionmangle=s/.dfsg$//,uversionmangle=s/v//,filenamemangle=s/.*\/(.*)/patsy-$1\.tar\.gz/" \ https://github.com/pydata/patsy/tags .*archive/v?([\d\.rc]+).tar.gz View it on GitLab: https://salsa.debian.org/med-team/patsy/-/compare/c06ca2055c8d3987a4b89f8b835a0e40c981553a...bfff7b747d977004776cf5a581df5e8722a802f4 -- View it on GitLab: https://salsa.debian.org/med-team/patsy/-/compare/c06ca2055c8d3987a4b89f8b835a0e40c981553a...bfff7b747d977004776cf5a581df5e8722a802f4 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
