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

[9] Move the Network group over to the tox gen script #3979

Merged
merged 19 commits into from
Feb 14, 2025

Conversation

sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Jan 20, 2025

  • remove hardcoded entries for requests, grpc from the tox template
  • remove them from the ignore list in populate_tox.py
  • run populate_tox.py to fill in entries for them
  • run split_gh_tox_actions.py to generate the CI yaml files so that they correspond to the new tox.ini

The remaining integrations in this group are not trivial to port to the script, I'll do this step by step in follow-up PRs.

Copy link

codecov bot commented Jan 20, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
22818 1 22817 5781
View the full list of 1 ❄️ flaky tests
tests.integrations.stdlib.test_httplib test_http_timeout

Flake rate in main: 11.76% (Passed 15 times, Failed 2 times)

Stack Traces | 0.209s run time
.../integrations/stdlib/test_httplib.py:419: in test_http_timeout
    assert len(transaction["spans"]) == 1
E   assert 0 == 1
E    +  where 0 = len([])

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Base automatically changed from ivana/tox-script-4 to master February 11, 2025 10:26
@@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8","3.9","3.11","3.12","3.13"]
python-version: ["3.9","3.12","3.13"]
Copy link
Member

Choose a reason for hiding this comment

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

Should we be concerned that tests for 3.8 and 3.11 are gone?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same reply as in the other PRs -- we're shrinking the Latest group by taking stuff out of it. So this is ok. It's all moving into the Pinned group instead.

@@ -306,6 +297,18 @@ envlist =
{py3.9,py3.12,py3.13}-strawberry-v0.259.0


# ~~~ Network ~~~
{py3.7,py3.8}-grpc-v1.32.0
Copy link
Member

Choose a reason for hiding this comment

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

In the .github/workflows, we don't have either of these Python versions. Is that because the line changed in this PR is for the latest tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, you have to look at Python versions in the Pinned group instead, that's what gets generated by this script.

@sentrivana sentrivana enabled auto-merge (squash) February 14, 2025 12:48
@sentrivana sentrivana merged commit 7b5904a into master Feb 14, 2025
142 checks passed
@sentrivana sentrivana deleted the ivana/tox-script-9 branch February 14, 2025 13:09
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.

2 participants