Skip to content

uv project creation results in errors #7902

Closed
@gublit

Description

@gublit

System details: Fedora Linux

Positron and OS details:

Positron Version: 2025.06.0 build 146
Code - OSS Version: 1.100.0
Commit: 5d50f36
Date: 2025-05-27T03:38:37.066Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.14.8-300.fc42.x86_64

Interpreter details:

uv python 3.12.10

Describe the issue:

After following the steps to create a new python project with uv, only README.md, .gitignore, and .venv are created. No pyproject.toml and uv.lock files are created by positron. These two files are the essence of reproducibility in uv btw. Without them, the project cannot be replicated.

Steps to reproduce the issue:

  1. Select new project
  2. Set project name and location
  • Choose a project type, name and directory
  • Initialize git repo
  1. Under Set up python environment:
  • create new environment
  • Select environment type as uv
  • Pick python 3.12 as your interpreter.

Image
Image

Expected or desired behavior:

Ideally, positron should create pyproject.toml and uv.lock files to abstract the CLI process of running 'uv init' to create a uv python project

Were there any error messages in the UI, Output panel, or Developer Tools console?

Image

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions