Skip to content

Commit 2cd74a2

Browse files
authored
Merge pull request #102 from bugout-dev/python-3.10-compatibility
Python 3.10 compatibility
2 parents c2ac12a + 03b78e3 commit 2cd74a2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-20.04
1515
strategy:
1616
matrix:
17-
python-version: [3.6, 3.7, 3.8, 3.9]
17+
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.12, 3.11]
1818
steps:
1919
- uses: actions/checkout@v2
2020
- uses: actions/setup-python@v2

python/humbug/report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def error_report(
272272
error_summary=repr(error),
273273
error_traceback="".join(
274274
traceback.format_exception(
275-
etype=type(error),
275+
type(error),
276276
value=error,
277277
tb=error.__traceback__,
278278
)

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="humbug",
9-
version="0.3.1",
9+
version="0.3.2",
1010
packages=find_packages(),
1111
package_data={"humbug": ["py.typed"]},
1212
install_requires=["requests", "dataclasses; python_version=='3.6'"],

0 commit comments

Comments
 (0)