platform.dist() is not returning correct Ubuntu release info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
System76 Driver |
Fix Released
|
Critical
|
Unassigned | ||
python3.3 (Ubuntu) |
Fix Released
|
Undecided
|
Dmitry Shachnev |
Bug Description
platform.dist() is currently returning ('debian', 'wheezy/sid', '')
It should return ('Ubuntu', '13.10', 'saucy')
Saucy:
jderose@
Python 3.3.2+ (default, Jun 5 2013, 10:51:51)
[GCC 4.8.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.dist()
('debian', 'wheezy/sid', '')
Raring:
jderose@jgd-ws:~$ python3.3
Python 3.3.1 (default, Jul 5 2013, 09:19:20)
[GCC 4.7.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.dist()
('Ubuntu', '13.04', 'raring')
>>>
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: python3.3 3.3.2-3ubuntu1
ProcVersionSign
Uname: Linux 3.11.0-4-generic x86_64
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
Date: Tue Sep 3 21:15:33 2013
MarkForUpload: True
SourcePackage: python3.3
UpgradeStatus: Upgraded to saucy on 2013-08-30 (4 days ago)
Related branches
- Matthias Klose: Pending requested
- Barry Warsaw: Pending requested
- Ubuntu branches: Pending requested
-
Diff: 42201 lines (+40575/-225)42 files modifieddebian/PVER-minimal.postinst.in (+7/-3)
debian/changelog (+29/-0)
debian/control (+7/-6)
debian/control.in (+7/-6)
debian/multiarch.h.in (+8/-8)
debian/patches/add-python-config-sh.diff (+2/-8)
debian/patches/atomic-pyc-rename.diff (+2/-3)
debian/patches/avoid-rpath.diff (+4/-5)
debian/patches/bdist-wininst-notfound.diff (+0/-2)
debian/patches/ctypes-arm.diff (+1/-3)
debian/patches/deb-locations.diff (+0/-4)
debian/patches/deb-setup.diff (+3/-5)
debian/patches/disable-sem-check.diff (+2/-4)
debian/patches/distutils-init.diff (+1/-3)
debian/patches/distutils-install-layout.diff (+0/-16)
debian/patches/distutils-link.diff (+1/-3)
debian/patches/distutils-sysconfig.diff (+2/-4)
debian/patches/enable-fpectl.diff (+1/-3)
debian/patches/ext-no-libpython-link.diff (+2/-2)
debian/patches/hg-updates.diff (+40409/-43)
debian/patches/hurd-disable-nonworking-constants.diff (+2/-6)
debian/patches/installed-testsuite.diff (+0/-13)
debian/patches/kfreebsd-testsuite.diff (+47/-0)
debian/patches/kfreebsd-xattrs.diff (+1/-1)
debian/patches/lib-argparse.diff (+0/-2)
debian/patches/libffi-shared.diff (+1/-3)
debian/patches/link-opt.diff (+2/-4)
debian/patches/link-timemodule.diff (+0/-2)
debian/patches/locale-module.diff (+0/-2)
debian/patches/lto-link-flags.diff (+5/-7)
debian/patches/multiarch.diff (+5/-17)
debian/patches/ncurses-configure.diff (+7/-7)
debian/patches/no-zip-on-sys.path.diff (+4/-6)
debian/patches/platform-lsbrelease.diff (+2/-4)
debian/patches/profiled-build.diff (+0/-4)
debian/patches/series.in (+1/-0)
debian/patches/setup-modules.diff (+0/-2)
debian/patches/site-locations.diff (+0/-2)
debian/patches/statvfs-f_flag-constants.diff (+1/-3)
debian/patches/test-sundry.diff (+1/-1)
debian/patches/tkinter-import.diff (+1/-3)
debian/rules (+7/-5)
Changed in python3.3 (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Dmitry Shachnev (mitya57) |
Marking this as effecting system76-driver also, as we use platform.dist() to determine the Ubuntu version.