Skip to content

Commit 088dea6

Browse files
authored
Merge pull request #516 from TheHive-Project/514-add-support-for-python-314
#514 - Add python 3.14 support
2 parents 08a6cf9 + ffb12b8 commit 088dea6

File tree

8 files changed

+14
-7
lines changed

8 files changed

+14
-7
lines changed

.github/workflows/_build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up Python
1111
uses: actions/setup-python@v4
1212
with:
13-
python-version: 3.13
13+
python-version: 3.14
1414
- name: Install dependencies
1515
run: pip install --no-cache-dir -U pip .['dev']
1616
- name: Build docs

.github/workflows/_build-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up Python
1111
uses: actions/setup-python@v4
1212
with:
13-
python-version: 3.13
13+
python-version: 3.14
1414
- name: Install dependencies
1515
run: pip install --no-cache-dir -U pip .['dev']
1616
- name: Build package

.github/workflows/_check-release-notes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up Python
1111
uses: actions/setup-python@v4
1212
with:
13-
python-version: 3.13
13+
python-version: 3.14
1414
- name: Install dependencies
1515
run: pip install --no-cache-dir -U pip .['dev']
1616
- name: Check release notes

.github/workflows/_deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up Python
1111
uses: actions/setup-python@v4
1212
with:
13-
python-version: 3.13
13+
python-version: 3.14
1414
- name: Install dependencies
1515
run: pip install --no-cache-dir -U pip .['dev']
1616
- name: Configure git

.github/workflows/_integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v4
1515
with:
16-
python-version: 3.13
16+
python-version: 3.14
1717
- name: Install dependencies
1818
run: pip install --no-cache-dir -U pip .['dev']
1919
- name: Run integration tests

.github/workflows/_static-checks.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
name: static-checks
22
on:
33
workflow_call:
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.ref }}
6+
cancel-in-progress: true
47
jobs:
58
static-checks:
69
name: Run static checks
710
runs-on: ubuntu-latest
811
strategy:
912
matrix:
10-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
13+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1114
steps:
1215
- uses: actions/checkout@v4
1316
- name: Set up Python ${{ matrix.python-version }}
@@ -24,5 +27,8 @@ jobs:
2427
run: nox --session=type
2528
- name: CVE check with pip-audit
2629
run: nox --session=cve
30+
- name: Warn bandit bug for Python 3.14
31+
if: matrix.python-version == '3.14'
32+
run: echo "⚠️ The bandit security check for Python 3.14 is out of order due to the bug tracked in https://github.com/PyCQA/bandit/issues/1314 :trollface:" >> $GITHUB_STEP_SUMMARY
2733
- name: Security check with bandit
2834
run: nox --session=security

.github/workflows/_upload-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v4
2020
with:
21-
python-version: 3.13
21+
python-version: 3.14
2222
- name: Install dependencies
2323
run: pip install --no-cache-dir -U pip .['dev']
2424
- name: Upload to PyPI

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Programming Language :: Python :: 3.11",
2222
"Programming Language :: Python :: 3.12",
2323
"Programming Language :: Python :: 3.13",
24+
"Programming Language :: Python :: 3.14",
2425
]
2526
authors = [{ name = "Szabolcs Antal", email = "[email protected]" }]
2627

0 commit comments

Comments
 (0)