Skip to content

Commit

Permalink
bump minimum required python release from 3.7.x to 3.8.x
Browse files Browse the repository at this point in the history
also upgrade depednencies in Pipfile.lock
  • Loading branch information
vilhelmprytz committed Jan 6, 2024
1 parent 02623f9 commit d8253df
Show file tree
Hide file tree
Showing 9 changed files with 583 additions and 470 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: "3.7"
python-version: "3.8"
architecture: x64
- name: Install dependencies
env:
PYTHON_VERSION: "3.7"
PYTHON_VERSION: "3.8"
run: |
python -m pip install --upgrade pip
pip install pipenv --upgrade
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: "3.7"
python-version: "3.8"
architecture: x64
- name: Set release info
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
name: Python ${{ matrix.python-version }} tests
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ pyyaml = "*"
halo = "*"

[requires]
python_version = "3.7"
python_version = "3.8"
1,026 changes: 569 additions & 457 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ brew tap wilfred-dev/wilfred
brew install --HEAD wilfred
```

Wilfred can also be installed using `pip`. You need to use **Python 3.7** or newer to run Wilfred.
Wilfred can also be installed using `pip`. You need to use **Python 3.8** or newer to run Wilfred.

```bash
pip install wilfred --upgrade
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Want the bleeding edge? You can install the latest commit using ``--HEAD`` (bugs
Pip
^^^

Wilfred can be installed using ``pip``. You need to use **Python 3.7** or newer to run Wilfred (if you also have ``pip2`` on your system, run with ``pip3``).
Wilfred can be installed using ``pip``. You need to use **Python 3.8** or newer to run Wilfred (if you also have ``pip2`` on your system, run with ``pip3``).

.. code-block:: bash
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from setuptools import setup, find_packages
from wilfred.version import version

assert sys.version_info >= (3, 7, 0), "Wilfred requires Python 3.7+"
assert sys.version_info >= (3, 7, 0), "Wilfred requires Python 3.8+"

with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
Expand All @@ -35,10 +35,11 @@
license="MIT",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
Expand All @@ -48,7 +49,7 @@
"Operating System :: Microsoft :: Windows",
"Natural Language :: English",
],
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=[
"docker",
"click",
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 3.7.0
envlist=py3.7,py3.8,py3.9,py3.10
minversion = 3.8.0
envlist=py3.8,py3.9,py3.10,py3.11,py3.12

[testenv]
deps =
Expand All @@ -16,7 +16,7 @@ commands =
deps =
flake8
black
basepython = python3.7
basepython = python3.8
commands =
flake8 .
flake8 . --exit-zero --max-complexity 10
Expand Down

0 comments on commit d8253df

Please sign in to comment.