Skip to content

Commit

Permalink
chore: adding 3.13 to build runners; relaxing constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Oct 8, 2024
1 parent 44f900f commit 02e414a
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python: ["3.10", "3.11", "3.12"]
python: ["3.10", "3.11", "3.12", "3.13.0-rc.3"] # TODO: change to 3.13 once its out of rc
runs-on: ${{ matrix.os }}
steps:
- name: Checkout source code
Expand Down
43 changes: 25 additions & 18 deletions poetry.lock

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

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.10,<3.13"
python = ">=3.10,<3.14"
click = "^8.1.3"
httpx = "^0.23.1"
copier = "^9.2.0"
Expand All @@ -25,6 +25,7 @@ multiformats = "0.3.1"
multiformats_config = "0.3.1" # pinned this to be in lockstep with multiformats
jsondiff = "^2.0.0"
requests = "^2.31.0"
pywin32 = { version ="^307", platform = 'win32' }

[tool.poetry.group.dev.dependencies]
pyinstaller = {version = "^6.9.0"}
Expand Down
4 changes: 3 additions & 1 deletion tests/project/run/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ def _format_output(output: str) -> str:
Returns:
str: The processed output with specified lines stripped.
"""
output = "\n".join([line for line in output.split("\n") if not line.startswith("DEBUG")])
output = "\n".join(
[line for line in output.split("\n") if not line.startswith("DEBUG") and line.strip() != "raise Exception()"]
)
return output.replace(PYTHON_EXECUTABLE_ESCAPED, "<sys.executable>").replace("\\", r"\\")


Expand Down

0 comments on commit 02e414a

Please sign in to comment.