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

change sdist and register command so they use check #50291

Closed
tarekziade mannequin opened this issue May 16, 2009 · 3 comments
Closed

change sdist and register command so they use check #50291

tarekziade mannequin opened this issue May 16, 2009 · 3 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@tarekziade
Copy link
Mannequin

tarekziade mannequin commented May 16, 2009

BPO 6041
Nosy @tarekziade
Dependencies
  • bpo-5732: add a new command called "check" into Distutils
  • 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 2009-05-16.17:01:06.864>
    created_at = <Date 2009-05-16.16:27:43.487>
    labels = ['library']
    title = 'change sdist and register command so they use check'
    updated_at = <Date 2009-05-16.17:01:06.862>
    user = 'https://github.com/tarekziade'

    bugs.python.org fields:

    activity = <Date 2009-05-16.17:01:06.862>
    actor = 'tarek'
    assignee = 'tarek'
    closed = True
    closed_date = <Date 2009-05-16.17:01:06.864>
    closer = 'tarek'
    components = ['Distutils']
    creation = <Date 2009-05-16.16:27:43.487>
    creator = 'tarek'
    dependencies = ['5732']
    files = []
    hgrepos = []
    issue_num = 6041
    keywords = []
    message_count = 3.0
    messages = ['87900', '87901', '87904']
    nosy_count = 1.0
    nosy_names = ['tarek']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue6041'
    versions = ['Python 3.1', 'Python 2.7']

    @tarekziade
    Copy link
    Mannequin Author

    tarekziade mannequin commented May 16, 2009

    the check command now is able to check the meta-data, so we can remove
    duplicate code located in both "sdist" and "register" and call "check as
    a subcommand.

    • register will also have a new boolean option called "strict". If set
      to True (it's unset by default), register will stop if the metadata are
      not OK or if the long_description fails to compile in reST (as long as
      docutils is installed of course)

    • sdist will have a new boolean option called "medata-check", set to
      true by default. That will use "check" to verify the metadata (not the
      long_description reSt compliancy though, just the metadata fields presence)

    @tarekziade tarekziade mannequin self-assigned this May 16, 2009
    @tarekziade tarekziade mannequin added the stdlib Python modules in the Lib dir label May 16, 2009
    @tarekziade
    Copy link
    Mannequin Author

    tarekziade mannequin commented May 16, 2009

    the old check_metadata method, duplicated in sdist and register, will be
    marked with a PendingDeprecationWarning.

    @tarekziade
    Copy link
    Mannequin Author

    tarekziade mannequin commented May 16, 2009

    done in r72681, r72683

    @tarekziade tarekziade mannequin closed this as completed May 16, 2009
    @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
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants