Change:
To make sure that we are on the same page: Kernel: System: Nix version: Nixpkgs version: broke legacy packages (only tested with the -set). Multiple options to solve this: revert the commit (an update will eventually have to be done) make sure no-one depends on sqlalchemy legacy versions (this would be the best choice, but can require a big amount of work) re-introduce an outdated version only used by legacy version (I’ll prepare a PR shortly that follows this path) cc
To be complete, the build problem is a test failure: I also checked, we cannot downgrade sqlite only for few pythonPackages, the entire python (and package set) have to be changed. Any preferred way to go?
(We should check if we still need this version, have it removed locally for virtmanager, virtinst as it isn't used, but haven't had the time to push that)
Yes, this is the preferred way to go. I began that but did not finish it yet, and it impacts some important parts (it causes xen to fail) I would prefer not to break because of unsufficient testing from me. This is in progress but could require some time to complete.
FYI xen already fails on
FYI: I switched away from sqlalchemy7 in yesterday.
Apart from virtinst, acd_cli, beaker, coilmq, and geeknote are the only revdeps of sqlalchemy7, as far as I can tell.
I openned to do some cleanup on sqlalchemy7. There still is that explicitly require . The same work will have to be done for and .
This should have remained open.
Using an older version of sqlite requires overriding the derivations of the interpreters.
See

Discussion:
}; pythonPath = with pythonPackages; <del> [ setuptools eventlet greenlet gflags netaddr sqlalchemy7 carrot routes </del> <ins> [ setuptools eventlet greenlet gflags netaddr carrot routes </ins> PasteDeploy m2crypto ipy twisted sqlalchemy_migrate distutils_extra simplejson readline glanceclient cheetah lockfile httplib2 # !!! should libvirt be a build-time dependency?  Note that

}); beaker = buildPythonPackage rec { <del> name = "Beaker-1.7.0"; disabled = isPy3k; </del> <ins> name = "Beaker-${version}"; version = "1.8.0"; </ins> <del> src = pkgs.fetchurl { url = "http://pypi.python.org/packages/source/B/Beaker/${name}.tar.gz"; sha256 = "0vv4y22b3ly1212n9nnhgvc8yz32adlfl7w7s1wj0i5srpjcgvlq"; </del> <ins> # The pypy release do not contains the tests src = pkgs.fetchFromGitHub { owner = "bbangert"; repo = "beaker"; rev = "${version}"; sha256 = "17yfr7a307n8rdl09was4j60xqk2s0hk0hywdkigrpj4qnw0is7g"; </ins> }; buildInputs = <del> [ self.sqlalchemy7 self.pycryptopp self.nose </del> <ins> [ self.nose </ins> self.mock self.webtest ]; <del> # http://hydra.nixos.org/build/4511591/log/raw doCheck = false; </del> <ins> propagatedBuildInputs = [ self.sqlalchemy self.pycrypto ] ++ optionals (isPy26 || isPy27) [ self.funcsigs self.pycryptopp ]; </ins> meta = { <ins> description = "A Session and Caching library with WSGI Middleware"; </ins> maintainers = with maintainers; [ garbas iElectric ]; platforms = platforms.all; };

coilmq = buildPythonPackage (rec { <del> name = "coilmq-0.6.1"; </del> <ins> name = "CoilMQ-${version}"; version = "1.0.0"; </ins> src = pkgs.fetchurl { <del> url = "http://pypi.python.org/packages/source/C/CoilMQ/CoilMQ-0.6.1.tar.gz"; sha256 = "9755733bdae33a9d87630232d166a7da2382f68c2cffb3bb81503806e8d310cb"; </del> <ins> url = "http://pypi.python.org/packages/source/C/CoilMQ/${name}.tar.gz"; sha256 = "0wwa6fsqw1mxsryvgp0yrdjil8axyj0kslzi7lr45cnhgp5ab375"; </ins> }; <del> propagatedBuildInputs = with self; [ self.stompclient ]; </del> <ins> propagatedBuildInputs = with self; [ stompclient pythondaemon redis pid]; </ins> <del> preConfigure = '' sed -i '/distribute/d' setup.py ''; </del> <ins> buildInputs = with self; [ pytest six click coverage sqlalchemy ]; </ins> <del> buildInputs = with self; [ self.coverage self.sqlalchemy7 ]; # ValueError: Could not parse auth file: # /tmp/nix-build-.../CoilMQ-0.6.1/coilmq/tests/resources/auth.ini </del> <ins> # The teste data is not included in the distribution </ins> doCheck = false; meta = {

}; }; <ins> pid = buildPythonPackage rec { name = "pid-${version}"; version = "2.0.1"; src = pkgs.fetchurl { url = "https://pypi.python.org/packages/source/p/pid/${name}.tar.gz"; sha256 = "0cylj8p25nwkdfgy4pzai21wyzmrxdqlwwbzqag9gb5qcjfdwk05"; }; meta = { description = "Pidfile featuring stale detection and file-locking"; homepage = https://github.com/trbs/pid/; license = licenses.asl20; }; }; </ins> pydns = buildPythonPackage rec { name = "pydns-2.3.6"; disabled = isPy3k;

}; <ins> pythondaemon = buildPythonPackage rec { name = "python-daemon-${version}"; version = "2.1.1"; src = pkgs.fetchurl { url = " https://pypi.python.org/packages/source/p/python-daemon/${name}.tar.gz"; sha256 = "17v80qb98p1gv4j9mq6wb55cv7hc4j1hzw5y2f4s5hrpxs3w3a2q"; }; # A test fail within chroot builds. doCheck = false; buildInputs = with self; [ mock testscenarios ]; propagatedBuildInputs = with self; [ docutils lockfile ]; meta = { description = "Library to implement a well-behaved Unix daemon process"; homepage = https://alioth.debian.org/projects/python-daemon/; licenses =  [ licenses.gpl3Plus licenses.asl20 ]; }; }; </ins> sympy = buildPythonPackage rec { name = "sympy-0.7.6.1"; disabled = isPy34 || isPy35 || isPyPy;  # some tests fail

webtest = buildPythonPackage rec { <del> version = "2.0.15"; </del> <ins> version = "2.0.20"; </ins> name = "webtest-${version}"; src = pkgs.fetchurl { <del> url = "http://pypi.python.org/packages/source/W/WebTest/WebTest-${version}.zip"; sha256 = "c320adc2cd862ea71ca9e2012e6157eb12f5f8d1632d1541f2eabf984aaa3ecc"; </del> <ins> url = "http://pypi.python.org/packages/source/W/WebTest/WebTest-${version}.tar.gz"; sha256 = "0bv0qhdjakdsdgj4sk21gnpp8xp8bga4x03p6gjb83ihrsb7n4xv"; </ins> }; preConfigure = ''

thrift beautifulsoup4 markdown2 <del> sqlalchemy7 </del> <ins> sqlalchemy </ins> html2text evernote ];