chg: Drop python 3.8, add python 3.13

pull/1310/head
Raphaël Vinot 2024-11-11 12:38:43 +01:00
parent 5d5f706dc6
commit 317c0d149b
4 changed files with 332 additions and 511 deletions

View File

@ -48,11 +48,11 @@ jobs:
# If you wish to specify custom queries, you can do so here or in a config file. # If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file. # By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file. # Prefix the list here with "+" to use these queries and those in the config file.
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality # queries: security-extended,security-and-quality
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below) # If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild - name: Autobuild
@ -61,7 +61,7 @@ jobs:
# Command-line programs to run using the OS shell. # Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the Autobuild fails above, remove it and uncomment the following three lines. # If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# - run: | # - run: |

View File

@ -13,7 +13,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: [3.8, 3.9, '3.10', '3.11', '3.12'] python-version: [3.9, '3.10', '3.11', '3.12', '3.13']
steps: steps:

826
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -17,11 +17,11 @@ classifiers=[
'Intended Audience :: Science/Research', 'Intended Audience :: Science/Research',
'Intended Audience :: Telecommunications Industry', 'Intended Audience :: Telecommunications Industry',
'Intended Audience :: Information Technology', 'Intended Audience :: Information Technology',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Topic :: Security', 'Topic :: Security',
'Topic :: Internet' 'Topic :: Internet'
] ]
@ -44,7 +44,7 @@ include = [
"Source" = "https://github.com/MISP/PyMISP" "Source" = "https://github.com/MISP/PyMISP"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.9"
requests = "^2.32.3" requests = "^2.32.3"
python-dateutil = "^2.9.0.post0" python-dateutil = "^2.9.0.post0"
deprecated = "^1.2.14" deprecated = "^1.2.14"
@ -81,8 +81,7 @@ brotli = ['urllib3']
requests-mock = "^1.12.1" requests-mock = "^1.12.1"
mypy = "^1.13.0" mypy = "^1.13.0"
ipython = [ ipython = [
{version = "<8.13.0", python = "<3.9"}, {version = "^8.18.0", python = "<3.10"},
{version = "^8.18.0", python = ">=3.9"},
{version = "^8.19.0", python = ">=3.10"} {version = "^8.19.0", python = ">=3.10"}
] ]
jupyterlab = "^4.3.0" jupyterlab = "^4.3.0"
@ -90,7 +89,7 @@ types-requests = "^2.32.0.20241016"
types-python-dateutil = "^2.9.0.20241003" types-python-dateutil = "^2.9.0.20241003"
types-redis = "^4.6.0.20241004" types-redis = "^4.6.0.20241004"
types-Flask = "^1.1.6" types-Flask = "^1.1.6"
pytest-cov = "^5.0.0" pytest-cov = "^6.0.0"
[build-system] [build-system]
requires = ["poetry_core>=1.1", "setuptools"] requires = ["poetry_core>=1.1", "setuptools"]