1. 31 7月, 2021 1 次提交
  2. 29 7月, 2021 2 次提交
  3. 23 7月, 2021 2 次提交
  4. 22 7月, 2021 2 次提交
    • T
      create github action for windows (#6271) · bb803056
      Thomas Grainger 提交于
      * create github action for windows
      
      * increase tox verbosity
      
      * configure pip caching/requirements
      
      * Update .github/workflows/windows.yml
      
      * define kombu sqs passthrough dep
      
      * drop 3.9 from windows due to pycurl
      
      * skip test_check_privileges_suspicious_platform[accept_content0] on win32, py38+
      
      * fails on py38+ win32
      
      * bump the maxfail a bit to get more error context
      
      * xfail all py3.8+ windows tests
      
      * re-enable -v
      
      * pytest.raises does not raise AssertionError
      
      https://github.com/pytest-dev/pytest/issues/8928
      
      * more xfails
      
      * merge windows workflow into python-package
      
      * only install apt packages on ubuntu-*
      
      * bust pip cache with matrix.os
      
      * step.if doesn't need {{
      
      * Update python-package.yml
      
      * Windows is never considerred a sus platform
      
      this is because Microsft is beyond reproach
      
      * fix merge resolution error
      bb803056
    • T
      test on 3.10.b4 (#6867) · 59d88326
      Thomas Grainger 提交于
      59d88326
  5. 21 7月, 2021 3 次提交
  6. 20 7月, 2021 2 次提交
  7. 19 7月, 2021 1 次提交
  8. 14 7月, 2021 1 次提交
  9. 13 7月, 2021 2 次提交
    • A
      Fix setting worker concurrency option after signal · 7b5a44d6
      Alejandro Solda 提交于
      Allow to set "worker_concurrency" option through
      "user_preload_options" signal mechanism.
      
      Current behaviour:
      
      1. "click.option" decorator for "--concurrency" option is executed,
         its callback returns "0" when evaluating "value or
         ctx.obj.app.conf.worker_concurrency" (None or 0). This default "0"
         comes from "app.defaults".
      
      2. Celery "user_preload_options" signal is processed, then
         "app.conf.worker_concurrency" value is correctly updated through
         "Settings.update".
      
      3. Celery "worker.worker.WorkController.setup_defaults" kicks off
         and "concurrency" attribute is resolved with
         "either('worker_concurrency', concurrency)"
      
      4. "either" method (app.base) chains calls to "first" function with
         "None" as predicate (returns the first item that's not "None"),
         in our case "first(None, defaults)" (defaults=(0,)) will take
         precedence and and "0" will be returned, whatever value is in
         "app.conf.worker_concurrency".
      
      This fix changes "worker_concurrency" default from "0" to "None"
      allowing "either" method to correctly resolve in favor
      of "app.conf.worker_concurrency" value.
      
      The final value used as concurrency is resolved in "worker.worker"
      with conditional "if not self.concurrency" thus having "None"
      as default value for "self.concurrency" doesn't break things.
      
      Fixes #6836
      7b5a44d6
    • L
      Fix Open Collective donate button (#6848) · 044cebaa
      Lewis M. Kabui 提交于
      * Fix Open Collective donate button
      
      Fixes #6828
      
      * Use OpenCollective anchor button
      
      - Replace OpenCollective button script with an <a> tag. The button
      script imposes a fixed width of 300px which makes it too big and
      out of place relative to neighbouring HTML elements.
      Co-authored-by: NLewis Kabui <lewisemm@users.noreply.github.com>
      044cebaa
  10. 12 7月, 2021 1 次提交
    • K
      Fix multithreaded backend usage (#6851) · 5fd18241
      Konstantin Kochin 提交于
      * Add test of backend usage by threads
      
      Add simple test with embedded worker that checks
      backend instance usage by threads. According
      merge request #6416 backends should be thread local.
      
      * Fix backend captures in the `celery.app.trace.build_tracer`
      
      Fix backend capturing by closure during task creation in the function `celery.app.trace.build_tracer`, as different threads may create and use celery task. It complement changes in the pull request #6416.
      
      * Fix flake8 errors
      
      Fix flake8 errors from Celery/lint github workflow step
      5fd18241
  11. 09 7月, 2021 2 次提交
  12. 08 7月, 2021 1 次提交
    • D
      Use the dropseed/changerelease action to sync changelog to GitHub Releases (#6843) · e885a47b
      Dave Gaeddert 提交于
      * Create changerelease.yml
      
      * Update changerelease.yml
      
      * Update changerelease.yml
      
      * Update changerelease.yml
      
      * Update changerelease.yml
      
      * Update changerelease.yml
      
      * Update changerelease.yml
      
      * Update changerelease.yml
      
      * Update changerelease.yml
      
      * Update changerelease.yml
      
      * Update changerelease.yml
      
      * Update changerelease.yml
      
      * Add workflow permissions
      e885a47b
  13. 07 7月, 2021 1 次提交
  14. 06 7月, 2021 1 次提交
  15. 03 7月, 2021 1 次提交
  16. 01 7月, 2021 1 次提交
  17. 30 6月, 2021 1 次提交
    • O
      Add Python 3.10 support (#6807) · 82fe649d
      Omer Katz 提交于
      * Add Python 3.10 support.
      * Use the dev release for now.
      * Include deps for 3.10.
      * Bump moto to support Python 3.10.
      * Currently, eventlet is not supported by 3.10.
      * Skip if eventlet not found.
      
      * Test 3.10 using tox.
      * Try tox-gh-actions.
      * Map python versions to tox environments.
      * Allow the 3.10 job to fail for now.
      82fe649d
  18. 28 6月, 2021 11 次提交
  19. 27 6月, 2021 1 次提交
    • M
      Fixes build for PyPy3 (#6635) · 117cd9ca
      Matt Hoffman 提交于
      * 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: Nmaybe-sybr <58414429+maybe-sybr@users.noreply.github.com>
      117cd9ca
  20. 26 6月, 2021 1 次提交
  21. 18 6月, 2021 1 次提交
    • M
      fix: Calling of errbacks when chords fail · 102eddd7
      maybe-sybr 提交于
      We had a special case for calling errbacks when a chord failed which
      assumed they were old style. This change ensures that we call the proper
      errback dispatch method which understands new and old style errbacks,
      and adds test to confirm that things behave as one might expect now.
      102eddd7
  22. 17 6月, 2021 1 次提交