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
David Lord
c3dd7b8e4c
rewrite tutorial docs and example
2018-04-09 00:53:25 -07:00
David Lord
af32ea0b94
bump dependency versions
2018-02-06 08:03:09 -08:00
Fadhel_Chaabane
db5735c3ce
Changed Werkzeug min version to 0.14 to support SameSite cookie's attribute
2018-01-23 15:02:07 +00:00
David Lord
54f3d2131d
Merge pull request #2541 from nsiregar/#2535_update_pycharm_instruction
...
update pycharm instructions
2018-01-04 12:56:38 -08:00
David Lord
c11fe5d007
smaller, optimized image
...
reword / reformat the docs
fix tox build directory
2018-01-04 12:34:25 -08:00
David Lord
28d0f66c1f
remove tests and docs for python 2.6 and 3.3
2017-12-16 07:00:00 -08:00
David Lord
3a8cc37663
install argparse for 2.6
...
closes #2476
2017-09-28 10:59:21 -07:00
David Lord
491d331e6e
load env vars using python-dotenv
2017-07-16 13:37:51 -07:00
David Lord
6162ecef19
detox breaks docs test env for some reason
...
[ci skip]
2017-06-28 08:06:28 -07:00
David Lord
3c7625e8c0
update development resources
...
fix tox to test examples again
add detox tox env for faster testing
clean up makefile, add tox target
add extra group for installing dev requirements
clean up contributing doc, build with docs
expand issue template
add pull request template
2017-05-28 10:26:07 -07:00
David Lord
65b22926f7
reduce number of tox and travis envs
...
bump minimum werkzeug version to fix tests
cache pip pacakges on travis
collect branch coverage
collect coverage of test code
report coverage across envs
test building docs
enable codecov integration
2017-05-24 15:41:35 -07:00
David Lord
a11212377d
add lowest click version to tox
...
add devel click version to tox
add devel markupsafe version to tox
2017-05-23 16:08:46 -07:00