Skip to content
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

Remove flask-restful #215

Merged
merged 31 commits into from May 21, 2021
Merged

Remove flask-restful #215

merged 31 commits into from May 21, 2021

Conversation

rybesh
Copy link
Member

@rybesh rybesh commented May 21, 2021

flask-restful is no longer being developed and its creator recommends using superior alternatives. These changes adopt a couple of those (marshmallow, webargs) and remove flask-restful, which results in some long-needed improvements to the organization of the code for e.g. content negotiation.

As long as we’re doing major refactoring, these changes also incorporate a bunch of linting and code quality suggestions from pyright and flake8, and adopts the black code formatting style.

dependabot bot and others added 30 commits March 15, 2021 07:52
Bumps [jsonpatch](https://github.com/stefankoegl/python-json-patch) from 1.28 to 1.32.
- [Release notes](https://github.com/stefankoegl/python-json-patch/releases)
- [Commits](stefankoegl/python-json-patch@v1.28...v1.32)

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [httpx](https://github.com/encode/httpx) from 0.16.1 to 0.18.1.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](encode/httpx@0.16.1...0.18.1)

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pygments](https://github.com/pygments/pygments) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.8.0...2.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.2 to 6.2.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@6.2.2...6.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 1.0.1 to 2.0.1.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](pallets/werkzeug@1.0.1...2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [flask](https://github.com/pallets/flask) from 1.1.2 to 2.0.0.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](pallets/flask@1.1.2...2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
flask-restful is no longer being developed and its creator recommends
against using it. with new major versions of flask and werkzeug I took
the opportunity to replace it. along the way I also fixed various
issues identified by pyright and flake8
@rybesh rybesh merged commit fd9865a into master May 21, 2021
@rybesh rybesh deleted the upgrade-dependencies branch May 21, 2021 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant