Commit Graph

394 Commits

Author SHA1 Message Date
Adam Englander
63308c7f49 Bump the python-requirements group across 1 directory with 4 updates (#278) 2024-07-28 20:39:49 -04:00
Adam Englander
b07b074223 Merge branch 'main' into dependabot/pip/requirements/python-requirements-b4fa06ea3a 2024-07-28 20:38:20 -04:00
Adam Englander
e005409ac4 [pre-commit.ci] pre-commit autoupdate (#273) 2024-07-28 20:35:29 -04:00
Adam Englander
969bc454b6 Merge branch 'main' into pre-commit-ci-update-config 2024-07-28 20:34:15 -04:00
dependabot[bot]
e6ac868826 Bump the python-requirements group across 1 directory with 4 updates
Bumps the python-requirements group with 4 updates in the /requirements directory: [mypy](https://github.com/python/mypy), [pyright](https://github.com/RobertCraigie/pyright-python), [pytest](https://github.com/pytest-dev/pytest) and [tox](https://github.com/tox-dev/tox).


Updates `mypy` from 1.10.0 to 1.11.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.10.0...v1.11)

Updates `pyright` from 1.1.365 to 1.1.373
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.365...v1.1.373)

Updates `pytest` from 8.2.1 to 8.3.2
- [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/8.2.1...8.3.2)

Updates `tox` from 4.15.0 to 4.15.1
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.15.0...4.15.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-requirements
- dependency-name: pyright
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-requirements
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-requirements
- dependency-name: tox
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-requirements
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 00:33:48 +00:00
Adam Englander
76a51dccf6 Bump the python-requirements group across 1 directory with 4 updates (#275) 2024-07-28 20:32:37 -04:00
Adam Englander
a1b9054479 Merge branch 'main' into dependabot/pip/requirements/python-requirements-1a0b311413 2024-07-28 20:30:52 -04:00
Adam Englander
2ea3823ae5 Bump certifi from 2024.2.2 to 2024.7.4 in /requirements (#276) 2024-07-28 20:30:26 -04:00
Adam Englander
02d6beff23 Merge branch 'main' into dependabot/pip/requirements/certifi-2024.7.4 2024-07-28 20:29:22 -04:00
Adam Englander
2f07e43da0 Bump zipp from 3.18.1 to 3.19.1 in /requirements (#277) 2024-07-28 20:28:58 -04:00
Adam Englander
654e80c494 Merge branch 'main' into dependabot/pip/requirements/zipp-3.19.1 2024-07-28 20:27:52 -04:00
Mac Newbold
877e69dc94 Add support for Flask.host_matching (#274) 2024-07-15 14:24:43 -06:00
Mac Newbold
44ee4b5e3a Merge branch 'main' into add-host-support-v2 2024-07-15 14:23:50 -06:00
dependabot[bot]
05104beefc Bump zipp from 3.18.1 to 3.19.1 in /requirements
Bumps [zipp](https://github.com/jaraco/zipp) from 3.18.1 to 3.19.1.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.18.1...v3.19.1)

---
updated-dependencies:
- dependency-name: zipp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 19:24:17 +00:00
dependabot[bot]
c3c3d5ec98 Bump certifi from 2024.2.2 to 2024.7.4 in /requirements
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-06 01:57:29 +00:00
dependabot[bot]
a2362ec4dd Bump the python-requirements group across 1 directory with 4 updates
Bumps the python-requirements group with 4 updates in the /requirements directory: [mypy](https://github.com/python/mypy), [pyright](https://github.com/RobertCraigie/pyright-python), [pytest](https://github.com/pytest-dev/pytest) and [tox](https://github.com/tox-dev/tox).


Updates `mypy` from 1.10.0 to 1.10.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.10.0...v1.10.1)

Updates `pyright` from 1.1.365 to 1.1.370
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.365...v1.1.370)

Updates `pytest` from 8.2.1 to 8.2.2
- [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/8.2.1...8.2.2)

Updates `tox` from 4.15.0 to 4.15.1
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.15.0...4.15.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-requirements
- dependency-name: pyright
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-requirements
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-requirements
- dependency-name: tox
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-requirements
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-04 21:37:04 +00:00
dependabot[bot]
449405e3ba Bump urllib3 from 2.2.1 to 2.2.2 in /requirements (#270)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-04 14:32:42 -07:00
Samuel Williams
9b0b63465a Add support for Flask.host_matching
Allows configuration of Flask-DebugToolbar to support a Flask app
running in `host_matching` mode.

When Flask is configured this way, routes are each tied to a `host`
definition. This can either be a single explicit host, or a host
definition that includes variable values similar to Werkzeug path
definitions, eg `<subdomain>.toolbar.com`.

Handling explicit domains is simple, as the host can be passed through
directly - and this happens automatically.

If the host contains any variable parts, then calls to `url_for` need to
be able to access the appropriate values for those variables. If the
host string specified by the user contains arbitrary variables, it's
difficult for the toolbar to know what those should evaluate to. So we
restrict the possible options for the toolbar host to one of two options
here: either a single explicit host, or a full-wildcard host. The
wildcard host is managed internally by Flask-DebugToolbar so that we
know: 1) the variable name, and 2) what value to inject for it (the
current request's host).
2024-07-02 08:42:27 +01:00
pre-commit-ci[bot]
6848e5440b [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.7...v0.5.0)
2024-07-01 21:56:01 +00:00
David Lord
b368ff9004 Bump requests from 2.31.0 to 2.32.0 in /requirements (#264) 2024-06-08 14:26:40 -07:00
dependabot[bot]
ad9f1c0783 ---
updated-dependencies:
- dependency-name: requests
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-08 14:25:52 -07:00
David Lord
314ef64e2e Bump jinja2 from 3.1.3 to 3.1.4 in /requirements (#263) 2024-06-08 14:24:08 -07:00
dependabot[bot]
d4e1b1856b Bump jinja2 from 3.1.3 to 3.1.4 in /requirements
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [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/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-08 14:23:21 -07:00
David Lord
0fbc6210a8 [pre-commit.ci] pre-commit autoupdate (#262) 2024-06-08 14:22:45 -07:00
pre-commit-ci[bot]
7d3a6e3733 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.2...v0.4.7)
2024-06-08 14:21:16 -07:00
David Lord
1f904cfa8c Bump actions/checkout from 4.1.4 to 4.1.6 in the github-actions group (#266) 2024-06-08 14:20:54 -07:00
dependabot[bot]
6174ae7539 Bump actions/checkout from 4.1.4 to 4.1.6 in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.1.4 to 4.1.6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](0ad4b8fada...a5ac7e51b4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-08 14:20:00 -07:00
David Lord
193a3ed4f2 Bump the python-requirements group in /requirements with 4 updates (#265) 2024-06-08 14:19:34 -07:00
dependabot[bot]
1c82c2861f Bump the python-requirements group in /requirements with 4 updates
Bumps the python-requirements group in /requirements with 4 updates: [pyright](https://github.com/RobertCraigie/pyright-python), [pytest](https://github.com/pytest-dev/pytest), [types-pygments](https://github.com/python/typeshed) and [pygments](https://github.com/pygments/pygments).


Updates `pyright` from 1.1.360 to 1.1.365
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.360...v1.1.365)

Updates `pytest` from 8.2.0 to 8.2.1
- [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/8.2.0...8.2.1)

Updates `types-pygments` from 2.17.0.20240310 to 2.18.0.20240506
- [Commits](https://github.com/python/typeshed/commits)

Updates `pygments` from 2.17.2 to 2.18.0
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.17.2...2.18.0)

---
updated-dependencies:
- dependency-name: pyright
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-requirements
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-requirements
- dependency-name: types-pygments
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-requirements
- dependency-name: pygments
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-requirements
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-01 08:27:42 +00:00
David Lord
e529ad95bc Bump werkzeug from 3.0.2 to 3.0.3 in /requirements (#261) 2024-05-06 18:56:10 -07:00
dependabot[bot]
f4702f45fb Bump werkzeug from 3.0.2 to 3.0.3 in /requirements
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 19:51:48 +00:00
David Lord
a2a2b1382c remove __version__ (#260) 2024-04-30 15:10:08 -07:00
David Lord
a0ccd43e8f use feature detection for jinja extensions 2024-04-30 15:09:09 -07:00
David Lord
71b7f6f0ce remove __version__ 2024-04-30 15:04:59 -07:00
David Lord
cf69fb7f1e deprecate __version__ 2024-04-30 11:35:01 -07:00
Mac Newbold
1d990e7f52 add static type annotations (#259) 2024-04-30 12:14:19 -06:00
David Lord
cdcf917044 add static type annotations 2024-04-30 10:55:06 -07:00
Mac Newbold
691acc186b apply formatting and linting rules (#258) 2024-04-30 11:53:37 -06:00
David Lord
3573841522 apply formatting and linting rules 2024-04-30 08:28:03 -07:00
David Lord
879918429e fix links 2024-04-30 07:36:57 -07:00
David Lord
4ccb3c9be6 update project files (#257) 2024-04-29 15:38:40 -07:00
David Lord
128bd5af6f update project files
use standard project layout and tool config across all pallets and
pallets-eco projects

* add issue templates
* add dependabot grouped updates for actions and pypi
* add lock inactive closed issues workflow
* add publish workflow with slsa and trusted publishing
* simplify tests workflow matrix
* simplify docs config.py
* show license in docs
* use pip-compile to pin development dependencies
* rename test to tests
* add .editorconfig
* simplify .gitignore
* add pre-commit hooks (will run formatters  in a subsequent PR)
* pin os and python in .readthedocs.yaml
* update license with original commit date and pallets-eco
* use pyproject.toml and flit_core instead of setuptools
* only declare flask dependency
* add config for mypy and pyright (will add typing in a subsequent PR)
* readme is markdown
* add pallets-eco message to readme
* remove install and docs links from readme
* add style, typing, docs tox envs
* use faster wheel building tox config
* add tox command to update dev dependencies
2024-04-29 10:54:08 -07:00
David Lord
dfb101fb18 Bump Flask to >=2.3.0 (#256) 2024-04-29 10:39:12 -07:00
Jeff Widman
9c9f24a2f2 Bump Flask to >=2.3.0
Now that we've dropped support for Python `3.7`,
it probably makes sense to also bump our minimum
version of Flask to `2.3.0`, as that is when Flask
dropped support for Python `3.7`: https://flask.palletsprojects.com/en/3.0.x/changes/#version-2-3-0
2024-04-29 17:31:49 +00:00
David Lord
bfd4d8506f Drop unnecessary Blinker dependency (#248) 2024-04-29 10:28:52 -07:00
Jeff Widman
677bf794aa Drop unnecessary Blinker dependency
Flask requires this, so it's a transitive dep, but it's not directly used within this toolbar at all.

We do directly import the other listed packages, so they should stay.
2024-04-29 11:20:24 -06:00
David Lord
c218bb1084 drop python 3.7 support (#255) 2024-04-29 09:55:17 -07:00
David Lord
ff3ed47d12 drop python 3.7 support 2024-04-29 09:13:37 -07:00
Jeff Widman
4225f7f4ad Bump to 0.15.1 (#254)
Bump to `0.15.1` release so that we can get this minor bugfix live:
* #253
0.15.1
2024-04-27 11:03:27 -07:00
Joel Burton
a63f64051b Fix prob w/using w/o SQLAlchemy (#253) 2024-04-25 14:47:07 -07:00