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

Don't build sdist or create a venv for tox tasks. #31290

Closed
wants to merge 2 commits into from

Conversation

tvalentyn
Copy link
Contributor

@tvalentyn tvalentyn commented May 14, 2024

It should not be nessessary to build sdist or bdists for tox tasks, which we currently use to run unit tests only.

This should fix #31289 , if not, we can go with: #31282 or #31283

@github-actions github-actions bot added the build label May 14, 2024
@tvalentyn tvalentyn requested a review from Abacn May 14, 2024 17:17
@@ -3061,32 +3061,13 @@ class BeamModulePlugin implements Plugin<Project> {
}
project.ext.toxTask = { name, tox_env, posargs='' ->
project.tasks.register(name) {
dependsOn setupVirtualenv
dependsOn ':sdks:python:sdist'
if (project.hasProperty('useWheelDistribution')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

this was added in #28385 and there was some discussion there. Do they still apply?

@tvalentyn
Copy link
Contributor Author

Let's go with rollback for now and clean one thing at a time.

@tvalentyn tvalentyn closed this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants