Implement wildcard version matching for pip solver (==X.*)#199
Merged
martinRenou merged 3 commits intomainfrom Feb 3, 2026
Merged
Implement wildcard version matching for pip solver (==X.*)#199martinRenou merged 3 commits intomainfrom
martinRenou merged 3 commits intomainfrom
Conversation
Co-authored-by: martinRenou <21197331+martinRenou@users.noreply.github.com>
Co-authored-by: martinRenou <21197331+martinRenou@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix httpcore version not satisfied error
Implement wildcard version matching for pip solver (==X.*)
Feb 3, 2026
martinRenou
approved these changes
Feb 3, 2026
Member
martinRenou
left a comment
There was a problem hiding this comment.
Looks alright to me. Even ran linters!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The pip solver rejected requirements like
httpcore==1.*despite matching versions being available on PyPI. This prevented installing packages likehuggingface-hubthat depend on wildcard version specs.Changes
packages/mambajs/src/solverpip.ts[\w.*]+==operator:.*(e.g.,1.*→1)unittests/tests/pip/test-process-requirement.tshttpcore==1.*andcertifi==2024.*Example
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
prefix.dev/usr/share/miniconda/envs/mambajs/bin/node /usr/share/miniconda/envs/mambajs/bin/node /home/REDACTED/work/mambajs/mambajs/unittests/testlib/unittests/tests/conda/test-cpp.js(dns block)/usr/share/miniconda/envs/mambajs/bin/node /usr/share/miniconda/envs/mambajs/bin/node /home/REDACTED/work/mambajs/mambajs/unittests/testlib/unittests/tests/conda/test-solver.js(dns block)/usr/share/miniconda/envs/mambajs/bin/node /usr/share/miniconda/envs/mambajs/bin/node /home/REDACTED/work/mambajs/mambajs/unittests/testlib/unittests/tests/format/test-format.js(dns block)repo.prefix.dev/usr/share/miniconda/envs/mambajs/bin/node /usr/share/miniconda/envs/mambajs/bin/node /home/REDACTED/work/mambajs/mambajs/unittests/testlib/unittests/tests/mixed/test-create-emscripten-4x.js(dns block)/usr/share/miniconda/envs/mambajs/bin/node node /home/REDACTED/work/mambajs/mambajs/unittests/testlib/unittests/tests/mixed/test-create-emscripten-4x.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.