-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix #12436 - Migrate to pyproject.toml #14025
Conversation
@@ -34,6 +34,6 @@ jobs: | |||
run: | | |||
make install_dev install_apis | |||
cd openmetadata-airflow-apis; \ | |||
python setup.py build sdist bdist_wheel; \ | |||
python -m build; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the main piece that was going to be deprecated
@@ -24,40 +24,6 @@ yarn_install_cache: ## Use Yarn to install UI dependencies | |||
yarn_start_dev_ui: ## Run the UI locally with Yarn | |||
cd openmetadata-ui/src/main/resources/ui && yarn start | |||
|
|||
## Ingestion Core | |||
.PHONY: core_install_dev | |||
core_install_dev: ## Prepare a venv for the ingestion-core module |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cleaning up the ingestion-core since we're not really making any use of it. We can recover the files if we have the need in the future
The Python checkstyle failed. Please run You can install the pre-commit hooks with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍🏼 . LGTM. Can you also update the Developer Docs required with this change ?
Nothing needs to be updated. All the |
@@ -4,7 +4,7 @@ include ingestion/Makefile | |||
|
|||
.PHONY: help | |||
help: | |||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[35m%-30s\033[0m %s\n", $$1, $$2}' | |||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":"}; {printf "\033[35m%-35s\033[0m %s\n", $$2, $$3}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to fix this. The changes from #13677 left the help
command sending the wrong info
[open-metadata-airflow-apis] Kudos, SonarCloud Quality Gate passed! |
Hello @pmbrull - I was referriing to developer docs sections here. Mostly, we use |
[open-metadata-ingestion] Kudos, SonarCloud Quality Gate passed! |
Describe your changes:
Fixes #12436
Moved all config files into
pyproject.toml
: coverage, pylint, setup.cfg and most of setup.pysince we can still use setuptools as the backend and in setup.py we have more liberty to handle dependencies programmatically, kept that info there to not repeat ourselves too much if we need to display everything statically in the TOML file
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>