Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Python 3.6 support #128

Merged
merged 2 commits into from
Jul 19, 2023
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
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