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

Move to src directory #6506

Merged
merged 1 commit into from
Aug 13, 2023
Merged

Move to src directory #6506

merged 1 commit into from
Aug 13, 2023

Conversation

nateprewitt
Copy link
Member

This is more of a pulse check/RFC from the other maintainers. Using a src directory has been the standard advice for package structure [1][2] for quite a while for proper test encapsulation. This PR proposes we move Requests to follow suit.

I don't think we have anything requiring this move beyond providing a better example since Requests is still cited as an example for projects (despite being relatively out of date from community standards).

  1. https://packaging.python.org/en/latest/tutorials/packaging-projects/
  2. https://docs.pytest.org/en/latest/goodpractices.html

@nateprewitt nateprewitt merged commit d63e94f into psf:main Aug 13, 2023
28 checks passed
@nateprewitt nateprewitt deleted the src_migration branch August 13, 2023 21:46
@nateprewitt nateprewitt added this to the 2.32.0 milestone May 15, 2024
@nateprewitt nateprewitt mentioned this pull request May 20, 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.

2 participants