Skip to content

Commit

Permalink
rollback protobuf dependency to prevent segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
steersbob committed Jan 16, 2024
1 parent 268720a commit 744ae05
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "python",
"request": "attach",
"port": 5678,
"host": "localhost",
"host": "buildbot32.local",
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
Expand All @@ -16,4 +16,4 @@
}
],
"compounds": []
}
}
3 changes: 3 additions & 0 deletions brewblox_devcon_spark/app_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ def create_app() -> FastAPI:
setup_logging(config.debug, config.trace)

if config.debugger: # pragma: no cover
import faulthandler
faulthandler.enable()

import debugpy
debugpy.listen(('0.0.0.0', 5678))
LOGGER.info('Debugger is enabled and listening on 5678')
Expand Down
30 changes: 16 additions & 14 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.11,<4"
pyserial-asyncio = "^0.6"
protobuf = "^4.24.3"
protobuf = "<4.25"
aiofiles = "^23.2.1"
aiozeroconf = "^0.1.8"
debugpy = "^1.5.1"
Expand Down

0 comments on commit 744ae05

Please sign in to comment.