microsoft / aerial_wildlife_detection

Tools for detecting wildlife in aerial images using active learning
MIT License
226 stars 58 forks source link

fix kombu/celery version issue #25

Closed junxnone closed 4 years ago

junxnone commented 4 years ago

the celery in other version will face "no module kombu.five" or other issues

I am working with docker-compose mode

stewartmacdonald commented 4 years ago

Was that the only line you needed to change? I'm having issues with a whole host of modules not being found: kombu.five, vine.five, celery.task. Fixing these one at a time is a pain. Do you have a list of the required modules and the versions needed?

junxnone commented 4 years ago

Was that the only line you needed to change? I'm having issues with a whole host of modules not being found: kombu.five, vine.five, celery.task. Fixing these one at a time is a pain. Do you have a list of the required modules and the versions needed?

yes, it works with this commit on my side. and I checks the kombu version in docker, it is 4.6.11

and this is package list from docker

amqp                   2.6.1
asn1crypto             1.3.0
astroid                2.4.2
backcall               0.1.0
bcrypt                 3.2.0
beautifulsoup4         4.9.0
billiard               3.6.3.0
bottle                 0.12.18
celery                 4.4.7
certifi                2020.4.5.1
cffi                   1.14.0
chardet                3.0.4
conda                  4.8.3
conda-build            3.18.11
conda-package-handling 1.6.0
cryptography           2.8
decorator              4.4.2
filelock               3.0.12
future                 0.18.2
glob2                  0.7
gunicorn               20.0.4
idna                   2.8
importlib-metadata     2.0.0
ipython                7.13.0
ipython-genutils       0.2.0
isort                  5.6.3
jedi                   0.16.0
Jinja2                 2.11.1
kombu                  4.6.11
lazy-object-proxy      1.4.3
libarchive-c           2.9
lief                   0.9.0
MarkupSafe             1.1.1
mccabe                 0.6.1
mkl-fft                1.0.15
mkl-random             1.1.0
mkl-service            2.3.0
msgpack                1.0.0
netifaces              0.10.9
numpy                  1.18.1
olefile                0.46
parso                  0.6.2
pexpect                4.8.0
pickleshare            0.7.5
Pillow                 7.0.0
pip                    20.0.2
pkginfo                1.5.0.1
prompt-toolkit         3.0.4
psutil                 5.7.0
psycopg2               2.8.6
ptyprocess             0.6.0
pycosat                0.6.3
pycparser              2.19
Pygments               2.6.1
pylint                 2.6.0
pyOpenSSL              19.1.0
PySocks                1.7.1
python-dateutil        2.8.1
pytz                   2019.3
PyYAML                 5.3.1
redis                  3.5.3
requests               2.22.0
ruamel-yaml            0.15.87
setuptools             45.2.0.post20200210
six                    1.14.0
soupsieve              2.0
toml                   0.10.1
torch                  1.5.0
torchvision            0.6.0a0+82fd1c8
tqdm                   4.42.1
traitlets              4.3.3
typed-ast              1.4.1
urllib3                1.25.8
vine                   1.3.0
wcwidth                0.1.9
wheel                  0.34.2
wrapt                  1.12.1
zipp                   3.3.0
bkellenb commented 4 years ago

Super, thank you very much! I can confirm that AIDE works with Celery 4.4, so this change makes complete sense anyway.

@stewartmacdonald Apologies for the package conflicts—I will try and see what can be done in your respective issue accordingly.