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

Add mock PyPI server to test distutils #54787

Closed
merwok opened this issue Nov 29, 2010 · 4 comments
Closed

Add mock PyPI server to test distutils #54787

merwok opened this issue Nov 29, 2010 · 4 comments
Assignees
Labels
stdlib Python modules in the Lib dir tests Tests in the Lib/test dir

Comments

@merwok
Copy link
Member

merwok commented Nov 29, 2010

BPO 10578
Nosy @tarekziade, @merwok

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/tarekziade'
closed_at = <Date 2010-11-29.15:58:01.806>
created_at = <Date 2010-11-29.14:09:31.790>
labels = ['tests', 'library']
title = 'Add mock PyPI server to test distutils'
updated_at = <Date 2010-11-29.16:35:09.504>
user = 'https://github.com/merwok'

bugs.python.org fields:

activity = <Date 2010-11-29.16:35:09.504>
actor = 'tarek'
assignee = 'tarek'
closed = True
closed_date = <Date 2010-11-29.15:58:01.806>
closer = 'eric.araujo'
components = ['Distutils', 'Tests']
creation = <Date 2010-11-29.14:09:31.790>
creator = 'eric.araujo'
dependencies = []
files = []
hgrepos = []
issue_num = 10578
keywords = []
message_count = 4.0
messages = ['122801', '122808', '122821', '122826']
nosy_count = 2.0
nosy_names = ['tarek', 'eric.araujo']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue10578'
versions = ['Python 3.1', 'Python 2.7', 'Python 3.2']

@merwok
Copy link
Member Author

merwok commented Nov 29, 2010

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.

@merwok merwok added stdlib Python modules in the Lib dir tests Tests in the Lib/test dir labels Nov 29, 2010
@tarekziade
Copy link
Mannequin

tarekziade mannequin commented Nov 29, 2010

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

@merwok
Copy link
Member Author

merwok commented Nov 29, 2010

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.

@merwok merwok closed this as completed Nov 29, 2010
@tarekziade
Copy link
Mannequin

tarekziade mannequin commented Nov 29, 2010

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.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir tests Tests in the Lib/test dir
Projects
None yet
Development

No branches or pull requests

1 participant