** Patch added: "libpython3.4-minimal_3.4.0-2ubuntu1.1custompatch1.patch"
   
https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1589288/+attachment/4677550/+files/libpython3.4-minimal_3.4.0-2ubuntu1.1custompatch1.patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python3.4 in Ubuntu.
https://bugs.launchpad.net/bugs/1589288

Title:
  python-3.4 package missing threading module in trusty-security

Status in python3.4 package in Ubuntu:
  New

Bug description:
  Someone forgot to add threading.py module in
  libpython3.4-mininal_3.4.0-2ubuntu1.1 package. I fail when trying to
  work with python3.4 in trusty-security environment.

  How to reproduce:
  1. Install new Ubuntu Trusty WITHOUT online updates or downgrade all packages 
to trusty-security.
  2. Disable *-updates repositories, update apt cache:
  # sed -i -e'/-updates/s/^/# /' /etc/apt/sources.list && apt-get update
  3. Upgrade python3 packages:
  # apt-get install python3 python3-minimal python3.4 python3.4-minimal 
libpython3.4-minimal libpython3.4-stdlib
  4. Try to import threading module (will be failed):
  # python3 -c 'import threading'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
  ImportError: No module named 'threading'

  Extended terminal output (including apt-cache policy) in
  python3.4_trusty_bug_terminal_output.txt . This problem has occured in
  https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1503382/comments/4
  , but hasn't been articulated or resolved.

  I compared packages in security and updates and found significant 
differencies:
  1. [debian/pymindeps.py] subprocess key in excluded_imports is threading in 
security and dummy_threading in updates.
  2. [debian/PVER-minimal.README.Debian.in] Information about threading module 
differs.

  I make patch libpython3.4-minimal_3.4.0-2ubuntu1.1custompatch1.patch
  and applied to python3.4_3.4.0-2ubuntu1.1 . The result is available in
  https://launchpad.net/~bugchecker/+archive/ubuntu/python3-threading-
  trusty-sec . This patch may be incorrect but it works for me.

  Also I attached docker context for any experiments.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1589288/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to