This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add mock PyPI server to test distutils
Type: Stage: resolved
Components: Distutils, Tests Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: tarek Nosy List: eric.araujo, tarek
Priority: normal Keywords:

Created on 2010-11-29 14:09 by eric.araujo, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg122801 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-11-29 14:09
In distutils2, we have a mock PyPI server to test index-related behavior, but in distutils we fix such things without automated tests.  I would like to add the mock server to distutils.
msg122808 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2010-11-29 15:12
Please no more enhancements in distutils ! even in the tests.

Distutils is on maintenance mode, and we need to do the bare minimum there. we need to do the minimum changes.

If there's a bug in PyPI related code in distutils, you need to do this:

- fix the bug in distutils2, with the mock server + a test
- backport the bugfix only
msg122821 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-11-29 15:58
The more the codebases become different, the more difficult it will be to be sure some fix in d2 also fixes d1.  I’ll live with it or use pypi_server on my own machine :)

Thanks for the pronouncement.
msg122826 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2010-11-29 16:35
I don't think this will be a huge problem, given the low amount of bugs we have for all code involving PyPI. Other bugfix can be backported w/ their tests most of the time.
History
Date User Action Args
2022-04-11 14:57:09adminsetgithub: 54787
2010-11-29 16:35:09tareksetmessages: + msg122826
2010-11-29 15:58:01eric.araujosetstatus: open -> closed

messages: + msg122821
stage: resolved
2010-11-29 15:29:22eric.araujolinkissue10571 dependencies
2010-11-29 15:12:36tareksetresolution: wont fix
messages: + msg122808
2010-11-29 14:09:31eric.araujocreate