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

ValueError when calling "datahub check plugins" #8699

Closed
kagenihisomi opened this issue Aug 23, 2023 · 1 comment
Closed

ValueError when calling "datahub check plugins" #8699

kagenihisomi opened this issue Aug 23, 2023 · 1 comment
Labels
bug Bug report

Comments

@kagenihisomi
Copy link

kagenihisomi commented Aug 23, 2023

Describe the bug

Using python 3.11 and Calling datahub check plugins after installing Athena add-on returns the following
Sources:
[2023-08-23 12:45:14,967] ERROR    {datahub.entrypoints:199} - Command failed: mutable default <class 'datahub.metadata.schema_classes.NullTypeClass'> for field datahubDataType is not allowed: use default_factory

I've tried the same in python 3.10 and it doesn't have that issue

To Reproduce
Steps to reproduce the behavior:

poetry env use python3.11
poetry shell
poetry add acryl-datahub[athena]
datahub check plugins
[tool.poetry]
name = "my-metadata"
version = "0.1.0"
description = ""
authors = ["asdftoger <asdftoger@gmail.com>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
acryl-datahub = {extras = ["athena", "glue"], version = "^0.10.5.5"}


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
@kagenihisomi kagenihisomi added the bug Bug report label Aug 23, 2023
@hsheth2
Copy link
Collaborator

hsheth2 commented Aug 23, 2023

This was fixed by #8609 and will be in the next release!

@hsheth2 hsheth2 closed this as completed Aug 23, 2023
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

2 participants