Opened at 2014-07-02T02:10:18Z
Closed at 2016-03-26T23:14:58Z
#2255 closed defect (fixed)
Experiment with virtualenv based packaging in the petmail style.
Reported by: | nejucomo | Owned by: | daira |
---|---|---|---|
Priority: | normal | Milestone: | 1.11.0 |
Component: | packaging | Version: | 1.10.0 |
Keywords: | virtualenv pip setuptools install build packaging | Cc: | warner |
Launchpad Bug: |
Description
Change History (9)
comment:1 Changed at 2014-07-02T03:15:03Z by nejucomo
comment:2 Changed at 2014-07-02T03:29:24Z by nejucomo
I've just pushed an implementation of the above steps to https://github.com/nejucomo/tahoe-lafs/commits/2255-virtualenv-packaging.messy
comment:3 Changed at 2014-07-02T03:34:04Z by nejucomo
Warner has an independent implementation of this approach which was created in "parallel sprint race mode": https://github.com/warner/tahoe-lafs/tree/venv
That implementation was more liberal in hacking out most of ./setup.py.
comment:4 Changed at 2014-07-24T01:17:14Z by daira
So, I see how this works for source packages, or if the requirements.txt is created on the same platform as the build in the virtualenv. I don't see how it works for binary eggs -- wouldn't we need to ship different requitements.txt files for each platform, with different hashes?
Perhaps it is sufficient to have a requirements.txt for Windows 32-bit w/ Python 2.7, one for Windows 64-bit w/ Python 2.7, and one for every other platform that assumes a compiler and builds everything from source?
comment:5 Changed at 2014-07-29T21:00:02Z by daira
- Component changed from unknown to packaging
- Keywords virtualenv pip setuptools install build packaging added
- Milestone changed from undecided to 1.12.0
- Status changed from new to assigned
comment:6 Changed at 2014-08-19T17:47:06Z by daira
See also #2077 (pip packaging plan).
comment:7 Changed at 2014-09-23T23:30:30Z by warner
- Cc warner added
comment:8 Changed at 2016-03-22T05:02:25Z by warner
- Milestone changed from 1.12.0 to 1.13.0
Milestone renamed
comment:9 Changed at 2016-03-26T23:14:58Z by warner
- Milestone changed from 1.13.0 to 1.11.0
- Resolution set to fixed
- Status changed from assigned to closed
We've switched to virtualenv-based installation. Not quite in the style that Nathan and I were exploring (where a new command creates+populates a virtualenv for you), but I think the existing #2055 build-it-safely ticket can cover the distance between what we've got now (virtualenv; pip install) and a peep/requirements.txt -based safe-build step on top of it. So I think we can close this one out.
Some notes on how nejucomo generated ./requirements.txt: