Opened 16 years ago

Closed 15 years ago

#17470 closed defect (fixed)

py25-biopython should depend on py25-hashlib

Reported by: sillyfox@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: py25-biopython

Description

while installing py25-biopython, i ran into the following error:

  File "/private/tmp/foo.py", line 14, in <module>
    from Bio.PDB.StructureBuilder import *
  File "/opt/local/lib/python2.5/site-packages/Bio/PDB/__init__.py", line 31, in <module>
    from Polypeptide import PPBuilder, CaPPBuilder, is_aa, standard_aa_names
  File "/opt/local/lib/python2.5/site-packages/Bio/PDB/Polypeptide.py", line 11, in <module>
    from Bio.SCOP.Raf import to_one_letter_code
  File "/opt/local/lib/python2.5/site-packages/Bio/SCOP/__init__.py", line 47, in <module>
    from Bio import SeqIO
  File "/opt/local/lib/python2.5/site-packages/Bio/SeqIO/__init__.py", line 152, in <module>
    import InsdcIO #EMBL and GenBank
  File "/opt/local/lib/python2.5/site-packages/Bio/SeqIO/InsdcIO.py", line 7, in <module>
    from Bio.GenBank.Scanner import GenBankScanner, EmblScanner
  File "/opt/local/lib/python2.5/site-packages/Bio/GenBank/__init__.py", line 53, in <module>
    from Bio.EUtils import DBIds, DBIdsClient
  File "/opt/local/lib/python2.5/site-packages/Bio/EUtils/DBIdsClient.py", line 86, in <module>
    import parse, Mixins, Config, ThinClient, Datatypes
  File "/opt/local/lib/python2.5/site-packages/Bio/EUtils/ThinClient.py", line 531, in <module>
    import urllib, urllib2, cStringIO
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py", line 91, in <module>
    import hashlib
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/hashlib.py", line 133, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5

installing py25-hashlib solved the problem.

Change History (3)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mww@…
Port: py25-biopython added
Priority: LowNormal

Assigning to maintainer.

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

python25 2.5.4_5 now integrates hashlib (and others) instead of being split-out to py25-hashlib (see ticket #12369).

Note: See TracTickets for help on using tickets.