Closed Bug 1000133 Opened 8 years ago Closed 8 years ago

Plivo package required on the http://pypi.pub.build.mozilla.org mirror

Categories

(Release Engineering :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zcampbell, Unassigned)

References

Details

So we can land https://bugzilla.mozilla.org/show_bug.cgi?id=924833 for device testing, we need the "plivo" package on the TBPL mirror.

We currently need version 0.9.6 but would like to be able to upgrade in the future without trouble.
Blocks: 924833
TBPL is but a dashboard that displays results, "buildbot pypi mirror" or "releng pypi mirror" would be slightly more accurate, but let's just use the URL for clarity :-)
Summary: Plivo package required on the TBPL pypi mirror → Plivo package required on the http://pypi.pub.build.mozilla.org mirror
It looks like plivo also has a dependency on "requests". This is what I got when installing into a fresh virtualenv on my machine:

(plivo)pmoore@fred:~/git/tools/release/updates pre_pete $ pip install plivo
Downloading/unpacking plivo
  Downloading plivo-0.9.6.tar.gz
  Running setup.py egg_info for package plivo
    
Downloading/unpacking requests>=0.10.8 (from plivo)
  Downloading requests-2.2.1.tar.gz (421kB): 421kB downloaded
  Running setup.py egg_info for package requests
    
Installing collected packages: plivo, requests
  Running setup.py install for plivo
    
  Running setup.py install for requests
    
Successfully installed plivo requests
Cleaning up...

The best person to answer questions about how to mirror additional packages (plivo, requests) on http://pypi.pub.build.mozilla.org is probably dustin (adding a "needinfo").

If you have the source packages locally, maybe you can try building/uploading them directly with something like this (untested - just an idea - maybe uses LDAP validation? - try at your own risk!)

python setup.py sdist upload -r http://pypi.pub.build.mozilla.org (?)

I couldn't find a specific wiki page about how to add / upgrade additional third party python libraries on http://pypi.pub.build.mozilla.org but maybe there is a page out there already.
Flags: needinfo?(dustin)
Rail pointed me to: https://wiki.mozilla.org/ReleaseEngineering:Buildduty:Other_Duties#Python_packages - will do this now...
Flags: needinfo?(dustin)
Uploaded both plivo 0.9.6 and requests 2.2.1 ...

pmoore@fred:~/plivo/pete $ curl -I http://pypi.pub.build.mozilla.org/pub/plivo-0.9.6.tar.gz
HTTP/1.1 200 OK
Date: Thu, 24 Apr 2014 11:53:29 GMT
Server: Apache
X-Backend-Server: web1.releng.webapp.scl3.mozilla.com
Last-Modified: Thu, 24 Apr 2014 11:50:24 GMT
ETag: "1ae5"
Accept-Ranges: bytes
Content-Length: 6885
Content-Type: application/x-gzip

pmoore@Elisandra:~/plivo/pete $ curl -I http://pypi.pub.build.mozilla.org/pub/requests-2.2.1.tar.gz
HTTP/1.1 200 OK
Date: Thu, 24 Apr 2014 11:53:38 GMT
Server: Apache
X-Backend-Server: web2.releng.webapp.scl3.mozilla.com
Last-Modified: Thu, 24 Apr 2014 11:52:08 GMT
ETag: "6705a"
Accept-Ranges: bytes
Content-Length: 421978
Content-Type: application/x-gzip

pmoore@fred:~/plivo/pete $ 

Let me know if you have any issues.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.