Merge pull request #287112 from dotlambda/dateutil-python312
python311Packages.python-dateutil: avoid DeprecationWarning on Python 3.12
This commit is contained in:
commit
4c7e59780d
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
, six
|
, six
|
||||||
}:
|
}:
|
||||||
|
@ -14,6 +15,15 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-ASPKzBYnrhnd88J6XeW9Z+5FhvvdZEDZdI+Ku0g9PoY=";
|
hash = "sha256-ASPKzBYnrhnd88J6XeW9Z+5FhvvdZEDZdI+Ku0g9PoY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# https://github.com/dateutil/dateutil/pull/1285
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/dateutil/dateutil/commit/f2293200747fb03d56c6c5997bfebeabe703576f.patch";
|
||||||
|
relative = "src";
|
||||||
|
hash = "sha256-BVEFGV/WGUz9H/8q+l62jnyN9VDnoSR71DdL+LIkb0o=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ six ];
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user