Skip to content

Support private PyPI repositories #1146

@ab-10

Description

@ab-10

This issue is related to the following conversation from fast.ai forum: https://forums.fast.ai/t/nbdev-for-private-pypi-repositories-and-poetry-package-management/100523

Goal of the issue

  1. To gauge the interest in nbdev supporting private PyPi repos (e.g. GCP Artifact Registry).
  2. To discuss the best way to integrate private PyPi repo support into nbdev.

If there's interest, I'd be happy to make the contribution.

Problem

nbdev does not support dependencies from private PyPi repositories.

Workaround

Changing the following line in nbdev CI workflow:

test -f setup.py && pip install -e ".[dev]"

to:

test -f setup.py && pip install --extra-index-url https://$PYPIUSER:$PYPIPASSWORD@$PYPISERVER -e ".[dev]"

fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions