-
Notifications
You must be signed in to change notification settings - Fork 45
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
Prance depends on a now abandoned version of pyyaml #30
Comments
Mhh, I did not consider How about we compromise? I've just subscribed to the PyYAML issue (been too lazy to before). If I bump a release before PyYAML 5.1 comes out, I'll go back to PyYAML 3.x - otherwise leave as is? You've already got a workaround, and I'm hoping this issue won't take much longer. Fingers crossed. Either way, I'll leave this issue here open to remind me! As an aside, I'll have to look into |
Thanks for getting back to me and keeping an eye on it. I'll be watching how things develop too. Pipenv is a still a little rough round the edges but is great for consistent deploys between prod, dev and test environments. Heads up though, while there are some genuine pain points from pipenv being relatively new, I'd say most of the time people use it for the wrong thing and suffer as a result. If you're going to give it a go I highly recommend reading this short section from the docs first. Anyway thanks again. Have a good one! |
WRT pipenv: yes, that section is what convinced me I might give it a try :) If you look at prance's |
So, 5.1b1 has been released. Let me see if I can bump a release with that, or have to wait for a non-beta (pip's version matching with these alphabetic version parts is a bit weird). |
Tagged a 0.14.1 to get rid of the 4.x dependency, but I will tag a 0.15 when 5.1 final is released. Leaving this open for now. |
0.15 is building with 5.1, and should be on pypi soon. |
Apologies for not following the template but this is an odd situation that doesn't really fit.
The situation, as far as I can tell.
Quite rightly, in commit a2ba2c8, which went into 0.14.0, you bumped the version of PyYaml to ">4.0.0" which should include the safe secure behaviour for loading yaml. However there's been a fair amount of drama over in pyyaml's repo which you may have missed.
As far as I can tell from this ticket the maintainer got cold feet about the release of 4.x.x as it was a backwards incompatible change to load. They seem to have abandoned the 4.x.x releases up on PyPi.
Seems a bit crazy to me, but that's how things stand right now.
My problem and current workaround
This is causing me issues in my project using prance as pipenv is unable to resolve the requirement for a 4.x version of PyYAML as no officially released version of that package exists.
I am able to tell pipenv to consider pre-releases as well, but unfortunately that's a global option meaning that I'll get pre-releases for everything which causes more issues. It'd obviously be better if pipenv was able to more specifically target enable pre-releases (this is tracked in an issue on pipenv).
I am pretty sure I can work around that limitation in pipenv, but even if I do, given the maintainer seems to have abandoned the 4.x release, I'm not sure it's such a good idea.
For the time being I'll probably freeze prance to "<0.14" until the issue is resolved.
Request
That being said, if possible it seems like a good idea to go back to the old PyYaml version for the time being and it'd be awesome to see a new release of prance with that so I can unfreeze again.
Thanks for all the good work!
@jfinkhaeuser
The text was updated successfully, but these errors were encountered: