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

Bump Package version #40

Open
wants to merge 1 commit into
base: v0.10.1.affirm
Choose a base branch
from

Conversation

sundeepk-affirm
Copy link

Here are the steps to build a package:

brew install librdkafka
brew tap adoptopenjdk/openjdk && brew install --cask adoptopenjdk8
export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home

cd metadata-ingestion

../gradlew :metadata-ingestion:installDev

source venv/bin/activate
pip install -e ".[base]"
./scripts/codegen.sh

python setup.py sdist bdist_wheel
twine upload -r artifactory dist/*

cd ../metadata-ingestion-modules/airflow-plugin/

python setup.py sdist bdist_wheel
twine upload -r artifactory dist/*

References:
https://github.com/datahub-project/datahub/blob/99b75e4d601b104db8039df92e54c88d3de28349/metadata-ingestion/developing.md
https://github.com/datahub-project/datahub/blob/99b75e4d601b104db8039df92e54c88d3de28349/docker/datahub-ingestion/Dockerfile#L25
https://github.com/datahub-project/datahub/blob/99b75e4d601b104db8039df92e54c88d3de28349/metadata-ingestion/scripts/codegen.sh

@@ -1,6 +1,6 @@
# Published at https://pypi.org/project/acryl-datahub/.
__package_name__ = "acryl-datahub-airflow-plugin"
__version__ = "0.10.1+affirm4"
__version__ = "0.10.1+affirm5"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a point in bumping up these versions when there is really no change? Maybe we can just replace affirm4 on Artifactory?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that when we don't bump up the version, make docker_image is not downloading the latest binary.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need a docker image? This should just be the python package on Artifactory?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually packages have to be backed into a docker image. During docker image build all the Python packages will be downloaded from artifactory.

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

Successfully merging this pull request may close these issues.

2 participants