From 7158f3c7993d97765923a496b3f86e5e52d2cc23 Mon Sep 17 00:00:00 2001 From: DerekRushton Date: Tue, 29 Oct 2024 09:40:38 -0300 Subject: [PATCH] Minimum version must be 3.9 to resolve this security vulnerability. Signed-off-by: DerekRushton --- .github/workflows/main.yml | 2 +- bundle_validator/README.md | 2 +- docs/README.md | 2 +- docs/lab/cli_lab.ipynb | 2 +- setup.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b5dc220f8..11e88c6b3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9] + python-version: [3.9, 3.10] steps: - uses: actions/checkout@v3 diff --git a/bundle_validator/README.md b/bundle_validator/README.md index 5ea1ea28a..40082996d 100644 --- a/bundle_validator/README.md +++ b/bundle_validator/README.md @@ -6,7 +6,7 @@ You can easily validate your stix bundle file by following the below steps: The following needs to be installed on your local machine: -* Python 3.8 or greater +* Python 3.9 or greater * git * [`stix2-validator`](https://github.com/oasis-open/cti-stix-validator) python library diff --git a/docs/README.md b/docs/README.md index 0e20b9c60..532b8cde0 100644 --- a/docs/README.md +++ b/docs/README.md @@ -26,7 +26,7 @@ The recommended method for installing stix-shifter is via pip. Two prerequisite ### Dependencies -STIX-shifter requries Python 3.8 or greater. See the [requirements file](../stix_shifter/requirements.txt) for library dependencies. +STIX-shifter requries Python 3.9 or greater. See the [requirements file](../stix_shifter/requirements.txt) for library dependencies. ## Usage diff --git a/docs/lab/cli_lab.ipynb b/docs/lab/cli_lab.ipynb index 708b730b6..cf574a065 100644 --- a/docs/lab/cli_lab.ipynb +++ b/docs/lab/cli_lab.ipynb @@ -161,7 +161,7 @@ "\n", "### Prerequisites\n", "\n", - "* Python 3.8 or greater\n", + "* Python 3.9 or greater\n", "* pip\n", "* git\n", "* `virtualenv` python library\n", diff --git a/setup.py b/setup.py index 5fd5a042f..7b2a85cc2 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ # good print(sys.version) else: - print("Error: stix-shifter requires python 3.8 or greater") + print("Error: stix-shifter requires python 3.9 or greater") exit(1) @@ -165,8 +165,8 @@ def fill_connectors(projects, modules_path): # https://pypi.python.org/pypi?%3Aaction=list_classifiers 'classifiers': [ # Optional 'License :: OSI Approved :: Apache Software License', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', ], 'keywords': 'datasource stix translate transform transmit', # Optional 'packages': packages, # Required