Skip to content

document minimum sqlite version #73284

Closed
Closed

Description

@carlwgeorge
BPO 29098
Nosy @berkerpeksag, @carlwgeorge
Dependencies
  • bpo-29355: sqlite3: remove sqlite3_stmt_readonly()
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2017-02-26.16:14:06.976>
    created_at = <Date 2016-12-28.22:08:50.718>
    labels = ['type-feature', '3.7', 'docs']
    title = 'document minimum sqlite version'
    updated_at = <Date 2017-02-26.16:14:06.975>
    user = 'https://github.com/carlwgeorge'

    bugs.python.org fields:

    activity = <Date 2017-02-26.16:14:06.975>
    actor = 'berker.peksag'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2017-02-26.16:14:06.976>
    closer = 'berker.peksag'
    components = ['Documentation']
    creation = <Date 2016-12-28.22:08:50.718>
    creator = 'carlwgeorge'
    dependencies = ['29355']
    files = []
    hgrepos = []
    issue_num = 29098
    keywords = []
    message_count = 2.0
    messages = ['284202', '288601']
    nosy_count = 3.0
    nosy_names = ['docs@python', 'berker.peksag', 'carlwgeorge']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue29098'
    versions = ['Python 3.6', 'Python 3.7']

    Activity

    1. carlwgeorge commented on Dec 28, 2016

      carlwgeorgemannequin
      MannequinAuthor

      While attempting to build a Python 3.6 RPM for RHEL/CentOS 6, I noticed the following warning.

      *** WARNING: renaming "_sqlite3" since importing it failed: build/lib.linux-i686-3.6-pydebug/_sqlite3.cpython-36dm-i386-linux-gnu.so: undefined symbol: sqlite3_stmt_readonly

      I was able to locate changeset 284676cf2ac8 (bpo-10740) which introduced the usage of the sqlite3_stmt_readonly interface. That interface wasn't added to sqlite until 3.7.4 (http://www.sqlite.org/releaselog/3_7_4.html). My RPM build failed because RHEL/CentOS 6 only has sqlite 3.6.20. I understand that Python can't support old libraries forever, but can this minimum sqlite version be noted somewhere in the documentation?

    2. berkerpeksag commented on Feb 26, 2017

      @berkerpeksag
      Member

      Thanks for the report, Carl! The patch for bpo-28518 has been lifted the requirement for sqlite3_stmt_readonly() so you can now use and compile Python 3.6.1 without a warning at compile time.

    3. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifedocsDocumentation in the Doc dirtype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions