Skip to content

Commit

Permalink
Disable Python 3.12 support for now, waiting for new zserio release w…
Browse files Browse the repository at this point in the history
…ith Enum fix.
  • Loading branch information
josephbirkner committed Jul 9, 2024
1 parent 64dbd20 commit 6b588aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build-manylinux:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ubuntu-latest
container: ghcr.io/klebert-engineering/manylinux-cpp17-py${{ matrix.python-version }}-x86_64:2024.1
env:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
strategy:
matrix:
os: [macos-13, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion libs/zswag/reflect.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def str_to_bytes(s: str, fmt: OAParamFormat) -> bytes:

# Convert a single passed parameter value to it's correct type
def parse_param_value(param: OAParam, target_type: Type, value: str) -> Any:
# Check if its an enum ...
# Check if it's an enum ...
if issubclass(target_type, Enum):
return target_type(parse_param_value(param, int, value))
# Check if the parameter format is native string conversion
Expand Down

0 comments on commit 6b588aa

Please sign in to comment.