dremio sqlalchemy poetry 模式包管理
比较有意思的是关于poetry setuptools entry_points 配置的,目前基于script 模式是有问题的,结果通过尝试
使用plugin 模式是可以的
参考配置
[tool.poetry.plugins."sqlalchemy.dialects"]
"dremio.flight" = "sqlalchemy_dremio.flight:DremioDialect_flight"
生成的entry_points.txt 信息
说明
完整代码已经push 到github 了,可以参考
参考资料
https://github.com/rongfengliang/sqlalchemy_dremio
https://python-poetry.org/docs/pyproject/
https://python-poetry.org/docs/plugins/
https://github.com/python-poetry/poetry/issues/2310
https://github.com/python-poetry/poetry/issues/241
https://packaging.python.org/en/latest/specifications/entry-points/
https://docs.sqlalchemy.org/en/20/core/connections.html#registering-new-dialects
https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
2022-03-30 temporal 开源微服务编排引擎
2022-03-30 ShedLock 分布式锁服务
2020-03-30 几个不错的国内镜像加速
2018-03-30 使用vigil 监控微服务系统包含可视化界面