Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Remove support for python 3.8 #202

Merged
merged 1 commit into from
Dec 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,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:
cache: pip
python-version: 3.8
python-version: 3.9
- name: Install tox
run: >-
python3 -m
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ jobs:
- tox_env: lint
platform: ubuntu-latest
skip_vagrant: true
- tox_env: py38
PREFIX: PYTEST_REQPASS=11
platform: macos-12
python_version: "3.8"
- tox_env: py39,py39-devel
PREFIX: PYTEST_REQPASS=11
platform: macos-12
Expand Down Expand Up @@ -71,7 +67,7 @@ jobs:
- name: Set up Python version
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version || '3.8' }}
python-version: ${{ matrix.python_version || '3.9' }}
cache: pip

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion molecule_vagrant/playbooks/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
(test -e /usr/bin/apt && (apt -y update && apt install -y python3-minimal)) ||
(test -e /usr/bin/yum && sudo yum -y -qq install python3) ||
(test -e /usr/sbin/pkg && sudo env ASSUME_ALWAYS_YES=yes pkg update && sudo env ASSUME_ALWAYS_YES=yes pkg install python3) ||
(test -e /usr/sbin/pkg_add && sudo /usr/sbin/pkg_add -U -I -x python%3.8) ||
(test -e /usr/sbin/pkg_add && sudo /usr/sbin/pkg_add -U -I -x python%3.9) ||
echo "Warning: Python not bootstrapped due to unknown platform."
)
become: true
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ classifiers =
Operating System :: OS Independent

Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10

Expand All @@ -46,7 +45,7 @@ keywords =

[options]
use_scm_version = True
python_requires = >=3.8
python_requires = >=3.9
packages = find:
include_package_data = True
zip_safe = False
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
minversion = 3.24.4
minversion = 4.0.16
envlist =
lint
packaging
py{38,39,310,311}
py{39,310,311}-{devel}
py
py-devel
isolated_build = True
requires =
pip >= 21.3.1
Expand All @@ -18,8 +18,8 @@ extras =
deps =
--editable .
ansible-core
py{39,310,311}: molecule[test]
py{38,39,310,311}-{devel}: git+https://github.com/ansible-community/molecule.git@main#egg=molecule[test]
py{39,310,311,312}: molecule[test]
py{39,310,311,312}-{devel}: git+https://github.com/ansible-community/molecule.git@main#egg=molecule[test]
commands =
pytest --collect-only
# -s is added in order to allow live output on long running functional tests
Expand Down
11 changes: 0 additions & 11 deletions zuul.d/layout.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,8 @@
tox_envlist: py39
timeout: 5400 # 1.5h

- job:
name: molecule-vagrant-fedora-py38
description: Run py38 tox environment
parent: ansible-tox-py38
nodeset: fedora-latest-1vcpu
attempts: 2
vars:
tox_envlist: py38
timeout: 5400 # 1.5h

- project:
check:
jobs: &defaults
- molecule-vagrant-fedora-py310
- molecule-vagrant-fedora-py39
- molecule-vagrant-fedora-py38