Skip to content

Commit

Permalink
Dropping Python 3.7 support to conform to pre-commit project
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C committed Jan 26, 2024
1 parent ad75bce commit 7ada1f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
max-parallel: 5
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
classifiers=[
'License :: OSI Approved :: MIT 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',
Expand Down
6 changes: 3 additions & 3 deletions tests/safety_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def test_pyproject_toml_with_ko_deps(tmpdir):
authors = ['Lucas Cimon']
[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
jubatus = '1.0.2'
""")
assert safety([str(pyproject_file)]) == EXIT_CODE_VULNERABILITIES_FOUND
Expand All @@ -116,7 +116,7 @@ def test_pyproject_toml_with_ko_dev_deps(tmpdir):
authors = ['Lucas Cimon']
[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
# Poetry pre-1.2.x style
[tool.poetry.dev-dependencies]
Expand All @@ -141,7 +141,7 @@ def test_pyproject_toml_with_groups(tmpdir, group_arg, status):
authors = ['Lucas Cimon']
[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
# Poetry 1.2.0 style
[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit 7ada1f9

Please sign in to comment.