Skip to content

Conversation

@msullivan
Copy link
Collaborator

The new argument to PyCode_New means that lxml doesn't work on 3.8
right now, so we're out of business until there's a new lxml release
that does. (If that is taking too long, we can disable the tests that
want lxml.)

There are also some other minor issues: we fail some tests with
DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead while running some of the eval tests.

The new argument to PyCode_New means that lxml doesn't work on 3.8
right now, so we're out of business until there's a new lxml release
that does. (If that is taking too long, we can disable the tests that
want lxml.)

There are also some other minor issues: we fail some tests with
`DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead` while running some of the eval tests.
@msullivan msullivan merged commit 3c64bca into master May 29, 2019
@msullivan msullivan deleted the 3.8 branch May 29, 2019 22:56
@blueyed
Copy link
Contributor

blueyed commented Jun 1, 2019

How about skipping those tests when lxml is not installed, and making it an optional requirement for tests in general?
Building lxml can take quite a while, in case no wheel is used, so that would help with making tests more lightweight in that case also.

blueyed added a commit to blueyed/mypy that referenced this pull request Jun 1, 2019
blueyed added a commit to blueyed/mypy that referenced this pull request Jun 1, 2019
blueyed added a commit to blueyed/mypy that referenced this pull request Jun 1, 2019
blueyed added a commit to blueyed/mypy that referenced this pull request Jun 3, 2019
blueyed added a commit to blueyed/mypy that referenced this pull request Jun 3, 2019
@JukkaL
Copy link
Collaborator

JukkaL commented Jun 3, 2019

How about skipping those tests when lxml is not installed, and making it an optional requirement for tests in general?

This is a good idea. We just need to be careful to run at least some lxml tests in CI, and we probably need to run them on all major platforms (but not every platform/Python version combination probably).

blueyed added a commit to blueyed/mypy that referenced this pull request Jun 8, 2019
blueyed added a commit to blueyed/mypy that referenced this pull request Jun 8, 2019
PattenR pushed a commit to PattenR/mypy that referenced this pull request Jun 23, 2019
The new argument to PyCode_New means that lxml doesn't work on 3.8
right now, so we're out of business until there's a new lxml release
that does. (If that is taking too long, we can disable the tests that
want lxml.)

There are also some other minor issues: we fail some tests with
`DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead` while running some of the eval tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants