Public bug reported:

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
ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8
Uname: Linux 4.10.0-20-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
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)
PackageArchitecture: all
SourcePackage: autodep8
UpgradeStatus: Upgraded to artful on 2016-11-23 (158 days ago)

** Affects: autodep8 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug artful

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687282

Title:
  oslo.* automatic python test failures

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autodep8/+bug/1687282/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to