I figured out you have to run make test-env and then activate the virtualenv or use ./test-env/bin/pybabel but I’m not sure if I need to do something else. make test doesn’t work on Ubuntu 20.04.1 LTS because there’s no python executable: it’s either python2 or python3 (#984), and even then it fails if you didn’t activate the virtualenv before running make test because it can’t find pytest. I activated the virtualenv and ran make test; it found pytest but failed on a ModuleNotFoundError: No module named 'freezegun'. I’m not sure if that’s normal and/or what step did I miss.
Hello, After seeing @akx’s comment on https://github.com/python-babel/babel/issues/725#issuecomment-1435059954 I thought I would clone the project and see what I can do to fix the issue, but I haven’t found any documentation regarding the local setup.
I figured out you have to run
make test-env
and then activate the virtualenv or use./test-env/bin/pybabel
but I’m not sure if I need to do something else.make test
doesn’t work on Ubuntu 20.04.1 LTS because there’s nopython
executable: it’s eitherpython2
orpython3
(#984), and even then it fails if you didn’t activate the virtualenv before runningmake test
because it can’t findpytest
. I activated the virtualenv and ranmake test
; it foundpytest
but failed on aModuleNotFoundError: No module named 'freezegun'
. I’m not sure if that’s normal and/or what step did I miss.