Created
August 28, 2023 12:31
-
-
Save yucer/cd30d29b05894cb2698e3a2a693a2248 to your computer and use it in GitHub Desktop.
poetry config after poetry init --no-interaction
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 = "airflow-dbt2" | |
version = "0.1.0" | |
description = "" | |
authors = ["Your Name <[email protected]>"] | |
readme = "README.md" | |
[tool.poetry.dependencies] | |
python = "^3.10" | |
[build-system] | |
requires = ["poetry-core"] | |
build-backend = "poetry.core.masonry.api" |
But, specifying these dependencies it doesn't fail:
[tool.poetry.dependencies]
python = "^3.10"
apache-airflow = "^2.6.2"
apache-airflow-providers-postgres = "^5.5.0"
dbt-postgres = "^1.5.1"
pandas = "^2.0.2"
astronomer-cosmos = "^0.7.3"
black = "^23.3.0"
The issue was a problem already known. When no dependencies are specified poetry uses the last version and fails. Should it also try to downgrade packages ? I guess so.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After:
poetry fails to find an optimal combination of versions for the dependencies :