Skip to content

Constrain blurb to version 1.1 or older #294

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

Merged
merged 1 commit into from
Apr 15, 2025
Merged

Constrain blurb to version 1.1 or older #294

merged 1 commit into from
Apr 15, 2025

Conversation

AA-Turner
Copy link
Member

Rebuilding 3.5, 3.6, and 3.7 fail with the following error. Try constraining them to a previous version of blurb.

Traceback (most recent call last):
  File "/srv/docsbuild/venv-3.7/bin/blurb", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/srv/docsbuild/venv-3.7/lib/python3.13/site-packages/blurb/blurb.py", line 1203, in main
    sys.exit(fn(*filtered_args, **kwargs))
             ~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/docsbuild/venv-3.7/lib/python3.13/site-packages/blurb/blurb.py", line 982, in merge
    write_news(output, versions=versions)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/docsbuild/venv-3.7/lib/python3.13/site-packages/blurb/blurb.py", line 1014, in write_news
    blurbs.load(filenames[0])
    ~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/srv/docsbuild/venv-3.7/lib/python3.13/site-packages/blurb/blurb.py", line 536, in load
    self.parse(text, metadata=metadata, filename=filename)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/docsbuild/venv-3.7/lib/python3.13/site-packages/blurb/blurb.py", line 526, in parse
    finish_entry()
    ~~~~~~~~~~~~^^
  File "/srv/docsbuild/venv-3.7/lib/python3.13/site-packages/blurb/blurb.py", line 497, in finish_entry
    throw("No 'section' specified.  You must provide one!")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/docsbuild/venv-3.7/lib/python3.13/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.6.2.rst:7:
No 'section' specified.  You must provide one!

@AA-Turner AA-Turner merged commit c642946 into main Apr 15, 2025
18 checks passed
@AA-Turner AA-Turner deleted the blurb-1.1 branch April 15, 2025 23:53
@hugovk
Copy link
Member

hugovk commented Apr 16, 2025

Do we need to rebuilt EOL versions at all?

@JulienPalard
Copy link
Member

Do we need to rebuilt EOL versions at all?

It's always a good idea to be able to do so:

  • To add the EOL banner (once).
  • To update the sidebar maybe.
  • To update any other thing that we would need to update like meta tags, or I don't know.

@AA-Turner
Copy link
Member Author

Let's continue in #298.

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.

3 participants