Skip to content

Commit

Permalink
python3.pkgs.ciscoconfparse: fix build dependency metadata (#246905)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjni authored Aug 11, 2023
1 parent 32c8912 commit 9b128cb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/python-modules/ciscoconfparse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ buildPythonPackage rec {
];

postPatch = ''
# The line below is in the [build-system] section, which is invalid and
# rejected by PyPA's build tool. It belongs in [project] but upstream has
# had problems with putting that there (see comment in pyproject.toml).
sed -i '/requires-python/d' pyproject.toml
substituteInPlace pyproject.toml \
--replace '"poetry>=1.3.2",' ""
patchShebangs tests
'';

Expand Down

0 comments on commit 9b128cb

Please sign in to comment.