Commit graph

72 commits

Author SHA1 Message Date
David Lord
4e8787b915
test min/dev versions of pallets deps 2021-11-15 13:08:34 -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
vojtekb
95db82f8f7 py.test => pytest (#2173)
py.test => pytest
2017-02-09 18:34:16 +01:00
Markus Unterwaditzer
47e8410117 Merge pull request #2131 from wgwz/add-larger-app-ex
Add larger app ex
2017-01-15 05:56:12 +01:00
Andrew Arendt
01b992b1a1 Added python3.6 support for tests 2017-01-10 11:20:53 -06:00
wgwz
92fa444259 Moves largerapp into patterns dir and add test
- also adds this pattern into tox for testing
2016-12-31 12:08:25 -05:00
Markus Unterwaditzer
a4ed3d2806 Use tox from make test 2016-11-02 17:56:59 +01:00
Alex Kahan
6478d7bb99 Adding coverage generation to tox (#2071)
* Adding coverage generation to tox

* Removing test directory from coverage command

* Adding back  to pytest command
2016-10-31 23:10:27 +01:00
Jeff Widman
9359e9f911 Remove unused Redbaron dependency (#1967) 2016-07-29 14:27:30 +02:00
James Farrington
f034d2e271 Tests with and without simplejson for every existing testenv (#1869) 2016-06-03 09:29:12 -07:00
David Lord
024fbe5a60 Revert "Adds simplejson as a testing target." (#1865) 2016-06-02 14:54:49 -07:00
James Farrington
390cd5e4ee Fixed #1846 2016-06-02 11:58:02 -07:00
José Carlos García
567fff9d0d Change to Pallets project
* Update CHANGES

* Update CONTRIBUTING.rst

* Update setup.py

* Update tox.ini

* Update extensions.rst

* Update security.rst

* Update installation.rst

* Update testing.rst

* Update upgrading.rst

* Update sidebarintro.html

* Update jquery.rst

* Update dbcon.rst

* Update index.rst
2016-04-03 23:11:38 +02:00
David Lord
d7b20e0ad7 use https instead of git protocol
git protocol is blocked on some networks
2015-12-03 16:40:46 -08:00