DavHau / pypi-deps-db

Dependency DB for python packages on pypi
MIT License
66 stars 40 forks source link

Invalid versions in the database file #21

Open jneem opened 1 year ago

jneem commented 1 year ago

I'm trying to use mach to provide idf-component-manager, but it fails with an UnsupportedVersionError: Not a valid version: 2.7.*. This is probably related to a line like this, from sdist/b7.json:

  "idf-component-manager": {
    <snip>
    "1.2.0": {
  <snip>
          ":python_version == \"2.7.*\"": [
  <snip>
    },
}

Is there a way to work around this? Maybe the scraper should be fixing invalid x.x.* version constraints?

CodeWithOz commented 11 months ago

@jneem did you find a solution to this problem?

jneem commented 11 months ago

No, sorry.