[MacPorts] #38421: BeautifulSoup version collision?

MacPorts noreply at macports.org
Mon Mar 18 03:48:42 PDT 2013


#38421: BeautifulSoup version collision?
----------------------------+----------------------------------------
 Reporter:  jens.troeger@…  |      Owner:  macports-tickets@…
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.1.3
 Keywords:  Pyhon           |       Port:  py-lxml, py-beautifulsoup4
----------------------------+----------------------------------------
 I am not sure if this is an actual issue, or my fault of installing
 packages incorrectly.  Although there's nothing wrong with the Port
 itself.

 First, I installed py-beautifulsoup4 in its current version of 4.1.1,
 without the +lxml variant.  Worked just fine and I could run scripts
 against that drop.  Then, some time later, I installed py-lxml 2.3.2 and
 suddenly my scripts broke without me having touched them.

 My suspicion now is that lxml brings its own drop of BeautifulSoup with
 it, based on this file:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2
 /site-packages/beautifulsoup4-4.1.3-py3.2.egg-info/PKG-INFO

 The official MacPorts bs4 is still at 4.1.1.  There seems to be some
 inconsistency here?  Shouldn't installing lxml at least trigger bs4 to be
 rebuilt with the +lxml variant, or remove bs4 from the system, or
 shouldn't both port files be at the same version?  Something is off, I
 would think.

 Cheers!

-- 
Ticket URL: <https://trac.macports.org/ticket/38421>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list