Skip to content
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

Don't allow failure anymore in 3.8-dev #185

Open
wants to merge 1 commit into
base: master
from
Open

Conversation

@Mariatta
Copy link
Member

@Mariatta Mariatta commented Aug 13, 2019

No description provided.

@codecov
Copy link

@codecov codecov bot commented Aug 13, 2019

Codecov Report

Merging #185 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #185   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          20     20           
  Lines        1662   1662           
  Branches       89     89           
=====================================
  Hits         1662   1662

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3bb3786...2e05fef. Read the comment docs.

@Mariatta Mariatta force-pushed the Mariatta-patch-1 branch from c7fe1db to 2e05fef Oct 16, 2019
@Mariatta
Copy link
Member Author

@Mariatta Mariatta commented Oct 16, 2019

The asynctest library is not compatible in Python 3.8. It was recently added in #159 by @lysnikolaou
Is there any workaround for it? Can we make do without asynctest?

@lysnikolaou
Copy link
Contributor

@lysnikolaou lysnikolaou commented Oct 16, 2019

@Mariatta the asynctest library provides mocks for async functions. We could use the newly added AsyncMock in unittest, but we would need to update to 3.8 immediately for that.

@Mariatta
Copy link
Member Author

@Mariatta Mariatta commented Oct 16, 2019

ok thanks for the info. Hmm there is not yet 3.8 Python environment in Heroku, so we can't do it 😟

@Mariatta
Copy link
Member Author

@Mariatta Mariatta commented Oct 21, 2019

Seems like Python 3.8.0 is now available in Heroku. Think we can upgrade?

@lysnikolaou
Copy link
Contributor

@lysnikolaou lysnikolaou commented Oct 22, 2019

I'm not sure, what would be best to do. In case @brettcannon says we should upgrade, I could go ahead and push a PR to remove the asynctest dependency and update all the relevant tests.

@brettcannon
Copy link
Member

@brettcannon brettcannon commented Oct 22, 2019

I always say you should dogfood what you produce, and since this is for Python then we should use Python 3.8 if it's available.

@lysnikolaou
Copy link
Contributor

@lysnikolaou lysnikolaou commented Oct 27, 2019

It seems like there is a problem with aiohttp as well. After I removed the asynctest dependency, I get DeprecationWarnings due to aiohttp calling asyncio.shield() with the loop argument which is deprecated as of 3.8.

Running pytest -p no:warnings is ok, which shows that asynctest can be removed without a problem.

@lysnikolaou
Copy link
Contributor

@lysnikolaou lysnikolaou commented Jan 15, 2020

Opened #211 for this, which fails on Travis with 3.7, but does not with 3.8-dev.

@brettcannon brettcannon reopened this Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.