Refactor package creation support code into a common location

Open
#59,608 22 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
testing

Research direction

Start by reviewing the three linked patches for issue-15403 and the dependency issues, especially the move from test/support.py to the test.support subpackage and documentation for test.support.script_helper. Trace the package-creation support code and its tests, then verify that the helpers have one common location and the relevant test suite passes.

Written by the indexing model from the issue text.

Description

tests type-refactor
BPO 15403
Nosy @ncoghlan, @pitrou, @vstinner, @merwok, @cjerdonek, @ericsnowcurrently
Dependencies
  • bpo-15494: Move test/support.py into a test.support subpackage
  • bpo-18576: Document test.support.script_helper
  • bpo-19700: Update runpy for PEP 451
  • Files
  • issue-15403-1.patch
  • issue-15403-2.patch
  • issue-15403-3.patch
  • 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 = None
    closed_at = None
    created_at = <Date 2012-07-20.11:13:12.663>
    labels = ['tests']
    title = 'Refactor package creation support code into a common location'
    updated_at = <Date 2019-07-29.11:44:38.181>
    user = 'https://github.com/cjerdonek'
    

    bugs.python.org fields:

    activity = <Date 2019-07-29.11:44:38.181>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2012-07-20.11:13:12.663>
    creator = 'chris.jerdonek'
    dependencies = ['15494', '18576', '19700']
    files = ['26447', '26670', '30870']
    hgrepos = []
    issue_num = 15403
    keywords = ['patch']
    message_count = 22.0
    messages = ['165910', '165912', '166499', '166759', '166771', '166773', '166774', '166776', '166778', '166787', '166788', '166790', '166793', '166844', '166847', '166850', '167266', '192708', '193822', '193823', '205639', '348630']
    nosy_count = 7.0
    nosy_names = ['ncoghlan', 'pitrou', 'vstinner', 'eric.araujo', 'chris.jerdonek', 'eric.snow', 'italip']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue15403'
    versions = ['Python 3.3']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.