Merge lp:~jaraco/pkginfo/relative-imports into lp:pkginfo
Proposed by
Jason R. Coombs
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 146 | ||||
Proposed branch: | lp:~jaraco/pkginfo/relative-imports | ||||
Merge into: | lp:pkginfo | ||||
Diff against target: |
164 lines (+27/-27) 9 files modified
pkginfo/__init__.py (+9/-9) pkginfo/bdist.py (+1/-1) pkginfo/commandline.py (+2/-2) pkginfo/develop.py (+1/-1) pkginfo/distribution.py (+3/-3) pkginfo/index.py (+1/-1) pkginfo/installed.py (+2/-2) pkginfo/sdist.py (+1/-1) pkginfo/utils.py (+7/-7) |
||||
To merge this branch: | bzr merge lp:~jaraco/pkginfo/relative-imports | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tres Seaver | Pending | ||
Review via email: mp+326263@code.launchpad.net |
Description of the change
Use relative imports in pkginfo modules. Fixes #1653126.
Note that I did not update modules in the pkginfo.tests package, as these modules are not used in production use.
To post a comment you must log in.
Test failures (all versions):
....... ....... ....... ....... ....... .../home/ tseaver/ projects/ parcel/ src/pkginfo- jaraco- relative- imports/ pkginfo/ develop. py:45: UserWarning: No PKG-INFO found for path: /home/tseaver/ projects/ parcel/ src/pkginfo- jaraco- relative- imports/ pkginfo/ tests/sneaky ....... ....... ....... .. ======= ======= ======= ======= ======= ======= ======= ======= ======= w_path_ nested_ egg_info (pkginfo. tests.test_ develop. DevelopTests) ------- ------- ------- ------- ------- ------- ------- ------- ------- tseaver/ projects/ parcel/ src/pkginfo- jaraco- relative- imports/ pkginfo/ tests/test_ develop. py", line 22, in test_ctor_ w_path_ nested_ egg_info assertEqual( develop. metadata_ version, '1.0')
warnings.warn('No PKG-INFO found for path: %s' % self.path)
F......
=======
FAIL: test_ctor_
-------
Traceback (most recent call last):
File "/home/
self.
AssertionError: None != '1.0'
------- ------- ------- ------- ------- ------- ------- ------- ------- -------