Skip to content

fix: pin myst-parser package version to 4.0 to avoid conflicts#496

Merged
minaelee merged 1 commit into
mainfrom
fix-myst-parser-version
Jan 15, 2026
Merged

fix: pin myst-parser package version to 4.0 to avoid conflicts#496
minaelee merged 1 commit into
mainfrom
fix-myst-parser-version

Conversation

@tang-mm

@tang-mm tang-mm commented Jan 15, 2026

Copy link
Copy Markdown
Contributor
  • Have you updated CHANGELOG.md with relevant non-documentation file changes?
  • Have you updated the documentation for this change?

myst-parser released 5.0.0 today and caused failures when installing documentation requirements (Python >=3.11):

Example error log:

...
Collecting sphinx-tabs (from -r docs/requirements.txt (line 10))
  Downloading sphinx_tabs-3.4.5-py3-none-any.whl.metadata (6.3 kB)
  Downloading sphinx_tabs-3.4.4-py3-none-any.whl.metadata (6.3 kB)
INFO: pip is looking at multiple versions of sphinx-tabs to determine which version is compatible with other requirements. This could take a while.
...
Collecting Sphinx>=7.1.2 (from canonical-sphinx>=0.5.1->-r docs/requirements.txt (line 2))
  Downloading sphinx-8.2.2-py3-none-any.whl.metadata (7.0 kB)
  Downloading sphinx-8.2.1-py3-none-any.whl.metadata (7.0 kB)
  Downloading sphinx-8.2.0-py3-none-any.whl.metadata (7.0 kB)
  Downloading sphinx-8.1.3-py3-none-any.whl.metadata (6.4 kB)

error: resolution-too-deep
× Dependency resolution exceeded maximum depth
╰─> Pip cannot resolve the current dependencies as the dependency graph is too complex for pip to solve efficiently.

hint: Try adding lower bounds to constrain your dependencies, for example: 'package>=2.0.0' instead of just 'package'.
Link: https://pip.pypa.io/en/stable/topics/dependency-resolution/#handling-resolution-too-deep-errors

The v5.0.0 is released today and caused pip resolver to hit
backtracing limit "resolution-too-deep"
@tang-mm

tang-mm commented Jan 15, 2026

Copy link
Copy Markdown
Contributor Author

The workflow "check removed URLs" failed because it checks out two branches: the current branch as "compare" and the merging target branch main as "base". This PR only fixes the build in "compare", but the base branch (main) still has the unpinned version. The failure is expected and can be fixed once this PR is merged.

@tang-mm tang-mm marked this pull request as ready for review January 15, 2026 12:45
@AnneCYH

AnneCYH commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

Confirmed that pinning myst-parser works and the URL check passes after the fix gets merged to the default branch.
Thanks @tang-mm !

@AnneCYH AnneCYH self-requested a review January 15, 2026 13:29
@minaelee minaelee merged commit ebe4d46 into main Jan 15, 2026
6 of 7 checks passed
minaelee pushed a commit that referenced this pull request Jan 19, 2026
Signed-off-by: Minae Lee <minae.lee@canonical.com>
medubelko pushed a commit that referenced this pull request Jan 20, 2026
Signed-off-by: Minae Lee <minae.lee@canonical.com>
@nhennigan nhennigan deleted the fix-myst-parser-version branch February 13, 2026 23:15
rmartin013 added a commit to canonical/ubuntu-for-jetson that referenced this pull request Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants