Skip to content

Commit

Permalink
Add python 3.13 support and postgres 17 support (#789)
Browse files Browse the repository at this point in the history
  • Loading branch information
pboers1988 authored Jan 7, 2025
1 parent f9b86d0 commit b4ad126
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.9.0
current_version = 2.9.1rc1
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(rc(?P<build>\d+))?
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-linting-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
python-version: ['3.11', '3.12', '3.13']
fail-fast: false

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
postgres-version: ['14', '15', '16']
python-version: ['3.11', '3.12', '3.13']
postgres-version: ['15', '16', '17']
fail-fast: false
container: python:${{ matrix.python-version }}-slim
services:
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

"""This is the orchestrator workflow engine."""

__version__ = "2.9.0"
__version__ = "2.9.1rc1"

from orchestrator.app import OrchestratorCore
from orchestrator.settings import app_settings
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/graphql/resolvers/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ async def resolve_subscriptions(
graphql_subscriptions: list[SubscriptionInterface] = []
if is_querying_page_data(info):
subscriptions = db.session.scalars(stmt).all()
graphql_subscriptions = list(await gather_nice((format_subscription(info, p) for p in subscriptions)))
graphql_subscriptions = list(await gather_nice((format_subscription(info, p) for p in subscriptions))) # type: ignore
logger.info("Resolve subscriptions", filter_by=filter_by, total=total)

return to_graphql_result_page(
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ classifiers = [
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
Expand Down Expand Up @@ -60,15 +61,15 @@ dependencies = [
"structlog",
"typer==0.12.5",
"uvicorn[standard]~=0.32.0",
"nwa-stdlib~=1.8.3",
"oauth2-lib~=2.3.0",
"nwa-stdlib~=1.9.0",
"oauth2-lib~=2.4.0",
"tabulate==0.9.0",
"strawberry-graphql>=0.246.2",
"pydantic-forms~=1.1.1",
"pydantic-forms~=1.1.3",
]

description-file = "README.md"
requires-python = ">=3.11,<3.13"
requires-python = ">=3.11,<3.14"

[project.urls]
Documentation = "https://workfloworchestrator.org/orchestrator-core/"
Expand Down

0 comments on commit b4ad126

Please sign in to comment.