Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
workflow_dispatch:
inputs:
requested_release_tag:
description: 'The tag to use for this release (e.g., `v2.3.0`)'
description: "The tag to use for this release (e.g., `v2.3.0`)"
required: true

jobs:
build_and_upload:
runs-on: 'ubuntu-20.04'
runs-on: "ubuntu-24.04"
environment: production
permissions:
# id-token for the trusted publisher setup
Expand All @@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: 3.8
python-version: 3.12

- run: |
pip install packaging
Expand Down Expand Up @@ -80,4 +80,4 @@ jobs:
run: |
python setup.py sdist
- name: Upload to PyPI
uses: closeio/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9
uses: closeio/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9
12 changes: 6 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
lint:
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
python-version: ["3.9", "3.10", "3.11", "3.12"]
name: Lint ${{ matrix.python-version }}
runs-on: 'ubuntu-20.04'
runs-on: "ubuntu-24.04"
container: python:${{ matrix.python-version }}
steps:
- name: Checkout code
Expand All @@ -22,16 +22,16 @@ jobs:
- name: Lint code
run: |
pip install -c requirements.txt -r requirements-lint.txt
lintlizard --ci
ruff check tasktiger tests

# Run tests
test:
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
os: ['ubuntu-20.04']
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-24.04"]
redis-version: [4, 5, "6.2.6", "7.0.9"]
redis-py-version: [3.3.0, 4.6.0]
redis-py-version: [6.1.0]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we keep 4.6.0 still?

# Do not cancel any jobs when a single job fails
fail-fast: false
name: Python ${{ matrix.python-version }} on ${{ matrix.os }} with Redis ${{ matrix.redis-version }} and redis-py==${{ matrix.redis-py-version }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM circleci/python:3.8
FROM python:3.12

WORKDIR /src
COPY requirements.txt .
Expand Down
5 changes: 2 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
version: "3.7"
services:
redis:
image: redis:7.0.9
expose:
- 6379
ports:
- 127.0.0.1:6379:6379
tasktiger:
build:
context: .
Expand Down
2 changes: 1 addition & 1 deletion requirements-lint.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
lintlizard==0.26.0
types-redis
ruff==0.11.11
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
click==8.1.7
redis==4.5.2
redis==6.1.0
structlog==24.1.0
croniter