Skip to content

Conversation

@dannf
Copy link
Member

@dannf dannf commented Dec 12, 2024

Now that libmambapy is multiversioned, we can move up the stack.

I started with py3-conda-libmamba-solver, but found that it had dependencies on conda, which is really a python package in disguise, so I give it the py3- treatment here.

The other significant thing worth noting is that I abuse variables here to hold test code so I can share it between the main package and subpackages. I generally want to make sure tests work with each py3.x-foo, but also want to make sure we didn't regress that test for users who are pulling in the legacy provides, and hate cut & pasting code. Another option we could consider is to put the tests in scripts outside of the YAML, similar to how we include local patches.

Note: there's a pseudo-circular dependency here. py3-conda-libmamba-solver uses py3-conda from conda in its test cases, and conda uses py3-conda-libmamba-solver at runtime.

Also note that Python 3.13 support is currently blocked - upstream doesn't support it yet. I've filed and referenced the upstream issue.

See individual commit logs for details.

dannf added 17 commits December 11, 2024 23:10
Signed-off-by: dann frazier <[email protected]>
The package builds and tests fine without it now.

Signed-off-by: dann frazier <[email protected]>
Use this more conventional naming scheme for python packages.
This is a step towards python multiversioning.

Signed-off-by: dann frazier <[email protected]>
The package builds and tests fine without it now.

Signed-off-by: dann frazier <[email protected]>
Avoids having to have explicit deps on very common things,
and may add future proofing.

Signed-off-by: dann frazier <[email protected]>
Move the test code into a variable to avoid code duplication.

Signed-off-by: dann frazier <[email protected]>
@dannf dannf force-pushed the multiversion/py3-conda-libmamba-solver branch from 6d7d553 to 929df0a Compare December 12, 2024 06:15
@dannf dannf added the approved-to-run A repo member has approved this external contribution label Dec 12, 2024
@octo-sts octo-sts bot added the bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. label Dec 12, 2024
@dannf dannf enabled auto-merge December 12, 2024 17:37
@dannf dannf merged commit a421d54 into wolfi-dev:main Dec 14, 2024
10 checks passed
@dannf dannf deleted the multiversion/py3-conda-libmamba-solver branch December 14, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-to-run A repo member has approved this external contribution bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants