Skip to content

Avoid having to manually bump documentation versions - #1655

Merged
mtreinish merged 2 commits into
Qiskit:mainfrom
IvanIsCoding:doc-fetch-version
Jul 29, 2026
Merged

Avoid having to manually bump documentation versions#1655
mtreinish merged 2 commits into
Qiskit:mainfrom
IvanIsCoding:doc-fetch-version

Conversation

@IvanIsCoding

Copy link
Copy Markdown
Collaborator

See #1653 (comment)

These days, Python ships with built-in support to read TOML files, so I think we can avoid this all together.

@IvanIsCoding
IvanIsCoding requested a review from mtreinish July 26, 2026 20:54

@mtreinish mtreinish left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be fine. I am slightly concerned about assuming the docs are built from a full checkout of the repo. I feel like there might be some packaging cases where this might not be the case. But if it's an issue for downstream packaging we can revisit this again, and not having to worry about this version number is a win.

@mtreinish
mtreinish added this pull request to the merge queue Jul 29, 2026
@mergify

mergify Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Merged via the queue into Qiskit:main with commit a2ba589 Jul 29, 2026
76 of 77 checks passed
@IvanIsCoding

Copy link
Copy Markdown
Collaborator Author

@Mergifyio backport stable/0.18

@mergify

mergify Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

backport stable/0.18

✅ Backports have been created

Details

IvanIsCoding added a commit that referenced this pull request Jul 29, 2026
(cherry picked from commit a2ba589)

Co-authored-by: Ivan Carvalho <8753214+IvanIsCoding@users.noreply.github.com>
@IvanIsCoding
IvanIsCoding deleted the doc-fetch-version branch July 29, 2026 22:25
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.

2 participants