Markdown extension to expand directives to include source example files to also include their variants. Only useful to tiangolo's projets. Don't use it. ๐
by tiangoloPython
Last 12 weeks ยท 28 commits
4 of 6 standards met
Description Now we can use to make it use latest uv version with known checksum. Version 10.0.0 introduced breaking changes (security improvement): caching is disabled by default for workflows triggered by , , and events: https://github.com/astral-sh/setup-uv/releases/tag/v10.0.0 This will disable caching for the Smokeshow workflow. Let's keep that behavior for now. AI Disclaimer Used Codex to apply and review the changes. Then reviewed manually Failing CI CI is failing due to unrelated issue. See PR https://github.com/tiangolo/markdown-include-variants/pull/107
Description Tests with uv resolution started to fail since pygments 2.21.0 has been released. The reason is that since version 2.21.0 pygments doesn't convert to inside highlighted code. From version 2.21.0 changelog: HtmlFormatter: and now render literally (https://github.com/pygments/pygments/pull/3185) And, since pygments is not a direct dependency, with uv resolution uv installs latest version of uv. So, the snapshots in tests doesn't match the real values and tests fail: To solve this we need to bump pygments to 2.21.0 (to ensure uv resolution will also install it) and update snapshots AI Disclaimer Used Claude Code to investigate and fix the issue. Reviewed manually Checklist [ ] This PR is an obvious typo fix, or it links to a GitHub Discussion for the proposed code change. [ ] I added tests for the change. [ ] The new or updated tests fail on the main branch and pass on this PR. [x] Coverage stays at 100%. [ ] The documentation explains the change if needed.
Repository: tiangolo/markdown-include-variants. Description: Markdown extension to expand directives to include source example files to also include their variants. Only useful to tiangolo's projets. Don't use it. ๐ Stars: 18, Forks: 4. Primary language: Python. Languages: Python (99.8%), Shell (0.2%). License: MIT. Latest release: 0.0.8 (9mo ago). Open PRs: 5, open issues: 0. Last activity: 2w ago. Community health: 85%. Top contributors: tiangolo, github-actions[bot], dependabot[bot], YuriiMotov, latest-changes[bot], svlandeg.