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

New kernelci Python package on pypi.com #400

Closed
2 tasks done
gctucker opened this issue Jun 11, 2020 · 2 comments
Closed
2 tasks done

New kernelci Python package on pypi.com #400

gctucker opened this issue Jun 11, 2020 · 2 comments
Assignees

Comments

@gctucker
Copy link
Contributor

gctucker commented Jun 11, 2020

The KernelCI core tools are currently mainly located in the kernelci/kernelci-core repository. However, other files such as YAML configuration, Docker images, LAVA job templates and Jenkins job files are also in that same repository. There is also the kernelci/kcidb repository with tools to communicate with the BigQuery database.

In order to make it possible for users to install the KernelCI tools from a single Python package and provide it as a pip3 package, we need to provide a setup.py script which will include only the main Python packages and command line tools. This will also explicitly list the dependencies.

The proposed solution is as follows:

@gctucker gctucker added this to the 2020-Q3 Phase 1 milestone Jun 11, 2020
@gctucker gctucker changed the title Single Python repository kernelci Python package Jun 11, 2020
@gctucker gctucker changed the title kernelci Python package New kernelci repository and Python package Jun 11, 2020
@gctucker
Copy link
Contributor Author

Moving to Phase 2 as there were on-going discussions around how to handle the common code.

@gctucker
Copy link
Contributor Author

gctucker commented Jul 3, 2020

A simpler approach would be to add a setup.py script to kernelci-core and simply ignore the non-Python files. This would achieve the same result from a Python package point of view, and avoid disruption with the on-going development in the repository.

@gctucker gctucker self-assigned this Jul 16, 2020
@gctucker gctucker changed the title New kernelci repository and Python package New kernelci Python package on pypi.com Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant