Add PCRE2 compatibility patch#60
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 2022.10.06.21.48.30
|
nice! There are two additional considerations -- we should figure out if we can have a |
|
PCRE2 PR submitted here: conda-forge/pcre2-feedstock#31 |
|
For defaults the patch is in AnacondaRecipes#2 |
|
@wolfv, PCRE2 10.40 is now available with a static lib too. Let me know if you need something else! |
|
nice! |
|
I think we need a pcre2 migrator to push 10.37 to 10.40 if you want the static libs now. |
|
Also note this warning: So it looks like the build scripts do not want static libs at all, and hence we shouldn't depend on pcre2-static? Wouldn't the libsolv compilation create the static lib on its own from the shared libs anyway? |
|
@wolfv ping :D |
|
I am about to release mamba / libmamba / micromamba 1.0 -- if it's OK let's wait after the release? I am also fixing some libarchive / curl issues in feedstocks specific to micromamba right now... I really want to get this in, btw. sorry if it appears as if I was stalling this. |
|
1.0 👀 That's exciting!! No worries, I had forgotten myself 😬 I was just going through my GH notifications and found it again, fortunately. It's not super urgent, but it's blocking conda/conda#11612 |
|
@wolfv gentle reminder :D |
|
@conda-forge-admin, please rerender |
…nda-forge-pinning 2022.12.06.02.30.06
varlackc
left a comment
There was a problem hiding this comment.
There are currently some merge conflicts on the branch.
We might need to resolve the conflicts before approving.
In addition it might be a good idea to also add the doc_url.
|
@conda-forge-admin, please rerender |
…nda-forge-pinning 2023.08.23.22.00.02
|
Hi! This is the friendly automated conda-forge-linting service. I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug. |
|
@jaimergp is this for libmamba? |
|
This is required for compatibility with conda/conda#11612, which requires advanced regexes internally. But if libmamba is going to be parsing things outside libsolv now maybe we don't need it anymore? |
|
That would be our plan, but it is still unclear how we can plug a matchspec callback into libsolv. |
|
We can still sanitize user input and avoid the DOS (which is already a problem today in current conda, given it allows |
|
I was thinking of only allowing them in user input, not package input. |
|
The globs are converted internally to regexes after they pass the merge step (which in current conda is only checking whether they are the same string or not). What the PR I linked above proposed is using lookahead regexes to handle the merge (instead of strict equals). The discussion there contains all the details you need! |
|
On Mamba the globs are not converted to regex, and I think also not on libsolv. |
|
With conda-libmamba-solver, we take the MatchSpec objects as generated by |
|
Closing as stale and conflicted. Feel free to reopen. |
|
I can confirm we don't need this anymore because of the new mamba matchspec parser. |
Checklist
0(if the version changed)conda-smithy(Use the phrase@conda-forge-admin, please rerenderin a comment in this PR for automated rerendering)Adds patch from openSUSE/libsolv#506.
This enables supports for properly merged glob strings in
conda-libmamba-solver, as implemented in conda/conda#11612Please review the patch, this is a bit beyond my comfort zone, both CMake and C 😬