Skip to content

pip installs package as UNKNOWN #1

@margot-mcewen

Description

@margot-mcewen

Using pip to install this package on Pop!_OS (Ubuntu 22.04 LTS) causes it to be installed as UNKNOWN-0.0.0.

  • python version: 3.10.12
  • setuptools version: 80.9.0
  • wheel version: 0.45.1

Running:

pip install git+https://github.com/Zahlii/pyDSLR.git@main

Results in:

Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/Zahlii/pyDSLR.git@main
  Cloning https://github.com/Zahlii/pyDSLR.git (to revision main) to /tmp/pip-req-build-oa80k7g8
  Running command git clone --filter=blob:none --quiet https://github.com/Zahlii/pyDSLR.git /tmp/pip-req-build-oa80k7g8
  Resolved https://github.com/Zahlii/pyDSLR.git to commit 5555570fc5a099d5050a0b9e693d2ac1b5db2075
  Installing build dependencies ... done
  WARNING: Missing build requirements in pyproject.toml for git+https://github.com/Zahlii/pyDSLR.git@main.
  WARNING: The project does not specify a build backend, and pip cannot fall back to setuptools without 'setuptools>=40.8.0' and 'wheel'.
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: UNKNOWN
  Building wheel for UNKNOWN (pyproject.toml) ... done
  Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-py3-none-any.whl size=961 sha256=8fa66ba676bc57caee3082716d4346257c0adc602e01288cae719a18b6c5e271
  Stored in directory: /tmp/pip-ephem-wheel-cache-oqnjwlt6/wheels/09/24/eb/f7666a4dd156682e82d7b2fcbdb758c6e1b06140570c7e1cc0
Successfully built UNKNOWN
Installing collected packages: UNKNOWN
Successfully installed UNKNOWN-0.0.0

This is my first time installing a package from Github rather than PyPI so I might very well be doing something wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions