-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
markupsafe 2.1.0 build 0 breaks jinja2<3 #29
markupsafe 2.1.0 build 0 breaks jinja2<3 #29
Comments
(I can open the PR to mark this as broken, if a maintainer agrees.) |
I'm not a maintainer but I agree, this would be really helpful! |
@saraedum, hmm, I don't think the problem is here actually. It's that |
By me, actually: |
@saraedum, it seems like your |
@saraedum, I see when I do:
that on the
Looks like an issue that will need to be addressed with the Anaconda folks rather than here. I did notice that I missed patching one file in conda-forge/conda-forge-repodata-patches-feedstock#238 so I'm going to put in a fix. |
Thanks a lot for looking into this @xylar. And true, I had missed the main channel in my case. Not sure how complicated it will be to get |
My understanding is that the missing feature that broke junja2 was removed on purpose in markupsafe. So markupsafe isn't broken at all. |
Sorry, I did not mean to say that markupsafe is broken. Rather the build 0 is broken because it is missing a run constraint. Without it jinja on main breaks. Since build 1 and build 0 are identical apart from the metadata, I don't think we need build 0. If we mark it as broken, then it won't be considered anymore and can't break main/jinja2. |
(We can also patch the metadata for build 0 so it contains that constraint. I don't think it makes a difference really.) |
I see. build 0 didn't have the Yes, I think you could get build 0 marked as broken. Or you might be able to get the |
Solution to issue cannot be found in the documentation.
Issue
markupsafe 2.1.0 bulid 1 added a run_constraint for jinja2 requiring it to be >=3.
However, build 0 does not have that constraint, so one can sometimes get broken environments, as reported by @davidaulicino for a sagelib=9.2 environment (reported outside of github.)
A short reproducer is the following:
Should the build 0 be marked as broken? (I don't think it's worth to update the metadata here since the builds are otherwise identical.)
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: