AnswerDotAI / AnswerDotAI/nbdev

Add ability to generate `nbdev_pypi` output without uploading to PyPi

Open
#1,012 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Jupyter Notebook
Stars
5.3k
Forks
514
Avg merge
2d 30m
Merged PRs (30d)
8

Description

Uploading the dist directory to PyPi in response to a new release using GH Actions is a common workflow.

Hence, having the ability to generate the dist directory without uploading it to PyPI would be useful.

While nbdev_pypi both creates and uploads, perhaps we could add a nbdev_dist command to address this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing nbdev_pypi command and how the GH Actions workflow handles the dist directory. Define the separate nbdev_dist command's scope, then verify that it generates the distribution without uploading it to PyPI while preserving the existing upload behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, jupyter, python
Domain
build-system, release, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.