Skip to content

Commit

Permalink
Drop Python 3.7 support (#174)
Browse files Browse the repository at this point in the history
* Drop Python 3.7 support
  • Loading branch information
simonhkswan authored Feb 7, 2024
1 parent ae2bc77 commit 7f0a489
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
id: setup-py
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.8

- name: Cache test venv
uses: actions/cache@v3
Expand All @@ -49,8 +49,8 @@ jobs:
source .tenv/bin/activate
pytest -v --junitxml=test-results/junit.xml --cov=insight --cov-report=xml:coverage-reports/cobertura.xml --cov-branch --log-cli-level=INFO
sed -ie 's#/home/runner/work/insight/insight#/github/workspace/src#g' coverage-reports/cobertura.xml
sed -ie 's#.tenv/lib/python3.7/site-packages/##g' coverage-reports/cobertura.xml
sed -ie 's#.tenv.lib.python3.7.site-packages.##g' coverage-reports/cobertura.xml
sed -ie 's#.tenv/lib/python3.8/site-packages/##g' coverage-reports/cobertura.xml
sed -ie 's#.tenv.lib.python3.8.site-packages.##g' coverage-reports/cobertura.xml
env:
SYNTHESIZED_KEY: ${{ secrets.SYNTHESIZED_KEY }}

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: '3.7'
version: '3.8'
services:
eval:
build: .
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name = "insight"
description = "A python library for monitoring, comparing and extracting insights from data."
readme = "README.md"
license = {text = "BSD 3-Clause License"}
requires-python = ">= 3.7"
requires-python = ">= 3.8"
authors = [
{ name = "Synthesized Ltd.", email = "[email protected]" },
{ name = "Daniel Sabanov", email = "[email protected]" },
Expand All @@ -31,9 +31,9 @@ classifiers = [
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
]

Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sonar.sources=src/insight/
sonar.exclusions=src/insight/alembic/**/*
sonar.tests=tests/

sonar.python.version=3.6, 3.7, 3.8, 3.9
sonar.python.version=3.8, 3.9, 3.10
sonar.python.xunit.reportPath=test-results/*.xml
sonar.python.coverage.reportPaths=coverage-reports/*.xml

Expand Down

0 comments on commit 7f0a489

Please sign in to comment.