Skip to content

Commit 32afd67

Browse files
committed
Remove Flower
1 parent fbb02a3 commit 32afd67

File tree

9 files changed

+10
-16
lines changed

9 files changed

+10
-16
lines changed

.github/workflows/python-3.10.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
python -m pip install --upgrade pip
2525
python -m pip install poetry
2626
poetry config virtualenvs.create false
27-
poetry install --no-root --with http,grpc,dev,celery
27+
poetry install --no-root --with http,grpc,dev
2828
- name: Test with pytest
2929
run: |
3030
make ci-test

.github/workflows/python-3.11.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
python -m pip install --upgrade pip
2525
python -m pip install poetry
2626
poetry config virtualenvs.create false
27-
poetry install --no-root --with http,grpc,dev,celery
27+
poetry install --no-root --with http,grpc,dev
2828
- name: Test with pytest
2929
run: |
3030
make ci-test

.github/workflows/python-3.9.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
python -m pip install --upgrade pip
2525
python -m pip install poetry
2626
poetry config virtualenvs.create false
27-
poetry install --no-root --with http,grpc,dev,celery
27+
poetry install --no-root --with http,grpc,dev
2828
- name: Test with pytest
2929
run: |
3030
make ci-test

.github/workflows/python-code-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
python -m pip install --upgrade pip
2525
python -m pip install poetry
2626
poetry config virtualenvs.create false
27-
poetry install --no-root --with http,grpc,dev,celery
27+
poetry install --no-root --with http,grpc,dev
2828
- name: Check code style with black
2929
run: |
3030
make format

.github/workflows/python-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
python -m pip install --upgrade pip
2525
python -m pip install poetry
2626
poetry config virtualenvs.create false
27-
poetry install --no-root --with http,grpc,dev,celery
27+
poetry install --no-root --with http,grpc,dev
2828
- name: Lint with ruff
2929
run: make lint

.github/workflows/python-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
python -m pip install --upgrade pip
2525
python -m pip install poetry
2626
poetry config virtualenvs.create false
27-
poetry install --no-root --with http,grpc,dev,celery
27+
poetry install --no-root --with http,grpc,dev
2828
- name: Test & publish code coverage
2929
uses: paambaati/[email protected]
3030
if: env.CC_TEST_REPORTER_ID != null

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ COPY --chown=nonroot:nonroot poetry.lock .
4343

4444
# Test image, contains all files and dependencies
4545
FROM base_builder as dev
46-
RUN poetry install --with http,grpc,dev,celery
46+
RUN poetry install --with http,grpc,dev
4747
COPY --chown=nonroot:nonroot . .
4848
# Note that opentelemetry doesn't play well together with uvicorn reloader
4949
# when signals are propagated, we disable it in dev image default CMD
5050
CMD ["uvicorn", "http_app:create_app", "--host", "0.0.0.0", "--port", "8000", "--factory", "--reload"]
5151

5252
# Installs requirements to run production celery application
5353
FROM base_builder as celery_builder
54-
RUN poetry install --no-root --with celery
54+
RUN poetry install --no-root
5555

5656
# Installs requirements to run production http application
5757
FROM base_builder as http_builder

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ typing:
3131
poetry run mypy
3232

3333
update-deps:
34-
poetry update --with http,grpc,dev,celery
34+
poetry update --with http,grpc,dev
3535

3636
migrate:
3737
poetry run alembic upgrade heads

pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ dependency-injector = { version = "^4.41.0", extras = ["pydantic"] }
1616
httpx = ">=0.23.0"
1717
opentelemetry-distro = { version = "*", extras = ["otlp"] }
1818
opentelemetry-instrumentation = "*"
19+
opentelemetry-instrumentation-celery = "*"
1920
opentelemetry-instrumentation-httpx = "*"
2021
opentelemetry-instrumentation-sqlalchemy = "*"
2122
pydantic = "^2.2.1"
@@ -26,13 +27,6 @@ SQLAlchemy = { version = "^2.0.0", extras = ["asyncio", "mypy"] }
2627
sqlalchemy-bind-manager = "*"
2728
structlog = "^23.1.0"
2829

29-
[tool.poetry.group.celery]
30-
optional = true
31-
32-
[tool.poetry.group.celery.dependencies]
33-
opentelemetry-instrumentation-celery = "*"
34-
flower = "^2.0.1"
35-
3630
[tool.poetry.group.http]
3731
optional = true
3832

0 commit comments

Comments
 (0)