Commit graph

96 commits

Author SHA1 Message Date
David Lord
8f37c82f61
update min dependencies 2024-10-31 13:11:06 -07:00
David Lord
39e7208366
update dev dependencies 2024-10-31 13:08:52 -07:00
David Lord
227838c472
no need for separate requirements-skip folder anymore 2024-10-31 13:08:52 -07:00
David Lord
1d610e44b3
drop support for Python 3.8 2024-10-31 12:30:53 -07:00
bre-17387639
9e831e915f
fix pyright type errors 2024-10-24 14:46:34 -07:00
David Lord
52ccd66735
use python 3.9 to test dev versions 2024-10-18 13:19:51 -07:00
David Lord
c77b099cbb
remove min python for pip-compile 2024-08-23 17:18:38 -07:00
David Lord
40b78fa2ea
fix min python for pip-compile 2024-08-23 16:41:39 -07:00
David Lord
0f2ae2b933
add gha-update 2024-08-23 16:33:00 -07:00
David Lord
9101439d7b
test with python 3.13 2024-05-11 08:37:47 -07:00
David Lord
f958b6500b
build docs from scratch each test 2024-04-08 15:28:57 -07:00
David Lord
87d5f5b9a9
update project files (#5457)
* update pre-commit hook
* upgrade pip with venv
* update description and version
* show url in publish environment
* update versions
* update versions, separate typing job
* use dependabot grouped updates
  ignore upload/download-artifact until slsa updates
* use sphinx.ext.extlinks instead of sphinx-issues
* update dev dependencies
* update editorconfig
* update gitignore
* update .readthedocs.yaml
* license is txt, readme is md
* update pyproject.toml
  add typed classifier
  add pyright config
  simplify urls
* tox builds docs in place
* update min test py version
* add tox env to update all dev dependencies
* update issue and pr templates
* rename security docs page to not conflict with org policy file
* simplify matrix
2024-04-07 10:24:40 -07:00
David Lord
59fd6aa104
use pip-compile instead of pip-compile-multi 2023-11-15 12:44:20 -08:00
David Lord
d67c47b81f
simplify tox config
envs inherit base testenv
2023-06-27 08:29:41 -07:00
David Lord
8933d75443
update pypy test version 2023-06-27 07:41:15 -07:00
David Lord
2e8fe7b2f2
drop support for python 3.7 2023-04-20 11:09:55 -07:00
David Lord
9659b11a45
remove pypy 3.8 and 3.7 from tests 2023-04-20 10:15:58 -07:00
David Lord
7e6e68aed9
enforce minimum versions in env 2023-04-15 12:20:57 -07:00
David Lord
2a9d16d011
update tested python versions
test 3.11 final
test 3.12 dev
update for tox 4
2023-01-09 10:37:59 -08:00
David Lord
3ba37d2afe
fix uninstalled package tests under tox 2022-06-06 08:24:05 -07:00
David Lord
f5ed54b031
ignore examples tests
causing an unexpected failure in CI
2022-03-28 12:09:35 -07:00
David Lord
ea66c68553
Merge branch '2.0.x' 2021-11-15 13:26:06 -08:00
David Lord
4e8787b915
test min/dev versions of pallets deps 2021-11-15 13:08:34 -08:00
David Lord
7860c1de87
remove click 7 tox env 2021-11-15 06:46:25 -08:00
David Lord
e609dddd60
drop Python 3.6 2021-11-11 16:11:43 -08:00
David Lord
1f40c77f1d
test Python 3.10 and 3.11 2021-11-05 09:13:55 -07:00
David Lord
3a5532b4ed
update pallets projects minimum versions 2021-05-11 14:33:44 -07:00
Adrian Moennich
26a6cc0f94 Allow using Click 7 with a DeprecationWarning
As long as popular libraries (e.g. Celery) require click 7, depending
on Click 8 in Flask makes it hard to test the latest version (and its
other dependencies) in existing applications.
2021-04-27 16:45:06 +02:00
pgjones
f405c6f19e Initial typing support
This enables type checking in CI and marks the project as typed.
2021-04-26 17:20:24 +01:00
pgjones
c6c6408c3f
Raise a runtime error if run_async is called without real ContextVars
Werkzeug offers a ContextVar replacement for Python < 3.7, however it
doesn't work across asyncio tasks, hence it makes sense to error out
rather than find there are odd bugs.

Note the docs build requires the latest (dev) Werkzeug due to this
change (to import ContextVar from werkzeug.local).
2021-04-06 09:35:10 -07:00
David Lord
bfd4dc6d30
update test config 2021-02-08 18:17:45 -08:00
David Lord
7a444c5dab
update tests for new werkzeug client (#3827)
Flask's client.open mirrors Werkzeug's for processing an existing
environ.

Always test with latest code for other Pallets projects. This will
be changed back once the new versions are released.
2020-11-04 18:00:21 -08:00
Karthikeyan Singaravelan
76467527d6
test Python 3.9 2020-10-31 19:14:02 -07:00
David Lord
19a0db6d14
remove lowest version test until next release
The next major release will depend on the next major releases of all
the other libraries, which is equivalent to devel right now.
2020-07-23 16:50:00 -07:00
David Lord
eea31f29a5
use pip-compile to pin dev requirements 2020-05-23 14:03:11 -07:00
David Lord
c43edfc7c0
remove simplejson
- remove encoding detection backport, json.loads supports it directly
- use str.translate instead of multiple str.replace
2020-04-07 09:55:39 -07:00
David Lord
a0a61acdec
drop support for Python 2.7 and 3.5 2020-04-04 12:09:55 -07:00
David Lord
824e548036
add 3.8 to pipelines 2019-11-18 18:57:43 -08:00
Aliaksei Urbanski
33d9f9fa08
declare support for Python 3.8 2019-11-18 18:26:46 -08:00
David Lord
29111a3259
Merge branch '1.0.x' 2019-06-12 10:41:11 -07:00
David Lord
8a7d080085
remove codecov 2019-06-12 10:35:35 -07:00
David Lord
dbd4520ccb
fix tests failing with server name warnings
After pallets/werkzeug#1577, mismatched configured and real server
names will show a warning in addition to raising 404. This caused
tests that did this deliberately to fail.

This patch removes the pytest fixture we were using to fail on
warnings, instead using the standard `-Werror` option. This speeds
up the tests by ~3x.
2019-06-10 14:05:33 -07:00
EtiennePelletier
8590d65a57
Use Werkzeug's JSONMixin class and update tests
Flask's JSONMixin class was moved to Werkzeug>=0.15

Co-authored-by: Jeffrey Eliasen <jeff@jke.net>
2019-05-18 20:57:26 -07:00
David Lord
84f8e1634f
azure pipelines ci on 1.0.x branch 2019-05-16 14:32:21 -07:00
David Lord
8a14c6d67d
use specific pypy versions for travis xenial
remove 3.6 from appveyor, reduce in tox
remove deprecated travis feature "sudo: false"
split docs and devel,lowest travis envs
remove osx py2 env in attempt to finish faster
move travis matrix to python key
2019-01-06 07:52:03 -08:00
garenchan
deb211cf13
Add Python 3.7 to CI. 2019-01-06 07:09:11 -08:00
David Lord
8b567fea23
fix docs build 2019-01-05 14:59:25 -08:00
David Lord
b34c7174e7
update test envs
use pypy3
fix travis osx env
cache pip on appveyor
codecov on appveyor
2018-05-29 11:46:04 -07:00
David Lord
49a38ed999
use theme provided by pallets-sphinx-themes 2018-04-18 12:05:31 -07:00
David Lord
fce1885f76
add javascript ajax example 2018-04-12 11:06:02 -07:00