SShortSingh.
Back to feed

uv 0.12 changes project init defaults and build layout, key behaviors clarified

0
·1 views

The uv Rust-based Python package manager introduced significant changes in version 0.12.0, released on July 28, 2026, making projects packaged by default with a src layout and build-system table when initialized. A community cheatsheet from Zyte Labs documents these changes, verified against uv 0.12.15 released on September 15, 2026, with real terminal output comparisons. One notable correction to common folklore: uv run does not silently undo pip-installed packages, but uv sync does, since it makes the environment exactly match the lockfile. The tool operates in two distinct modes — project mode driven by pyproject.toml and uv.lock, and a pip-compatibility mode — with no interface indicator of which mode is active. For CI environments, the Scrapy project's uv workflow offers a practical tip: set UV_PYTHON_PREFERENCE to only-system to reuse an already-installed interpreter rather than letting uv fetch a second one.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Anthropic and Accenture Partner to Scale Claude AI Deployments Into Production

Anthropic and Accenture have announced a multi-year partnership aimed at helping enterprises move beyond AI pilots and deploy Claude-based solutions at scale. A dedicated Accenture Anthropic Business Group will anchor the collaboration, with Accenture planning to train around 30,000 professionals on Claude. The partnership also makes Accenture a premier partner for Claude Code, Anthropic's coding capability, and includes a jointly established Claude Center of Excellence. A co-developed offering will help CIOs measure AI value and accelerate adoption within engineering teams. Initial industry focus will cover financial services, life sciences, healthcare, and the public sector, where regulatory and operational demands are especially complex.

0
ProgrammingDEV Community ·

Developer Builds Cloud-Native Portfolio Using Terraform, AWS Lambda, and GitHub Actions

A developer with an IT Operations background completed the Cloud Resume Challenge, hosting a personal portfolio website using cloud-native infrastructure on AWS. Rather than using website builders like Wix or Squarespace, they built the project using Terraform for infrastructure-as-code, which they found more instructive than studying for their Terraform Associate certification. They leveraged an on-premises HashiCorp Vault running on a Kubernetes cluster to manage secrets and JWT authentication, keeping sensitive credentials off the cloud and behind a VPN. CI/CD was handled through GitHub Actions across two repositories — one for the frontend and one for the backend — each with separate testing and production branches. The project also incorporated an AWS Lambda-powered visitor counter with localStorage to prevent duplicate counts on page refresh.

0
ProgrammingDEV Community ·

Developer builds Spotify desktop pet controller using Godot 4 in first engine project

A developer transitioning from Unity created BelPet, a desktop pet application built with Godot 4 and C# that also functions as a Spotify playback controller. The draggable character sits above the Windows taskbar and lets users play, pause, skip tracks, seek, and adjust volume without opening the Spotify app. Because Spotify's Web Playback SDK is browser-only, the developer embedded a WebView inside Godot using the godot_wry library to run the required JavaScript. BelPet also uses a transparent, borderless, always-on-top window with custom mouse passthrough so clicks register on apps beneath it. Spotify's Development Mode restrictions limit full multi-device control for general users, though a workaround exists by creating a personal Spotify developer application.

0
ProgrammingHacker News ·

BBC Asks Whether Societies Are Psychologically Prepared for Modern War

A BBC article raises concerns about whether populations are mentally and emotionally equipped to face the prospect of armed conflict. The piece examines the psychological readiness of civilians in an era of heightened global tensions. It explores how decades of relative peace in many regions may have left societies unprepared for the realities of war. The article appears to draw on expert perspectives around resilience, fear, and public morale. The discussion reflects growing unease among analysts and policymakers about the shifting security landscape.

uv 0.12 changes project init defaults and build layout, key behaviors clarified · ShortSingh