python3Packages.pyowm: drop outdated patching
Version 2.10 relaxed the requirement for geojson from
`geojson>=2.3.0,<2.4` to `geojson>=2.3.0,<3`. Remove the postPatch hook
that adjusted this requirement when it broke in nixpkgs.
commitc15aff9fa435087cea94970957f35d05d46f9270
authorLancelot SIX <lsix@lancelotsix.com>
dateThu 22 Aug 2019, 14:53 (7 years ago)
parent2798da0
pkgs/development/python-modules/pyowm/default.nix+1−2
@@ -16,8 +16,7 @@ buildPythonPackage rec {
1616 # This may actually break the package.
1717 postPatch = ''
1818 substituteInPlace setup.py \
19− --replace "requests>=2.18.2,<2.19" "requests" \
20− --replace "geojson>=2.3.0,<2.4" "geojson<2.5,>=2.3.0"
19+ --replace "requests>=2.18.2,<2.19" "requests"
2120 '';
2221
2322 # No tests in archive