-
Notifications
You must be signed in to change notification settings - Fork 392
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
pip install jupytext[myst] should install myst-parser==0.8.x #590
Conversation
Codecov Report
@@ Coverage Diff @@
## master #590 +/- ##
==========================================
+ Coverage 98.99% 99.02% +0.02%
==========================================
Files 90 90
Lines 8699 8883 +184
==========================================
+ Hits 8612 8796 +184
Misses 87 87
Continue to review full report at Codecov.
|
83f39ae
to
5f292f2
Compare
This isn't really relevant, but if you wanted to have kept the compatible version syntax Lines 57 to 58 in aeb2cf6
could have just been "myst": ["myst-parser~=0.8.0; python_version >= '3.6'"], as that bounds to |
Thanks @matthewfeickert . Well, before my commit we had something very similar to what you propose: Line 58 in bca9173
However, I was quite surprise to see that it was not working so well. Not only LGTM was not understanding our requirement, but also, locally in my tests, |
I think this is just a misunderstanding of the syntax:
means restrict
As an example, in a fresh virtual environment
My understanding is that the idea here is that you're wanting to establish a lower bound on a release that will provide the API you want at the level of the minor or patch release, operating under the assumption that if people are actually using semantic versioning then pinning Though not all libraries actually do this, and you might need to treat minor releases as you would normally treat major (c.f. scikit-hep/pyhf#999 for an example). Does that make sense? Or am I misunderstanding what the problem is? |
Awesome! Thanks for taking the time to explain this! I'll use |
Quick fix for #589