Description
When using new commoncode release 21.1.14 calling extractcode fails.
This was not the case with commoncode release 20.10.20.
Error message from extractcode
Traceback (most recent call last):
File "/app/venv-extractcode/bin/extractcode", line 5, in
from extractcode.cli import extractcode
File "/app/venv-extractcode/lib/python3.6/site-packages/extractcode/init.py", line 39, in
from commoncode.fileutils import fsencode
ImportError: cannot import name 'fsencode'
How To Reproduce
# Workdir is /app
pip install virtualenv \
&& virtualenv -p /usr/local/bin/python3.6 venv-extractcode \
&& . venv-extractcode/bin/activate \
&& pip install extractcode
virtualenv -p /usr/local/bin/python3.6 venv-extractcode
. venv-extractcode/bin/activate
/app/venv-extractcode/bin/extractcode
Error also occurs with python 3.9.1.
System configuration
Running on Linux in python:3.6 docker container.
Release 20.10 of extractcode.
Installed with pip.
Description
When using new commoncode release 21.1.14 calling extractcode fails.
This was not the case with commoncode release 20.10.20.
Error message from extractcode
How To Reproduce
Error also occurs with python 3.9.1.
System configuration
Running on Linux in python:3.6 docker container.
Release 20.10 of extractcode.
Installed with pip.