Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with airflow 2.7.x due to jsonschema version conflict #8859

Closed
KulykDmytro opened this issue Sep 19, 2023 · 3 comments
Closed
Labels
bug Bug report

Comments

@KulykDmytro
Copy link
Contributor

KulykDmytro commented Sep 19, 2023

Describe the bug
jsonschema library version conflict when building a poerty project with airflow:2.7.1 and datahub:0.11
is it possible to loosen version dependencies

To Reproduce

  • pyproject.toml
[tool.poetry]
name = "airflow-datahub"
version = "0.1.0"

[tool.poetry.dependencies]
python = "~3.10"

apache-airflow = { version = "2.7.1", extras = [ "statsd" ] }
acryl-datahub = { version = "^0.11", extras = [
    "datahub-rest", "postgres", "kafka", "kafka-connect", "ldap", "tableau", "superset",
    "athena", "glue", "mysql"
] }

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
  • poetry update --lock

Screenshots

Because apache-airflow (2.7.1) depends on jsonschema (>=4.18.0)
   and acryl-datahub (0.11.0) depends on jsonschema (<=4.17.3), apache-airflow (2.7.1) is incompatible with acryl-datahub (0.11.0).
  And because no versions of acryl-datahub match >0.11.0,<0.12.0, apache-airflow (2.7.1) is incompatible with acryl-datahub (>=0.11.0,<0.12.0).
  So, because airflow-datahub depends on both apache-airflow (2.7.1) and acryl-datahub (^0.11.0), version solving failed.

Additional context
poetry:1.4.2
python: 3.10
os: MacOS

@KulykDmytro KulykDmytro added the bug Bug report label Sep 19, 2023
@hsheth2
Copy link
Collaborator

hsheth2 commented Sep 20, 2023

@KulykDmytro we did this a few days ago: #8842. It will be in a release soon.

Closing this issue for now, but let us know if you continue to have issues with it.

@hsheth2 hsheth2 closed this as completed Sep 20, 2023
@viniciusdsmello
Copy link
Contributor

Hi @hsheth2, do you know when the next release is coming?

@hsheth2
Copy link
Collaborator

hsheth2 commented Sep 21, 2023

It's available in acryl-datahub v0.11.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

3 participants