summaryrefslogtreecommitdiff
path: root/TODO.python
blob: 6c276f7a3338d049d466080a5c097a501dbc5484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
TODOs
-----

* if homepage_url (in the pypi metadata for a given pacakge) is a html page,
scrape the page for repo links, this should reduce the number of tarball
imports the tool does.

* scheme x.y e.g. pip.find_deps should avoid using a '.' makes it more
difficult to import extensions as modules, consider the case where we want
to import pip.find_deps for use in a test suite.

* prefix cmd to logs, so when we run pip, prefix log msg with 'pip',
same for egg_info etc

* abstract popen/log,
there is a pattern of calling Popen with stderr=STDOUT and reading
from p.stdout till EOF, then waiting for the subprocess to terminate.
Since this is used in 3 places, it should be factored out really.

* error messages for constraints is currently a parsed form of the version
number e.g. ('==', ('00000000', '00000000',      '00000011', '*final'))
this will be confusing, we should emit nice version numbers.

* Can we avoid the compilation that happens during import of some packages,
i.e. nixtla

* add a test runner