-
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
base: main
Are you sure you want to change the base?
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 |
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?