You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using pytest-cases in python 3.11 results in a long string of deprecation warnings due to use of distutils.LooseVersion. This patch uses LooseVersion from "looseversion" package, which is designed to be a drop-in replacement without the deprecation warning.
Noting that I've opened PR #312 which is an alternative approach to addressing the problem that this PR solves. Since pytest-cases is just comparing version specifications of the pytest package, which are all compliant with PEP 440, using LooseVersion is not needed and the more standard packaging.version.Version is sufficient.
If you are simply comparing versions of Python packages, consider moving to packaging.version.Version, which follows PEP-440. LooseVersion is better suited to interacting with heterogeneous version schemes that do not follow PEP-440.
Thanks to both of you @shaunc and @jayqi ! And sorry for the wait, last few months were crazy.
I will be in favor of following what is suggested in the doc, so @jayqi 's proposal in #312. @jayqi could you please pull the latest develop branch so that we can run against all python versions using nox+virtualenv?
If there is any problem with the legacy python versions, then we can reconsider @shaunc 's proposal.
Once again thanks a lot and sorry for the long wait !
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
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.
Using pytest-cases in python 3.11 results in a long string of deprecation warnings due to use of distutils.LooseVersion. This patch uses LooseVersion from "looseversion" package, which is designed to be a drop-in replacement without the deprecation warning.