Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
python-version: 3.9

- name: Cache Poetry install
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.local
# NB! Update key when Poetry version is updated
Expand All @@ -53,7 +53,7 @@ jobs:

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .venv
key: venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
Expand Down
21 changes: 15 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Checkout code
uses: actions/checkout@v6
Expand All @@ -21,26 +21,35 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Cache Poetry install
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.local
# NB! Update key when Poetry version is updated
key: python-${{ steps.setup-python.outputs.python-version }}-poetry-1.2.2
key: python-${{ steps.setup-python.outputs.python-version }}-poetry-1.8.4

- name: Install Poetry
uses: snok/install-poetry@v1
with:
# NB! Update Poetry cache key when updating Poetry version
version: 1.2.2
version: 1.8.4
virtualenvs-create: true
virtualenvs-in-project: true

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .venv
key: venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
key: venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}

- name: Load cached venv (sample apps)
uses: actions/cache@v5
with:
path: |
sample-apps/django_sample/.venv
sample-apps/flask_sample/.venv
sample-apps/fastapi_sample/.venv
key: venv-samples-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('sample-apps/**/poetry.lock') }}

- name: Install dependencies
run: poetry install --all-extras --no-interaction --no-root
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python 3.10.9
python 3.14.2
82 changes: 2 additions & 80 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ classifiers = [
packages = [{ include = "judoscale" }]

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.10"
requests = "<3.0.0"
django = { version = ">=2.1.0,<7.0.0", optional = true }
flask = { version = ">=1.1.0,<4.0.0", optional = true }
Expand All @@ -29,7 +29,7 @@ rq = { version = ">=1.0.0,<3.0.0", optional = true }
[tool.poetry.group.dev.dependencies]
black = "^22.12.0"
isort = "^5.11.2"
flake8 = { version = "^6.0.0", python = ">=3.8.1,<4.0.0" }
flake8 = { version = "^6.0.0", python = ">=3.10,<4.0.0" }
pytest = "^8.2.2"

[tool.poetry.extras]
Expand Down
5 changes: 0 additions & 5 deletions sample-apps/django_2_2_21/Procfile.heroku

This file was deleted.

5 changes: 0 additions & 5 deletions sample-apps/django_2_2_21/Procfile.render

This file was deleted.

33 changes: 0 additions & 33 deletions sample-apps/django_2_2_21/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions sample-apps/django_2_2_21/bin/heroku

This file was deleted.

3 changes: 0 additions & 3 deletions sample-apps/django_2_2_21/bin/render

This file was deleted.

Empty file.
16 changes: 0 additions & 16 deletions sample-apps/django_2_2_21/django_2_2_21/asgi.py

This file was deleted.

Loading