Created
March 28, 2022 05:33
-
-
Save KaoruNishikawa/880f8fe63379cfaee396da7b60fd068c to your computer and use it in GitHub Desktop.
Poetry: SolveProblemError when a package with multiple constraints in project dependency and its sub-dependency
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool.poetry] | |
name = "neclib" | |
version = "0.3.1" | |
description = "My package" | |
authors = ["me"] | |
[tool.poetry.dependencies] | |
python = ">=3.6.1, <3.10" | |
astropy = [ | |
{ version = "^3.0", python = "<3.8" }, | |
{ version = "^5.0.3", python = "^3.8" } | |
] | |
[tool.poetry.dev-dependencies] | |
[build-system] | |
requires = ["poetry-core>=1.0.0"] | |
build-backend = "poetry.core.masonry.api" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool.poetry] | |
name = "my-pkg" | |
version = "0.1.0" | |
description = "My package" | |
authors = ["me"] | |
[tool.poetry.dependencies] | |
python = ">=3.6.1, <3.10" | |
astropy = [ | |
{ version = "^3.0", python = "<3.8" }, | |
{ version = "^5.0.3", python = "^3.8" } | |
] | |
neclib = "^0.3.1" | |
[tool.poetry.dev-dependencies] | |
[build-system] | |
requires = ["poetry-core>=1.0.0"] | |
build-backend = "poetry.core.masonry.api" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment