factor out a requirements file and close kiwi solver to build it