Posts by hugovk@mastodon.social
 (DIR) Post #AtvmTWGZ96Du0RMXvk by hugovk@mastodon.social
       2025-04-29T13:59:25Z
       
       0 likes, 0 repeats
       
       Just released: Python Docs Theme 2025.4 ๐Ÿš€๐Ÿ“š Require Sphinx 7.3๐Ÿ“š Add support for Python 3.14๐Ÿ“š Drop support for Python 3.10-3.11๐Ÿ“š Copy button for code samples๐Ÿ“š PEP 639 licence metadata๐Ÿ“š and more!https://github.com/python/python-docs-theme/releasesThanks to Tomas Roun for the copy button! Demo:https://docs.python.org/3.14/whatsnew/3.14.html#pep-758-allow-except-and-except-expressions-without-parentheses#Python #Sphinx #release #docs
       
 (DIR) Post #AtvmTWwkcFy27H6EgS by hugovk@mastodon.social
       2025-04-30T12:44:30Z
       
       0 likes, 0 repeats
       
       ๐Ÿ™ˆ https://www.youtube.com/watch?v=2cxSP90gj8c [Vappu is May Day]Just released! ๐Ÿš€๐Ÿš€๐Ÿš€๐Ÿš€termcolor 3.1.0Add true colour, cache system lookupshttps://github.com/termcolor/termcolor/releases/tag/3.1.0em-keyboard 5.1.0Add Emoji 16.0: ๐Ÿซฉ ๐Ÿซ† ๐Ÿชพ ๐Ÿซœ ๐Ÿช‰ ๐Ÿช ๐ŸซŸ ๐Ÿ‡จ๐Ÿ‡ถhttps://github.com/hugovk/em-keyboard/releases/tag/v5.1.0Humanize 4.12.3Fix regression in naturalsize, improve French translationhttps://github.com/python-humanize/humanize/releases/tag/4.12.3Python Docs Theme 2025.4.1Fix copy button with multiple tracebackshttps://github.com/python/python-docs-theme/releases/tag/2025.4.1#Python #release #termcolor #humanize #Sphinx #theme #EmKeyboard #PythonDocsTheme
       
 (DIR) Post #AtvmTXzGkNZlLNHlFQ by hugovk@mastodon.social
       2025-05-07T17:12:57Z
       
       0 likes, 0 repeats
       
       Just released: Python 3.14.0 beta 1! ๐Ÿš€๐Ÿ๐Ÿฅง Deferred type annotation evaluation!๐Ÿฅง T-strings!๐Ÿฅง Zstandard!๐Ÿฅง Syntax highlighting in the REPL!๐Ÿฅง Colour in unittest, argparse, json and calendar CLIs!๐Ÿฅง UUID v6-8!๐Ÿฅง And much more!https://discuss.python.org/t/python-3-14-0-beta-1-is-here/91117?u=hugovk#Python #CPython #Python314 #release
       
 (DIR) Post #AtvmTcu8StRMatvERM by hugovk@mastodon.social
       2025-05-09T15:33:21Z
       
       0 likes, 0 repeats
       
       Just released! ๐Ÿš€Enabled colour help for Python 3.14:๐ŸŽจ em-keyboard 5.2.0๐ŸŽจ linkotron 0.5.0๐ŸŽจ norwegianblue 0.22.0๐ŸŽจ pepotron 1.5.0๐ŸŽจ pypistats 1.10.0Also added Python 3.15 to pepotron: `pep 3.15` opens PEP 790.#release #python314 #colour #CLI #EmKeyboard #linkotron #norwegianblue #pepotron #pypistats #help
       
 (DIR) Post #Av7GliQtpTDcffEblA by hugovk@mastodon.social
       2024-02-04T10:14:28Z
       
       0 likes, 0 repeats
       
       @KevinMarks @Kensan @shortridge Which bit of Python assumes mm/dd/YYYY unless mm>12?
       
 (DIR) Post #Av7GljmCpjr8q2D8bo by hugovk@mastodon.social
       2024-02-04T18:46:01Z
       
       0 likes, 0 repeats
       
       @KevinMarks @Kensan @shortridge That's quite the gotcha! Well, if you're not using ISO dates, and don't tell it what format is being used, this library has to make some sort of guess between mm/dd/YYYY and dd/mm/YYYY. And iirc you have to tell the standard library which date format to parse, it won't guess.
       
 (DIR) Post #AyyCHKE2qWIyabTuLY by hugovk@mastodon.social
       2025-09-30T12:19:29Z
       
       0 likes, 0 repeats
       
       Only one week left until the release of Python 3.14.0 final!https://docs.python.org/3.14/whatsnew/3.14.htmlhttps://peps.python.org/pep-0745/What are you looking forward to?#Python #Python314
       
 (DIR) Post #AyyCHLefX1CD1SwgU4 by hugovk@mastodon.social
       2025-10-04T13:15:26Z
       
       0 likes, 0 repeats
       
       Three days until release and a bug in the Linux kernel has turned a dozen buildbots red...It's already been fixed in the kernel, but will take some time to bubble up. We'll skip that test for relevant kernel versions in the meantime.https://buildbot.python.org/#/release_status#Python #Python314
       
 (DIR) Post #AyyCHMWYIgIVia9iTI by hugovk@mastodon.social
       2025-10-05T13:58:15Z
       
       0 likes, 0 repeats
       
       And back to green!#Python #Python314
       
 (DIR) Post #AyyCHNIPQkZw70Xw48 by hugovk@mastodon.social
       2025-10-07T08:40:46Z
       
       0 likes, 0 repeats
       
       Release day!First off, check blockers and buildbots.A new release-blocker appeared yesterday (because of course) but it can wait until 3.14.1.https://github.com/python/cpython/labels/release-blockerThree deferred-blockers are also waiting until 3.14.1.https://github.com/python/cpython/labels/deferred-blockerA new tier-2 buildbot failure appeared yesterday (because of course) but it had previously been offline for a month and will need some reconfiguration. Can ignore.https://buildbot.python.org/#/release_statusOK, let's make a Python!#Python #Python314 #release
       
 (DIR) Post #AyyCHNv375UG2qcnIG by hugovk@mastodon.social
       2025-10-07T09:43:55Z
       
       0 likes, 0 repeats
       
       Next up, merge and backport the final change to What's New in Python 3.14 to declare it latest stable.https://github.com/python/cpython/pull/139631Now start run_release.py, the main release automation script, which does a bunch of pre-checks, runs blurb to create a merged changelog, bumps some numbers, and pushes a branch and tag to my fork. It'll go upstream at the end of a successful build.Then kick off the CI to build source zips, docs and Android binaries.https://github.com/python/release-tools/actions/runs/18308460797#Python #Python314 #release
       
 (DIR) Post #AyyCHOfqJ6uwNyWAEK by hugovk@mastodon.social
       2025-10-07T09:52:14Z
       
       0 likes, 0 repeats
       
       (That's actually the second CI attempt, we had to update some script arguments following an Android test runner update.)This build takes about half an hour.I've also informed the Windows and macOS release managers about the tag and they will start up installer builds.This takes a few hours, so I've got time to finish up the release notes.PEP 101 is the full process, but much is automated and we don't need to follow it all manually.https://peps.python.org/pep-0101/#Python #Python314 #release
       
 (DIR) Post #AyyCHPRhRBCMmOuNpA by hugovk@mastodon.social
       2025-10-07T10:50:32Z
       
       0 likes, 0 repeats
       
       The Windows build has been started.The jobs with profile-guided optimisation (PGO) build once, then collect a profile by running the tests, and then build again using that profile, to see how "real" code executes and optimises for that.https://dev.azure.com/Python/cpython/_build/results?buildId=164907&view=resultsMeanwhile, the docs+source+Android build has finished and the artifacts have been copied to where they need to go with SBOMs created.#Python #Python314 #release
       
 (DIR) Post #AyyCHQ4h6COGjL9WbY by hugovk@mastodon.social
       2025-10-07T12:36:22Z
       
       0 likes, 0 repeats
       
       The Windows build is ready and macOS is underway.#Python #Python314 #release
       
 (DIR) Post #AyyCHQpqGu6X5ZDB5s by hugovk@mastodon.social
       2025-10-07T14:02:04Z
       
       0 likes, 0 repeats
       
       macOS installer done, next on the final publishing and announcing steps.#Python #Python314 #release
       
 (DIR) Post #AyyCHRWNik8FDV79Oq by hugovk@mastodon.social
       2025-10-07T14:27:09Z
       
       0 likes, 1 repeats
       
       ๐Ÿš€ It's out!๐Ÿฅง Please install and enjoy Python 3.14!https://discuss.python.org/t/python-3-14-0-final-is-here/104210?u=hugovk#Python #Python314 #release
       
 (DIR) Post #AzfWXWWPLXGbMxVEIq by hugovk@mastodon.social
       2025-10-28T13:00:08Z
       
       0 likes, 0 repeats
       
       @AlSweigart @bitprophet @brandon_rhodes @brianokken @dabeaz @doughellmann @driscollis @ehmatthes @hjwp @jasonrbriggs @ntoll @ramgarlic @willmcguganI searched for Python on this list and found books by you among the 237 results.Go and claim your $3,000* per book.https://mathstodon.xyz/@johncarlosbaez/115451102172005737
       
 (DIR) Post #B0M53hk9ETQyVlJhWS by hugovk@mastodon.social
       2025-11-17T16:47:11Z
       
       0 likes, 0 repeats
       
       Who would like Rust in CPython 3.15?@emmatyping and Kirill Podoprigora "propose introducing the Rust programming language to CPython. Rust will initially only be allowed for writing optional extension modules, but eventually will become a required dependency of CPython and allowed to be used throughout the CPython code base."https://discuss.python.org/t/pre-pep-rust-for-cpython/104906#Python #Python315 #CPython #Rust
       
 (DIR) Post #B1lF3qsyy6g4OLUCA4 by hugovk@mastodon.social
       2025-12-29T20:21:32Z
       
       0 likes, 0 repeats
       
       ๐Ÿ๐Ÿ—“๏ธ6๏ธโƒฃ The dateutil library is a popular and powerful Python library for dealing with dates and times.However, it still supports Python 2.7 by depending on the six compatibility shim, and Iโ€™d prefer not to install it for Python 3.10+.Hereโ€™s how I replaced three uses of its relativedelta in a couple of CLIs that didnโ€™t really need to use it.https://hugovk.dev/blog/2025/minus-six/#Python #dateutil #six
       
 (DIR) Post #B2q37UTQAuIkHqE3uq by hugovk@mastodon.social
       2026-01-31T08:36:17Z
       
       0 likes, 1 repeats
       
       Hello #FOSDEM!