setup.cfg metadata
davmlaw opened this issue · 2 comments
davmlaw commented
When installing with Python3.11 and latest pip using a git commit, eg:
python3.11 -m pip install hgvs@git+https://github.com/biocommons/hgvs@4efed793dad6b230feb39ff0e28f1ba16b8843ac
or
python3.11 -m pip install git+https://github.com/biocommons/hgvs@4efed793dad6b230feb39ff0e28f1ba16b8843ac#egg=hgvs
I get
WARNING: Generating metadata for package hgvs produced metadata for project name unknown. Fix your #egg=hgvs fragments.
Discarding git+https://github.com/biocommons/hgvs@4efed793dad6b230feb39ff0e28f1ba16b8843ac: Requested unknown from git+https://github.com/biocommons/hgvs@4efed793dad6b230feb39ff0e28f1ba16b8843ac has inconsistent name: filename has 'hgvs', but metadata has 'unknown'
ERROR: Could not find a version that satisfies the requirement hgvs (unavailable) (from versions: 0.1.1, 0.1.2, 0.1.5, 0.1.6, 0.1.7, 0.1.9, 0.1.10, 0.1.11, 0.2, 0.2.1, 0.2.2, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.5, 0.3.6, 0.3.7, 0.4.0.post1, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.10, 0.4.11, 0.4.12, 0.4.13, 0.4.14, 1.0.0a1, 1.0.0a2, 1.0.0a3, 1.0.0a4, 1.0.0rc1, 1.0.0rc1.post2, 1.0.0.post0, 1.0.0.post1, 1.0.0.post2, 1.0.0.post3, 1.1.0, 1.1.0.post1, 1.1.1, 1.1.2, 1.1.3, 1.2.0rc1, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.5.post0, 1.2.5.post1, 1.3.0rc0, 1.3.0, 1.3.0.post0, 1.4.0, 1.5.0rc0, 1.5.0, 1.5.0.post1, 1.5.1, 1.5.2rc0, 1.5.2, 1.5.3rc2, 1.5.3, 1.5.4)
ERROR: No matching distribution found for hgvs (unavailable)
Solution:
Add to setup.cfg
[metadata]
name = hgvs
github-actions commented
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.