oslo.* automatic python test failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autodep8 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'd quite like to use the automatic python DEP-8 tests for the OpenStack oslo.* packages; however the name of the module does not directly match the name that gets imported - so the binary package is called python-oslo.<name>, the module is named oslo.<name> but the import path is actually oslo_<name>.
This change was made to move away from the complexities of namespaced packages by the OpenStack project.
We could teach autodep8 about the oslo packages, but I suspect this is not the only module which such a mismatch so maybe we need a more generic way to inform the automatic test which module to import and test.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: autodep8 0.8
ProcVersionSign
Uname: Linux 4.10.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Sun Apr 30 13:54:26 2017
InstallationDate: Installed on 2016-11-06 (174 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
PackageArchitec
SourcePackage: autodep8
UpgradeStatus: Upgraded to artful on 2016-11-23 (158 days ago)