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

pep-0000.txt doesn't build anymore #57363

Closed
pitrou opened this issue Oct 11, 2011 · 3 comments
Closed

pep-0000.txt doesn't build anymore #57363

pitrou opened this issue Oct 11, 2011 · 3 comments
Labels
build The build process and cross-build docs Documentation in the Doc dir

Comments

@pitrou
Copy link
Member

pitrou commented Oct 11, 2011

BPO 13154
Nosy @birkenfeld, @orsenthil, @pitrou

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 = <Date 2011-10-13.00:04:14.756>
created_at = <Date 2011-10-11.21:55:08.210>
labels = ['build', 'docs']
title = "pep-0000.txt doesn't build anymore"
updated_at = <Date 2011-10-13.00:04:14.749>
user = 'https://github.com/pitrou'

bugs.python.org fields:

activity = <Date 2011-10-13.00:04:14.749>
actor = 'orsenthil'
assignee = 'docs@python'
closed = True
closed_date = <Date 2011-10-13.00:04:14.756>
closer = 'orsenthil'
components = ['Documentation']
creation = <Date 2011-10-11.21:55:08.210>
creator = 'pitrou'
dependencies = []
files = []
hgrepos = []
issue_num = 13154
keywords = []
message_count = 3.0
messages = ['145370', '145433', '145444']
nosy_count = 5.0
nosy_names = ['georg.brandl', 'orsenthil', 'pitrou', 'docs@python', 'mikehoy']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue13154'
versions = []

@pitrou
Copy link
Member Author

pitrou commented Oct 11, 2011

$ make
make: Dépendance circulaire pep-0000.txt <- pep-0000.txt abandonnée.
python genpepindex.py .
Traceback (most recent call last):
  File "genpepindex.py", line 67, in <module>
    main(sys.argv)
  File "genpepindex.py", line 64, in main
    write_pep0(peps, pep0_file)
  File "/home/antoine/cpython/peps/pep0/output.py", line 195, in write_pep0
    authors_dict = verify_email_addresses(peps)
  File "/home/antoine/cpython/peps/pep0/output.py", line 104, in verify_email_addresses
    "listed:\n" + '\n'.join(err_output))
ValueError: some authors have more than one email address listed:
    Gregory Ewing: [u'greg@cosc.canterbury.ac.nz', u'greg.ewing@canterbury.ac.nz']
make: *** [pep-0000.txt] Erreur 1

@pitrou pitrou added docs Documentation in the Doc dir build The build process and cross-build labels Oct 11, 2011
@mikehoy
Copy link
Mannequin

mikehoy mannequin commented Oct 12, 2011

:~/peps$ find . -name "*.txt" | xargs grep "canterbury"
./pep-3152.txt:Author: Gregory Ewing <greg.ewing@canterbury.ac.nz>
./pep-0380.txt:Author: Gregory Ewing <greg.ewing@canterbury.ac.nz>
./pep-0284.txt: Greg Ewing <greg.ewing@canterbury.ac.nz>
./pep-0335.txt:Author: Gregory Ewing <greg@cosc.canterbury.ac.nz>

Looks like pep-0335.txt has a "Gregory Ewing" with a different email address (greg@cosc.canterbury.ac.nz) that is normally associated with "Gregory Ewing" (greg.ewing@canterbury.ac.nz).

Which is an error according to:

pep0/output.py:

    if too_many_emails:
        err_output = []
        for author, emails in too_many_emails:
            err_output.append("    %s: %r" % (author, emails))
        raise ValueError("some authors have more than one email address "
                         "listed:\n" + '\n'.join(err_output))

@orsenthil
Copy link
Member

Fixed in 25ff1adf5f30

@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
build The build process and cross-build docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants