Skip to content

Commit

Permalink
build: support Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
devl00p committed Jul 8, 2024
1 parent ae99e39 commit b65d5d0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ stages:
variables:
PYTHON_10_IMAGE: "docker.io/library/python:3.10-slim-bullseye"
PYTHON_11_IMAGE: "docker.io/library/python:3.11-slim-bullseye"
PYTHON_12_IMAGE: "docker.io/library/python:3.12-slim-bullseye"

check_coding_style:
stage: code_style
Expand Down Expand Up @@ -35,7 +36,7 @@ test-python:
$CI_PIPELINE_SOURCE == "merge_request_event"
parallel:
matrix:
- PYTHON_IMAGE: [$PYTHON_10_IMAGE, $PYTHON_11_IMAGE]
- PYTHON_IMAGE: [$PYTHON_10_IMAGE, $PYTHON_11_IMAGE, $PYTHON_12_IMAGE]
image: $PYTHON_IMAGE
before_script:
- python -c "import sys; print(sys.version)"
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ http://wapiti-scanner.github.io/

Requirements
============
In order to work correctly, Wapiti needs Python 3.x where x is >= 10 (3.10, 3.11)
In order to work correctly, Wapiti needs Python 3.x where x is >= 10 (3.10, 3.11, 3.12)

All Python module dependencies will be installed automatically if you use the setup.py script or `pip install wapiti3`

Expand Down
1 change: 1 addition & 0 deletions doc/ChangeLog_Wapiti
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Unrelease
Core : fix max-scan-time and missing timeout
Python : update dependencies and pip configurations
mod_ssl: Move to sslscan for the ssl module instead of sslyze
Python: Support for Python 3.12

09/08/2023
Wapiti 3.1.8
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
"Topic :: Software Development :: Testing"
Expand All @@ -48,6 +49,7 @@ dependencies = [
"markupsafe==2.1.5",
"mitmproxy==10.2.3",
"pyasn1==0.5.1",
"setuptools==70.2.0",
"six==1.16.0",
"sqlalchemy==2.0.28",
"tld==0.13",
Expand Down

0 comments on commit b65d5d0

Please sign in to comment.