grp is no longer imported unconditionally#6804
Conversation
|
@voegtlel Could you please verify this patch works for you? |
Codecov Report
@@ Coverage Diff @@
## master #6804 +/- ##
=======================================
Coverage 70.69% 70.70%
=======================================
Files 138 138
Lines 16602 16603 +1
Branches 2091 2092 +1
=======================================
+ Hits 11737 11739 +2
+ Misses 4669 4668 -1
Partials 196 196
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
The test doesn't seem to cover our new code branch. |
|
This pull request introduces 1 alert and fixes 1 when merging 03c58fe into 799f839 - view on LGTM.com new alerts:
fixed alerts:
|
|
The change itself lgtm |
e92bd07 to
6b31c52
Compare
|
This pull request introduces 1 alert and fixes 2 when merging 6b31c52 into 51634c3 - view on LGTM.com new alerts:
fixed alerts:
|
|
should be on 5.1.1 as it fixes a regression O:) |
Also fix some flakes which may have been added by some other autoformatter in celery#6804. The 4 space non-visual-indentation should keep most formatters fairly happy.
Also fix some flakes which may have been added by some other autoformatter in celery#6804. The 4 space non-visual-indentation should keep most formatters fairly happy.
Also fix some flakes which may have been added by some other autoformatter in celery#6804. The 4 space non-visual-indentation should keep most formatters fairly happy.
* installs packages the same way docker does * removes couchbase dependency for PyPy * removes ephem dependency for PyPy * fixes mongo unit tests for PyPy3 Mocking `datetime.datetime` was causing an issue with `datetime.utcnow()`. This mock doesn't appear to be needed. See https://github.com/celery/celery/pull/6635/checks?check_run_id=1944166896. * fix: Avoid shadowing `Thread` attributes Fixes #6489 * ci: Install default deps for pypy3 toxenvs * ci: Run unit tests with `tox` * ci: Lint source in separate action using `tox` * ci: Redent codecov action * test: Rework some mocking in `test_platforms.py` Also fix some flakes which may have been added by some other autoformatter in #6804. The 4 space non-visual-indentation should keep most formatters fairly happy. * style: Fix some flakes Co-authored-by: maybe-sybr <[email protected]>
* installs packages the same way docker does * removes couchbase dependency for PyPy * removes ephem dependency for PyPy * fixes mongo unit tests for PyPy3 Mocking `datetime.datetime` was causing an issue with `datetime.utcnow()`. This mock doesn't appear to be needed. See https://github.com/celery/celery/pull/6635/checks?check_run_id=1944166896. * fix: Avoid shadowing `Thread` attributes Fixes #6489 * ci: Install default deps for pypy3 toxenvs * ci: Run unit tests with `tox` * ci: Lint source in separate action using `tox` * ci: Redent codecov action * test: Rework some mocking in `test_platforms.py` Also fix some flakes which may have been added by some other autoformatter in #6804. The 4 space non-visual-indentation should keep most formatters fairly happy. * style: Fix some flakes Co-authored-by: maybe-sybr <[email protected]>
* grp is no longer imported unconditionally. This fixes a regression introduced in celery#6600 which caused an import error on non-unix platforms. Fixes celery#6797. * Adjust tests to cover the new code paths.
* installs packages the same way docker does * removes couchbase dependency for PyPy * removes ephem dependency for PyPy * fixes mongo unit tests for PyPy3 Mocking `datetime.datetime` was causing an issue with `datetime.utcnow()`. This mock doesn't appear to be needed. See https://github.com/celery/celery/pull/6635/checks?check_run_id=1944166896. * fix: Avoid shadowing `Thread` attributes Fixes celery#6489 * ci: Install default deps for pypy3 toxenvs * ci: Run unit tests with `tox` * ci: Lint source in separate action using `tox` * ci: Redent codecov action * test: Rework some mocking in `test_platforms.py` Also fix some flakes which may have been added by some other autoformatter in celery#6804. The 4 space non-visual-indentation should keep most formatters fairly happy. * style: Fix some flakes Co-authored-by: maybe-sybr <[email protected]>
Note: Before submitting this pull request, please review our contributing
guidelines.
Description
This fixes a regression introduced in #6600 which caused an import error on non-Unix platforms.
Fixes #6797.