-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Use python_site_packages_path
when specified
#14256
Conversation
An example of this:
The |
python_site_packages_path
when specified
CodSpeed Performance ReportMerging #14256 will not alter performanceComparing Summary
|
In ea89bc0 I added unit test to validate the noarch: python packages get installed into the path specified by the |
@jjhelmus You're right, we're trying to move away from relying on hosted pacakges, and have added Could you add a custom python package to the directory and rely on it in your test? cc @kenodegard since you may thoughts on this one |
This is exactly what I was looking for. I'll update the PR to use this fixture and add the necessary packages. Thanks much. |
Test was updated to use the |
The single failing test, |
In order for this field to be usable with the |
@jaimergp do you feel like this should be bumped to January to wait for the CLS implementation? |
Not sure if we want to wait two months "just in case". There's a chance that the mamba folks release that sooner than the January release, and in that case users would only need to update the libmamba version (I assume conda-libmamba-solver would be compatible with the new field by then; if it's not yet, then the necessary PR would be trivial). All of this makes me think that no, it's not necessary. That said:
|
I concur, let's merge this, since it would only start to work if we add the field anyways
I just opened the package update request
My guess is that this won't be possible, since the mamba team unlikely will want to add new features to 1.x right? |
I'm putting this up as an example and for discussion. More work is needed for a complete implementation, especially given that this one breaks backwards compatibility in various function.
Description
When the
python
package in an environment specifies apython_site_packages_path
in its repodata entry, use that path to installnoarch: python
packages.Note that this currently only works with the classic solver as libmamba/conda-libmamba-solver does not yet understand this field.
Close #14053.
Checklist - did you ...
news
directory (using the template) for the next release's release notes?