From: Andrey Repin <anrdaemon@yandex.ru>
To: Jose Isaias Cabrera <jicman@outlook.com>, cygwin@cygwin.com
Subject: Re: Changing the python sqlite3 version to the latest
Date: Wed, 15 Feb 2023 18:55:08 +0300 [thread overview]
Message-ID: <743494104.20230215185508@yandex.ru> (raw)
In-Reply-To: <DB9P251MB0063A4387A9146D1277A7C72DEA39@DB9P251MB0063.EURP251.PROD.OUTLOOK.COM>
Greetings, Jose Isaias Cabrera!
> In case anyone needs the answer, These steps worked for me:
> -- Downloaded the Pre-release Snapshots
> $ wget https://sqlite.org/snapshot/sqlite-snapshot-202302131932.tar.gz
> -- untared the snapshot
> $ tar xvf sqlite-snapshot-202302131932.tar.gz
> -- cd to the untared directory
> $ cd sqlite-snapshot-202302131932
> $ ./configure --prefix=/usr
> $ make install
Don't forget to rebase the resulting binary(-es).
> And this process has set the python SQLite version to the sqlite-snapshot
> version. After that, you can download the trunk and follow the same
> procedure, and the version of the trunk will be changed also.
> $ ./SQLiteVersion.py
> 3.41.0
> ['/usr/lib/python3.9/sqlite3']
> 3.41.0
> 2023-02-13 19:32:40
> ecdeef43b27412b0b0b09e09a62ad3a03836a3fc80f2070268090e7ca8f02712
> I hope this helps.
> [JIC]
> This script may be useful...
> $ cat SQLiteVersion.py
> #!/usr/bin/python3
> import sqlite3
> def ConnectToSharedDB(sdb):
> return sqlite3.connect(sdb)
> print(sqlite3.sqlite_version)
> print(sqlite3.__path__)
> SharedDB = ":memory:"
> con = ConnectToSharedDB(SharedDB)
> cur = con.cursor()
> cur.execute("SELECT sqlite_version(),sqlite_source_id();")
> for row in cur:
> print(row[0] + '\r\n' + row[1])
> con.close()
--
With best regards,
Andrey Repin
Wednesday, February 15, 2023 18:54:24
Sorry for my terrible english...
next prev parent reply other threads:[~2023-02-15 16:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-11 21:37 Jose Isaias Cabrera
2023-02-13 20:24 ` Jose Isaias Cabrera
2023-02-14 22:58 ` Marco Atzeri
2023-02-15 1:45 ` Jose Isaias Cabrera
2023-02-15 12:43 ` Jose Isaias Cabrera
2023-02-15 15:55 ` Andrey Repin [this message]
2023-02-15 18:29 ` Jose Isaias Cabrera
2023-02-16 6:14 ` Andrey Repin
2023-02-16 14:25 ` Jose Isaias Cabrera
2023-02-16 18:40 ` Marco Atzeri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=743494104.20230215185508@yandex.ru \
--to=anrdaemon@yandex.ru \
--cc=cygwin@cygwin.com \
--cc=jicman@outlook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).