Adrian Moennich
d235ab0faa
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
943009c8ec
Initial typing support
...
This enables type checking in CI and marks the project as typed.
2021-04-26 17:20:24 +01:00
pgjones
47e0f2aab8
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
904d087dfe
update test config
2021-02-08 18:17:45 -08:00
David Lord
eecaf84333
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
1b5c7e4e12
test Python 3.9
2020-10-31 19:14:02 -07:00
David Lord
8222636c6e
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
b1816e2747
use pip-compile to pin dev requirements
2020-05-23 14:03:11 -07:00
David Lord
187cfe90b8
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
8433de53c9
drop support for Python 2.7 and 3.5
2020-04-04 12:09:55 -07:00
David Lord
304a1e06d5
add 3.8 to pipelines
2019-11-18 18:57:43 -08:00
Aliaksei Urbanski
36ce489ee3
declare support for Python 3.8
2019-11-18 18:26:46 -08:00
David Lord
43f66251ad
Merge branch '1.0.x'
2019-06-12 10:41:11 -07:00
David Lord
bc5269e5da
remove codecov
2019-06-12 10:35:35 -07:00
David Lord
090bc4470e
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
1a9616d581
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
6a8c1eeb6c
azure pipelines ci on 1.0.x branch
2019-05-16 14:32:21 -07:00
David Lord
550f93b7b8
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
5008fd8032
Add Python 3.7 to CI.
2019-01-06 07:09:11 -08:00
David Lord
a97c5c75c7
fix docs build
2019-01-05 14:59:25 -08:00
David Lord
08f803fcea
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
010156c80a
use theme provided by pallets-sphinx-themes
2018-04-18 12:05:31 -07:00
David Lord
a894586ba8
add javascript ajax example
2018-04-12 11:06:02 -07:00
David Lord
e29bd92c52
rewrite tutorial docs and example
2018-04-09 00:53:25 -07:00
David Lord
54f57678ba
bump dependency versions
2018-02-06 08:03:09 -08:00
Fadhel_Chaabane
1fdd2d30eb
Changed Werkzeug min version to 0.14 to support SameSite cookie's attribute
2018-01-23 15:02:07 +00:00
David Lord
4f89c6cd5c
Merge pull request #2541 from nsiregar/#2535_update_pycharm_instruction
...
update pycharm instructions
2018-01-04 12:56:38 -08:00
David Lord
5a25d8d029
smaller, optimized image
...
reword / reformat the docs
fix tox build directory
2018-01-04 12:34:25 -08:00
David Lord
2c7a1ffa71
remove tests and docs for python 2.6 and 3.3
2017-12-16 07:00:00 -08:00
David Lord
e866c15e4a
install argparse for 2.6
...
closes #2476
2017-09-28 10:59:21 -07:00
David Lord
f0101de17b
load env vars using python-dotenv
2017-07-16 13:37:51 -07:00
David Lord
d3c7cacca2
detox breaks docs test env for some reason
...
[ci skip]
2017-06-28 08:06:28 -07:00
David Lord
7a517652e0
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
50df5f8b91
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
f3be739855
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
83d2ba9cf8
py.test => pytest ( #2173 )
...
py.test => pytest
2017-02-09 18:34:16 +01:00
Markus Unterwaditzer
07a0006121
Merge pull request #2131 from wgwz/add-larger-app-ex
...
Add larger app ex
2017-01-15 05:56:12 +01:00
Andrew Arendt
9f0db54689
Added python3.6 support for tests
2017-01-10 11:20:53 -06:00
wgwz
cc9b3c60da
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
f31af2351b
Use tox from make test
2016-11-02 17:56:59 +01:00
Alex Kahan
fbcba68f5f
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
e5ea782c55
Remove unused Redbaron dependency ( #1967 )
2016-07-29 14:27:30 +02:00
James Farrington
7ec2989039
Tests with and without simplejson for every existing testenv ( #1869 )
2016-06-03 09:29:12 -07:00
David Lord
8c126668a5
Revert "Adds simplejson as a testing target." ( #1865 )
2016-06-02 14:54:49 -07:00
James Farrington
2739bbfa03
Fixed #1846
2016-06-02 11:58:02 -07:00
José Carlos García
fcb3c0a4fe
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
668f132450
use https instead of git protocol
...
git protocol is blocked on some networks
2015-12-03 16:40:46 -08:00
Timo Furrer
9965a980d6
add python 3.5 build to travis config
2015-10-24 21:16:05 +02:00
Keyan Pishdadian
10fb3d7a40
Move test file, add RedBaron to tox.ini
2015-02-12 13:06:45 -05:00
Markus Unterwaditzer
273e6f2977
Add greenlet
2014-09-11 22:09:51 +02:00