dependabot[bot]
b21839dd1a
Update pytest requirement from <6.3.0,>=5.2.2 to >=5.2.2,<7.1.0 ( #1629 )
...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/5.2.2...7.0.0 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-05 17:30:05 -08:00
dependabot[bot]
a22ec96c3a
Update pytest-asyncio requirement from <0.17,>=0.10 to >=0.10,<0.19 ( #1631 )
...
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases )
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.10.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: pytest-asyncio
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-05 17:29:53 -08:00
dependabot[bot]
b5e6b1a9e1
Bump black from 21.12b0 to 22.1.0 ( #1616 )
...
Bumps [black](https://github.com/psf/black ) from 21.12b0 to 22.1.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits/22.1.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 14:23:51 -08:00
Simon Willison
fae3983c51
Drop support for Python 3.6, closes #1577
...
Refs #1606
2022-01-19 20:31:22 -08:00
Simon Willison
4b23f01f3e
CLI reference docs, maintained by cog - refs #1594
2022-01-13 13:35:54 -08:00
Simon Willison
f36e010b3b
Upgrade to Pluggy>=1.0, refs #1575
2021-12-19 17:25:40 -08:00
dependabot[bot]
35cba9e85a
Update janus requirement from <0.8,>=0.6.2 to >=0.6.2,<1.1 ( #1562 )
...
Updates the requirements on [janus](https://github.com/aio-libs/janus ) to permit the latest version.
- [Release notes](https://github.com/aio-libs/janus/releases )
- [Changelog](https://github.com/aio-libs/janus/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/janus/compare/v0.6.2...v1.0.0 )
---
updated-dependencies:
- dependency-name: janus
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-17 15:08:28 -08:00
dependabot[bot]
f5538e7161
Bump black from 21.11b1 to 21.12b0 ( #1543 )
...
Bumps [black](https://github.com/psf/black ) from 21.11b1 to 21.12b0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 15:22:29 -08:00
dependabot[bot]
8b411a6b70
Update pytest-xdist requirement from <2.5,>=2.2.1 to >=2.2.1,<2.6 ( #1548 )
...
Updates the requirements on [pytest-xdist](https://github.com/pytest-dev/pytest-xdist ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases )
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v2.2.1...v2.5.0 )
---
updated-dependencies:
- dependency-name: pytest-xdist
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 15:22:21 -08:00
Simon Willison
36b596e383
Framework :: Datasette Trove classifier
2021-12-07 11:41:56 -08:00
dependabot[bot]
83eb29dece
Update janus requirement from <0.7,>=0.6.2 to >=0.6.2,<0.8 ( #1529 )
...
Updates the requirements on [janus](https://github.com/aio-libs/janus ) to permit the latest version.
- [Release notes](https://github.com/aio-libs/janus/releases )
- [Changelog](https://github.com/aio-libs/janus/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/janus/compare/v0.6.2...v0.7.0 )
---
updated-dependencies:
- dependency-name: janus
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 18:37:13 -08:00
dependabot[bot]
cc4c70b367
Bump black from 21.9b0 to 21.11b1 ( #1516 )
...
Bumps [black](https://github.com/psf/black ) from 21.9b0 to 21.11b1.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 18:35:28 -08:00
dependabot[bot]
1beb7d9399
Update aiofiles requirement from <0.8,>=0.4 to >=0.4,<0.9 ( #1537 )
...
Updates the requirements on [aiofiles](https://github.com/Tinche/aiofiles ) to permit the latest version.
- [Release notes](https://github.com/Tinche/aiofiles/releases )
- [Commits](https://github.com/Tinche/aiofiles/compare/v0.4.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: aiofiles
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 18:29:54 -08:00
dependabot[bot]
03cc697b6b
Update pytest-asyncio requirement from <0.16,>=0.10 to >=0.10,<0.17 ( #1494 )
...
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases )
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.10.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: pytest-asyncio
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-24 15:22:39 -07:00
Simon Willison
96a823f283
Fix compatibility with Python 3.10 ( #1481 )
...
* Run tests against Python 3.10
* Upgrade to Janus 0.6.2 for Python 3.10
* Add 3.10 to classifiers
Closes #1482
2021-10-24 15:19:54 -07:00
dependabot[bot]
827fa823d1
Update pyyaml requirement from ~=5.3 to >=5.3,<7.0 ( #1489 )
...
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml ) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/5.3...6.0 )
---
updated-dependencies:
- dependency-name: pyyaml
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-14 11:10:42 -07:00
Simon Willison
b267b57754
Upgrade to httpx 0.20
...
* Upgrade to httpx 0.20, closes #1488
* TestClient.post() should not default to following redirects
2021-10-14 11:03:44 -07:00
dependabot[bot]
2a8c669039
Update beautifulsoup4 requirement ( #1463 )
...
Updates the requirements on [beautifulsoup4](http://www.crummy.com/software/BeautifulSoup/bs4/ ) to permit the latest version.
---
updated-dependencies:
- dependency-name: beautifulsoup4
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 15:35:36 -07:00
dependabot[bot]
e1012e7098
Bump black from 21.7b0 to 21.9b0 ( #1471 )
...
Bumps [black](https://github.com/psf/black ) from 21.7b0 to 21.9b0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 14:47:42 -07:00
dependabot[bot]
a673a93b57
Update pluggy requirement from ~=0.13.0 to >=0.13,<1.1 ( #1448 )
...
Updates the requirements on [pluggy](https://github.com/pytest-dev/pluggy ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pluggy/releases )
- [Changelog](https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pluggy/compare/0.13.0...1.0.0 )
---
updated-dependencies:
- dependency-name: pluggy
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 14:11:00 -07:00
dependabot[bot]
6aab0217f0
Update pytest-xdist requirement from <2.4,>=2.2.1 to >=2.2.1,<2.5 ( #1476 )
...
Updates the requirements on [pytest-xdist](https://github.com/pytest-dev/pytest-xdist ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases )
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v2.2.1...v2.4.0 )
---
updated-dependencies:
- dependency-name: pytest-xdist
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 14:10:03 -07:00
dependabot[bot]
759fd97a54
Update pytest-timeout requirement from <1.5,>=1.4.2 to >=1.4.2,<2.1 ( #1485 )
...
Updates the requirements on [pytest-timeout](https://github.com/pytest-dev/pytest-timeout ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-timeout/releases )
- [Commits](https://github.com/pytest-dev/pytest-timeout/commits )
---
updated-dependencies:
- dependency-name: pytest-timeout
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 14:09:23 -07:00
dependabot[bot]
a1a33bb582
Bump black from 21.6b0 to 21.7b0 ( #1400 )
...
Bumps [black](https://github.com/psf/black ) from 21.6b0 to 21.7b0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 18:29:55 -07:00
dependabot[bot]
5161422b7f
Update trustme requirement from <0.9,>=0.7 to >=0.7,<0.10 ( #1433 )
...
Updates the requirements on [trustme](https://github.com/python-trio/trustme ) to permit the latest version.
- [Release notes](https://github.com/python-trio/trustme/releases )
- [Commits](https://github.com/python-trio/trustme/compare/v0.7.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: trustme
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 18:29:26 -07:00
Simon Willison
2208c3c68e
Spelling corrections plus CI job for codespell
...
* Use codespell to check spelling in documentation, refs #1417
* Fixed spelling errors spotted by codespell, closes #1417
* Make codespell a docs dependency
See also this TIL: https://til.simonwillison.net/python/codespell
2021-08-03 09:36:38 -07:00
Simon Willison
54b6e96ee8
Use optional rich dependency to render tracebacks, closes #1416
2021-08-03 09:12:48 -07:00
Simon Willison
dd5ee8e668
Removed some unused imports
...
I found these with:
flake8 datasette | grep unus
2021-07-15 23:26:12 -07:00
dependabot[bot]
f83c84fd51
Update asgiref requirement from <3.4.0,>=3.2.10 to >=3.2.10,<3.5.0 ( #1386 )
...
Updates the requirements on [asgiref](https://github.com/django/asgiref ) to permit the latest version.
- [Release notes](https://github.com/django/asgiref/releases )
- [Changelog](https://github.com/django/asgiref/blob/main/CHANGELOG.txt )
- [Commits](https://github.com/django/asgiref/commits )
---
updated-dependencies:
- dependency-name: asgiref
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-10 18:36:18 -07:00
Simon Willison
b1fd24ac9f
skip_csrf(datasette, scope) plugin hook, refs #1377
2021-06-23 15:40:09 -07:00
dependabot[bot]
5335f360f4
Update pytest-xdist requirement from <2.3,>=2.2.1 to >=2.2.1,<2.4 ( #1378 )
...
Updates the requirements on [pytest-xdist](https://github.com/pytest-dev/pytest-xdist ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases )
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v2.2.1...v2.3.0 )
---
updated-dependencies:
- dependency-name: pytest-xdist
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-19 17:17:06 -07:00
dependabot[bot]
83e9c8bc75
Update trustme requirement from <0.8,>=0.7 to >=0.7,<0.9 ( #1373 )
...
Updates the requirements on [trustme](https://github.com/python-trio/trustme ) to permit the latest version.
- [Release notes](https://github.com/python-trio/trustme/releases )
- [Commits](https://github.com/python-trio/trustme/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: trustme
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-13 08:38:47 -07:00
dependabot[bot]
e797565765
Bump black from 21.5b2 to 21.6b0 ( #1374 )
...
Bumps [black](https://github.com/psf/black ) from 21.5b2 to 21.6b0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-13 08:33:22 -07:00
dependabot[bot]
03b35d70e2
Bump black from 21.5b1 to 21.5b2 ( #1352 )
...
Bumps [black](https://github.com/psf/black ) from 21.5b1 to 21.5b2.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 19:56:44 -07:00
dependabot[bot]
5e9672c9bb
Bump black from 21.4b2 to 21.5b1 ( #1321 )
...
Bumps [black](https://github.com/psf/black ) from 21.4b2 to 21.5b1.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-22 16:55:39 -07:00
dependabot[bot]
5c3b3ef97e
Update click requirement from ~=7.1.1 to >=7.1.1,<8.1.0 ( #1323 )
...
Updates the requirements on [click](https://github.com/pallets/click ) to permit the latest version.
- [Release notes](https://github.com/pallets/click/releases )
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/click/compare/7.1.1...8.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-22 16:54:48 -07:00
dependabot[bot]
b64d872046
Update itsdangerous requirement from ~=1.1 to >=1.1,<3.0 ( #1325 )
...
Updates the requirements on [itsdangerous](https://github.com/pallets/itsdangerous ) to permit the latest version.
- [Release notes](https://github.com/pallets/itsdangerous/releases )
- [Changelog](https://github.com/pallets/itsdangerous/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/itsdangerous/compare/1.1.0...2.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-22 16:54:24 -07:00
dependabot[bot]
593d3e8173
Update aiofiles requirement from <0.7,>=0.4 to >=0.4,<0.8 ( #1330 )
...
Updates the requirements on [aiofiles](https://github.com/Tinche/aiofiles ) to permit the latest version.
- [Release notes](https://github.com/Tinche/aiofiles/releases )
- [Commits](https://github.com/Tinche/aiofiles/compare/v0.4.0...v0.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-22 16:53:56 -07:00
dependabot[bot]
9b3b7e280c
Update jinja2 requirement from <2.12.0,>=2.10.3 to >=2.10.3,<3.1.0 ( #1324 )
...
Updates the requirements on [jinja2](https://github.com/pallets/jinja ) to permit the latest version.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/2.10.3...3.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 10:19:40 -07:00
dependabot-preview[bot]
1b697539f5
Bump black from 20.8b1 to 21.4b2 ( #1313 )
...
Bumps [black](https://github.com/psf/black ) from 20.8b1 to 21.4b2.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/master/CHANGES.md )
- [Commits](https://github.com/psf/black/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-29 08:47:49 -07:00
dependabot-preview[bot]
6ed9238178
Update pytest-asyncio requirement from <0.15,>=0.10 to >=0.10,<0.16 ( #1303 )
...
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases )
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.10.0...v0.15.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-19 11:18:17 -07:00
Simon Willison
0a7621f96f
Use pytest-xdist to speed up tests ( #1290 )
...
* Run tests in CI using pytest-xdist
* Documentation for pytest-xdist
Closes #1289
2021-04-02 20:42:28 -07:00
Konstantin Baikov
8e18c79431
Use context manager instead of plain open ( #1211 )
...
Context manager with open closes the files after usage.
When the object is already a pathlib.Path i used read_text
write_text functions
In some cases pathlib.Path.open were used in context manager,
it is basically the same as builtin open.
Thanks, Konstantin Baikov!
2021-03-11 08:15:49 -08:00
Simon Willison
cc6774cbaa
Upgrade httpx and remove xfail from tests, refs #1005
2021-02-28 14:34:44 -08:00
Simon Willison
eda652cf6e
--ssl-keyfile and --ssl-certfile options to "datasette serve"
...
Closes #1221
2021-02-11 16:52:16 -08:00
dependabot-preview[bot]
6119bd7973
Update pytest requirement from <6.2.0,>=5.2.2 to >=5.2.2,<6.3.0 ( #1145 )
...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/5.2.2...6.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-16 13:44:39 -08:00
Simon Willison
967cc05545
Powered by links to datasette.io, closes #1138
2020-12-10 15:37:08 -08:00
Simon Willison
cefd058c1c
New explicit versioning mechanism
...
Closes #1054
2020-10-28 20:38:15 -07:00
dependabot-preview[bot]
8796172652
Update aiofiles requirement from <0.6,>=0.4 to >=0.4,<0.7 ( #1059 )
...
Updates the requirements on [aiofiles](https://github.com/Tinche/aiofiles ) to permit the latest version.
- [Release notes](https://github.com/Tinche/aiofiles/releases )
- [Commits](https://github.com/Tinche/aiofiles/compare/v0.4.0...v0.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-28 10:08:27 -07:00
Nicholas Bollweg
cab8e65261
Add minimum supported python ( #1044 )
2020-10-23 13:53:07 -07:00
dependabot-preview[bot]
7f2edb5dd2
Update janus requirement from <0.6,>=0.4 to >=0.4,<0.7 ( #1017 )
...
Updates the requirements on [janus](https://github.com/aio-libs/janus ) to permit the latest version.
- [Release notes](https://github.com/aio-libs/janus/releases )
- [Changelog](https://github.com/aio-libs/janus/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/janus/compare/v0.4.0...v0.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-14 14:52:07 -07:00
dependabot-preview[bot]
b4a8e70957
Update asgiref requirement from ~=3.2.10 to >=3.2.10,<3.4.0 ( #1018 )
...
Updates the requirements on [asgiref](https://github.com/django/asgiref ) to permit the latest version.
- [Release notes](https://github.com/django/asgiref/releases )
- [Changelog](https://github.com/django/asgiref/blob/master/CHANGELOG.txt )
- [Commits](https://github.com/django/asgiref/compare/3.2.10...3.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-14 14:51:34 -07:00
Simon Willison
1bdbc8aa7f
Datasette now supports Python 3.9
2020-10-09 10:57:55 -07:00
Simon Willison
8f97b9b58e
datasette.client internal requests mechanism
...
Closes #943
* Datasette now requires httpx>=0.15
* Support OPTIONS without 500, closes #1001
* Added internals tests for datasette.client methods
* Datasette's own test mechanism now uses httpx to simulate requests
* Tests simulate HTTP 1.1 now
* Added base_url in a bunch more places
* Mark some tests as xfail - will remove that when new httpx release ships: #1005
2020-10-09 09:11:24 -07:00
dependabot-preview[bot]
1f021c3711
Update pytest requirement from <6.1.0,>=5.2.2 to >=5.2.2,<6.2.0 ( #977 )
...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/5.2.2...6.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-28 15:16:34 -07:00
Simon Willison
a648bb82ba
Upgrade to Black 20.8b1, closes #958
2020-09-02 15:24:55 -07:00
Simon Willison
5e0b72247e
Run CI on GitHub Actions, not Travis
...
* Run CI on GitHub Actions, not Travis - refs #940
* Update documentation refs to Travis
* Release action now runs parallel tests, then pushes to PyPI, then Docker Hub
2020-08-17 22:09:34 -07:00
Simon Willison
41ddc19756
Docs now live at docs.datasette.io ( #937 )
2020-08-15 16:57:05 -07:00
Simon Willison
b86f94883b
Don't hang in db.execute_write_fn() if connection fails
...
Closes #935
Refs https://github.com/simonw/latest-datasette-with-all-plugins/issues/3
2020-08-15 15:35:31 -07:00
Simon Willison
e139a7619f
'datasette --get' option, closes #926
...
Also made a start on the datasette.utils.testing module, refs #898
2020-08-11 17:24:40 -07:00
Simon Willison
6a126fa25f
Removed aiohttp from test dependencies
...
It wasn't being used.
2020-08-11 16:05:00 -07:00
Simon Willison
2955e7ea51
One last update of the new tagline
2020-08-09 09:40:17 -07:00
dependabot-preview[bot]
c5c12a797f
Update pytest requirement from <5.5.0,>=5.2.2 to >=5.2.2,<6.1.0 ( #910 )
...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/5.2.2...6.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-29 14:26:03 -07:00
abeyerpath
6be5654ffa
Exclude tests from package, properly this time
...
The `exclude` argument to `find_packages` needs an iterable of package
names.
Closes #456 - thanks, @abeyerpath!
2020-07-24 13:39:53 -07:00
Simon Willison
08b4928a75
asgi-csrf>=0.6, refs #835
2020-06-30 18:18:19 -07:00
dependabot-preview[bot]
1bb33dab49
Update pytest-asyncio requirement from <0.13,>=0.10 to >=0.10,<0.15 ( #866 )
...
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases )
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.10.0...v0.14.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-24 11:50:55 -07:00
Simon Willison
57e812d5de
ds_author cookie can now expire, closes #829
...
Refs https://github.com/simonw/datasette-auth-github/issues/62#issuecomment-642152076
2020-06-10 12:39:54 -07:00
Simon Willison
9c563d6aed
Bump asgi-csrf to 0.5.1 for a bug fix
...
Refs https://github.com/simonw/asgi-csrf/issues/10
2020-06-05 17:15:52 -07:00
Simon Willison
84a9c4ff75
CSRF protection ( #798 )
...
Closes #793 .
* Rename RequestParameters to MultiParams, refs #799
* Allow tuples as well as lists in MultiParams, refs #799
* Use csrftokens when running tests, refs #799
* Use new csrftoken() function, refs https://github.com/simonw/asgi-csrf/issues/7
* Check for Vary: Cookie hedaer, refs https://github.com/simonw/asgi-csrf/issues/8
2020-06-05 12:05:57 -07:00
Simon Willison
fa27e44fe0
datasette.sign() and datasette.unsign() methods, refs #785
2020-05-31 18:16:42 -07:00
Simon Willison
fc24edc153
Added project_urls, closes #764
2020-05-11 11:28:53 -07:00
dependabot-preview[bot]
b314e088c5
Update pytest-asyncio requirement from ~=0.10.0 to >=0.10,<0.13 ( #753 )
...
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases )
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.10.0...v0.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 10:40:48 -07:00
dependabot-preview[bot]
707fe03994
Update beautifulsoup4 requirement from ~=4.8.1 to >=4.8.1,<4.10.0 ( #720 )
...
Updates the requirements on [beautifulsoup4](http://www.crummy.com/software/BeautifulSoup/bs4/ ) to permit the latest version.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 10:14:46 -07:00
dependabot-preview[bot]
c91fb9e3d4
Update pytest requirement from ~=5.2.2 to >=5.2.2,<5.5.0 ( #721 )
...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/5.2.2...5.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 10:13:41 -07:00
dependabot-preview[bot]
aa064de3f4
Update jinja2 requirement from ~=2.10.3 to >=2.10.3,<2.12.0 ( #722 )
...
Updates the requirements on [jinja2](https://github.com/pallets/jinja ) to permit the latest version.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/2.10.3...2.11.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 10:13:15 -07:00
dependabot-preview[bot]
109c5a430d
Update janus requirement from ~=0.4.0 to >=0.4,<0.6 ( #734 )
...
Updates the requirements on [janus](https://github.com/aio-libs/janus ) to permit the latest version.
- [Release notes](https://github.com/aio-libs/janus/releases )
- [Changelog](https://github.com/aio-libs/janus/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/janus/compare/v0.4.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 09:48:03 -07:00
dependabot-preview[bot]
e232f77055
Update mergedeep requirement from ~=1.1.1 to >=1.1.1,<1.4.0 ( #728 )
...
Updates the requirements on [mergedeep](https://github.com/clarketm/mergedeep ) to permit the latest version.
- [Release notes](https://github.com/clarketm/mergedeep/releases )
- [Commits](https://github.com/clarketm/mergedeep/compare/v1.1.1...v1.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 09:45:49 -07:00
dependabot-preview[bot]
985e59493e
Update aiofiles requirement from ~=0.4.0 to >=0.4,<0.6 ( #725 )
...
Refs #754
Updates the requirements on [aiofiles](https://github.com/Tinche/aiofiles ) to permit the latest version.
- [Release notes](https://github.com/Tinche/aiofiles/releases )
- [Commits](https://github.com/Tinche/aiofiles/compare/v0.4.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 09:17:48 -07:00
Simon Willison
d349d57cdf
Smarter merging of metadata and extra_metadata, closes #724
2020-04-10 11:34:09 -07:00
Simon Willison
6717c719dd
--metadata accepts YAML as well as JSON - closes #713
2020-04-02 12:30:53 -07:00
Simon Willison
e1a817411a
Bump to click 7.1.1 to fix flaky tests
2020-03-21 18:47:51 -07:00
Simon Willison
a093c5f79f
.execute_write() and .execute_write_fn() methods on Database ( #683 )
...
Closes #682 .
2020-02-24 20:45:07 -08:00
Simon Willison
9c3f0b73de
Bump to uvicorn 0.11
2019-12-22 15:33:04 +00:00
Simon Willison
7f89928062
Removed code that conditionally installs black
...
Since we no longer support Python 3.5 we don't need this any more.
2019-11-11 21:33:51 -08:00
Simon Willison
cf7776d36f
Support Python 3.8, stop supporting Python 3.5 ( #627 )
...
* Upgrade to uvicorn 0.10.4
* Drop support for Python 3.5
* Bump all dependencies to latest releases
* Update docs to reflect we no longer support 3.5
* Removed code that skipped black unit test on 3.5
Closes #622
2019-11-11 21:09:11 -08:00
Simon Willison
42ee3e16a9
Bump pint to 0.9 ( #624 )
...
This fixes 2 deprecation warnings in Python 3.8 - refs #623 #622
2019-11-10 20:19:01 -08:00
Simon Willison
5dd4d2b2d3
Update to latest black ( #609 )
2019-10-30 11:49:01 -07:00
Simon Willison
d224ee2c98
Bump to uvicorn 0.8.4 ( #559 )
...
https://github.com/encode/uvicorn/commits/0.8.4
Query strings will now be included in log files: https://github.com/encode/uvicorn/pull/384
2019-07-13 15:34:57 -07:00
Simon Willison
f0d32da0a9
Switch to ~= dependencies, closes #532 ( #536 )
...
* Switch to ~= dependencies, closes #532
* Bump click and click-default-group
* imp. is deprecated, use types.ModuleType instead - thanks https://stackoverflow.com/a/32175781
* Upgrade to pytest 5
2019-07-02 21:32:55 -07:00
Simon Willison
9e97b725f1
pip install -e .[docs] for docs dependencies
2019-06-25 05:08:04 -07:00
Simon Willison
6341f8cbc7
Better coverage of sqlite-utils in FTS docs, closes #525
2019-06-24 09:28:42 -07:00
Simon Willison
ba8db9679f
Port Datasette from Sanic to ASGI + Uvicorn ( #518 )
...
Datasette now uses ASGI internally, and no longer depends on Sanic.
It now uses Uvicorn as the underlying HTTP server.
This was thirteen months in the making... for full details see the issue:
https://github.com/simonw/datasette/issues/272
And for a full sequence of commits plus commentary, see the pull request:
https://github.com/simonw/datasette/pull/518
2019-06-23 20:13:09 -07:00
Simon Willison
5e8fbf7f6f
Upgrade pytest to 4.6.1, pluggy to 0.12.0 ( #497 )
2019-06-02 19:06:26 -07:00
Simon Willison
48759d3b35
New setup.py description
2019-05-19 14:57:47 -07:00
Veit Heller
9f8d9fe262
setup: add tests to package exclusion ( #458 )
2019-05-09 18:54:50 -07:00
Simon Willison
35d6ee2790
Apply black to everything, enforce via unit tests ( #449 )
...
I've run the black code formatting tool against everything:
black tests datasette setup.py
I also added a new unit test, in tests/test_black.py, which will fail if the code does not
conform to black's exacting standards.
This unit test only runs on Python 3.6 or higher, because black itself doesn't run on 3.5.
2019-05-03 22:15:14 -04:00
Simon Willison
9cd3b44277
Upgrade to Jinja2==2.10.1 ( #426 )
2019-04-10 16:13:30 -07:00
Simon Willison
0209a0a344
table_exists() now uses async SQL, refs #420
2019-03-31 11:02:22 -07:00
Simon Willison
b3e7393326
Allow more recent versions of Click
...
Closes #414
2019-03-14 21:41:43 -07:00
Simon Willison
c4c970f3c9
Bump aiohttp to 3.5.3 to fix a warning
2019-01-10 16:47:15 -08:00
Simon Willison
84d7890b63
Upgrade pytest to 4.0.2
2018-12-16 13:18:55 -08:00