← All tasks
pythonexplosion/catalogue #50Not a task: already works

1.0.1 appears to break py2.7 compatibility

envgap__explosion__catalogue-50

01 / FAILURE SIGNATURE

As reported upstream

SyntaxError: invalid syntax
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
ef4fd81a122ea43ee0ec958fc86ab6e22291f11d
Manifest
setup.cfg
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

explosion/catalogue #50 · read the original issue
Is v1.x supposed to maintain python 2.7 compatibility? It looks like the recent commit from 10 days ago (https://github.com/explosion/catalogue/commit/ef4fd81a122ea43ee0ec958fc86ab6e22291f11d) creates 1.0.1 but introduces changes that require python 3.



This was discovered when trying to install an older compatible spacy package, but pip grabbed 1.0.1 which ends up producing this error:



`

.../site-packages/catalogue/_importlib_metadata/__init__.py", line 170

  def __len__(self) -> int:

           ^

SyntaxError: invalid syntax

`
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]