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

Allow this project to bootstrap itself with tox #9

Merged
merged 5 commits into from
May 27, 2021

Conversation

di
Copy link
Member

@di di commented May 26, 2021

Fixes #7.

This PR configures this project to double as a tox plugin. When specified via tox's requires configuration option, the package will self-install into the virtual environment before any other dependencies are installed.

In order to ensure that the same version is installed when bootstrapping, the version number for the library is extracted into an importable module (google_artifactregistry_auth.__version__).

Also adds tests for the plugin via GitHub Actions, and docs for usage.

Copy link

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

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

Copy link

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

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

@megan-kuo
Copy link
Contributor

Thanks for adding these changes!

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

Successfully merging this pull request may close these issues.

Status code 403 with pip 21.1.x and keyrings.google-artifactregistry-auth 0.0.2
3 participants