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

python: add prerelease session to noxfile + kokoro sessions #1290

Closed
tswast opened this issue Nov 29, 2021 · 0 comments · Fixed by #1455
Closed

python: add prerelease session to noxfile + kokoro sessions #1290

tswast opened this issue Nov 29, 2021 · 0 comments · Fixed by #1455
Assignees
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@tswast
Copy link
Contributor

tswast commented Nov 29, 2021

I need a nox session in the Python library templates that allows us to install pre-release dependencies. It requires the following information:

  • Package names to install a pre-release. e.g. grpcio, google-api-core, google-resumable-media (though some of these might be there by default)
  • Extra index URL (if needed), such as "https://pypi.fury.io/arrow-nightlies/" for pyarrow and "https://pypi.anaconda.org/scipy-wheels-nightly/simple" for pandas/numpy
  • How to get to __version__ to print for debugging of which pre-release was installed. e.g. session.run("python", "-c", "import grpc; print(grpc.__version__)"). Alternatively, maybe the session just needs a pip freeze?

Related: We might want to remove the grpcio pre-release from the normal system test session.

Context

See:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants