Skip to content

Commit

Permalink
Minimum version must be 3.9 to resolve this security vulnerability. (#…
Browse files Browse the repository at this point in the history
…1744)

* Minimum version must be 3.9 to resolve this security vulnerability.

Signed-off-by: DerekRushton <[email protected]>

* The python version gets trimmed if it's not escaped.

---------

Signed-off-by: DerekRushton <[email protected]>
  • Loading branch information
DerekRushton authored Oct 29, 2024
1 parent 02835e2 commit 51c199f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -36,4 +36,4 @@ jobs:
- name: Run unittest
run: |
pip install pytest
pytest -vv
pytest -vv
2 changes: 1 addition & 1 deletion bundle_validator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/lab/cli_lab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 51c199f

Please sign in to comment.