Neue Episode: @shezi , Dominik und @jochen unterhalten sich über Arrays und Sequenzen: https://python-podcast.de/show/arrays-und-sequenzen/ #Python
@neingeist Es behauptet aber, es hätte einen 🧐: https://pip.pypa.io/en/stable/topics/dependency-resolution/ - glaube aber, es gibt erst einen richtigen ab 20.3 oder so 😄.
Related is @justin's great "Homebrew Python Is Not For You" (though `pyenv` 😉, if not python.org)
https://justinmayer.com/posts/homebrew-python-is-not-for-you/
@neingeist Klar, wenn man sich eh damit auskennt, spricht natürlich nichts dagegen. Ich möchte das auch nicht überall anders haben und bei mir ist es da dann eben eher ansible. Wenn man das eher low-level macht, hat man die Schmerzen beim Aufsetzen, bei hohem Abstraktions/Automatisierungslevel dann beim Wechsel auf etwas anderes, weil der lock-in dann härter zuschlägt. Habe da noch einen schönen Artikel zu gelesen:
@neingeist pip hat keine solver? Hatte immer mal wieder Inkompatibilitäten zwischen poetry und pip.. glaube pip-tools benutzt auch den pip-solver?
@neingeist Klingt ja auch nicht verkehrt. Was nbdev da macht ist eigentlich nur die ganzen Metadaten (version, description, …) in Python zusammenzusuchen, damit man das immer nur an einer Stelle pflegen muss.
@neingeist Ja, und es kommen gerade ständig welche dazu. https://github.com/prefix-dev/rip hatten wir noch gar nicht drin, das auf posy (von dem trio-Menschen) basiert. Mit nbdev habe ich gerade wieder viel zu tun (das hatten wir auch nicht drin). Nbdev hat übrigens einen validen use case für setup.py (oh noes). Sieht gerade nach einer geradezu js-esquen kambrischen Explosion aus 🐙.
The Python Steering Council has now formally accepted PEP 703 ("Making the Global Interpreter Lock Optional in CPython"):
"In short, the SC accepts PEP 703, but with clear provisio: that the rollout be gradual and break as little as possible, and that we can roll back any changes that turn out to be too disruptive – which includes potentially rolling back all of PEP 703 entirely if necessary (however unlikely or undesirable we expect that to be)."
Pablo Galindo Salgado and I started a podcast about #Python internals. We call it "core.py", hope you like it!
The first episode is about the core sprint in Brno where we spent last week.
Neue Episode! @shezi, Dominik und @jochen unterhalten sich über Kubernetes! #Python https://python-podcast.de/show/kubernetes/
Feels weird, but it''s time to stop considering Psycopg 2 the present and Psycopg 3 the future.
We have entered the time in which Psycopg 3 is the present and Psycopg 2 the respectable past.
Updated the feature page, and a few other resources on the website, to reflect this: https://www.psycopg.org/features/
Thank you for the immense trust!
5 Ways to Measure Execution Time in Python
You can benchmark the execution of Python code using the “time” module in the standard library. In this tutorial, you will discover how to time the execution of Python code using a suite of different techniques.
Neue Episode: Anna-Lena , Dominik und @jochen unterhalten sich über Environment Management und Packaging: https://python-podcast.de/show/environment-management-und-packaging/ #Python #Podcast
How to add serverless functions to Django in 6 minutes (with HTMX and AWS Lambda)
This article discusses the integration of serverless functions with Django, highlighting how developers can leverage the benefits of serverless computing for specific tasks in a Django application. It explores the advantages of serverless architecture and provides practical insights for implementation.
https://www.photondesigner.com/articles/serverless-functions-django
🚀 Exciting news! Pydantic 2.4.0 is here!
⚡ Huge performance improvements, new features, and a lot of fixes. See the full list of changes here https://github.com/pydantic/pydantic/releases/tag/v2.4.0
✨ New features include: Base64Url types, optional number to str coercion, `field_name` and data access in all validators, string validation support, experimental plugins support.
⬆ Upgrade today for smoother data validation!
blip-caption
Generate captions for images with Salesforce BLIP.
📢 Want to be involved in the future direction of #Django? Confidently vote on proposals? This could be a great way to launch your Django contribution career! 🚀
Discover the @djangonautspace, a group mentoring program for contributing to Django 🦄
The program is underway with the first group of 6 Djangonauts.
Are you interested? 🤩
You can fill out this form and they will reach out before starting the next session!
Wow. Meta commits to dedicate three engineer-years to implement the removal of the GIL from #Python and fix upcoming compatibility and performance issues with it.
All this dependent on whether the Steering Council accepts PEP 703.
https://discuss.python.org/t/a-fast-free-threading-python/27903/99?u=ambv
Our Plan for Python 3.13
https://github.com/faster-cpython/ideas/blob/main/3.13/README.md
PyPy 7.3.12 is out! A triple release, with versions compatible with CPython 2.7, 3.9, and a first version of 3.10
https://www.pypy.org/posts/2023/06/pypy-v7312-release.html
I spent many years with dynamically typed languages and minimal editor integration. Test driven development worked well. I regularly braved big refactors.
But having a strong static type system with good dev tools in the editor does appear to help me refactor more efficiently. Now I look for such tooling.
Has tooling gotten good enough to win me over to static typing? Am I getting old and I need a crutch?
The static vs dynamic typing debate is taking place in my own head.
We will start requiring a ".readthedocs.yaml" configuration file soon, 🔜
Read more about the deprecation and how to add .readthedocs.yaml to your project:
https://blog.readthedocs.com/migrate-configuration-v2/
Just one day left to apply for the posted PyPI Safety and Security Engineer role!
Read our post announcing it at: https://blog.pypi.org/posts/2023-05-09-announcing-pypi-safety-and-security-engr-role/
Apply here: https://jobs.pyfound.org/apply/CKEONredws/PyPI-Safety-Security-Engineer
I just published my blog series on the Python Language Summit 2023! Read all about it here: https://pyfound.blogspot.com/2023/05/the-python-language-summit-2023_29.html
(Be warned: the blog on the C API discussions is a fair bit longer than the others, as I'm talking about three talks in one blog post 😄)
Sweet, libuv merged their first part of io_ring support! And it’s the file I/O part no less!
This is kinda the most interesting part too, because true async file I/O wasn’t practical with existing Linux APIs (threads were usually used as a crutch)!
🎉🎉🎉