Skip to content

Commit

Permalink
feat(deps): update to wasmtime 12.0.0, drop python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed Sep 24, 2023
1 parent b93ec44 commit 91720c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.x']
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
with:
Expand Down
4 changes: 3 additions & 1 deletion astyle_py/astyle_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ def __init__(self, version: str = ASTYLE_COMPAT_VERSION):
self.context = WasmContext()
err_handler_type = FuncType([ValType.i32(), ValType.i32()], [])
err_handler_func = Func(self.context.store, err_handler_type, self._err_handler)
self.context.linker.define('env', 'AStyleErrorHandler', err_handler_func)
self.context.linker.define(
self.context.store, 'env', 'AStyleErrorHandler', err_handler_func
)

wasm_file = os.path.join(
os.path.dirname(__file__), 'lib', version, 'libastyle.wasm'
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ classifier =
[options]
packages = find:
install_requires =
wasmtime==0.40.0
wasmtime==12.0.0
PyYAML==6.0.0
include_package_data = True
python_requires = >=3.7
python_requires = >=3.8

[options.extras_require]
dev =
Expand Down

0 comments on commit 91720c7

Please sign in to comment.