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

tests: custom venv tester #879

Merged
merged 8 commits into from
May 30, 2023
Merged

tests: custom venv tester #879

merged 8 commits into from
May 30, 2023

Conversation

henryiii
Copy link
Contributor

@henryiii henryiii commented Mar 6, 2023

Dropping usage of pytest-virtualenv, which is not well maintained and doesn't work everywhere.

Ignores warnings from Python 3.12 + PyTest.

Fixing coverage, which was sometimes ending up being incorrectly configured.

Also improving static checks (mypy now runs, albeit less strictly, on the tests folder), which potentially improves a couple of tests.

The isolated marker is used for all isolated checks - test_distribution is an isolated check.

@henryiii henryiii force-pushed the henryiii/tests/customvenv branch 3 times, most recently from df09dd9 to 4435ef2 Compare March 6, 2023 23:40
@henryiii henryiii force-pushed the henryiii/tests/customvenv branch from 6a000e3 to b5e6d78 Compare March 7, 2023 04:08
@henryiii henryiii force-pushed the henryiii/tests/customvenv branch from b5e6d78 to 0312dc9 Compare May 30, 2023 10:24
henryiii added 2 commits May 30, 2023 07:33
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii force-pushed the henryiii/tests/customvenv branch from 5020a23 to e40d84b Compare May 30, 2023 11:33
henryiii added 4 commits May 30, 2023 09:02
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii force-pushed the henryiii/tests/customvenv branch from 0ea77f2 to 49a57dc Compare May 30, 2023 16:40
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii force-pushed the henryiii/tests/customvenv branch from 39aeb0d to 5b2b7b6 Compare May 30, 2023 18:35
@henryiii henryiii marked this pull request as ready for review May 30, 2023 18:45
.pre-commit-config.yaml Outdated Show resolved Hide resolved
@@ -394,7 +394,7 @@ def setup(
cmake_process_manifest_hook: Callable[[list[str]], list[str]] | None = None,
cmake_install_target: str = "install",
**kw: Any,
) -> None:
) -> upstream_Distribution:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is technically incorrect in typeshed.

@henryiii henryiii enabled auto-merge (squash) May 30, 2023 19:51
@henryiii henryiii merged commit 03fa85c into main May 30, 2023
@henryiii henryiii deleted the henryiii/tests/customvenv branch May 30, 2023 20:17
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.

1 participant