Skip to content

Commit

Permalink
Bump pytest-celery to 1.0.0rc3 (#8946)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Apr 5, 2024
1 parent 010af00 commit 6e50deb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements/extras/pytest.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest-celery[all]==1.0.0rc2
pytest-celery[all]==1.0.0rc3
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pytest==8.1.1
pytest-celery[all]==1.0.0rc2
pytest-celery[all]==1.0.0rc3
pytest-rerunfailures==14.0
pytest-subtests==0.12.1
pytest-timeout==2.3.1
Expand Down
1 change: 1 addition & 0 deletions t/smoke/workers/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def worker_queue(cls) -> str:

default_worker_container = container(
image="{celery_dev_worker_image.id}",
ports=fxtr("default_worker_ports"),
environment=fxtr("default_worker_env"),
network="{default_pytest_celery_network.name}",
volumes={
Expand Down
4 changes: 3 additions & 1 deletion t/smoke/workers/docker/dev
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,16 @@ ENV WORKER_QUEUE=$CELERY_WORKER_QUEUE
ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1

EXPOSE 5678

# Install celery from source
WORKDIR /celery

COPY --chown=test_user:test_user . /celery
RUN pip install --no-cache-dir --upgrade \
pip \
-e /celery[redis,pymemcache] \
pytest-celery==1.0.0rc2
pytest-celery==1.0.0rc3

# The workdir must be /app
WORKDIR /app
Expand Down
4 changes: 3 additions & 1 deletion t/smoke/workers/docker/pypi
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ ENV WORKER_QUEUE=$CELERY_WORKER_QUEUE
ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1

EXPOSE 5678

# Install Python dependencies
RUN pip install --no-cache-dir --upgrade \
pip \
celery[redis,pymemcache]${CELERY_VERSION:+==$CELERY_VERSION} \
pytest-celery==1.0.0rc2
pytest-celery==1.0.0rc3

# The workdir must be /app
WORKDIR /app
Expand Down

0 comments on commit 6e50deb

Please sign in to comment.