Skip to content

Give clear error messages for invalid types used for setup.py params (e.g. tuple for classifiers) #63809

@berkerpeksag

Description

@berkerpeksag
BPO 19610
Nosy @nascheme, @ncoghlan, @pitrou, @tarekziade, @ned-deily, @merwok, @berkerpeksag, @serhiy-storchaka, @cryvate, @Marco-Sulla
PRs
  • bpo-19610: setup() now raises TypeError for invalid types #4519
  • bpo-19610: Warn if distutils is provided something other than a list to some fields #4685
  • Files
  • setup.py
  • fix-upload-cmd.diff
  • issue19610.diff
  • issue19610_catch_distribution.diff
  • issue19610_v2.diff
  • issue19610_v3.diff
  • issue19610_v4.diff
  • pip-errors.txt
  • 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/berkerpeksag'
    closed_at = <Date 2017-12-05.17:27:01.310>
    created_at = <Date 2013-11-15.11:24:52.594>
    labels = ['3.7', 'type-feature', 'library']
    title = 'Give clear error messages for invalid types used for setup.py params (e.g. tuple for classifiers)'
    updated_at = <Date 2020-03-04.19:52:23.051>
    user = 'https://github.com/berkerpeksag'

    bugs.python.org fields:

    activity = <Date 2020-03-04.19:52:23.051>
    actor = 'Marco Sulla'
    assignee = 'berker.peksag'
    closed = True
    closed_date = <Date 2017-12-05.17:27:01.310>
    closer = 'nascheme'
    components = ['Distutils']
    creation = <Date 2013-11-15.11:24:52.594>
    creator = 'berker.peksag'
    dependencies = []
    files = ['32641', '32642', '32665', '35266', '37097', '38655', '38862', '47312']
    hgrepos = []
    issue_num = 19610
    keywords = ['needs review']
    message_count = 47.0
    messages = ['202938', '202941', '202943', '203130', '206821', '206828', '214799', '214810', '214915', '218673', '230443', '237395', '237425', '237447', '237590', '237596', '237597', '237648', '237789', '239014', '239915', '240250', '242974', '306750', '306753', '306755', '306818', '306853', '307450', '307455', '307457', '307458', '307463', '307464', '307465', '307468', '307475', '307483', '307486', '307488', '307495', '307514', '307521', '307588', '307622', '307645', '363385']
    nosy_count = 10.0
    nosy_names = ['nascheme', 'ncoghlan', 'pitrou', 'tarek', 'ned.deily', 'eric.araujo', 'berker.peksag', 'serhiy.storchaka', 'cryvate', 'Marco Sulla']
    pr_nums = ['4519', '4685']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue19610'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions