Skip to content

Conversation

@libremente
Copy link
Member

@libremente libremente commented Sep 5, 2025

This PR:

  • bumps Python from 3.9 to 3.11. Since 3.11 imghdr is deprecated and it is removed starting 3.13 (so the build with the current requirements fails on 3.13). To solve this I think It's probably better to move to a later version of Sphinx if/when necessary;
  • pins ubuntu to the latest available LTS (24.04) in the workflows;
  • fixes a Sphinx warning;
  • adds some small info in the README file.

Oh, I like to say licensed way more than licenced, in the same way that I like licenSe more than licenCe but I guess that's just personal taste?

Fixes #243

@libremente libremente requested a review from bfabio September 5, 2025 13:10
@vercel
Copy link

vercel bot commented Sep 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
publiccode-yml Ready Ready Preview Comment Sep 8, 2025 7:40am

@bfabio
Copy link
Contributor

bfabio commented Sep 5, 2025

Oh, I like to say licensed way more than licenced, in the same way that I like licenSe more than licenCe but I guess that's just personal taste?

Is it not a UK vs US thing?

@libremente
Copy link
Member Author

Oh, I like to say licensed way more than licenced, in the same way that I like licenSe more than licenCe but I guess that's just personal taste?

Is it not a UK vs US thing?

Yes but still I think it's way more common to see "license" around, WDYT?

@libremente
Copy link
Member Author

Like:

jobs:
bot:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know about this. ubuntu-latest is always expected to be just a runner capable of running the actions we have, and the actual environment is defined by the actions themselves.

Not a big deal to update every couple years, but still a manual thing to do.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup, makes sense, we have a strict policy on dependency pinning (also on runners) but we can revert to -latest if that comes more handy

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes please. If someone compromises GH's ubuntu-latest they deserve to publish freely on the site. ;)

@bfabio
Copy link
Contributor

bfabio commented Sep 5, 2025

Yes but still I think it's way more common to see "license" around, WDYT?

I agree it looks bad, I'm trying to force myself to use the UK spelling because the project was set up that way, but sometimes it's just hard.

@bfabio
Copy link
Contributor

bfabio commented Sep 5, 2025

@libremente thanks! If you could squash the reverted commits, we're good to go.

@libremente
Copy link
Member Author

There you go, thanks @bfabio

@bfabio bfabio merged commit 6a72d92 into main Sep 8, 2025
2 checks passed
@bfabio bfabio deleted the bump-min-python-version branch September 8, 2025 08:29
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.

[Local dev env] Python 3.9 EOL approaching

3 participants