Closed Bug 1180024 Opened 9 years ago Closed 9 years ago

Add missing packages to the requirements file & pin all versions

Categories

(Tree Management Graveyard :: OrangeFactor, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

prod.txt: -e hg+http://hg.mozilla.org/automation/mozautoeslib#egg=mozautoeslib -e git+https://github.com/jonallengriffin/bzcache.git@master#egg=bzcache web.py Using that gets me: -e git+https://github.com/jonallengriffin/bzcache.git@66a00585fae759bba613afcb0b6952fcbb9162d7#egg=bzcache-master -e hg+http://hg.mozilla.org/automation/mozautoeslib@676a64adef2256400ec86f87b58ca2bdf24ed3a4#egg=mozautoeslib-dev pyes==0.16.0 Tempita==0.5.2 web.py==0.37 wheel==0.24.0 However prod is using: bzcache==0.1.3 flup==1.0.3.dev20110405 importlib==1.0.2 -e hg+http://hg.mozilla.org/automation/mozautoeslib@676a64adef2256400ec86f87b58ca2bdf24ed3a4#egg=mozautoeslib-dev pyes==0.16.0 urllib3==1.1 web.py==0.36 And mcote's environment (used by just woo_mailer.py): Tempita==0.5.1 bzcache==0.1.0 importlib==1.0.2 mozautoeslib==0.1.2 pyes==0.16.0 urllib3==1.6 web.py==0.37 So Tempita is missing from prod.txt, and we also should add the implicit deps + pin versions etc.
Blocks: 1180028
The versions are an amalgamation of what's used in production in the webtools account and mcote's OF repo checkout. I'm pretty sure we don't need to be using editable mode for bzcache/mozautoeslib. Once this lands (and Tempita is installed for the webtools copy of the venv) I will then combine mcote's src checkout with the webtools one, so I don't have to update both copies every time I deploy something :-)
Attachment #8644676 - Flags: review?(jgriffin)
Comment on attachment 8644676 [details] [diff] [review] Cleanup requirements file Review of attachment 8644676 [details] [diff] [review]: ----------------------------------------------------------------- Thanks
Attachment #8644676 - Flags: review?(jgriffin) → review+
https://hg.mozilla.org/automation/orangefactor/rev/a7deca2fcef4 [webtools@brasstacks1.dmz.scl3 orangefactor]$ ./bin/pip install -r src/orangefactor/requirements/prod.txt Requirement already satisfied (use --upgrade to upgrade): mozautoeslib from https://hg.mozilla.org/automation/mozautoeslib/archive/676a64adef22.zip#egg=mozautoeslib in ./src/mozautoeslib (from -r src/orangefactor/requirements/prod.txt (line 1)) Requirement already satisfied (use --upgrade to upgrade): bzcache from https://github.com/jonallengriffin/bzcache/archive/66a00585fae759bba613afcb0b6952fcbb9162d7.zip#egg=bzcache in ./lib/python2.6/site-packages/bzcache-0.1.3-py2.6.egg (from -r src/orangefactor/requirements/prod.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): pyes==0.16.0 in ./lib/python2.6/site-packages/pyes-0.16.0-py2.6.egg (from -r src/orangefactor/requirements/prod.txt (line 3)) Collecting Tempita==0.5.1 (from -r src/orangefactor/requirements/prod.txt (line 4)) /home/webtools/apps/orangefactor/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Downloading Tempita-0.5.1.tar.gz Requirement already satisfied (use --upgrade to upgrade): web.py==0.36 in ./lib/python2.6/site-packages (from -r src/orangefactor/requirements/prod.txt (line 5)) Installing collected packages: Tempita Running setup.py install for Tempita Successfully installed Tempita-0.5.1 [webtools@brasstacks1.dmz.scl3 orangefactor]$ ./bin/pip install -r src/orangefactor/requirements/prod.txt -U Collecting mozautoeslib from https://hg.mozilla.org/automation/mozautoeslib/archive/676a64adef22.zip#egg=mozautoeslib (from -r src/orangefactor/requirements/prod.txt (line 1)) ... Downloading https://hg.mozilla.org/automation/mozautoeslib/archive/676a64adef22.zip - 53kB 11.4MB/s Collecting bzcache from https://github.com/jonallengriffin/bzcache/archive/66a00585fae759bba613afcb0b6952fcbb9162d7.zip#egg=bzcache (from -r src/orangefactor/requirements/prod.txt (line 2)) ... Downloading https://github.com/jonallengriffin/bzcache/archive/66a00585fae759bba613afcb0b6952fcbb9162d7.zip | 12kB 21.5MB/s ... Requirement already up-to-date: pyes==0.16.0 in ./lib/python2.6/site-packages/pyes-0.16.0-py2.6.egg (from -r src/orangefactor/requirements/prod.txt (line 3)) Requirement already up-to-date: Tempita==0.5.1 in ./lib/python2.6/site-packages (from -r src/orangefactor/requirements/prod.txt (line 4)) Requirement already up-to-date: web.py==0.36 in ./lib/python2.6/site-packages (from -r src/orangefactor/requirements/prod.txt (line 5)) Installing collected packages: mozautoeslib, bzcache Found existing installation: mozautoeslib 0.1.3 Uninstalling mozautoeslib-0.1.3: Successfully uninstalled mozautoeslib-0.1.3 Running setup.py install for mozautoeslib Found existing installation: bzcache 0.1.3 Uninstalling bzcache-0.1.3: Successfully uninstalled bzcache-0.1.3 Running setup.py install for bzcache Successfully installed bzcache-0.1.3 mozautoeslib-0.1.3
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: