-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
noarch-ify #116
noarch-ify #116
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2024.06.03.19.07.16
Seems pdm's pulling in the windows build path per #105, getting it over to noarch should fix that. Only thing that this requires is removing the conditional truststore requirement, but pdm doesn't /actually/ depend on it, its just the default. See: pdm-project/pdm#2200. |
fuck it, merging. |
I had looked into this but hadn't had time to comment yet. Leaving my original thoughts below anyways. It seems this issue actually has to do with the previous lack of entrypoint defined in the meta.yml See this scrapy-feedstock issue for context. We should probably also add a basic test ( While It might be possible to remove Is removing the python version constraints on individual packages |
A few things- All of the version specifiers do need to go for noarch, but my understanding is that for things that became built-ins conda-forge just builds them as empty for the relevant versions. I agree that we shouldn't be patching PDM itself, but as PDM supports a lower version of python than truststore, it should always work (barring version tests in the code itself) without it being present. It should still work if truststore is installed by the end user. Do you know of any noarch packages with a similar pseudo-dependency? |
Not in Was it absolutely necessary to make the recipe
Are you saying the packages themselves would be empty? They are imported from a different namespace entirely.
|
It shouldn't be necessary to fix #105 but I'm fairly sure that noarch is far preferable for anything that can possibly use it on ci resources alone. Re: everything else let me poke at the docs rq |
Well, that answers that for importlib_metadata. Curious why tomli/importlib_resources aren't mentioned. |
Tomli is literally a duplicate of tomllib in the standard library of 3.11+, so all that happens there is that we download extra copies of a python module that's already installed, which is probably fine. Better than waiting for 12x ci, at least. I can't find anything specifically mentioning importlib-resources, but the readme is structured the same as imporlib-metadata (pure backports) so I imagine its fine? Still trying to figure out what to do with truststore. |
I disagree that we should decide for users which modules in addition to And this workaround to achieve |
These are two distinct issues. Going purely by the documentation, the extra copies thing is acceptable-take it up with core, I guess. I do agree that the not-having-truststore-on-python-3.10+ thing is an issue though. |
I don't have a problem with My issue is with us specifying that everyone should have |
@conda-forge/help-python any thoughts on the best practice here? |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)