Skip to content

Commit

Permalink
Deprecate python 3.8 and add python 3.11 (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
konstruktoid committed Dec 8, 2022
1 parent c607fd2 commit b725a44
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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"]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b725a44

Please sign in to comment.