social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.8K
active users

#astraluv

0 posts0 participants0 posts today
David Guillot<p>🚀 Great news for <a href="https://social.tchncs.de/tags/python" class="mention hashtag" rel="tag">#<span>python</span></a> developers! <a href="https://social.tchncs.de/tags/dependabot" class="mention hashtag" rel="tag">#<span>dependabot</span></a> now supports <a href="https://social.tchncs.de/tags/uv" class="mention hashtag" rel="tag">#<span>uv</span></a> <a href="https://social.tchncs.de/tags/astraluv" class="mention hashtag" rel="tag">#<span>astraluv</span></a> . Nothing stands between your codebase and almost-instant <a href="https://social.tchncs.de/tags/dependencymanagement" class="mention hashtag" rel="tag">#<span>dependencymanagement</span></a>!</p><p><a href="https://github.blog/changelog/2025-03-13-dependabot-version-updates-now-support-uv-in-general-availability/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.blog/changelog/2025-03-</span><span class="invisible">13-dependabot-version-updates-now-support-uv-in-general-availability/</span></a></p>
Welington 🐘<p><a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> doubt:</p><p><a href="https://mastodon.social/tags/AstralUV" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AstralUV</span></a><br>or<br><a href="https://mastodon.social/tags/pyenv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pyenv</span></a> + <a href="https://mastodon.social/tags/poetry" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>poetry</span></a></p><p>? ⁉️❓❔</p>
Clément Robert :python:<p>Update: <a href="https://fosstodon.org/tags/astraluv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>astraluv</span></a> 0.5.9 solves this problem ! This means I can (almost) use uv everywhere in my workflows. The only remaining exceptions are <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> debug builds, pre-releases and versions older than 3.8, all of which I can still get through <a href="https://fosstodon.org/tags/pyenv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pyenv</span></a> !</p>
Feoh<p>Hey everyone thanks so much for all your replies! Wanted to circle wagons since I found a VERY satisfying conclusion!</p><p>They JUST added an experimental flag that makes the uv installed python into your current default by adding it to $HOME/.local/bin/python and ensuring that's in PATH. The command is:<br>uv python install --preview --default</p><p>Kudos to the <a href="https://oldbytes.space/tags/astraluv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>astraluv</span></a> folks for all their amazing work!</p>
Feoh<p><a href="https://oldbytes.space/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> peeps: I switched from pyenv to <a href="https://oldbytes.space/tags/astraluv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>astraluv</span></a> but am confused about PATH management.</p><p>If you use uv to manage your python installs, how do you handle adding it to your PATH?</p>
Clément Robert :python:<p>Update: I am now embracing lock files in CI in most packages I control.<br>I’m very used to CI being a gamble: every time I push with confidence and see CI going red, my first reflex is to suspect something changed in the environment. I'm just coming to terms with the idea that *it doesn't need to be this way*; especially in projects that already a special CI job whose sole purpose is to catch incoming incompatibilities, it makes more sense that *other* jobs just be stable.<br><a href="https://fosstodon.org/tags/astraluv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>astraluv</span></a> <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a></p>
Clément Robert :python:<p><span class="h-card" translate="no"><a href="https://mastodon.social/@hynek" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>hynek</span></a></span>, maybe you’d have some key insight I'm missing here ? It seems you do use lockfiles but are also involved in libraries. Do you use the former when developing the latter ?<br><a href="https://fosstodon.org/tags/astraluv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>astraluv</span></a> <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a></p>
Clément Robert :python:<p>The thing with <a href="https://fosstodon.org/tags/astraluv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>astraluv</span></a> is I don't think I understand lock files, and how they’re supposed to be used/maintained. Maybe it's because I mainly develop and maintain <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> libraries and it doesn't make as much sense in that space: I need to be able to test a range of versions of my dependencies (I have little control over my users’ environment), and lockfiles tend to add artificial restrictions to these ranges, to the benefit of (maybe ?) my immediate confort but to the detriment of my users.</p>
David Guillot<p>📣 New <a href="https://social.tchncs.de/tags/webdev" class="mention hashtag" rel="tag">#<span>webdev</span></a> related blog post here, introducing my take on what a <a href="https://social.tchncs.de/tags/Django" class="mention hashtag" rel="tag">#<span>Django</span></a> project template could be for an advanced usage. Obviously <a href="https://social.tchncs.de/tags/astraluv" class="mention hashtag" rel="tag">#<span>astraluv</span></a> is there, but also <a href="https://social.tchncs.de/tags/justsystems" class="mention hashtag" rel="tag">#<span>justsystems</span></a> , <a href="https://social.tchncs.de/tags/esbuild" class="mention hashtag" rel="tag">#<span>esbuild</span></a> , and... <a href="https://social.tchncs.de/tags/SOPS" class="mention hashtag" rel="tag">#<span>SOPS</span></a> 🔐 </p><p>It&#39;s very early stage so please tell me what do you think about it 🙏</p><p><a href="https://david.guillot.me/en/posts/tech/proposal-for-a-django-project-template/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">david.guillot.me/en/posts/tech</span><span class="invisible">/proposal-for-a-django-project-template/</span></a></p>
clacke: exhausted pixie dream boy 🇸🇪🇭🇰💙💛<p><code>pipx run uv install uv</code> 😄</p><p><code>uv</code> is a tool written in Rust that replaces as a 95% drop-in replacement pip, pipx, pip-tools and a few other things.</p><p>So far it's looking pretty cool. It's faster, I guess, and the output is a bit neater and more "interactive" or "live".</p><p>One great thing is that you can have a globally installed <code>uv</code> and it will operate correctly in whatever your current Python environment, whereas with pip-tools you always need to take care to run the one installed in the environment you're compiling the pinned dependencies for, or it will calculate python version wrong for the dependencies that are conditional on that.</p><p><a href="https://libranet.de/search?tag=uv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>uv</span></a> <a href="https://libranet.de/search?tag=python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a><br><a href="https://libranet.de/search?tag=PythonUv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PythonUv</span></a> <a href="https://libranet.de/search?tag=AstralUv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AstralUv</span></a> <a href="https://libranet.de/search?tag=UvTool" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UvTool</span></a></p>
Adam Johnson :django: :python:<p>🚀 I just converted my open source projects to use uv for installation, with the new setup-uv action ( <a href="https://github.com/astral-sh/setup-uv" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/astral-sh/setup-uv</span><span class="invisible"></span></a> ) and tox-uv ( <a href="https://pypi.org/project/tox-uv/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">pypi.org/project/tox-uv/</span><span class="invisible"></span></a> ). (They already used uv’s 'pip compile' command to pin test dependencies.)</p><p>For the smaller projects with fast test suites, I saw up to a 3x improvement, thanks to all the setup overhead shrinking (e.g. 1m40s -&gt; 40s).</p><p><a href="https://fosstodon.org/tags/astraluv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>astraluv</span></a> <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a></p>
Clément Robert :python:<p><a href="https://fosstodon.org/tags/astraluv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>astraluv</span></a> 0.2.15 is out and includes a new tool that I’ve wanted for so long: `uv pip tree` displays the whole dependency tree in your current virtualenv !</p><p><a href="https://pypi.org/project/deptree/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">pypi.org/project/deptree/</span><span class="invisible"></span></a> Already implemented this but it's much more convenient to have a version of this tool that doesn’t actively “pollute" the environment it’s meant to display.</p><p>kudos to <span class="h-card" translate="no"><a href="https://hachyderm.io/@charliermarsh" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>charliermarsh</span></a></span> and team 🎉</p><p><a href="https://github.com/astral-sh/uv/releases/tag/0.2.15" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/astral-sh/uv/releas</span><span class="invisible">es/tag/0.2.15</span></a></p><p><a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/virtualenv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>virtualenv</span></a> <a href="https://fosstodon.org/tags/dependencies" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dependencies</span></a> <a href="https://fosstodon.org/tags/cli" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cli</span></a></p>
Niko Föhr<p>Wow <a href="https://fosstodon.org/tags/uv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>uv</span></a> is gaining github stars *fast*. Note the unit of x-axis.</p><p><a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://fosstodon.org/tags/pythonnews" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pythonnews</span></a> <a href="https://fosstodon.org/tags/pip" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pip</span></a> <a href="https://fosstodon.org/tags/astraluv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>astraluv</span></a></p>