相关疑难解决方法(0)

警告:锁定文件不是最新的 pyproject.toml 中的最新更改

当我在 Python 3.7 中使用诗歌命令时,就我而言:

poetry export -f requirements.txt
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.
Run Code Online (Sandbox Code Playgroud)

到目前为止很清楚,但如果我运行诗歌更新,它会升级我的依赖项,这不是我目前想要的项目。如果我改为运行诗歌锁,它仍然会升级依赖项。

我该如何解决这个问题?

python python-poetry

4
推荐指数
1
解决办法
3210
查看次数

标签 统计

python ×1

python-poetry ×1