Skip to content

Update lockfile to use blurb 2.2.0 - #451

Merged
hugovk merged 1 commit into
python:mainfrom
hugovk:blurb-bump
Oct 9, 2026
Merged

hugovk merged 1 commit into
python:mainfrom
hugovk:blurb-bump

Conversation

@hugovk

@hugovk hugovk commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

pip-compile --upgrade-package blurb --generate-hashes --output-file=requirements.txt requirements.in

To fix https://github.com/python/release-tools/actions/runs/37922985653/job/113795259513

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.12.15/x64/bin/blurb", line 6, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.15/x64/lib/python3.12/site-packages/blurb/_cli.py", line 129, in main
    ns.func(ns)
  File "/opt/hostedtoolcache/Python/3.12.15/x64/lib/python3.12/site-packages/blurb/_cli.py", line 88, in <lambda>
    parser_merge.set_defaults(func=lambda ns: merge(ns.output, forced=ns.forced))
                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.15/x64/lib/python3.12/site-packages/blurb/_merge.py", line 38, in merge
    write_news(output, versions=versions)
  File "/opt/hostedtoolcache/Python/3.12.15/x64/lib/python3.12/site-packages/blurb/_merge.py", line 71, in write_news
    blurbs.load(filenames[0])
  File "/opt/hostedtoolcache/Python/3.12.15/x64/lib/python3.12/site-packages/blurb/_blurb_file.py", line 209, in load
    self.parse(text, metadata=metadata, filename=filename)
  File "/opt/hostedtoolcache/Python/3.12.15/x64/lib/python3.12/site-packages/blurb/_blurb_file.py", line 200, in parse
    finish_entry()
  File "/opt/hostedtoolcache/Python/3.12.15/x64/lib/python3.12/site-packages/blurb/_blurb_file.py", line 155, in finish_entry
    throw(
  File "/opt/hostedtoolcache/Python/3.12.15/x64/lib/python3.12/site-packages/blurb/_blurb_file.py", line 118, in throw
    raise BlurbError(f'Error in {filename}:{line_number}:\n{s}')
blurb._blurb_file.BlurbError: Error in Misc/NEWS.d/3.15.0.rst:8:
Invalid gh-issue number: '0' (must be >= 32426)
**ERROR**
['blurb', 'merge'] failed
created dist directory 3.15.0
Exporting tag: 3.15.0
Executing ['git', 'archive', '--format=tar', '--prefix=Python-3.15.0/', '-o', 'Python-3.15.0.tar', 'v3.15.0']
chdir'ing to 3.15.0
Executing ['tar', '-xf', '../Python-3.15.0.tar']
chdir'ing to Python-3.15.0
Touching: pycore_ast.h, pycore_ast_state.h, Python-ast.c, opcode_targets.h
Using blurb to build Misc/NEWS
Executing ['blurb', 'merge']

See python/blurb#92

pip-compile --upgrade-package blurb --generate-hashes --output-file=requirements.txt requirements.in
@hugovk

hugovk commented Oct 9, 2026

Copy link
Copy Markdown
Member Author

build-source and test-source are the only two that depend on the lockfile, they've passed so good enough to merge.

Not going to wait for build-ios and build-android, they take about half an hour altogether.

@hugovk
hugovk merged commit 8780826 into python:main Oct 9, 2026
18 checks passed
@hugovk
hugovk deleted the blurb-bump branch October 9, 2026 11:40
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

Successfully merging this pull request may close these issues.

1 participant