forked from pallets/flask
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pyup bot #1
Open
aekkasit114
wants to merge
843
commits into
pyup-bot:master
Choose a base branch
from
pallets:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Pyup bot #1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.4.3 to 6.0.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](pytest-dev/pytest@5.4.3...6.0.0) Signed-off-by: dependabot-preview[bot] <[email protected]>
Bumps [tox](https://github.com/tox-dev/tox) from 3.18.0 to 3.18.1. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst) - [Commits](tox-dev/tox@3.18.0...3.18.1) Signed-off-by: dependabot-preview[bot] <[email protected]>
When loading the app fails for the --help command, only the error message is shown, then the help text. The full traceback is shown for other exceptions. Also show the message when loading fails while getting a command, instead of only "command not found". The error message goes to stderr to match other error behavior, and is in red with an extra newline to make it more obvious next to the help text. Also fixes an issue with the test_apps fixture that caused an imported app to still be importable after the test was over and the path was reset. Now the module cache is reset as well.
cleaner message when CLI can't load app
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.0.0 to 6.0.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](pytest-dev/pytest@6.0.0...6.0.1) Signed-off-by: dependabot-preview[bot] <[email protected]>
Co-authored-by: Chris Nguyen <[email protected]>
Common API Between Flask + Blueprint
Bumps [pip-tools](https://github.com/jazzband/pip-tools) from 5.3.0 to 5.3.1. - [Release notes](https://github.com/jazzband/pip-tools/releases) - [Changelog](https://github.com/jazzband/pip-tools/blob/master/CHANGELOG.md) - [Commits](jazzband/pip-tools@5.3.0...5.3.1) Signed-off-by: dependabot-preview[bot] <[email protected]>
Fix bad intersphinx link
Bumps [tox](https://github.com/tox-dev/tox) from 3.18.1 to 3.19.0. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst) - [Commits](tox-dev/tox@3.18.1...3.19.0) Signed-off-by: dependabot-preview[bot] <[email protected]>
Bump tox from 3.18.1 to 3.19.0
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.1.2 to 3.2.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES) - [Commits](sphinx-doc/sphinx@v3.1.2...v3.2.0) Signed-off-by: dependabot-preview[bot] <[email protected]>
Commit 2ae740d probably inadvertently changed to iterate over a set of "create_app", "make_app" to discover application factory functions. As sets don't guarantee order, differences in the implementation of the type can make it non-deterministic which factory function is used if a project implements both. Revert to using a tuple. Signed-off-by: Nils Philippsen <[email protected]>
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.2.0 to 3.2.1. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES) - [Commits](sphinx-doc/sphinx@v3.2.0...v3.2.1) Signed-off-by: dependabot-preview[bot] <[email protected]>
fixed #3738 typo in src/flask/blueprints.py
Fix pre-commit cache key to include full Python version as per pre-commit/pre-commit#1575 (comment) and https://pre-commit.com/#github-actions-example
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.6.0 to 2.7.1. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md) - [Commits](pre-commit/pre-commit@v2.6.0...v2.7.1) Signed-off-by: dependabot-preview[bot] <[email protected]>
anwarnafa
approved these changes
Sep 2, 2020
Add tips for using async on Windows on Python 3.8
Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 0.17.0 to 0.17.1. - [Release notes](https://github.com/theskumar/python-dotenv/releases) - [Changelog](https://github.com/theskumar/python-dotenv/blob/master/CHANGELOG.md) - [Commits](theskumar/python-dotenv@v0.17.0...v0.17.1) Signed-off-by: dependabot[bot] <[email protected]>
…17.1 Bump python-dotenv from 0.17.0 to 0.17.1
Update changelog for #3932
This was required with the previous implementation of Werkzeug's locals which didn't persist across threads. However as the current implementation uses ContextVars which do persist the context copying is no longer required.
Firstly `run_sync` was a misleading name as it didn't run anything, instead I think `async_to_sync` is much clearer as it converts a coroutine function to a function. (Name stolen from asgiref). Secondly trying to run the ensure_sync during registration made the code more complex and brittle, e.g. the _flask_async_wrapper usage. This was done to pay any setup costs during registration rather than runtime, however this only saved a iscoroutne check. It allows the weirdness of the Blueprint and Scaffold ensure_sync methods to be removed. Switching to runtime ensure_sync usage provides a method for extensions to also support async, as now documented.
It is better to encourage users to utilise the app ensure_sync method (or the newely added async_to_sync method) so that any extensions that alter these methods take affect throughout the users code. With the helper method users code fix parts of their code to the asgiref async_to_sync ignoring any extension changes.
Async improvements
release version 2.0.0rc2
updates: - [github.com/asottile/pyupgrade: v2.13.0 → v2.14.0](asottile/pyupgrade@v2.13.0...v2.14.0) - [github.com/psf/black: 21.4b0 → 21.4b2](psf/black@21.4b0...21.4b2)
[pre-commit.ci] pre-commit autoupdate
updates: - [github.com/asottile/pyupgrade: v2.14.0 → v2.15.0](asottile/pyupgrade@v2.14.0...v2.15.0) - [github.com/psf/black: 21.4b2 → 21.5b1](psf/black@21.4b2...21.5b1) - [github.com/PyCQA/flake8: 3.9.1 → 3.9.2](PyCQA/flake8@3.9.1...3.9.2)
[pre-commit.ci] pre-commit autoupdate
show type hints in description
Improve CLI docs
update pre-commit monthly
Release 2.0.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe what this patch does to fix the issue.
Link to any relevant issues or pull requests.
@aekkasit114