Skip to content

Conversation

@mabdinur
Copy link
Contributor

@mabdinur mabdinur commented Sep 21, 2021

Commit Message

Move aiohttp tests to riot

Migrate aiohttp from tox to riot. Fixes #1370

Checklist

  • Added to the correct milestone.
  • Tests provided or description of manual testing performed is included in the code or PR.
  • Library documentation is updated.
  • Corp site documentation is updated (link to the PR).

Co-authored-by: Kyle Verhoog <kyle@verhoog.ca>
@mabdinur mabdinur added the changelog/no-changelog A changelog entry is not required for this PR. label Sep 21, 2021
@mabdinur mabdinur marked this pull request as ready for review September 22, 2021 01:08
@mabdinur mabdinur requested a review from a team as a code owner September 22, 2021 01:08
Co-authored-by: Brett Langdon <me@brett.is>
@mabdinur mabdinur requested a review from Kyle-Verhoog October 20, 2021 19:16
@codecov-commenter
Copy link

Codecov Report

Merging #2866 (ef0f19b) into master (1dd2942) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2866      +/-   ##
==========================================
- Coverage   84.68%   84.67%   -0.01%     
==========================================
  Files         607      607              
  Lines       44749    44752       +3     
==========================================
- Hits        37894    37893       -1     
- Misses       6855     6859       +4     
Impacted Files Coverage Δ
tests/contrib/aiohttp/test_templates.py 100.00% <100.00%> (ø)
tests/contrib/aiohttp/conftest.py 91.30% <0.00%> (-8.70%) ⬇️

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 1dd2942...ef0f19b. Read the comment docs.

riotfile.py Outdated
command="pytest {cmdargs} tests/contrib/aiohttp",
pkgs={"pytest-aiohttp": [latest]},
venvs=[
# Python 3.5 raises `NotImplemented: Can't perform operation for unregistered loader type`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These can go away now

@P403n1x87
Copy link
Contributor

I had opened a PR to do this in the past but I ran into some issues: #2637. It looks like the latest release of riot has fixed those?

@Kyle-Verhoog
Copy link
Member

@P403n1x87 it looks like the issues have been resolved! https://app.circleci.com/pipelines/github/DataDog/dd-trace-py/11854/workflows/f2d0578[…]3-802e-4ad1d18044eb/jobs/878712/parallel-runs/1?filterBy=ALL

@mabdinur mabdinur requested a review from Kyle-Verhoog October 21, 2021 15:58
Copy link
Member

@Kyle-Verhoog Kyle-Verhoog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 👏

@mergify mergify bot merged commit f04a6ec into DataDog:master Oct 22, 2021
@Kyle-Verhoog
Copy link
Member

@Mergifyio backport 0.55

@mergify
Copy link
Contributor

mergify bot commented Nov 2, 2021

backport 0.55

✅ Backports have been created

Kyle-Verhoog added a commit that referenced this pull request Nov 2, 2021
* Move aiohttp tests to riot

Migrate aiohttp from tox to riot. Fixes #1370

* Pin async-timeout to <4.0.0 for older aiohttp versions (#2963)

async-timeout introduces a breaking change (changing the `timeout` class
to a function) which breaks older versions of aiohttp.

Co-authored-by: Munir Abdinur <munir.abdinur@datadoghq.com>
Co-authored-by: Kyle Verhoog <kyle@verhoog.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog A changelog entry is not required for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

async tests are being skipped

5 participants