Skip to content

gh-112890: unittest Test Discovery page updated "unittest dropped the namspace packages support" - #113195

Merged
serhiy-storchaka merged 2 commits into
python:mainfrom
tpackard1:unittest-dropped-namespace
Dec 17, 2023
Merged

gh-112890: unittest Test Discovery page updated "unittest dropped the namspace packages support"#113195
serhiy-storchaka merged 2 commits into
python:mainfrom
tpackard1:unittest-dropped-namespace

Conversation

@tpackard1

@tpackard1 tpackard1 commented Dec 15, 2023

Copy link
Copy Markdown
Contributor

Updated the language in documenttation for unittest Test Discovery to say the following: "Changed in version 3.11: unittest dropped the namespace packages support in Python 3.11. It has been broken since Python 3.7. Start directory and subdirectories containing tests must be regular package that have init.py file."

This update was based on gh-112890


📚 Documentation preview 📚: https://cpython-previews--113195.org.readthedocs.build/

@serhiy-storchaka serhiy-storchaka added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Dec 17, 2023
@serhiy-storchaka
serhiy-storchaka merged commit 21d5299 into python:main Dec 17, 2023
@miss-islington-app

Copy link
Copy Markdown

Thanks @tpackard1 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 17, 2023
…ropped the namspace packages support" (pythonGH-113195)

(cherry picked from commit 21d5299)

Co-authored-by: Taylor Packard <3.t.packard@gmail.com>
@bedevere-app

bedevere-app Bot commented Dec 17, 2023

Copy link
Copy Markdown

GH-113228 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Dec 17, 2023
@bedevere-app

bedevere-app Bot commented Dec 17, 2023

Copy link
Copy Markdown

GH-113229 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 17, 2023
…ropped the namspace packages support" (pythonGH-113195)

(cherry picked from commit 21d5299)

Co-authored-by: Taylor Packard <3.t.packard@gmail.com>
@bedevere-app bedevere-app Bot removed the needs backport to 3.11 only security fixes label Dec 17, 2023
serhiy-storchaka pushed a commit that referenced this pull request Dec 17, 2023
…dropped the namspace packages support" (GH-113195) (GH-113229)

(cherry picked from commit 21d5299)

Co-authored-by: Taylor Packard <3.t.packard@gmail.com>
serhiy-storchaka pushed a commit that referenced this pull request Dec 17, 2023
…dropped the namspace packages support" (GH-113195) (GH-113228)

(cherry picked from commit 21d5299)

Co-authored-by: Taylor Packard <3.t.packard@gmail.com>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants