Skip to content

Commit

Permalink
Add python 3.11 (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
yumiguan authored May 29, 2023
1 parent 256069e commit 674b152
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.10"
python-version: ["3.10", "3.11"]
- name: Install dependency
run: |
pip install pip -U
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ def origin2string(content_encoding, request_data):
except Exception as e:
func = DefaultHandler
_data = func.origin2string(request_data)
logger.warning(f'Convert Content-Encoding: {content_encoding} data origin2flow failed! {e}')
logger.warning(f'Convert Content-Encoding: {content_encoding} data origin2string failed! {e}')

return _data
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ def origin2string(content_type, request_data):
except Exception as e:
func = DefaultHandler
_data = func.origin2string(request_data)
logger.warning(f'Convert Content-Type: {content_type} data origin2flow failed! {e}')
logger.warning(f'Convert Content-Type: {content_type} data origin2string failed! {e}')
return _data
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def read_requirements(name):
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
Expand Down
2 changes: 2 additions & 0 deletions tests/test_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
Expand Down

0 comments on commit 674b152

Please sign in to comment.