-
Notifications
You must be signed in to change notification settings - Fork 12
Fix deprecation warnings #15
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
Conversation
Pytest changed the way how type argument should be provided. Updated to incorporate upstream changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the minimum pytest version should be bumped accordingly then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and, as usual, please add a changelog entry
I'm trying to "guesstimate" pytest min version. Maybe you can help me with that. Changelog for release 3.0.0 (2016-08-18) shows that this change was introduced to
When ran tests with
Tox is using
Should I assume that minimum version is It might be messed up with my venv too. Any thougths @bubenkoff |
@dasm in order to test with tox with different pytest, you'd need to remove pytest from requirements-testing.txt and add it in the corresponding env:
|
@dasm or maybe it will actually work even without touching requirements-testing, as there's no actual conflict |
@bubenkoff I did what you asked for. The error is present, because
So, should we just change dependencies list to be dependent on |
Looks like, this change was introduced with |
With |
@dasm then we should bump the pytest only, as that's the root cause |
I've been thinking about this for some time. Technically, it is not a problem with My recommendation would be:
After that release, I could start looking into fix for As an alternative, we might include temporary workaround for release, which would be #16 (comment) What do you think about that @bubenkoff ? |
so we then have two problems which we can solve with version requirements: pytest>=2.7.0 -> config typing which you solved already so please implement both in this PR |
Due to changes in external dependency to pytest-xdist, pytest-xdist<1.26.0 is not supported anymore.
@bubenkoff please verify if this change is what you were thinking about. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with the bumping of both pytest and pytest-xdist, it makes sense to raise the major version to 4.0.0
Pytest changed the way how type argument should be provided.
Updated to incorporate upstream changes.
This change is