lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.biopython: 1.83 -> 1.85

+2 -26
-18
pkgs/development/python-modules/biopython/close_parser_on_time.patch
··· 1 - diff --git a/Bio/SeqIO/SeqXmlIO.py b/Bio/SeqIO/SeqXmlIO.py 2 - index 8fe75ebb728..6758317d05f 100644 3 - --- a/Bio/SeqIO/SeqXmlIO.py 4 - +++ b/Bio/SeqIO/SeqXmlIO.py 5 - @@ -498,11 +498,12 @@ def iterate(self, handle): 6 - if not text: 7 - break 8 - parser.feed(text) 9 - + # Closing the parser ensures that all XML data fed into it are processed 10 - + parser.close() 11 - # We have reached the end of the XML file; 12 - # send out the remaining records 13 - yield from records 14 - records.clear() 15 - - parser.close() 16 - 17 - 18 - class SeqXmlWriter(SequenceWriter):
+2 -8
pkgs/development/python-modules/biopython/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "biopython"; 12 - version = "1.83"; 12 + version = "1.85"; 13 13 pyproject = true; 14 14 15 15 disabled = pythonOlder "3.9"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - hash = "sha256-eOa/t43mMDQDev01/nfLbgqeW2Jwa+z3in2SKxbtg/c="; 19 + hash = "sha256-Xa+rdAWd5OePSfa1aE7drm585G8Jz6BZwdEznoseoKY="; 20 20 }; 21 - 22 - patches = [ 23 - # cherry-picked from https://github.com/biopython/biopython/commit/3f9bda7ef44f533dadbaa0de29ac21929bc0b2f1 24 - # fixes SeqXMLIO parser to process all data. remove on next update 25 - ./close_parser_on_time.patch 26 - ]; 27 21 28 22 build-system = [ setuptools ]; 29 23