Skip to content

Commit

Permalink
python 3.13 (#927)
Browse files Browse the repository at this point in the history
commit-id:9cd21033
  • Loading branch information
dhalperi authored Oct 8, 2024
1 parent aeb4851 commit d86e1a1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 20 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/reusable-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ on:
workflow_call:
inputs:
batfish_repo:
description: 'Git repo containing Batfish'
description: "Git repo containing Batfish"
required: false
default: 'batfish/batfish'
default: "batfish/batfish"
type: string
batfish_ref:
description: 'Git ref for Batfish version to release'
description: "Git ref for Batfish version to release"
required: false
default: 'master'
default: "master"
type: string
secrets:
PYBATFISH_CODECOV_TOKEN:
Expand Down Expand Up @@ -57,8 +57,8 @@ jobs:
${{runner.os}}-bazel-17-${{ hashFiles('.bazelversion', 'WORKSPACE', 'maven_install.json') }}-
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
distribution: "temurin"
java-version: "17"
- name: Build JAR
run: |
bazel build //projects/allinone:allinone_main_deploy.jar
Expand Down Expand Up @@ -105,6 +105,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
integration_tests:
runs-on: ubuntu-latest
needs:
Expand All @@ -113,8 +114,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
distribution: "temurin"
java-version: "17"
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
Expand Down Expand Up @@ -153,6 +154,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
doc_tests:
runs-on: ubuntu-latest
needs:
Expand All @@ -161,8 +163,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
distribution: "temurin"
java-version: "17"
- uses: actions/setup-python@v4
with:
python-version: 3.9
Expand All @@ -188,8 +190,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
distribution: "temurin"
java-version: "17"
- uses: actions/setup-python@v4
with:
python-version: 3.9
Expand Down
13 changes: 6 additions & 7 deletions .idea/inspectionProfiles/Project_Default.xml

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

2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.8
python_version = 3.9
strict_optional = True
warn_return_any = True
ignore_missing_imports = True
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
python_requires=">=3.9",
# What does your project relate to?
Expand Down

0 comments on commit d86e1a1

Please sign in to comment.