Closed spl closed 2 years ago
Hi @Zac-HD pyupgrade
has removed _fix_py36_plus
in version 2.32.0 as it removes support to Python 3.6 or below. This line
https://github.com/Zac-HD/shed/blob/66f9e594327db4bcd1df4beb562b2349eefd2abc/src/shed/__init__.py#L167
will cause the error above. PR coming in soon.
OK, the solution was to
_fix_py36_plus
in bb1629376eb17310fae56f4b718fb5178edf674e because all that logic is now part of the _fix_plugins
call aboveshed
0.9.5 from dfe49f2f8f4583489d5b9490f16996817d35b460Thanks very much for reporting this so promptly!
In https://github.com/asottile/pyupgrade/pull/627,
_fix_py36_plus
was removed frompyupgrade/_main.py
, andpyupgrade
was released as 2.32.0 (https://github.com/asottile/pyupgrade/compare/v2.31.1...v2.32.0). This causesshed
to fail for us withmodule 'pyupgrade._main' has no attribute '_fix_py36_plus'
(https://github.com/terminusdb/terminusdb-client-python/issues/298).