diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 39739b4..805298c 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -28,8 +28,8 @@ jobs: id: generate_matrix uses: coactions/dynamic-matrix@v1 with: - min_python: "3.9" - max_python: "3.12" + min_python: "3.10" + max_python: "3.13" other_names: | lint docs @@ -64,12 +64,12 @@ jobs: sudo apt-get update \ && sudo apt-get install -y libvirt-dev zsh - - name: Set up Python ${{ matrix.python_version || '3.9' }} + - name: Set up Python ${{ matrix.python_version || '3.10' }} if: "!contains(matrix.shell, 'wsl')" uses: actions/setup-python@v5 with: cache: pip - python-version: ${{ matrix.python_version || '3.9' }} + python-version: ${{ matrix.python_version || '3.10' }} - name: Install tox run: | @@ -145,7 +145,7 @@ jobs: - name: Check for expected number of coverage.xml reports run: | - JOBS_PRODUCING_COVERAGE=4 + JOBS_PRODUCING_COVERAGE=3 if [ "$(find . -name coverage.xml | wc -l | bc)" -ne "${JOBS_PRODUCING_COVERAGE}" ]; then echo "::error::Number of coverage.xml files was not the expected one (${JOBS_PRODUCING_COVERAGE}): $(find . -name coverage.xml |xargs echo)" exit 1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1ee16da..dbec4b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -49,7 +49,7 @@ repos: hooks: - id: mypy # mypy args needed in order to match mypy cli behavior - args: ["--python-version", "3.9"] + args: ["--python-version", "3.10"] entry: mypy src/ pass_filenames: false additional_dependencies: diff --git a/mypy.ini b/mypy.ini index c1befcc..9133676 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,5 +1,5 @@ [mypy] -python_version = 3.9 +python_version = 3.10 color_output = True error_summary = True # TODO(ssbarnea): Remove ignores below: diff --git a/pyproject.toml b/pyproject.toml index dc09b4c..b8eb2f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" [project] # https://peps.python.org/pep-0621/#readme -requires-python = ">=3.9" +requires-python = ">=3.10" dynamic = ["version", "dependencies", "optional-dependencies"] name = "mk" description = "mk" @@ -24,7 +24,6 @@ classifiers = [ "Operating System :: MacOS", "Operating System :: POSIX", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -90,7 +89,7 @@ concurrency = ["multiprocessing", "thread"] profile = "black" [tool.mypy] -python_version = "3.9" +python_version = "3.10" strict = true color_output = true error_summary = true