Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 457006 - dev-python/sqlalchemy-0.7.9 requires Python >=2.7, i.e. support for 2.6 is broken
Summary: dev-python/sqlalchemy-0.7.9 requires Python >=2.7, i.e. support for 2.6 is br...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-12 22:13 UTC by Sebastian Pipping
Modified: 2013-05-07 18:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (dev-python:sqlalchemy-0.7.9:20130212-173816.log,1.94 KB, text/plain)
2013-02-12 22:13 UTC, Sebastian Pipping
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2013-02-12 22:13:29 UTC
Created attachment 338732 [details]
Build log

[..]
 * Building of dev-python/sqlalchemy-0.7.9 with CPython 2.6...
python2.6 setup.py --with-cextensions build -b build-2.6
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --with-cextensions not recognized
[..]
Comment 1 Sebastian Pipping gentoo-dev 2013-02-12 22:23:55 UTC
It just turned out this is due to a missing dependency on

  dev-python/setuptools[python_target_python2_6]

and I was previously mixing explicit

  USE_PYTHON="2.6 2.7 3.1 3.2"
  (relevant to sqlalchemy)

with implicit

  PYTHON_TARGETS="python2_7 python3_1"
  (relevant to setuptools)

This hit me on sys-libs/cracklib and dev-python/urwid, too.  Any idea how to fix this?
Comment 2 Jan Matějka (RETIRED) gentoo-dev 2013-05-07 13:17:25 UTC
I don't think this can be fixed in ebuilds other than migrating to EAPI=5, which is available for >=setuptools-0.6.30-r1
Comment 3 Mike Gilbert gentoo-dev 2013-05-07 18:06:10 UTC
Yeah, this should be fixed in >=dev-python/sqlalchemy-0.7.10.