Closed TysonAndre closed 6 years ago
Hi, yes, the master branch is still for celery < 4 (or, more specifically, protocol v1), the only reason why tests are installing celery 4 is because at the time I wrote .travis.yml, Celery 4 was still in beta (so pip install celery
installed celery 3).
I'm not sure why your tests are failing. The last commit which I tested manually with Celery 3.1.19 is https://github.com/gjedeer/celery-php/commit/97a08bccc746d1cd6d34ce1823260eb7c7b3d969#diff-04c6e90faac2675aa89e2176d2eec7d8 so maybe try rolling back and using that version. I don't really use this library any more or spend time supporting it so I did not test the other contributors' patches.
This commit is supposed to fix Travis builds but somehow the VM didn't have internet access at the time build was running... https://travis-ci.org/gjedeer/celery-php/jobs/322105388
This issue refers to the master branch (3.0.0-dev)
Desired: Run travis tests with celery 3.1.x (e.g. 3.1.25), alongside other supported celery versions, clarify documentation. This can be done via the travis
env:
directive (E.g.CELERY_INSTALLATION=celery==3.1.25
could be used to cause travis to runpip install celery==3.1.25 redis
.Observed: Celery 4.1.0 is installed in travis tests. From the documentation, I'm not clear if celery 4.1 is officially supported yet, and limitations aren't summarized.
Also, I'm not able to get the unit tests to pass with celery 3.1.x (3.1.18 or 3.1.25). I created an equivalent dockerized test runner to run tests locally, for which tests pass in Celery 4.1.0, but many fail in 3.1.x (nothing else changed except dependencies of celery). (https://github.com/TysonAndre/celery-php/blob/master/run_docker_test.sh)
Is celery 3.1 supported in the latest master commits?
Celery 4.1 installation can be seen in https://travis-ci.org/gjedeer/celery-php/jobs/318734521#L894