Skip to content

BUG: Build every package even when the plan releases only some - #315

Draft
jwrosewell wants to merge 1 commit into
rcfrom
fix/build-every-package-for-tests
Draft

jwrosewell wants to merge 1 commit into
rcfrom
fix/build-every-package-for-tests

Conversation

@jwrosewell

Copy link
Copy Markdown
Contributor

In the rc nightly on 5 December only fiftyone_pipeline_did was in the
release plan, so that was all the build made and all that
package/pre-publish-requirements.txt listed. The integration tests
install whatever the build made and then test each product's packages,
so the tests of fiftyone_pipeline_cloudrequestengine and every other
package had nothing to import and failed with ModuleNotFoundError (run
47545022469). Any plan that names only some packages would do that.

The build now makes every published package whatever the plan says.
Planned packages get their planned versions and the rest are built at
their released version, which is what already happened when nothing
was planned.

Publishing now removes the distributions of packages that aren't in the
plan before it uploads, so PyPI still gets only the planned ones. Until
now that held because the build made nothing else.

In the rc nightly on 5 December only fiftyone_pipeline_did was in the
release plan, so that was all the build made and all that
package/pre-publish-requirements.txt listed. The integration tests
install whatever the build made and then test each product's packages,
so the tests of fiftyone_pipeline_cloudrequestengine and every other
package had nothing to import and failed with ModuleNotFoundError (run
47545022469). Any plan that names only some packages would do that.

The build now makes every published package whatever the plan says.
Planned packages get their planned versions and the rest are built at
their released version, which is what already happened when nothing
was planned.

Publishing now removes the distributions of packages that aren't in the
plan before it uploads, so PyPI still gets only the planned ones. Until
now that held because the build made nothing else.
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.

2 participants