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
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.12', '3.13']
python-version: ['3.11', '3.12', '3.13', '3.14']
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -35,6 +35,9 @@ jobs:
uv pip install --system -e packages/runtime-sdk -e packages/cli
uv pip install --system --group dev --project packages/cli

# TODO: cli tests include running sdks in workerd.
# Since running workerd tests has mostly nothing to do with the host python versions,
# we don't need to run them for all python versions.
- name: Run tests
working-directory: packages/cli
run: |
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "workers-py"
version = "1.14.0"
description = "A set of libraries and tools for Python Workers"
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down Expand Up @@ -44,7 +44,7 @@ pywrangler = "pywrangler.cli:app"
"Bug Tracker" = "https://github.com/cloudflare/workers-py/issues"

[tool.ruff]
target-version = "py312"
target-version = "py311"
lint.select = [
"B0", # bugbear (all B0* checks enabled by default)
"B904", # bugbear (Within an except clause, raise exceptions with raise ... from err)
Expand All @@ -71,7 +71,7 @@ addopts = ["--ignore=tests/workerd-test", "--ignore=tests/bindings-test"]

[tool.mypy]
packages = ["pywrangler"]
python_version = "3.12"
python_version = "3.11"

show_error_codes = true

Expand Down
Loading
Loading