[tool.poetry.dependencies] pathlib2 = { version = "^2.2", python = "~2.7" } 环境限制: [tool.poetry.dependencies] pathlib2 = { version = "^2.2", markers = "python_version ~= '2.7' or sys_platform == 'win32'" } 组合: [tool.poetry.dependencies] foo = [ {version = "<=1.9",...
Poetry version: 1.7.1 Python version: 3.11 OS version and name: Windows 11 [ x] I am on the latest stable Poetry version, installed using a recommended method. [x ] I have searched the issues of this repo and believe that this is not a duplicate. [x ] I have consulted the FAQ and...
poetry add xxx -D命令可以用来安装针对开发环境的某个依赖包(用poetry remove命令卸载此类包时也需要指定-D选项): (python3.9.4)C:\Users\Administrator\projects\python\test-poetry>poetry add autopep8 -D Using version ^1.5.7 for autopep8 Updating dependencies Resolving dependencies... Writing lock file...
We update the commit hash sometimes, while the version that is stored in tianshou's pyproject.toml remains the same (it has been 0.5.1 for almost a year). Now the issue that we encounter is that after the commit hash has been changed, on some machines, the new version of tianshou will...
poetry add https://example.com/my-package-0.1.0.tar.gz Python 限制依赖项 指定仅应该以特定Python版本安装依赖项 代码语言:javascript 复制 [tool.poetry.dependencies]pathlib2={version="^2.2",python="~2.7"} 代码语言:javascript 复制 [tool.poetry.dependencies]pathlib2={version="^2.2",python="~2.7 ...
version = "0.1.8" description = "Tree is a library for working with nested data structures." optional = true python-versions = "*" files = [ {file = "dm-tree-0.1.8.tar.gz", hash = "sha256:0fcaabbb14e7980377439e7140bd05552739ca5e515ecb3119f234acee4b9430"}, ...
uvloop = {version = ">=0.14.0,<0.15.0 || >0.15.0,<0.15.1 || >0.15.1", optional = true, markers = "sys_platform != \"win32\" and sys_platform != \"cygwin\" and platform_python_implementation != \"PyPy\" and extra == \"standard\""} ...
version = "2.1.2" description = "Safely add untrusted strings to HTML/XML markup." optional = false python-versions = ">=3.7" files = [ {file = "MarkupSafe-2.1.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:665a36ae6f8f20a4676b53224e33d456a6f5a72657d9c83c2...
uvloop = {version = ">=0.14.0,<0.15.0 || >0.15.0,<0.15.1 || >0.15.1", optional = true, markers = "sys_platform != \"win32\" and sys_platform != \"cygwin\" and platform_python_implementation != \"PyPy\" and extra == \"standard\""} ...
# Any NumPy version should be fine for compiling. Users are unlikely # to get a NumPy<1.25 so the result will be compatible with all relevant # NumPy versions (if not it is presumably compatible with their version). # Pin <2.0 for releases until tested against an RC. But explicitly allo...