Skip to content

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
@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
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants