Skip to content

Commit

Permalink
Set minimum supported Python version to 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
KapJI committed Apr 2, 2021
1 parent 6c5cbeb commit 5cb6831
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Pre-commit
strategy:
matrix:
python-version: [3.6]
python-version: [3.8]
runs-on: ubuntu-latest
steps:
- name: Check out the repository
Expand Down
1 change: 0 additions & 1 deletion gpsoauth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def init_poolmanager(self, *args, **kwargs):
context.options |= ssl.OP_NO_COMPRESSION
context.options |= ssl.OP_NO_SSLv2
context.options |= ssl.OP_NO_SSLv3
# pylint: disable=attribute-defined-outside-init
context.post_handshake_auth = True
context.verify_mode = ssl.CERT_REQUIRED
self.poolmanager = PoolManager(*args, ssl_context=context, **kwargs)
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
Expand All @@ -21,7 +19,7 @@ homepage = "https://github.com/simon-weber/gpsoauth"
repository = "https://github.com/simon-weber/gpsoauth"

[tool.poetry.dependencies]
python = "^3.6.1"
python = "^3.8"
pycryptodomex = "^3.10.1"
requests = "^2.25.1"
importlib-metadata = "^3.10.0"
Expand Down Expand Up @@ -50,6 +48,7 @@ combine_as_imports = true
[tool.pylint.master]
extension-pkg-whitelist = [
"binascii",
"_ssl",
]

[tool.pylint.format]
Expand Down

0 comments on commit 5cb6831

Please sign in to comment.