Remove use of distutils - #120
Conversation
|
@microsoft-github-policy-service agree |
| # Support for passing through arguments to the open syscall was added in v1.4.0 | ||
| open_kwargs = ({'buffering': 0} | ||
| if LooseVersion(portalocker.__version__) >= LooseVersion("1.4.0") else {}) | ||
| if Version(portalocker.__version__) >= Version("1.4.0") else {}) |
There was a problem hiding this comment.
I don't think LooseVersion is really needed here and Version should be good enough.
There was a problem hiding this comment.
The LooseVersion() was introduced by Luca Boccassi (@bluca) . What do you think with this change, Luca?
There was a problem hiding this comment.
looks good to me, thanks
|
Thanks Luca Boccassi (@bluca)! Tests are passing for me locally, even on 2.7: Test results on 2.7So I pushed another commit to use |
|
Hey Ray Luo (@rayluo) & Luca Boccassi (@bluca) , how are you doing? Could you priotize this to be merged soon? It's a blocker for anyone using the Thanks! 🙏 |
|
Hey folks 👋 Is it worth making a new release with this change? |
Uh oh!
There was an error while loading. Please reload this page.