Skip to content

Commit

Permalink
Require Python 3.7
Browse files Browse the repository at this point in the history
3.6 EOL since 23 december 2021
  • Loading branch information
vilhelmprytz committed Apr 11, 2022
1 parent 03acd7e commit 358b1dc
Show file tree
Hide file tree
Showing 10 changed files with 253 additions and 373 deletions.
15 changes: 8 additions & 7 deletions .github/ISSUE_TEMPLATE/---bug-report.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
---
name: "\U0001F41B Bug Report"
about: Create a report for a reproducible bug
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

### Environment

* Installation type: <!-- snap/pip -->
* Python version: <!-- Example: 3.6.9 -->
* Wilfred version: <!-- Example: 1.0, 2.0, …, master -->
- Installation type: <!-- snap/pip -->
- Python version: <!-- Example: 3.7.13 -->
- Wilfred version: <!-- Example: 1.0, 2.0, …, master -->

### Steps to Reproduce

<!-- What did you expect to happen? -->

### Expected Behavior

<!-- What happened instead? -->

### Observed Behavior
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.6"
python-version: "3.7"
architecture: x64
- name: Install dependencies
env:
PYTHON_VERSION: "3.6"
PYTHON_VERSION: "3.7"
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.6"
python-version: "3.7"
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.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
name: Python ${{ matrix.python-version }} tests
steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
flake8 = "*"
black = "==21.10b0"
# flake8 = "*"
black = "*"
tox = "*"
sphinx = "*"
sphinx-autobuild = "*"
Expand All @@ -22,4 +22,4 @@ pyyaml = "*"
halo = "*"

[requires]
python_version = "3.6"
python_version = "3.7"
582 changes: 231 additions & 351 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 @@ -54,7 +54,7 @@ brew tap wilfred-dev/wilfred
brew install --HEAD wilfred
```

Wilfred can also be installed using `pip`. You need to use **Python 3.6** or newer to run Wilfred.
Wilfred can also be installed using `pip`. You need to use **Python 3.7** 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.6** 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.7** or newer to run Wilfred (if you also have ``pip2`` on your system, run with ``pip3``).

.. code-block:: bash
Expand Down
5 changes: 2 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, 6, 0), "Wilfred requires Python 3.6+"
assert sys.version_info >= (3, 7, 0), "Wilfred requires Python 3.7+"

with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
Expand All @@ -35,7 +35,6 @@
license="MIT",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand All @@ -49,7 +48,7 @@
"Operating System :: Microsoft :: Windows",
"Natural Language :: English",
],
python_requires=">=3.6",
python_requires=">=3.7",
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.6.0
envlist=py3.6,py3.7,py3.8,py3.9,py3.10
minversion = 3.7.0
envlist=py3.7,py3.8,py3.9,py3.10

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

0 comments on commit 358b1dc

Please sign in to comment.