Repository navigation
Closed
Labels
area/solverRelated to the dependency resolverRelated to the dependency resolver
Description
Hi,
I'm trying to install a specific version of Apache Airflow from https://pip.astronomer.io/simple/apache-airflow/ (1!2.1.0+astro.3), however I'm wondering if the 1!2 is affecting how Poetry handles dependency mismatch?
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Issue
Here's an example pyproject.toml
[tool.poetry]
name = "test-repo"
version = "0.0.1"
description = "test repo"
authors = ["Test User <testuser@testemail.com>"]
[tool.poetry.dependencies]
python = ">=3.6,<3.9"
apache-airflow = "1!2.1.0+astro.3"
apache-airflow-providers-amazon = "1.4.0"
apache-airflow-providers-celery = "1.0.1"
apache-airflow-providers-cncf-kubernetes = "1!1.2.1"
apache-airflow-providers-elasticsearch = "1.0.4"
apache-airflow-providers-ftp = "1.1.0"
apache-airflow-providers-google = "3.0.0"
apache-airflow-providers-imap = "1.0.1"
apache-airflow-providers-microsoft-azure = "2.0.0"
apache-airflow-providers-mysql = "1.1.0"
apache-airflow-providers-postgres = "1.0.2"
apache-airflow-providers-redis = "1.0.1"
apache-airflow-providers-slack = "3.0.0"
apache-airflow-providers-sqlite = "1.0.2"
apache-airflow-providers-ssh = "1.3.0"
astronomer-airflow-scripts = { url = "https://github.com/astronomer/astronomer-airflow-scripts/releases/download/v0.0.5/astronomer_airflow_scripts-0.0.5-py3-none-any.whl" }
astronomer-airflow-version-check = "1.0.7"
astronomer-certified = "2.1.0.post3"
astronomer-fab-security-manager = "1.6.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[[tool.poetry.source]]
name = "astronomer"
url = "https://pip.astronomer.io/simple/"
and accompanying error:
SolverProblemError
Because astronomer-fab-security-manager (1.6.0) depends on apache-airflow (>=1.10.0)
and astro-ml depends on apache-airflow (1!2.1.0+astro.3), astronomer-fab-security-manager is forbidden.
So, because astro-ml depends on astronomer-fab-security-manager (1.6.0), version solving failed.
Is there any way around this issue?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
area/solverRelated to the dependency resolverRelated to the dependency resolver
Activity
dimbleby commentedon Jun 25, 2022
epoch handling is fixed at python-poetry/poetry-core#264
github-actions commentedon Mar 1, 2024
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.