<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/getting-celery-to-work-with-python-3-12-and-flask-3-0-m1822y4q7" -->

---
title: Getting Celery to Work with Python 3.12 and Flask 3.0
description: The article discusses the process of getting Celery to work with Python 3.12 and Flask 3.0, including the need for modifications to the create_celery_app...
canonical: https://daily.dev/posts/getting-celery-to-work-with-python-3-12-and-flask-3-0-m1822y4q7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Getting Celery to Work with Python 3.12 and Flask 3.0 | daily.dev
og:description: The article discusses the process of getting Celery to work with Python 3.12 and Flask 3.0, including the need for modifications to the create_celery_app...
og:url: https://daily.dev/posts/getting-celery-to-work-with-python-3-12-and-flask-3-0-m1822y4q7
og:image: https://api.daily.dev/og/posts/M1822Y4q7.png
og:image:alt: Getting Celery to Work with Python 3.12 and Flask 3.0
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Celery to Work with Python 3.12 and Flask 3.0

**[Nick Janetakis](https://daily.dev/sources/nickjanetakis)** · 2 min read · 5 upvotes · 0 comments

## Summary

The article discusses the process of getting Celery to work with Python 3.12 and Flask 3.0, including the need for modifications to the create_celery_app function. It highlights an error that can occur when upgrading to Python 3.12 and provides a suggested modified version of the function from the Flask documentation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://nickjanetakis.com/blog/getting-celery-to-work-with-python-312-and-flask-3>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#docker](https://daily.dev/tags/docker), [#flask](https://daily.dev/tags/flask)

[View this post on daily.dev](https://daily.dev/posts/getting-celery-to-work-with-python-3-12-and-flask-3-0-m1822y4q7)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Getting Celery to Work with Python 3.12 and Flask 3.0","url":"https://daily.dev/posts/getting-celery-to-work-with-python-3-12-and-flask-3-0-m1822y4q7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/getting-celery-to-work-with-python-3-12-and-flask-3-0-m1822y4q7"},"datePublished":"2023-12-19T12:28:25.363Z","dateModified":"2023-12-19T12:28:24.074Z","description":"The article discusses the process of getting Celery to work with Python 3.12 and Flask 3.0, including the need for modifications to the create_celery_app...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c8001033759c56b17167d64a0e3009e9?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c8001033759c56b17167d64a0e3009e9?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Nick Janetakis","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Nick Janetakis","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6","url":"https://daily.dev/sources/nickjanetakis"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/getting-celery-to-work-with-python-3-12-and-flask-3-0-m1822y4q7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,docker,flask","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Nick Janetakis","item":"https://daily.dev/sources/nickjanetakis"},{"@type":"ListItem","position":3,"name":"Getting Celery to Work with Python 3.12 and Flask 3.0"}]}
```

