Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document minimum sqlite version #73284

Closed
carlwgeorge mannequin opened this issue Dec 28, 2016 · 2 comments
Closed

document minimum sqlite version #73284

carlwgeorge mannequin opened this issue Dec 28, 2016 · 2 comments
Labels
3.7 (EOL) end of life docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@carlwgeorge
Copy link
Mannequin

carlwgeorge mannequin commented Dec 28, 2016

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']

    @carlwgeorge
    Copy link
    Mannequin Author

    carlwgeorge mannequin commented Dec 28, 2016

    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?

    @carlwgeorge carlwgeorge mannequin assigned docspython Dec 28, 2016
    @carlwgeorge carlwgeorge mannequin added the docs Documentation in the Doc dir label Dec 28, 2016
    @berkerpeksag berkerpeksag added 3.7 (EOL) end of life type-feature A feature request or enhancement labels Feb 22, 2017
    @berkerpeksag
    Copy link
    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.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life docs Documentation in the Doc dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant