profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/thedrow/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

not-kennethreitz/envoy 2256

Python Subprocesses for Humans™.

oauthlib/oauthlib 2242

A generic, spec-compliant, thorough implementation of the OAuth request-signing logic

stefanfoulis/django-phonenumber-field 1111

A django model and form field for normalised phone numbers using python-phonenumbers

bear/parsedatetime 610

Parse human-readable date/time strings

azazel75/macropy 30

Macros in Python: quasiquotes, case classes, LINQ and more!

0chroma/question-party 4

questionparty.com doesn't seem to exist anymore, but we liked the idea, so we decided to redo it.

pytransitions/transitions-anyio 3

An extension for the transitions state machine library which runs asynchronous state machines using anyio.

celery/bootsteps 0

Program Initialization Toolkit

jheld/kombu 0

Messaging library for Python.

startedrjyo/next-boost

started time in 17 hours

startedvercel/swr

started time in 17 hours

startedquickwit-inc/quickwit

started time in a day

starteddermesser/leveldb-rs

started time in a day

startedquirrel-dev/owl

started time in 2 days

Pull request review commentcelery/celery

Remove celery.task references in modules, docs

 chain breaks:      .. code-block:: python -        from celery.task import task+        from celery import app -        @task(queue='hipri')+        @app.task(queue='hipri')         def hello(to):             return 'hello {0}'.format(to)  Abstract Tasks ============== -All tasks created using the :meth:`~@task` decorator+All tasks created using the :meth:`~@app.task` decorator

Does this render properly?

ferdnyc

comment created time in 2 days

Pull request review commentcelery/celery

Remove celery.task references in modules, docs

 format:  .. code-block:: javascript +    // XXX: No longer applicable?

The response is still the same but the ping task is elsewhere.

ferdnyc

comment created time in 2 days

Pull request review commentcelery/celery

Remove celery.task references in modules, docs

 Here's an example using Celery in single-mode:  .. code-block:: python +    # XXX: No longer valid?

Yes this is no longer valid.

ferdnyc

comment created time in 2 days

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent

Pull request review commentcelery/celery

Add message properties to app.tasks.Context (#6777)

 def __init__(self, message, on_ack=noop,                  maybe_make_aware=maybe_make_aware,                  maybe_iso8601=maybe_iso8601, **opts):         self._message = message-        self._request_dict = message.headers if headers is None else headers+        self._request_dict = (message.headers.copy() if headers is None

Why are we copying the headers?

InvalidInterrupt

comment created time in 2 days

PullRequestReviewEvent

push eventcelery/celery

Thomas Grainger

commit sha ea1df2ba82e2492657c2e6c512f85a188ecdec18

import celery lazilly in pytest plugin and unignore flake8 F821, "undefined name '...'" (#6872) * unignore f821 * defer celery imports in celery pytest plugin

view details

push time in 2 days

issue closedcelery/celery

unignore `F821, # undefined name '...'`

F821 is one of the most useful flake8 rules, however it's currently disabled because type comments reference undefined names.

it can be fixed with a conditional dependency on typing or importing typing in an if False: block, see discussion here: https://github.com/PyCQA/pyflakes/issues/501

conditional dep

# requirements.txt
typing; python_version < '3.5'
# some_annotated.py
from typing import Any, Tuple

if typing.TYPE_CHECKING:
    from celery import Celery

if False:

# some_annotated.py

if False:
    from typing import Any, Tuple
    from celery import Celery

@auvipy @thedrow do you have a preferred typing import approach? mine is to add the conditional dep

<!-- Please fill this template entirely and do not erase parts of it. We reserve the right to close without a response enhancement requests which are incomplete. -->

Checklist

<!-- To check an item on the list replace [ ] with [x]. -->

  • [ ] I have checked the issues list for similar or identical enhancement to an existing feature.
  • [ ] I have checked the pull requests list for existing proposed enhancements.
  • [ ] I have checked the commit log to find out if the if the same enhancement was already implemented in the master branch.
  • [ ] I have included all related issues and possible duplicate issues in this issue (If there are none, check this box anyway).

Related Issues and Possible Duplicates

<!-- Please make sure to search and mention any related issues or possible duplicates to this issue as requested by the checklist above.

This may or may not include issues in other repositories that the Celery project maintains or other repositories that are dependencies of Celery.

If you don't know how to mention issues, please refer to Github's documentation on the subject: https://help.github.com/en/articles/autolinked-references-and-urls#issues-and-pull-requests -->

Related Issues

  • None

Possible Duplicates

  • None

Brief Summary

<!-- Please include a brief summary of what the enhancement is and why it is needed. -->

Design

Architectural Considerations

<!-- If more components other than Celery are involved, describe them here and the effect it would have on Celery. --> None

Proposed Behavior

<!-- Please describe in detail how this enhancement is going to change the behavior of an existing feature. Describe what happens in case of failures as well if applicable. -->

Proposed UI/UX

<!-- Please provide your ideas for the API, CLI options, configuration key names etc. that will be adjusted for this enhancement. -->

Diagrams

<!-- Please include any diagrams that might be relevant to the implementation of this enhancement such as:

  • Class Diagrams
  • Sequence Diagrams
  • Activity Diagrams You can drag and drop images into the text box to attach them to this issue. --> N/A

Alternatives

<!-- If you have considered any alternative implementations describe them in detail below. --> None

closed time in 2 days

graingert
PullRequestReviewEvent
PullRequestReviewEvent

pull request commentcelery/celery

Fix UnboundLocalError when running celery worker in foreground

@maybe-sybr Thanks for helping me with the investigation. ❤️

michael-k

comment created time in 3 days

push eventcelery/celery

Thomas Grainger

commit sha bb8030562752dbcd1d130a878f4a0326ad93fc02

create github action for windows (#6271) * 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

view details

push time in 3 days

PR merged celery/celery

Reviewers
create github action for windows

an action to potentially replace appveyor, which seems a bit unreliable on cloning

Note: Before submitting this pull request, please review our contributing guidelines.

Description

<!-- Please describe your pull request.

NOTE: All patches should be made against master, not a maintenance branch like 3.1, 2.5, etc. That is unless the bug is already fixed in master, but not in that version series.

If it fixes a bug or resolves a feature request, be sure to link to that issue via (Fixes #4412) for example. -->

+28 -7

18 comments

4 changed files

graingert

pr closed time in 3 days

PullRequestReviewEvent

pull request commentcelery/celery

create github action for windows

@graingert Would you mind setting it up so that if a wheel is not present in CI, it will still build the extension?

looks like a huge pain to do. I think removing pycurl and using a modern async client (httpx) is the only way here

If you feel like refactoring our SQS broker, I'll walk you through it. I'd love to get rid of that dependency.

graingert

comment created time in 3 days

startedoccson/ccs

started time in 3 days

issue commentcelery/celery

chord_unlock isn't using the same queue as chord

@MelnykR Can you please open a new issue since this one was resolved for the OP?

k1p0d

comment created time in 3 days

startedgoogleapis/nodejs-pubsub

started time in 3 days

pull request commentcelery/celery

Update configuration.rst

The motivation behind this patch is to update docs to reflect the actual default configuration

Thanks. I just want to keep every commit documented for future's sake. You never know when you'll need it.

przlada

comment created time in 3 days

push eventcelery/celery

Thomas Grainger

commit sha 59d88326b8caa84083c01efb3a3983b3332853e9

test on 3.10.b4 (#6867)

view details

push time in 3 days

PR merged celery/celery

test on 3.10.b4 Category: Project Governance PR Type: Enhancement
+2 -2

2 comments

1 changed file

graingert

pr closed time in 3 days