Skip to content

Conversation

@mayeut
Copy link
Contributor

@mayeut mayeut commented Nov 28, 2025

"what's new" link were pointing to the dropped version for 3.9 & 3.10

"reasons": """
<li><a href="https://github.com/jugmac00/python-version-cheat-sheet#python-310">use <code>match</code> statement and write union types as <code>X | Y</code></a></li>
<li><a href="https://docs.python.org/3/whatsnew/3.9.html">And more!</a></li>
<li><a href="https://docs.python.org/3/whatsnew/3.10.html">And more!</a></li>
Copy link
Owner

Choose a reason for hiding this comment

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

Good find!

Rather than just fixing, as I'll probably make the same mistake in the future, can we futureproof this via templating?

For example for all of these:

Suggested change
<li><a href="https://docs.python.org/3/whatsnew/3.10.html">And more!</a></li>
<li><a href="https://docs.python.org/3/whatsnew/{{next_version}}.html">And more!</a></li>

And then check it's replaced somewhere below.

Copy link
Contributor Author

@mayeut mayeut Nov 29, 2025

Choose a reason for hiding this comment

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

Rather than just fixing, as I'll probably make the same mistake in the future, can we futureproof this via templating?

Indeed that would be better but I only have time (at least for now) to contribute this very small fix rather than the proposed future proof templating option.

Copy link
Owner

Choose a reason for hiding this comment

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

Okay, thanks for the fix!

Copy link
Owner

Choose a reason for hiding this comment

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

(Templated in 7de7b99)

@hugovk hugovk merged commit 2de5787 into hugovk:main Nov 29, 2025
8 checks 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

Successfully merging this pull request may close these issues.

2 participants