Skip to content

Consider a PyPI package? #22

@awf

Description

@awf

Our package https://github.com/graphcore-research/gfloat would like to depend on mx, but currently has to include it in requirements.txt as a direct dependency:

# Requirements for tests
pytest
ml_dtypes
mx @ git+https://github.com/microsoft/microxcaling

Normally, I think this is a good idea - one knows exactly what code one is depending on, etc.

However, pypi says

Can't have direct dependency: mx@ git+https://github.com/microsoft/microxcaling ; 
extra == "dev". See https://packaging.python.org/specifications/core-metadata for 
more information.

And this seems hard to fix (see the "amusing side effect" at https://stackoverflow.com/a/54894359)

If microxscaling could be a PyPI package we would not need the direct dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions