Compare commits

...

2 commits

Author SHA1 Message Date
Simon Willison
edeec2e804 Release 3.26.1
Refs #429
2022-05-02 11:14:29 -07:00
Simon Willison
4a02dcf265
Depend on click-default-group-wheel
Trying to get this to work with Pyodide.

Refs: https://github.com/simonw/click-default-group-wheel/issues/3
2022-05-02 10:58:16 -07:00
2 changed files with 21 additions and 3 deletions

View file

@ -2,6 +2,24 @@
Changelog Changelog
=========== ===========
.. _v3_26_1:
3.26.1 (2022-05-02)
-------------------
- Now depends on `click-default-group-wheel <https://github.com/simonw/click-default-group-wheel>`__, a pure Python wheel package. This means you can install and use this package with `Pyodide <https://pyodide.org/>`__, which can run Python entirely in your broswer using WebAssembly. (`#429 <https://github.com/simonw/sqlite-utils/pull/429>`__)
Try that out using the `Pyodide REPL <https://pyodide.org/en/stable/console.html>`__:
.. code-block:: python
>>> import micropip
>>> await micropip.install("sqlite-utils")
>>> import sqlite_utils
>>> db = sqlite_utils.Database(memory=True)
>>> list(db.query("select 3 * 5"))
[{'3 * 5': 15}]
.. _v3_26: .. _v3_26:
3.26 (2022-04-13) 3.26 (2022-04-13)
@ -49,7 +67,7 @@
3.23 (2022-02-03) 3.23 (2022-02-03)
----------------- -----------------
This release introduces four new utility methods for working with `SpatiaLite <https://www.gaia-gis.it/fossil/libspatialite/index>`__. Thanks, Chris Amico. (`#330 <https://github.com/simonw/sqlite-utils/pull/385>`__) This release introduces four new utility methods for working with `SpatiaLite <https://www.gaia-gis.it/fossil/libspatialite/index>`__. Thanks, Chris Amico. (`#385 <https://github.com/simonw/sqlite-utils/pull/385>`__)
- ``sqlite_utils.utils.find_spatialite()`` :ref:`finds the location of the SpatiaLite module <python_api_gis_find_spatialite>` on disk. - ``sqlite_utils.utils.find_spatialite()`` :ref:`finds the location of the SpatiaLite module <python_api_gis_find_spatialite>` on disk.
- ``db.init_spatialite()`` :ref:`initializes SpatiaLite <python_api_gis_init_spatialite>` for the given database. - ``db.init_spatialite()`` :ref:`initializes SpatiaLite <python_api_gis_init_spatialite>` for the given database.

View file

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
import io import io
import os import os
VERSION = "3.26" VERSION = "3.26.1"
def get_long_description(): def get_long_description():
@ -26,7 +26,7 @@ setup(
install_requires=[ install_requires=[
"sqlite-fts4", "sqlite-fts4",
"click", "click",
"click-default-group", "click-default-group-wheel",
"tabulate", "tabulate",
"python-dateutil", "python-dateutil",
], ],