[python] py25-elixir broken
Rasmus Andersson
rasmus at macports.org
Tue Apr 14 08:29:15 PDT 2009
I could temporarily fix this by deactivating py25-sqlalchemy @0.5.2_0
and activating the old py25-sqlalchemy @0.4.7p1_0
Obviously the py25-elixir port is outdated. Support for SQLAlchemy 0.5
first appeared in Elixir 0.6 ("Added support for SQLAlchemy 0.5" –
http://elixir.ematia.de/trac/browser/elixir/tags/0.6.0/CHANGES). That
is; Elixir <0.6 only works with SQLAlchemy <0.5.
On Tue, Apr 14, 2009 at 17:23, Rasmus Andersson <rasmus at macports.org> wrote:
> just did sync + upgrade py25-elixir and it looks like someone upgraded
> py25-sqlalchemy without upgrading/checking dependencies and/or someone
> upgraded py25-elixir and did not test it.
>
> Below is my transcript. Note that openssl could not be installed but
> was forced to anyway. But I guess that is not the core problem, right?
>
> $ sudo port sync
> $ sudo port upgrade py25-elixir
> Password:
> Portfile changed since last build; discarding previous state.
> ---> Fetching python25
> ---> Verifying checksum(s) for python25
> ---> Extracting python25
> ---> Applying patches to python25
> ---> Configuring python25
> ---> Building python25
> ---> Staging python25 into destroot
> ---> Deactivating python25 @2.5.4_0+darwin_9+macosx
> ---> Installing python25 @2.5.4_2+darwin_9+macosx
> ---> Activating python25 @2.5.4_2+darwin_9+macosx
>
> To fully complete your installation and make python 2.5 the default, please run
>
> sudo port install python_select
> sudo python_select python25
>
> ---> Cleaning python25
> ---> Fetching openssl
> ---> Verifying checksum(s) for openssl
> ---> Extracting openssl
> ---> Applying patches to openssl
> ---> Configuring openssl
> ---> Building openssl
> ---> Staging openssl into destroot
> ---> Unable to uninstall openssl 0.9.8k_0, the following ports depend on it:
> ---> wget
> ---> lighttpd
> ---> py25-hashlib
> ---> curl
> ---> nginx
> ---> git-core
> ---> python26
> ---> py25-socket-ssl
> ---> httperf
> Warning: Uninstall forced. Proceeding despite dependencies.
> ---> Deactivating openssl @0.9.8k_0
> ---> Uninstalling openssl @0.9.8k_0
> ---> Installing openssl @0.9.8k_0
> ---> Activating openssl @0.9.8k_0
> ---> Cleaning openssl
> ---> Fetching py25-sqlalchemy
> ---> Attempting to fetch SQLAlchemy-0.5.2.tar.gz from
> http://trd.no.distfiles.macports.org/python
> ---> Verifying checksum(s) for py25-sqlalchemy
> ---> Extracting py25-sqlalchemy
> ---> Configuring py25-sqlalchemy
> ---> Building py25-sqlalchemy
> ---> Staging py25-sqlalchemy into destroot
> ---> Deactivating py25-sqlalchemy @0.4.7p1_0
> ---> Installing py25-sqlalchemy @0.5.2_0
> ---> Activating py25-sqlalchemy @0.5.2_0
> ---> Cleaning py25-sqlalchemy
>
> $ python2.5 myprogram.py
> ...
> from elixir.events import *
> File "/opt/local/lib/python2.5/site-packages/elixir/__init__.py",
> line 28, in <module>
> from elixir.entity import Entity, EntityMeta, EntityDescriptor, \
> File "/opt/local/lib/python2.5/site-packages/elixir/entity.py", line
> 14, in <module>
> from sqlalchemy.orm import Query, MapperExtension,\
> ImportError: cannot import name EXT_PASS
>
> $ port version
> Version: 1.700
>
> $ uname -a
> Darwin apple.spotify.net 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24
> 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
>
--
Rasmus Andersson
More information about the macports-dev
mailing list