Skip to content

Commit

Permalink
Remove support for python3.8 (ansible#548)
Browse files Browse the repository at this point in the history
To be aligned with collection and rest of EDA requirements.
  • Loading branch information
Alex-Izquierdo authored Jun 27, 2023
1 parent 72f52e6 commit 67c5413
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 14 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
### Fixed

### Removed
- Remove official support for Python 3.8

## [1.0.0] - 2023-06-13

Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Please ensure you have installed all components listed in the **Requirements** s
Requirements
------------

* Python >= 3.8
* Python >= 3.9
* Python 3 pip

* Java development kit >= 17
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[tool.black]
line-length = 79
target-version = ["py38", "py39", "py310"]
target-version = ["py39", "py310"]
extend-exclude = "docs"

[tool.isort]
Expand Down
13 changes: 6 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ license = Apache-2.0
keywords = ansible_rulebook
long_description = file: README.rst, HISTORY.rst
long_description_content_type = text/x-rst; charset=UTF-8
classifiers =
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Natural Language :: English
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Expand All @@ -22,8 +21,8 @@ classifiers =
zip_safe = False
include_package_data = True
packages = find:
python_requires = >=3.8
install_requires =
python_requires = >=3.9
install_requires =
aiohttp
pyparsing >= 3.0
jsonschema
Expand All @@ -35,12 +34,12 @@ install_requires =
drools_jpy == 0.3.4

[options.packages.find]
include =
include =
ansible_rulebook
ansible_rulebook.*

[options.entry_points]
console_scripts =
console_scripts =
ansible-rulebook = ansible_rulebook.cli:main

[bumpversion:file:setup.cfg]
Expand All @@ -53,5 +52,5 @@ replace = __version__ = '{new_version}'

[flake8]
extend-exclude = docs, venv, .venv
extend-ignore =
extend-ignore =
E203, # Whitespace before ':' (false positive in slices, handled by black.
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[tox]
envlist = flake8,py38,py39,py310,py311
envlist = flake8,py39,py310,py311
isolated_build = True

[travis]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
Expand Down

0 comments on commit 67c5413

Please sign in to comment.