bndr / bndr/pipreqs

Pipreqs gets wrong version of (builtin) dataclasses

Open
#172 1 comment 2 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
7.5k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

When running pipreqs to create a requirements.txt on Ubuntu with python 3.8 pipreqs adds the entry

> dataclasses=0.7

After trying to install the requirements.txt it will recieve the following error:

> ERROR: Could not find a version that satisfies the requirement dataclasses==0.7 (from -r requirements.txt (line 12)) (from versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6)

Dataclasses is a builtin since python 3.7 and the new version 0.7 only runs on python 3.6.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.