mozilla-services / mozilla-services/updatebot

Support python packages

Open
#189 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Medium P4
Dominant language
Python
Stars
9
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Support vendoring python packages.

It looks like ./mach vendor python <package> will give you an error "You need a version". After you give it a version e.g. ./mach vendor python package==3.6.0 it will go vendor it in-tree.

This means there isn't a lot of work for Updatebot to handle these.

  1. We need something to tell Updatebot to process this python package. Maybe an updatebot.txt file in third_party/python.
  2. We need to support ./mach vendor python package --check-for-updates to tell us what the latest version is. (Fetching the latest version from pypi I suppose?)

With those changes (and the associated changes to updatebot to support them) we ought to be able to start tracking python packages pretty easily.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with components/mach_vendor.py and the ./mach vendor python command, then inspect third_party/python and the proposed updatebot.txt approach. Check how PyPI versions would be fetched for --check-for-updates. Done means Updatebot can process vendored Python packages and report their latest versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.