Skip to content

gettext builder failing for Python 3.11 and 3.10 #105

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

Closed
rffontenelle opened this issue Jan 17, 2025 · 3 comments
Closed

gettext builder failing for Python 3.11 and 3.10 #105

rffontenelle opened this issue Jan 17, 2025 · 3 comments

Comments

@rffontenelle
Copy link
Collaborator

https://github.com/rffontenelle/python-docs-tx-translations/actions/runs/12830758225/job/35779686731

Building NEWS from Misc/NEWS.d with blurb
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.12.8/x64/bin/blurb", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 1203, in main
    sys.exit(fn(*filtered_args, **kwargs))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 982, in merge
    write_news(output, versions=versions)
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 1014, in write_news
    blurbs.load(filenames[0])
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 536, in load
    self.parse(text, metadata=metadata, filename=filename)
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 522, in parse
    finish_entry()
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 494, in finish_entry
    throw("'gh-issue:' or 'bpo:' must be specified in the metadata!")
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 446, in throw
    raise BlurbError(f"Error in {filename}:{line_number}:\n{s}")
blurb.blurb.BlurbError: Error in Misc/NEWS.d/3.11.0b1.rst:581:
'gh-issue:' or 'bpo:' must be specified in the metadata!
make: *** [Makefile:54: build] Error 1

From https://github.com/rffontenelle/python-docs-tx-translations/actions/runs/12830758225/job/35779687040

Building NEWS from Misc/NEWS.d with blurb
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.12.8/x64/bin/blurb", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 1203, in main
    sys.exit(fn(*filtered_args, **kwargs))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 982, in merge
    write_news(output, versions=versions)
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 1014, in write_news
    blurbs.load(filenames[0])
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 536, in load
    self.parse(text, metadata=metadata, filename=filename)
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 522, in parse
    finish_entry()
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 494, in finish_entry
    throw("'gh-issue:' or 'bpo:' must be specified in the metadata!")
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/blurb/blurb.py", line 446, in throw
    raise BlurbError(f"Error in {filename}:{line_number}:\n{s}")
blurb.blurb.BlurbError: Error in Misc/NEWS.d/3.10.0b1.rst:953:
'gh-issue:' or 'bpo:' must be specified in the metadata!
make: *** [Makefile:51: build] Error 1
@m-aciek
Copy link
Contributor

m-aciek commented Jan 17, 2025

Tracked upstream: python/cpython#128874

@m-aciek
Copy link
Contributor

m-aciek commented Jan 21, 2025

FYI 3.10 and 3.11 fixes have been merged today.

@rffontenelle
Copy link
Collaborator Author

Thanks. CI re-ran and passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants