Skip to content

Commit

Permalink
Merge pull request #128 from akx/yeet-py36
Browse files Browse the repository at this point in the history
Drop Python 3.6 support
  • Loading branch information
ajmyyra authored Jul 19, 2023
2 parents 70f03c6 + 21187c2 commit f7697dd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 42 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
strategy:
matrix:
tox_env:
- py36
- py37
- py38
- py39
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ python setup.py install

### Supported Python versions in API v2.0.1

- Python 3.6
- Python 3.7
- Python 3.8
- Python 3.9
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[tool.black]
line-length = 99
target-version = ['py36']
target-version = ['py37']
skip-string-normalization = true

[tool.ruff]
target-version = "py37"
exclude = [
".git",
"ENV",
Expand Down Expand Up @@ -34,6 +35,7 @@ select = [
"F",
"I",
"S",
"UP",
"W",
]

Expand Down
39 changes: 1 addition & 38 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,48 +11,11 @@ packages=['upcloud_api', 'upcloud_api.cloud_manager']
license = MIT

[options]
python_requires = >=3.6, <4
python_requires = >=3.7, <4
setup_requires =
setuptools
install_requires =
requests
packages =
upcloud_api
upcloud_api.cloud_manager

[bdist_wheel]
universal = 1

[flake8]
max-line-length = 99
extend-ignore =
# ignore line length problems; those are fixed by black
E501
# via black
E203
W503
# docstring format leniency
D100
D104
D105
D200
D202
D205
D400
D401
D403
# things from `hacking` we don't care about
H101
H301
H306
H404
H405
per-file-ignores =
test/*: D101,D102,D103,F841,S101,S106,B011
# ignore "imported but not used" in any __init__.pys
*/__init__.py: F401
exclude =
.git
ENV
__pycache__
build
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py36, py37, py38, py39, pypy3
envlist = py37, py38, py39, pypy3
skip_missing_interpreters = True

[testenv]
Expand Down

0 comments on commit f7697dd

Please sign in to comment.