diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c0b3197..9c960f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,10 +18,11 @@ jobs: TOX_PARALLEL_NO_SPINNER: 1 steps: - - name: Switch to using Python 3.8 by default + - name: Switch to using Python 3.9 by default uses: actions/setup-python@v4 with: - python-version: 3.8 + cache: "pip" + python-version: 3.9 - name: Install tox run: python3 -m pip install --user tox diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index f5fe524..3423a3f 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -32,18 +32,23 @@ jobs: skip_vagrant: true - tox_env: packaging os: ubuntu-20.04 - python-version: 3.8 + python-version: "3.10" + unit: false + skip_vagrant: true + - tox_env: packaging + os: ubuntu-22.04 + python-version: "3.11" unit: false skip_vagrant: true - - tox_env: py38 - os: macos-10.15 - python-version: 3.8 - tox_env: py39 os: macos-10.15 - python-version: 3.9 + python-version: "3.9" - tox_env: py310 os: macos-10.15 python-version: "3.10" + - tox_env: py311 + os: macos-10.15 + python-version: "3.11" env: TOX_PARALLEL_NO_SPINNER: 1 @@ -71,6 +76,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: + cache: "pip" python-version: ${{ matrix.python-version }} - name: Enable vagrant box caching diff --git a/README.md b/README.md index eb1a874..a67464f 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ backwards-compatible features or bug fixes are added. - Vagrant 2.2 or greater. Using the latest version of Vagrant is strongly recommended. - Vagrant requires VirtualBox, VMWare, or another supported provider. -- Python 3.8 or newer. +- Python 3.9 or newer. - The Sahara gem for Vagrant is optional. It will allow you to use `SandboxVagrant`. diff --git a/pyproject.toml b/pyproject.toml index cf55f82..6b8268d 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.8" +requires-python = ">=3.9" dynamic = ["version"] name = "python-vagrant" description = "Python bindings for interacting with Vagrant virtual machines." @@ -21,9 +21,9 @@ classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Utilities", ] keywords = ["box", "vagrant", "vagrantfile", "virtual-machine", "virtualbox"] @@ -52,7 +52,7 @@ exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"] profile = "black" [tool.mypy] -python_version = 3.8 +python_version = 3.9 color_output = true error_summary = true check_untyped_defs = true