Skip to content

Update getting-started.rst about ExceptionGroup. #12880

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

Closed
wants to merge 3 commits into from
Closed

Update getting-started.rst about ExceptionGroup. #12880

wants to merge 3 commits into from

Conversation

kmoonn
Copy link

@kmoonn kmoonn commented Oct 12, 2024

The ExceptionGroup class is only available in Python 3.11 and later versions. If you're using an older version of Python, that's why you're seeing this NameError.

kmoonn and others added 3 commits October 12, 2024 21:01
The ExceptionGroup class is only available in Python 3.11 and later versions.
The ExceptionGroup class is only available in Python 3.11 and later versions. If you're using an older version of Python, that's why you're seeing this NameError.
@The-Compiler
Copy link
Member

pytest already depends on exceptiongroup on those Python versions:

"exceptiongroup>=1.0.0rc8; python_version<'3.11'",

So the only reason why you'd get an error there is a broken setup of some sorts. @kmoonn could you elaborate what the motivation for this change is?

@lanzz
Copy link
Contributor

lanzz commented Oct 13, 2024

I don't understand the wording of this change. "... that's why you're seeing this NameError" - this implies a NameError that has already been mentioned somewhere, but there's no such earlier mention in getting-started.rst. This looks like a response copied out of context from an issue or an online community?

@kmoonn kmoonn closed this by deleting the head repository Oct 27, 2024
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.

3 participants