Skip to content

Commit

Permalink
Update to current Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
clenk committed Apr 5, 2024
1 parent 5ddb22b commit a6ae750
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, '3.10']
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']

name: Python ${{ matrix.python-version }} Build
steps:
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
url="https://github.com/oasis-open/cti-pattern-validator",
author='OASIS Cyber Threat Intelligence Technical Committee',
author_email='[email protected]',
python_requires=">=3.7",
python_requires=">=3.8",
packages=find_packages(),
install_requires=[
'antlr4-python3-runtime~=4.9.0',
Expand All @@ -53,10 +53,11 @@
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
extras_require={
'dev': dev_requires,
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37,py38,py39,py310,packaging,pre-commit-check
envlist = py{38,39,310,311,312},packaging,pre-commit-check

[testenv]
deps =
Expand All @@ -26,7 +26,8 @@ commands =

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39, packaging, pre-commit-check
3.9: py39
3.10: py310
3.11: py311
3.12: py312, packaging, pre-commit-check

0 comments on commit a6ae750

Please sign in to comment.