Skip to content

sm new scaffold pins simple_module_test==0.0.6 in dev deps but package isn't on PyPI #105

Description

@antosubash

Summary

A fresh scaffold from uvx --from simple_module_cli sm new <name> writes a simple_module_test==0.0.6 dev dependency into pyproject.toml, but that package version is not published on PyPI. uv sync (and therefore make install) fails immediately on a clean checkout.

Reproduction

uvx --from simple_module_cli sm new my-app --db sqlite --preset standard -y --no-install
cd my-app
make install

Output:

uv sync
Using CPython 3.12.10
Creating virtual environment at: .venv
× No solution found when resolving dependencies:
╰─▶ Because simple-module-test was not found in the package registry and
simple-module-chat:dev depends on simple-module-test==0.0.6, we can
conclude that simple-module-chat:dev's requirements are unsatisfiable.
And because your project requires simple-module-chat:dev, we can
conclude that your project's requirements are unsatisfiable.
make: *** [install] Error 1

Confirming via the simple index (no simple-module-test listed):

$ curl -s https://pypi.org/pypi/simple_module_test/json
{"message": "Not Found"}

Generated pyproject.toml

[dependency-groups]
dev = ["simple_module_test==0.0.6", "pytest>=8.0"]

Suggested fix

One of:

  1. Publish simple_module_test (the README at https://github.com/antosubash/simple_module_python references simple_module_test in the toolchain, so the package is presumably real but unpublished).
  2. Drop simple_module_test from the scaffold template until it's published.
  3. Make it optional behind a --with flag.

Workaround

Edit pyproject.toml and remove simple_module_test==0.0.6 from [dependency-groups].dev.

Environment

  • simple_module_cli 0.0.6
  • uv 0.7.5
  • macOS 25.4.0 (arm64), Python 3.12.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions