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

[pre-commit.ci] pre-commit autoupdate #900

Merged
merged 1 commit into from May 10, 2023
Merged

Conversation

pre-commit-ci[bot]
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented May 9, 2023

updates:
- [github.com/asottile/pyupgrade: v3.3.2 → v3.4.0](asottile/pyupgrade@v3.3.2...v3.4.0)
@nicoddemus
Copy link
Member

@bluetech @RonnyPfannschmidt I'm guessing the recent execnet changes (pytest-dev/execnet#189 and pytest-dev/execnet#190) might have caused the regressions?

@RonnyPfannschmidt
Copy link
Member

@nicoddemus nope, it's a long standing issue

Pytest fixed encoding usage

@bluetech
Copy link
Member

This is not really pytest's fault, but I think we need to fix it there, otherwise it will cause some havoc. I'll send a PR.

bluetech added a commit to bluetech/pytest that referenced this pull request May 10, 2023
Fixes a pytest-xdist regression after
762bb61 (not yet released).

pytest-xdist patches sys.stderr with an object which doesn't have
`encoding`. Strictly speaking, this should be fixed there (or more
precisely, in execnet), but it will drop support for older versions
which don't want.

But in any case, the fix turns out to simplify the code, using FD
support added in Python 3.5, so it's good anyway!

Refs: pytest-dev/pytest-xdist#900
@nicoddemus
Copy link
Member

Thanks folks, did not had the time to spare to verify the actual issue, but wanted to raise a flag anyway. Thanks for looking into it!

@bluetech bluetech closed this May 10, 2023
@bluetech bluetech reopened this May 10, 2023
@bluetech
Copy link
Member

It passes now https://github.com/pytest-dev/pytest-xdist/actions/runs/4936405169

@bluetech bluetech merged commit e48dc3c into master May 10, 2023
48 of 57 checks passed
@bluetech bluetech deleted the pre-commit-ci-update-config branch May 10, 2023 11:48
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.

None yet

3 participants