Skip to content

PyPI release is not possible with direct references #160

Open
@pjbull

Description

We use direct references for pytorchvideo, densepose, and yolox in our requirements:

pytorchvideo @ git+https://github.com/facebookresearch/pytorchvideo

yolox @ git+https://github.com/r-b-g-b/YOLOX.git@build-requirements

detectron2-densepose @ git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose

The official PyPI does not support direct references. Per PEP-440:

Public index servers SHOULD NOT allow the use of direct references in uploaded distributions. Direct references are intended as a tool for software integrators rather than publishers.

This means that we can't publish to PyPI until our dependencies are free of direct references. The best way to do so is to have maintainers of those packages publish on PyPI. Here's the current status:

Plan for now is to have documentation install from github, and to try to push the dependency packages forward to a happy resolution.

When fixing:

  • We have a publish to PyPI workflow in our release.yml that is commented out until we can resolve this issue
  • We have a PyPI badge that in the README.md that is commented out as well

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions