summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorMatthew "strager" Glazar <strager.nds@gmail.com>2023-03-18 00:53:44 -0700
committerAustin Seipp <aseipp@pobox.com>2023-03-18 15:17:53 -0500
commitc60afb9cbe3390e7b57f1dd553774e79864cea4d (patch)
treea510ca95c24b04c974934ba19e5d9ef59823798c /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent2956bcc414737db2cde39868f41ec04052d110df (diff)
sapling: fix build
Nixpkgs commit 451c6321 upgraded setuptools from version 65.0.3 to version 67.4.0. This upgrade introduced a breaking change in setuptools [1] which causes the Sapling package's build to fail: setuptools.extern.packaging.version.InvalidVersion: Invalid version: '0.2.20230124-180750-hf8cd450a' This is an upstream issue [2]. For now, work around this issue in Nixpkgs by truncating Sapling's version number. Before 451c6321: $ nix-env -q sapling sapling-0.2.20230228-144002-h9440b05e $ sl --version Sapling 0.2.20230228-144002-h9440b05e After this patch: $ nix-env -q sapling sapling-0.2.20230228-144002-h9440b05e $ sl --version Sapling 0.2.20230228 Refs: 451c63214766d3bb8d078620cff4dc74463c5bc8 [1] https://github.com/pypa/setuptools/blob/be6c0218bcba78dbd4ea0b5a8bb9acd5d5306240/CHANGES.rst#v6600 [2] https://github.com/facebook/sapling/issues/571
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions