Skip to content

Commit

Permalink
attempt to fix build failure on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
justbuchanan committed Oct 24, 2023
1 parent e7ddb5d commit 8615eb2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
python-version: ["3.12.0"]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
6 changes: 6 additions & 0 deletions src/cq_cli/cq_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3

# surprisingly, this seems to fix issues on macOS - it shouldn't be necessary
# for any python3 installation, but this program fails to run on macOS without
# this import.
from __future__ import print_function

import os
import sys
import argparse
Expand Down

0 comments on commit 8615eb2

Please sign in to comment.