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

chore: @rest endpoints are now run by starlette/uvicorn instead of flask/werkzeug #129

Merged
merged 9 commits into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ All notable changes to the ``topology`` project will be documented in this file.
[UNRELEASED] - Under development
********************************

General Information
===================
- ``@rest`` endpoints are now run by ``starlette/uvicorn`` instead of ``flask/werkzeug``.

[2022.3.0] - 2022-12-15
***********************

Expand Down
223 changes: 116 additions & 107 deletions main.py

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions requirements/dev.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-e git+https://github.com/kytos-ng/python-openflow.git#egg=python-openflow
-e git+https://github.com/kytos-ng/kytos.git#egg=kytos
-e .[dev]
pytest-asyncio==0.18.3
black==22.3.0
-e git+https://github.com/kytos-ng/kytos.git#egg=kytos[dev]
-e .
280 changes: 0 additions & 280 deletions requirements/dev.txt

This file was deleted.

2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
exclude = .eggs,ENV,build,docs/conf.py,venv

[yala]
pylint args = --disable=too-few-public-methods,too-many-instance-attributes,duplicate-code,too-many-lines,too-many-locals,unnecessary-pass,unnecessary-lambda,too-many-public-methods,wrong-import-order,protected-access,no-name-in-module --ignored-modules=napps.kytos.topology
pylint args = --disable=too-few-public-methods,too-many-instance-attributes,duplicate-code,too-many-lines,too-many-locals,unnecessary-pass,unnecessary-lambda,too-many-public-methods,wrong-import-order,protected-access,no-name-in-module,raise-missing-from, --ignored-modules=napps.kytos.topology
linters=pylint,pycodestyle,isort

[pydocstyle]
Expand Down
9 changes: 0 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,15 +256,6 @@ def read_requirements(path="requirements/run.txt"):
license='MIT',
install_requires=read_requirements(),
packages=[],
extras_require={
'dev': [
'pytest==7.0.0',
'pytest-cov==3.0.0',
'pip-tools',
'yala',
'tox',
],
},
cmdclass={
'clean': Cleaner,
'coverage': TestCoverage,
Expand Down
9 changes: 0 additions & 9 deletions tests/conftest.py

This file was deleted.

1 change: 0 additions & 1 deletion tests/integration/__init__.py

This file was deleted.

Loading