diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index c5a86d36..81574c56 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -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 @@ -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 }} diff --git a/docker-compose.yaml b/docker-compose.yaml index 471c978e..90b0051e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,5 +1,5 @@ --- -version: '3.7' +version: '3.8' services: eval: build: . diff --git a/pyproject.toml b/pyproject.toml index 1f6156b0..a3731389 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "ml@synthesized.io" }, { name = "Daniel Sabanov", email = "daniel@sadogursky.com" }, @@ -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", ] diff --git a/sonar-project.properties b/sonar-project.properties index 82bac3b8..835cf8a1 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -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