Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636554 - dev-python/diskcache-2.8.3 : ImportError: No module named sqlite3
Summary: dev-python/diskcache-2.8.3 : ImportError: No module named sqlite3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-04 21:03 UTC by Toralf Förster
Modified: 2018-11-18 22:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.71 KB, text/plain)
2017-11-04 21:03 UTC, Toralf Förster
Details
dev-python:diskcache-2.8.3:20171104-204811.log (dev-python:diskcache-2.8.3:20171104-204811.log,3.16 KB, text/plain)
2017-11-04 21:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,159.34 KB, text/plain)
2017-11-04 21:03 UTC, Toralf Förster
Details
environment (environment,107.58 KB, text/plain)
2017-11-04 21:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.49 KB, application/x-bzip)
2017-11-04 21:03 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.32 KB, application/x-bzip)
2017-11-04 21:03 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-11-04 21:03:03 UTC
  File "/var/tmp/portage/dev-python/diskcache-2.8.3/work/diskcache-2.8.3/diskcache/core.py", line 12, in <module>
    import sqlite3
ImportError: No module named sqlite3
 * ERROR: dev-python/diskcache-2.8.3::gentoo failed (compile phase):
 *   (no error message)
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-systemd_test_20171031-164654

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)




emerge -qpv dev-python/diskcache
[ebuild  N    ] dev-python/diskcache-2.8.3  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2017-11-04 21:03:06 UTC
Created attachment 502554 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-04 21:03:09 UTC
Created attachment 502556 [details]
dev-python:diskcache-2.8.3:20171104-204811.log
Comment 3 Toralf Förster gentoo-dev 2017-11-04 21:03:12 UTC
Created attachment 502558 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-04 21:03:15 UTC
Created attachment 502560 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-04 21:03:18 UTC
Created attachment 502562 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-04 21:03:21 UTC
Created attachment 502564 [details]
temp.tbz2
Comment 7 Scott Alfter 2018-11-09 22:43:22 UTC
To further clarify for the maintainers: this is a bug that surfaces on attempted installation.  It appears when I try building it for both Python 2.7 and 3.6, but if I build it for Python 2.7 only, the ebuild installs successfully.  This would suggest some sort of upstream compatibility issue with Python 3.6.
Comment 8 Larry the Git Cow gentoo-dev 2018-11-18 22:00:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b16f5fcbdfab1bb434b1d6cb0be04bfd9ae2905

commit 2b16f5fcbdfab1bb434b1d6cb0be04bfd9ae2905
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2018-11-18 21:59:53 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-11-18 21:59:53 +0000

    dev-python/diskcache: bump to 3.1.0
    
    Previous version didn't support newer django. Also, add missing "sqlite"
    in PYTHON_REQ_USE.
    
    Closes: https://bugs.gentoo.org/636554
    Closes: https://bugs.gentoo.org/636406
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/diskcache/Manifest               |  1 +
 dev-python/diskcache/diskcache-3.1.0.ebuild | 42 +++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)