Skip to content

Rework requirements.txt files

Tom Rini u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6python: Create requirements.txt files for each "project"tools/binman/requirements.txt tools/patman/requirements.txt tools/u_boot_pylib/requirements.txt+11 -00 replies
2/6CI: Be consistent in creating and starting our virtualenv.azure-pipelines.yml .gitlab-ci.yml+14 -40 replies
3/6CI: Consistently install our requirements.txt files.azure-pipelines.yml .gitlab-ci.yml+23 -40 replies
4/6CI: Invoke pip once rather than multiple times.azure-pipelines.yml .gitlab-ci.yml+28 -350 replies
5/6python: Recreate test/py and tools/buildman requirements.txt filestest/py/requirements.txt tools/buildman/requirements.txt+3 -320 replies
6/6Dockerfile: Update for having more requirements.txt filestools/docker/Dockerfile+7 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Rework requirements.txt files

Hey all,

A challenge we've run in to is making it easier for more people to use various python tools that we include in the tree. Part of the problem is that when we have a requirements.txt file, aside from the doc one we share with the kernel, I created it using "pip freeze". And while this might have been a best (or at least OK) practice at the time, that's no longer the case and is why our files have so many things in them. What this series does is create multiple files, one per project/tool and then has CI install them as needed. There's a few places here where this means that we update the requirements as well, but we keep a few big things where they are currently. This is because updating them introduces problems of their own and delaing with that would best be a follow up series. I've put this through GitLab and Azure to make sure everything is still going fine on both platforms.

Signature · 1 line
Tom