Skip to content

nbdev_new results in creation of template file with incorrect name #1551

@YaegerKnight

Description

@YaegerKnight

Specs

Laptop - Macbook Pro
OS - MacOS Tahoe 26.2 with M4 Pro
Python version - 3.12
Conda version - 25.11.11

Steps to recreate -

  • Create a new folder (nbdev_test here)
  • Run nbdev_new
  • Answer the questions accordingly
  • Error occurs
Image

I was setting up a new nbdev project from scratch in a Conda environment with Python 3.12 and I kept running into this error.

Image

Looking closer, it seems that nbdev_new is creating a folder named nbdev-template-1.1.6 while the command is expecting nbdev-template-v1.1.6

Image

I believe the issue might be related to the way this line handles building the directory name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions