Skip to content

Commit b725a44

Browse files
authored
Deprecate python 3.8 and add python 3.11 (#148)
1 parent c607fd2 commit b725a44

File tree

4 files changed

+19
-12
lines changed

4 files changed

+19
-12
lines changed

.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ jobs:
1818
TOX_PARALLEL_NO_SPINNER: 1
1919

2020
steps:
21-
- name: Switch to using Python 3.8 by default
21+
- name: Switch to using Python 3.9 by default
2222
uses: actions/setup-python@v4
2323
with:
24-
python-version: 3.8
24+
cache: "pip"
25+
python-version: 3.9
2526

2627
- name: Install tox
2728
run: python3 -m pip install --user tox

.github/workflows/tox.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,23 @@ jobs:
3232
skip_vagrant: true
3333
- tox_env: packaging
3434
os: ubuntu-20.04
35-
python-version: 3.8
35+
python-version: "3.10"
36+
unit: false
37+
skip_vagrant: true
38+
- tox_env: packaging
39+
os: ubuntu-22.04
40+
python-version: "3.11"
3641
unit: false
3742
skip_vagrant: true
38-
- tox_env: py38
39-
os: macos-10.15
40-
python-version: 3.8
4143
- tox_env: py39
4244
os: macos-10.15
43-
python-version: 3.9
45+
python-version: "3.9"
4446
- tox_env: py310
4547
os: macos-10.15
4648
python-version: "3.10"
49+
- tox_env: py311
50+
os: macos-10.15
51+
python-version: "3.11"
4752

4853
env:
4954
TOX_PARALLEL_NO_SPINNER: 1
@@ -71,6 +76,7 @@ jobs:
7176
- name: Set up Python ${{ matrix.python-version }}
7277
uses: actions/setup-python@v4
7378
with:
79+
cache: "pip"
7480
python-version: ${{ matrix.python-version }}
7581

7682
- name: Enable vagrant box caching

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ backwards-compatible features or bug fixes are added.
3838
- Vagrant 2.2 or greater. Using the latest version of Vagrant is strongly
3939
recommended.
4040
- Vagrant requires VirtualBox, VMWare, or another supported provider.
41-
- Python 3.8 or newer.
41+
- Python 3.9 or newer.
4242
- The Sahara gem for Vagrant is optional. It will allow you to use
4343
`SandboxVagrant`.
4444

pyproject.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
# https://peps.python.org/pep-0621/#readme
10-
requires-python = ">=3.8"
10+
requires-python = ">=3.9"
1111
dynamic = ["version"]
1212
name = "python-vagrant"
1313
description = "Python bindings for interacting with Vagrant virtual machines."
@@ -21,9 +21,9 @@ classifiers = [
2121
"Development Status :: 4 - Beta",
2222
"License :: OSI Approved :: MIT License",
2323
"Operating System :: OS Independent",
24-
"Programming Language :: Python :: 3.10",
25-
"Programming Language :: Python :: 3.8",
2624
"Programming Language :: Python :: 3.9",
25+
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11",
2727
"Topic :: Utilities",
2828
]
2929
keywords = ["box", "vagrant", "vagrantfile", "virtual-machine", "virtualbox"]
@@ -52,7 +52,7 @@ exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]
5252
profile = "black"
5353

5454
[tool.mypy]
55-
python_version = 3.8
55+
python_version = 3.9
5656
color_output = true
5757
error_summary = true
5858
check_untyped_defs = true

0 commit comments

Comments
 (0)